Page 1 of 1

Overwrite/Change limits in skirmish game

Posted: 28 Nov 2012, 02:32
by krichter
Hallo together,
after 2 hours of research and a bunch of contradictory information, I have to bother the forum with the following simple question: Is it or is it not possible to overwrite the default limits for buildings/structures in skirmish games (in my case I just want to have more than 5 research facilities in a skirmish game). To make it clear, my question is not related to other games than skirmish games or cheating to enable the whole tech tree.

Any help is appreciated! Thanks in advance.

Re: Overwrite/Change limits in skirmish game

Posted: 28 Nov 2012, 05:00
by Lord Apocalypse
Simple answer, no. To change the limits you need to open the data files and change a few things from there. Since there have been a lot of changes on the data can't give you anything more exact... sorry :(

Re: Overwrite/Change limits in skirmish game

Posted: 28 Nov 2012, 05:01
by aubergine
Ultimate Scavenger AI mod contains example of how to change the limits screen (it adds Scav Chopper Factory, etc).

Download the mod, renamed .wz to .zip and have a poke around in the zip's contents. Not sure what the limits screen config file is called, but probably something like limits.txt.

From vague memory it's possible to get up to 15 labs, factories, etc., but the UI starts to get a bit broken if you push it too far.

Re: Overwrite/Change limits in skirmish game

Posted: 28 Nov 2012, 05:08
by aubergine
Just did some digging, the file you need multilim.slo in the /multiplay/script folder.

Here's what it looks like in the version bundled with the game: https://github.com/Warzone2100/warzone2 ... ltilim.slo

If you want to create your own limits mod, create a folder (eg. "My Limits") in the mods/autoload folder (the place where you install mods) and then create a subfolder "multiplay" and in that another subfolder "script". Then put your custom multilim.slo in the script folder. Restart the game and the limits screen should show your new settings.

Re: Overwrite/Change limits in skirmish game

Posted: 28 Nov 2012, 06:45
by Shadow Wolf TJC
Please note that if you try to set factory limits above 5, you start to notice glitches like this and this.

Re: Overwrite/Change limits in skirmish game

Posted: 28 Nov 2012, 06:49
by aubergine
It seems to work OK with research labs though (although keeping track of up to 15 labs gets a bit hectic!)

Re: Overwrite/Change limits in skirmish game

Posted: 28 Nov 2012, 16:14
by krichter
Thanks a lot. Overwriting mulitlim.slo in mp.wz did the job. So far I didn't experience any problems.

Re: Overwrite/Change limits in skirmish game

Posted: 29 Nov 2012, 04:55
by Iluvalar
Except that you broke any possibility for multiplayer matches...

Here is how you should do it :
*Create an exact copy of the mp folder.
*Rename it "my_modV0.01"
*Delete everything but mulitlim.slo and the folders containing it
*Edit as you please.
*You can zip the folder back. Now you have a fully functional mod.
*Move it either into "mods/autoload" for permanent effect. or in "mods/multiplay" and launch your game with the -mod_mp=my_modV0.01 argument when you please.

This way you will be able to move the file when you want to play online or even to map-mod it and play online with your mod.

Re: Overwrite/Change limits in skirmish game

Posted: 29 Nov 2012, 06:10
by aubergine
And remember to rename the zip to .wz otherwise WZ will ignore it...

Re: Overwrite/Change limits in skirmish game

Posted: 07 Nov 2013, 19:01
by montetank
aubergine wrote:Just did some digging, the file you need multilim.slo in the /multiplay/script folder.

Here's what it looks like in the version bundled with the game: https://github.com/Warzone2100/warzone2 ... ltilim.slo

If you want to create your own limits mod, create a folder (eg. "My Limits") in the mods/autoload folder (the place where you install mods) and then create a subfolder "multiplay" and in that another subfolder "script". Then put your custom multilim.slo in the script folder. Restart the game and the limits screen should show your new settings.
Great :)
It works. At first I thought: "can it be as simple as that?". To create a simple mod i have been looking for a long time?
Yes- it is possible. Thanks Aubergine

Ps. I like the forum more and more each day :D

Re: Overwrite/Change limits in skirmish game

Posted: 01 Apr 2014, 06:53
by technician
WOW, that was simpler than I thought it would be (i've been trying to do this too).