Editing Structure Limits
Editing Structure Limits
Hey guys!
First of all I'm surprised and glad to see this forum is still active. It's great that Warzone is still being played today and modified.
So, I'd like to edit some Structure Limits. I extracted the Rules.js file from mp.wz and edited it with Notepad, changing the numbers in the setStructureLimits. Then I saved, packed the new Rules.js file into an archive (multiplay/skrimish/limits.wz) and added it to the autoload folder in mods. I think this is the way to install new mods, isn't it?
But well, it doesn't seem to work as I don't see any changes when opening the Structure Limits in Skirmish. Did I do something wrong?
First of all I'm surprised and glad to see this forum is still active. It's great that Warzone is still being played today and modified.
So, I'd like to edit some Structure Limits. I extracted the Rules.js file from mp.wz and edited it with Notepad, changing the numbers in the setStructureLimits. Then I saved, packed the new Rules.js file into an archive (multiplay/skrimish/limits.wz) and added it to the autoload folder in mods. I think this is the way to install new mods, isn't it?
But well, it doesn't seem to work as I don't see any changes when opening the Structure Limits in Skirmish. Did I do something wrong?
Re: Editing Structure Limits
Post the archive here.
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: Editing Structure Limits
Here it is.
Re: Editing Structure Limits
Okay, I was able to do it after editing the multilim.slo file and the rules.js file and add them to the mp.wz archive. I think the thread can be closed.
Re: Editing Structure Limits
I have lost the keys
“Beneath this mask there is more than flesh. Beneath this mask there is an idea, and ideas are bulletproof.” - V
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
"Mark my words boy, Mark them well, I have survived your predecessors and I will survive you." - Merovingian
Regards - Mero
Re: Editing Structure Limits
i need to do the same, i must make a map mod with long range artillery limited or swich off. How can i doing that?
i've got 1 rules file, where is possible modify structure limits, power etc, but i'm not able to do..
i've got 1 rules file, where is possible modify structure limits, power etc, but i'm not able to do..
Re: Editing Structure Limits
this the file. i can change only the starting power with it, and i don't know how doing other... someone will help me , please?
i would learn something...
i would learn something...
- Attachments
-
- rules.js
- (7.81 KiB) Downloaded 263 times
Re: Editing Structure Limits
i am searching something about it on the forum, but....
this script will be simple if someone know a little of it
but not for me...
i had tried to change the labs number for example, from 5 to 15 but it doesn't work
but i can change the staring power, it is set to 10000 now, for example, and it work
this script will be simple if someone know a little of it
but not for me...
i had tried to change the labs number for example, from 5 to 15 but it doesn't work
but i can change the staring power, it is set to 10000 now, for example, and it work
Re: Editing Structure Limits
If you want to see examples of modding limits, look in the Mini Scav Wars mod or the Contingency mod, as both those mods alter limits.
Note that there can be issues if you allow too many factories or labs, Shadow Wolf TJC explains some of the issues in the Contingency thread.
Note that there can be issues if you allow too many factories or labs, Shadow Wolf TJC explains some of the issues in the Contingency thread.
"Dedicated to discovering Warzone artefacts, and sharing them freely for the benefit of the community."
-- https://warzone.atlassian.net/wiki/display/GO
-- https://warzone.atlassian.net/wiki/display/GO
Re: Editing Structure Limits
Uh this brings back memories.
I think the thread is still partially relevant, as we still have some part of structure limits in .slo/.vlo (?)
I think the thread is still partially relevant, as we still have some part of structure limits in .slo/.vlo (?)
Maps | Tower Defense | NullBot AI | More NullBot AI | Scavs | More Scavs | Tilesets | Walkthrough | JSCam
Re: Editing Structure Limits
oh well, this will be useful for me, i try to learn something then.
Thanks
Thanks
- Shadow Wolf TJC
- Regular
- Posts: 1047
- Joined: 16 Apr 2011, 05:12
- Location: Raleigh, NC
Re: Editing Structure Limits
Not only would you have to edit rules.js, you'll also have to edit multilim.slo and multilim.vlo. They control which structure limits can be adjusted prior to starting a skirmish or multiplayer match.
Creator of Warzone 2100: Contingency!
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100
Founder of Wikizone 2100: http://wikizone2100.wikia.com/wiki/Wikizone_2100