Page 7 of 18

Re: Surviving Mars

Posted: Mon Mar 19, 2018 6:17 pm
by BoehserOnkel
nice :) with that thing we dont need that mega storage thingy :D
tyvm @ChoGGi

Re: Surviving Mars

Posted: Mon Mar 19, 2018 6:34 pm
by prrovoss
Here are the other decompiled scripts:
[Link]

Ive also included all the lua scripts from the Maps folder and its subfolders but it seems like Data.hpk/MapData already contains them.

Have fun

Re: Surviving Mars

Posted: Mon Mar 19, 2018 7:04 pm
by BoehserOnkel
thats a lot of stuff :/
im searching for rocket values - operation radius..

Re: Surviving Mars

Posted: Mon Mar 19, 2018 7:59 pm
by NikToldi
Is there a way to transform any other building into storage? or maybe create building that will be storage, cos piles of stuff that is skyscraper tall is kind of annoying :)

Re: Surviving Mars

Posted: Mon Mar 19, 2018 8:13 pm
by BoehserOnkel
one from me ;)
OvalDome - its not playable on all playtroughts - so i unlocked it for myself and maybe you ;)


should work now

Re: Surviving Mars

Posted: Mon Mar 19, 2018 8:32 pm
by Sxsxarael
ChoGGi wrote:
Sun Mar 18, 2018 10:11 pm
...Has a list of all research/breakthroughs, open items.lua and uncomment the ones you want to unlock (some names have spaces/misspelling, that's just how they are). Load the game and it'll unlock it, you can then disable it or just leave it enabled it doesn't matter.
CheatMod_UnlockResearch.zip
I can't get this to work. Removed '--' but nothing.

Re: Surviving Mars

Posted: Mon Mar 19, 2018 10:06 pm
by ChoGGi
Kaedus wrote:
Mon Mar 19, 2018 2:14 pm
How does it work? I removed the " -- " from the desired functions, but still nothing.
Which cheat were you trying to enable? I didn't test them all, just did a copy/paste from cheats.lua, so not all of them will work (the log may show something)
Sxsxarael wrote:
Mon Mar 19, 2018 8:32 pm
I can't get this to work. Removed '--' but nothing.
which did you remove the -- from? (I tested on a new game, and it looked like it unlocked everything)
BoehserOnkel wrote:
Mon Mar 19, 2018 8:13 pm
here´s one from me :)

unlocks the oval dome from marketing/promotion
(this is not original avail on every playtrough (special breaktrough though) so i did this )
There's also a Cloning Vats spire breakthrough if you want to make that ;)
prrovoss wrote:
Mon Mar 19, 2018 6:34 pm
Here are the other decompiled scripts:
[Link]

Ive also included all the lua scripts from the Maps folder and its subfolders but it seems like Data.hpk/MapData already contains them.

Have fun
Sweet thanks again, now I can try to get that attack rover thingy working. don't ask...they included the files, but not the rover itself.

I noticed it choked on a few files (it only seems to be large files)
Data.hpk: TechTree.lua, Sound.lua, __EntityData.lua
Lua.hpk: Lua\Construction.lua, Lua\Names.lua, Lua\RandomMap\PrefabMarker.lua, CommonLua\Classes\ActionFX.lua, CommonLua\Core\lib.lua
Any chance of those? :)

Edit: Got a bunch of those extracted, still no luck with ActionFX.lua/TechTree.lua.
It just gives me a "luadec: not enough memory" (from lstring.c). I tried using lua 5.3.4, and bumping some of the limits in llimits.h...no joy.

anyways here's the files I could convert for anyone else (__EntityData.lua, Construction.lua, lib.lua, Names.lua, and Sound.lua)
Edit: removed the LUAs, you can grab my decompiler script [Link]

Re: Surviving Mars

Posted: Mon Mar 19, 2018 10:15 pm
by BoehserOnkel
thats what i said - its not playable at all plays -- because different research options

Re: Surviving Mars

Posted: Mon Mar 19, 2018 10:49 pm
by sportled
BoehserOnkel wrote:
Mon Mar 19, 2018 8:13 pm
one from me ;)
OvalDome - its not playable on all playtroughts - so i unlocked it for myself and maybe you ;)


should work now
love it! and i see an S04 Fan! HI5! :)

would you be able to unlock my geometric dome? that earth like one? would love to place more then one -_- stupid game lol

Re: Surviving Mars

Posted: Mon Mar 19, 2018 11:11 pm
by ChoGGi
Some OnMsgs for modders (none of them are included in LuaFunctionDoc_Msg.md.html)

Code: Select all

function OnMsg.Autorun()
function OnMsg.Start()
function OnMsg.BinAssetsLoaded()
function OnMsg.PersistLoad(data)
function OnMsg.PersistPostLoad()
function OnMsg.PersistSave(data)
function OnMsg.EntitiesLoaded()
function OnMsg.GameTimeStart()
function OnMsg.OptionsChanged()
function OnMsg.DeveloperOptionsChanged(storage, name, id, value)
function OnMsg.AccountStorageChanged()
function OnMsg.ApplicationQuit(result)
function OnMsg.BugReportStart(print_func)
function OnMsg.SystemSize(pt)
function OnMsg.ReloadSoundData()
function OnMsg.Resume()
function OnMsg.ReloadLua()

function OnMsg.NewMap()
function OnMsg.NewMapLoaded()
function OnMsg.ChangeMap(map)
function OnMsg.PresetSave()
function OnMsg.DataLoading()
function OnMsg.DataLoaded()
function OnMsg.PreSaveMap()
function OnMsg.PostSaveMap()
function OnMsg.DoneMap()
function OnMsg.PostDoneMap()

function OnMsg.ObjModified(obj)
function OnMsg.LightmodelChange(view, lm, time)
function OnMsg.SceneStarted(scene, player)
function OnMsg.SceneStopped(scene, scene_player, bStarting)
function OnMsg.GatherFXActors(list)
function OnMsg.GatherFXActions(list)
function OnMsg.GatherFXTargets(list)
function OnMsg.PersistGatherPermanents(permanents, direction)
function OnMsg.NewSequenceAction()
function OnMsg.DeleteSequenceAction()
function OnMsg.MoveSequenceAction()
function OnMsg.SequenceListPlayerStart(player)
function OnMsg.SequenceListPlayerStop(player)
function OnMsg.MarkPreciousMetalsExport(city, amount)
function OnMsg.BuildingPlaced(bld)

function OnMsg.FundingChanged(city, amount)
function OnMsg.ColonistAddTrait(colonist)
function OnMsg.SectorScanned(status, col, row)
function OnMsg.MeteorIntercepted(meteor, shooter)
function OnMsg.ResourceExtracted(resource, amount)
function OnMsg.FoodProduced(bld, amount)
function OnMsg.RocketLaunched(rocket)
function OnMsg.ColonistCured(colonist, bld)
function OnMsg.ColonistJoinsDome(colonist, dome)
function OnMsg.ColonistStatusEffect(colonist, status_effect, bApply, now)
function OnMsg.MoraleChanged(colonist)

function OnMsg.GameEnterEditor()
function OnMsg.GameExitEditor()
function OnMsg.EditorCallback(id, objects, ...)
function OnMsg.EditorSelectionChanged(selection)
function OnMsg.PropEditor_ObjectModified(main_obj, object, prop_id, old_value)

Re: Surviving Mars

Posted: Tue Mar 20, 2018 12:10 am
by ChoGGi
sportled wrote:
Mon Mar 19, 2018 10:49 pm
would you be able to unlock my geometric dome? that earth like one? would love to place more then one -_- stupid game lol

[Link] (space elevator is kind of broken)

Re: Surviving Mars

Posted: Tue Mar 20, 2018 12:14 am
by BoehserOnkel
sportled wrote:
Mon Mar 19, 2018 10:49 pm
BoehserOnkel wrote:
Mon Mar 19, 2018 8:13 pm
one from me ;)
OvalDome - its not playable on all playtroughts - so i unlocked it for myself and maybe you ;)


should work now
love it! and i see an S04 Fan! HI5! :)

would you be able to unlock my geometric dome? that earth like one? would love to place more then one -_- stupid game lol
done

Re: Surviving Mars MOD

Posted: Tue Mar 20, 2018 12:20 am
by M!sterRob
Ive Made a Mod for Everyone That i would like to get out its called Robco INC. and it enables a new Mission Sponsor and Commander Profile that enables Max resources just place the file in C:\Users\%user%\AppData\Roaming\Surviving Mars\Mods

where %user% is your username.

[Link]
Try it out and let me know how it works for you.

Re: Surviving Mars

Posted: Tue Mar 20, 2018 1:40 am
by ChoGGi
Added HiddenBuildings, DefensiveTurret, and CloningVat to mod [Link]

Re: Surviving Mars

Posted: Tue Mar 20, 2018 2:47 am
by tomfoolery
How do I get your mods to work, ChoGGi? I load them, but nothing happens in-game. I dont even see any kind of "info" panel....