`"/mods/examplemod/" is the path the mod can find its own files later` `C:\Users\%USERNAME%\Documents\My Games\Gas Powered Games\Supreme Commander Forged Alliance\Mods\examplemod\hook\lua\ui\game\a is the full path to my own file, how i hook it` Paths: `\lua\ui\game\a is a UI side file handling what happens when we (de)select units` Hooking in FA is basically file concatenation, that means that the file we're hooking to will be extended by our file. Our way into modding the game is hooking. UIDs can be obtained here ¶ Understanding Hooking `requires = : mods that have to be hooked in after your mod`įilled example `name = "Tutorial Mod Info"` `ui_only = true|false: whether all players need to mod for the game to run. SIM mods are needed by everyone, UI mods not` `selectable: true|false : whether the mod should be selectable in the ingame lobby` `url: if you have one, for example a forum thread that you could be making to show us your mod` `copyright: mention how you want copying to be treated` `version: use a versioning pattern of your choice, the current FAF mod vault will only display a single integer though` `uid: an ID every mod needs, you can generate a random one
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |