Change Units Spawned Limit?
Moderator: Moderators
-
SG-17
- Second Lance Corporal

- Posts: 106
- Joined: Wed Mar 26, 2008 7:36 pm
- Contact:
Change Units Spawned Limit?
Is there a way to change how many of a unit can be spawned in at once? Like how the max for special classes is 4. Is there any way for me to increase that?
-
computergeek
- General

- Posts: 770
- Joined: Thu Jun 07, 2007 6:26 pm
- Projects :: Halo Warthog vehicle for SWBF2
- xbox live or psn: No gamertag set
- Location: Far Far away....
Re: Change Units Spawned Limit?
In your mode's lua, look at the setup teams, the second number is the max
-
SG-17
- Second Lance Corporal

- Posts: 106
- Joined: Wed Mar 26, 2008 7:36 pm
- Contact:
Re: Change Units Spawned Limit?
Well I want to make it so it is more than 4 in the regular game, not a mod map.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Change Units Spawned Limit?
Without munging a new mission.lvl or hex editing, the answer is no. With a new mission.lvl or hex editing, then sure you can change almost anything (anything thats not done in ZE). However, some of the special units require extra memory pool stuff. If you increase the unit counts above the memory limits, the map should crash.
-
SG-17
- Second Lance Corporal

- Posts: 106
- Joined: Wed Mar 26, 2008 7:36 pm
- Contact:
Re: Change Units Spawned Limit?
Ok I can hex edit, I just need to know what to look for.
- [RDH]Zerted
- Gametoast Staff

- Posts: 2982
- Joined: Sun Feb 26, 2006 7:36 am
- Projects :: Bos Wars AI - a RTS game
- xbox live or psn: No gamertag set
- Location: USA
- Contact:
Re: Change Units Spawned Limit?
Download and install the mod tools. Create a blank map, then follow computergeek's advice.
Tip: Munge a blank map, then change the value in the source and munge again. Hex edit the mission.lvls and see where/what changed. This should help show you where the shipped mission.lvl needs changed.
Tip: Munge a blank map, then change the value in the source and munge again. Hex edit the mission.lvls and see where/what changed. This should help show you where the shipped mission.lvl needs changed.
