IW4M-Admin/GameFiles
xerxes-at 1700b7da91 PlutoIW5 support for the Game Interface and improvements to the GSC part of it. (#242)
* 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>
2022-05-19 17:04:34 -05:00
..
IW4x/userraw/scripts PlutoIW5 support for the Game Interface and improvements to the GSC part of it. (#242) 2022-05-19 17:04:34 -05:00
IW5/storage/iw5/scripts Add support for IW5 (#213) 2021-08-25 11:06:52 -05:00
PT6 Updated T6 AC GSC (#214) 2021-08-25 11:06:46 -05:00
_integration.gsc PlutoIW5 support for the Game Interface and improvements to the GSC part of it. (#242) 2022-05-19 17:04:34 -05:00
README.MD PlutoIW5 support for the Game Interface and improvements to the GSC part of it. (#242) 2022-05-19 17:04:34 -05:00

Game Interface

Allows integration of IW4M-Admin to GSC, mainly used for special commands that need to use GSC in order to work. But can also be used to read / write metadata from / to a profile and to get the player permission level.

Installation Plutonium IW5

Move _integration.gsc to %localappdata%\Plutonium\storage\iw5\scripts\

Installation IW4x

Move _integration.gsc to IW4x/userraw/scripts, IW4x being the root folder of your game server.