* Improvements to the GSC part of the Game Interface
* Adds compatibility with PlutoIW5 with minimal changes.
* Fixes issues when commands are called from the web interface when the used profile is not on the server.
* New Debug output when the target or origin of a command is sent by IW4MAdmin but not found in-game.
* Commands that can be run on the context of the target are now run in it.
* Simplifies the command registration and execution.
* Got rid of the huge switch block.
* Introduced AddClientCommand to register new commands for example
* `AddClientCommand("SwitchTeams", true, ::TeamSwitchImpl);`
* `AddClientCommand("Hide", false, ::HideImpl);`
* Callbacks are called with the full event object and the parsed data as parameters to allow maximum flexibility.
* Introduced level.eventBus.gamename to know which game we are to add minor changes.
* Changes - noclip/lockcontrols/playertome
Additional changes to support other games' functions
Co-Authored-By: Amos <4959320+MrAmos123@users.noreply.github.com>
* PlutoT6 AC GSC Updated
PlutoT6's GSC modding capabilities changed, this allows us to bring the script on parity with the IW4x one. The following things changed:
* Script no longer replaces stock GSC since custom GSC files are now supported.
* The Script now captures the last time the client used his attack button; this is used to detect trigger bots.
* Cleaned up the code a bit
* Create README.MD
Basic installation guide.
PlutoT6 requires pre-compiled GSC files.
Thats why I include the source and a compiled version. Since we can not create new GSC files but only can replace existing ones I did use this stock GSC to add our code to it.