How do you remove the unit and time limits on SP Campaign?

Get some help with creating maps or modding.
Need a map editor or other tools, look here!
User avatar
Arreon
Trained
Trained
Posts: 324
Joined: 15 Feb 2009, 05:57

How do you remove the unit and time limits on SP Campaign?

Post by Arreon »

I want to remove the unit and time limits in the Single Player Campaign, but I don't know which file(s) to edit. I assume it has to do with the vlo/slo files, like the skirmish power settings do.

If someone can point out the files and code snippets I need to edit, I'd really appreciate it. :)
OS: Windows 7 Home Premium 64-bit
Processor: AMD Phenom II X6 1045T (6 CPUs), ~2.7GHz
Memory: 8192MB RAM
User avatar
NoQ
Special
Special
Posts: 6226
Joined: 24 Dec 2009, 11:35
Location: /var/zone

Re: How do you remove the unit and time limits on SP Campaig

Post by NoQ »

As far as i remember, to modify time limits you can modify the "timeLimit" value in vlo files. To remove the time limits completely, i suppose, you can try removing "setMissionTime(timeLimit);" lines in .slo files.
User avatar
Arreon
Trained
Trained
Posts: 324
Joined: 15 Feb 2009, 05:57

Re: How do you remove the unit and time limits on SP Campaig

Post by Arreon »

The time limit suggestion works. Thanks, hao. I was also able to change the reinforcement times.

I'd still like to know how I can modify the unit limit.
OS: Windows 7 Home Premium 64-bit
Processor: AMD Phenom II X6 1045T (6 CPUs), ~2.7GHz
Memory: 8192MB RAM