GameStyles.wiki
changeset 2031 6ac51d7a29c9
parent 2030 1c0077fa2f65
equal deleted inserted replaced
2030:1c0077fa2f65 2031:6ac51d7a29c9
    24 
    24 
    25 The documentation of [LuaAPI Lua API] applies. Some special notes for styes:
    25 The documentation of [LuaAPI Lua API] applies. Some special notes for styes:
    26 
    26 
    27  * In `onGameInit`, you can read the scheme settings and also change them. You can overwrite pretty much all scheme settings here.
    27  * In `onGameInit`, you can read the scheme settings and also change them. You can overwrite pretty much all scheme settings here.
    28  * In `onParameters`, you can parse the script parameter (which is also specified by the player in the game scheme).
    28  * In `onParameters`, you can parse the script parameter (which is also specified by the player in the game scheme).
    29  * The functions `AddHog`, `AddMissionHog, `AddTeam` and `AddMissionTeam` are pointless here. Teams are chosen by the players, hogs are placed by the engine
    29  * The functions `AddHog`, `AddMissionHog`, `AddTeam` and `AddMissionTeam` are pointless here. Teams are chosen by the players, hogs are placed by the engine
    30  * Campaign variables and mission variables are pointless here.
    30  * Campaign variables and mission variables are pointless here.
    31 
    31 
    32 == Config file format ==
    32 == Config file format ==
    33 
    33 
    34 The config file is a text file with 2 lines:
    34 The config file is a text file with 2 lines: