HOWTO remove/tweak engine settings for mods

HOWTO remove/tweak engine settings for mods

Resources to get you going on your new project, or to help you over some emergent problems during your development cycle.

Moderator: Moderators

Post Reply
User avatar
BrainDamage
Lobby Developer
Posts: 1164
Joined: 25 Sep 2006, 13:56

HOWTO remove/tweak engine settings for mods

Post 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!
User avatar
Alchemist
Posts: 81
Joined: 21 Oct 2005, 23:46

Re: HOWTO remove/tweak engine settings for mods

Post by Alchemist »

This is major ownage. Finally!!! :-)
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: HOWTO remove/tweak engine settings for mods

Post by Hoi »

Sticky?
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: HOWTO remove/tweak engine settings for mods

Post by Pxtl »

Hoi wrote:Sticky?
No, wiki it if it isn't in the wiki already.
User avatar
Hoi
Posts: 2917
Joined: 13 May 2008, 16:51

Re: HOWTO remove/tweak engine settings for mods

Post by Hoi »

Either works.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: HOWTO remove/tweak engine settings for mods

Post by zwzsg »

Why did you necro!! You made me believe there was something new about those settings tweak/remobal! (btw, is there?)
Last edited by zwzsg on 13 Jan 2009, 22:46, edited 1 time in total.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: HOWTO remove/tweak engine settings for mods

Post 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?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: HOWTO remove/tweak engine settings for mods

Post by zwzsg »

You specify your own default...
User avatar
Pxtl
Posts: 6112
Joined: 23 Oct 2004, 01:43

Re: HOWTO remove/tweak engine settings for mods

Post by Pxtl »

Hoi wrote:Either works.
I can't even find info on modoptions.lua in the wiki, much less this stuff.
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: HOWTO remove/tweak engine settings for mods

Post by KDR_11k »

zwzsg wrote:You specify your own default...
That only works for values you include, no?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: HOWTO remove/tweak engine settings for mods

Post by imbaczek »

try type = hidden and pray it works...?
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: HOWTO remove/tweak engine settings for mods

Post by zwzsg »

Oops, I understood just now what KDR meant. Anyway,

The def of the key='GameMode' is still unread!
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: HOWTO remove/tweak engine settings for mods

Post by KDR_11k »

Did you try SL too or only TASClient? I wouldn't put it past TC to fail on that.
User avatar
zwzsg
Kernel Panic Co-Developer
Posts: 7049
Joined: 16 Nov 2004, 13:08

Re: HOWTO remove/tweak engine settings for mods

Post by zwzsg »

I dunno, my SL didn't support Spring getting reinstalled.
8611
XTA Developer
Posts: 242
Joined: 29 Dec 2014, 08:22

Re: HOWTO remove/tweak engine settings for mods

Post by 8611 »

If this even is still relevant then it should just be on wiki like modrules.lua which is a similiar file.
Post Reply

Return to “Game Development Tutorials & Resources”