Re: [SOLVED] Surviving Mars
Posted: Sun Mar 25, 2018 6:41 pm
Figured I'd post these for whoevers
They're useful for creating mods (has the default values for pretty much all the stats)
If you have my cheatmenu, just open up the console and put
const.AutosavePeriod = 1, then it'll save every minute instead of 5
and so on
For the entries in _const use the id and Consts. (Consts.TravelTimeEarthMars = 750000)
_const.lua
[Link]
_GameConst.lua
[Link]
and a full list of OnMsg.
[Link]
and the order in which OnMsgs fire (when you load a game with your mod enabled), this doesn't include spammy ones like OnRender.
[Link]
If you don't want to have to use crazy large numbers for some of them use * const.ResourceScale
Consts.FoodPerRocketPassenger = 10 * const.ResourceScale (10 is the default amount per Passenger, ResourceScale is 1000)
Edit:
[Link]
This needs to be placed in the game folder for Surviving Mars
NOT in AppData\Surviving Mars
Surviving Mars\BinAssets\AssetsRevision.lua
This'll skip both logos at startup, and skips two of the mod manager warning msgs.
I also included an option (commented out) to skip straight to the load menu.
You can still get back to the main menu with Esc/Cancel.
Edit: Game update changes:
const.ExplorationQueueMaxSize is now 10 instead of 5
const.ResearchPointsScale = 1000 --newly added
They're useful for creating mods (has the default values for pretty much all the stats)
If you have my cheatmenu, just open up the console and put
const.AutosavePeriod = 1, then it'll save every minute instead of 5
and so on
For the entries in _const use the id and Consts. (Consts.TravelTimeEarthMars = 750000)
_const.lua
[Link]
_GameConst.lua
[Link]
and a full list of OnMsg.
[Link]
and the order in which OnMsgs fire (when you load a game with your mod enabled), this doesn't include spammy ones like OnRender.
[Link]
If you don't want to have to use crazy large numbers for some of them use * const.ResourceScale
Consts.FoodPerRocketPassenger = 10 * const.ResourceScale (10 is the default amount per Passenger, ResourceScale is 1000)
Edit:
[Link]
This needs to be placed in the game folder for Surviving Mars
NOT in AppData\Surviving Mars
Surviving Mars\BinAssets\AssetsRevision.lua
This'll skip both logos at startup, and skips two of the mod manager warning msgs.
I also included an option (commented out) to skip straight to the load menu.
You can still get back to the main menu with Esc/Cancel.
Edit: Game update changes:
const.ExplorationQueueMaxSize is now 10 instead of 5
const.ResearchPointsScale = 1000 --newly added