Page 1 of 1

HOWTO remove/tweak engine settings for mods

Posted: 20 Oct 2008, 02:24
by BrainDamage
Starting from next spring release modders will be able to tweak, remove or rename the engine hardcoded settings (such as starting metal) , if you don't like the default options:

a) copy EngineOptions.lua from springcontent.sdz and add to your mod package
b) tweak values in existing options and/or remove unwanted options or entries in option types.
Don't add any new key (or key element) which isn't listed in the file, it won't work; for such functionality,use LuaRules and ModOptions, an exception is group keytypes, them can be added as the modder likes.
Don't rename existing keys ( the option name can still be renamed tho ), they will stop working and will make the controls useless in lobby interface programs.
c) ???
d) profit!

Re: HOWTO remove/tweak engine settings for mods

Posted: 20 Oct 2008, 21:14
by Alchemist
This is major ownage. Finally!!! :-)

Re: HOWTO remove/tweak engine settings for mods

Posted: 13 Jan 2009, 19:02
by Hoi
Sticky?

Re: HOWTO remove/tweak engine settings for mods

Posted: 13 Jan 2009, 19:30
by Pxtl
Hoi wrote:Sticky?
No, wiki it if it isn't in the wiki already.

Re: HOWTO remove/tweak engine settings for mods

Posted: 13 Jan 2009, 19:47
by Hoi
Either works.

Re: HOWTO remove/tweak engine settings for mods

Posted: 13 Jan 2009, 22:44
by zwzsg
Why did you necro!! You made me believe there was something new about those settings tweak/remobal! (btw, is there?)

Re: HOWTO remove/tweak engine settings for mods

Posted: 13 Jan 2009, 22:45
by KDR_11k
BTW, is there a way to make an option have a fixed value but not show up? Removing it would use the default, what if you want it to be non-default?

Re: HOWTO remove/tweak engine settings for mods

Posted: 13 Jan 2009, 22:46
by zwzsg
You specify your own default...

Re: HOWTO remove/tweak engine settings for mods

Posted: 13 Jan 2009, 22:50
by Pxtl
Hoi wrote:Either works.
I can't even find info on modoptions.lua in the wiki, much less this stuff.

Re: HOWTO remove/tweak engine settings for mods

Posted: 14 Jan 2009, 00:10
by KDR_11k
zwzsg wrote:You specify your own default...
That only works for values you include, no?

Re: HOWTO remove/tweak engine settings for mods

Posted: 14 Jan 2009, 00:18
by imbaczek
try type = hidden and pray it works...?

Re: HOWTO remove/tweak engine settings for mods

Posted: 14 Jan 2009, 01:27
by zwzsg
Oops, I understood just now what KDR meant. Anyway,

The def of the key='GameMode' is still unread!

Re: HOWTO remove/tweak engine settings for mods

Posted: 14 Jan 2009, 08:12
by KDR_11k
Did you try SL too or only TASClient? I wouldn't put it past TC to fail on that.

Re: HOWTO remove/tweak engine settings for mods

Posted: 15 Jan 2009, 03:17
by zwzsg
I dunno, my SL didn't support Spring getting reinstalled.

Re: HOWTO remove/tweak engine settings for mods

Posted: 13 Apr 2015, 13:24
by 8611
If this even is still relevant then it should just be on wiki like modrules.lua which is a similiar file.