Limiting Units


Jan 25, 2002
Sitting in the ruins of your recently conquered ca
Limiting Units:

Is it possible, using the editor, or hacked editor, to limit the number of any particular unit that a Civ may have at one time?

I ask because I have seen lots of people talk about Super Units like giant battleships that a Civ could maybe have one of at a time. I think that would be a very cool addition to the game, so, umm, is unit limiting possible?

(Only other way to encourage small numbers of super units to be built is to make them cost as much as the most costly Wonders).

A second reason I would like to know about Unit Limiting is for Special Forces. These units have again been talked about a lot already, but how about you make them pretty darn powerful, give them a lot of abilities, BUT limit them to a certain number based on the size of the Civ builing them?

The SAS for example are damn tough and capable of causing a LOT of damage to more than one enemy unit at a time, but the British Army can't be nothing BUT the SAS now can it ;)

If the editor doesnt allow you to limit unit numbers, can someone find a way? I'm no mod maker, but I have oodles of respect for you guys who can tinker away and extend the playability of games like this! :goodjob:

"Army" is an attribute of the army unit. It's this attribute that puts the limit on how many of the unit you can have. What I don't know is what happens if another unit also has the "Army" attribute. Would it apply the limit per unit type or for all units with the attribute?

I'll test this out tomorrow if nobody else does it first.
Cheers Shaitan, I'll be interested to know what effect it has

Can you have more than one unit type marked as an army then?

If you can, can you then disable or enable the army characteristics with the editor (like load unit)?

So what would we do:

- Create a new unit type, Special Forces
- Identify it as an army in the editor
- Set the limit to X per Y cities
- Disable the ability to load units into it (Because it IS the unit)
- Give it the ability to attack / defend / pillage etc, because armies without a unit 'loaded' can't attack can they??

Any body know if this would work? Is this roughly what you are thinking of trying for me Shaitan?

Somewhat comfusing because the name of the generic attribute and the unit are both "Army". There's also a third use where the Army unit is designated as the unit created by the Create Army unit ability (posessed by leaders and military academy). The only characteristic of the army attribute is to limit the number of units with the attribute based on the number of cities in the civilization (default is 4).

Yup, you can have multiple units with the army attribute and it's configurable in the editor just like unit abilities.

What I'll do to test is give the Army attribute to workers and warriors and see how many of each I can build in a new game. If the limit is for all units with the army attribute then I should be able to build just one or the other. If it's per unit then I should be able to build one of each. Hopefully it will be the latter.

Once we know we can use the attribute like we want, it can be added to any unit to limit production of that unit. You wouldn't have to go from the army unit to what you want, just add the army attribute to whatever unit you want to be build limited.
Originally posted by JimTheConqueror
Whoops, I tripped, and BUMPED my thread.

Shaitan, did you by any chance manage to check this out? I was going to but got dragged out for a curry and large amount of beer last night :)

Jim, I would love to find a place here in the midwest US with good curry. There is nothing like a good plate of mutton vindaloo or some other curry dish. Got hooked on curry in Switzerland, and really got the hook in deep when I became a fanatical fan of Red Dwarf. That is the best television show ever made!!!:D
Oi, don't hijack my thread you little Monkey! ;) having said that (in jest) it keeps my thread near the top so hijack away (in moderation).

I really REALLY meant that I was dragged out for a curry, in 26 years of life I have resisted ALL efforts by people to make me eat or even taste the stuff. The smell of it turns my stomach and I dont like heavily spiced food.

However, last night, my girlfriend who is on a crusade to broaden all of my horizons got me into a curry house and pretty much forced me to eat a Tandoori mixed grill and something I cant recall (forced memory block due to trauma?), a pasanda or something like that!?

Anyway, it didnt kill me, and I guess, grumble, whinge, that I would have to go back and try something else too now...hmm maybe im ready for a vindaloo?

Conor, get over to England! Curry has become our national dish (much to my horror) and im sure you'll find something you'll love.

Now, about my thread, does anyone know what im on about or how to do it? Shaitan, got my fingers crossed that you will solve it :)

Oh and Red Dwarf, yes, fabulous as long as you STOP watching it at series five (end of) six and seven just were not funny anymore :-(

Did they ever get round to making the American version of Red Dwarf? Heard Lister was going to be a Texan (years ago)
Originally posted by connor

Jim, I would love to find a place here in the midwest US with good curry. There is nothing like a good plate of mutton vindaloo or some other curry dish. Got hooked on curry in Switzerland, and really got the hook in deep when I became a fanatical fan of Red Dwarf. That is the best television show ever made!!!:D

There is an excelent place in Bloomington IN
Unfortunately, I live in Kansas City, so a little far to go.

Jim, fortunately they did only a pilot for Red Dwarf. The regular cast, with the exception of Kryten, would not have been in it. It just wouldn't be the same without the rest of the Red Dwarf Posse. For those of you who do not know what Red Dwarf is, check out the videos or check PBS as they sometimes show it. It is truly hilarious and not at all like the tripe that is so prevalant on prime time now.
Doesn't work. The limit is applied for all units with the "army" attribute so for each 4 cities you can build one or the other. Turns out there's another function of the army attribute as well. You need the military academy in order to build any unit with that attribute.

So unfortunately this idea isn't going to cut it.
Army wouldn't do. If you set unit Army flag it's attack/defence set to zero. There is some way around it - make SMAK-type of unit.
Make immobile attack/defence blocks with tactical missile and footsoldier flags, give platform army flag "can carry tacktical missile & footsoldiers only" and you have composite unit - army with attack&defence blocks loaded into it (and normal units can not be loaded because of tacktical missile&footsoldier flag). Not sure if AI could handle that kinde of units though, and it can not be transported by sea units.
Top Bottom