Darn, so much to be done and I'm not going to be able to access RTW for another three weeks at least!
@ quadrille
I haven't discovered any way of ensuring you can only build one unit. There's no conditional (that I'm aware of) that involves the game looking at what the faction already owns so we can't simply say:
requires faction and hastati = 0
(if I'm wrong on this, please let me know!)
The main problem lies in creating some kind of exhaustable building/resource so that once you've built it the resource is destroyed and so it cannot be created twice.
I don't how far people have got in understanding the campaign scripting, but that could help you if there was some trigger after a unit was constructed that could be used to destroy a conditional building.
There is, however, an easy way of only ever having one unit of a type on the map.
Easy solution
You make the unique unit non-buildable and place a single one on the starting campaign map.
Problem here is that the faction has to have the unique unit from the start, unless again a script trigger could place the unit outside of the normal recruitment system (eg, complete Achilles' home triggers placement of Achilles unit at particular location)
@ Simetrical
I think you understood me right.
I only happened to use the "or not" parameter because I was working on a excel script to make defining the unit's hidden resource requirements easier and therefore the script was set up to insert "or" in between the different hidden resource areas.
I was going to suggest that perhaps the game uses "and" "or" & "and not" but not "or not" parameters, but that would mean that it shouldn't have appeared in B.
I don't think we should be too concerned with "or not" though as each one of the situations that it could have been (per your list) can be defined using "and" & "and not" (though you'd have to have two lines for 1) & 2)).
I'd be more interested in a couple of other areas:
A) khelvan said we can string quite a few of these together, is there an upper limit? (so if I want to be able to build the unit in half the map, can I list ten ZOR areas that already exist or would I have to create another resource for it?)
B) what happens if we put in contradictory recruitment parameters, eg, requires faction and italy and not italy ?
Bookmarks