HiddenNationality tag questions.

elistor

Warlord
Joined
Jan 12, 2008
Messages
111
I'm attempting to create a MOD adding raiders of all kinds to the game, Unfortunately it seems any unit I tag with the promotion HiddenNationality weather I add AlwaysHostile or not can only attack barbarians from the moment it gets the promotion onwards.

Does anyone know a way around this or what I'm doing wrong? here are the pertinent XML files for the Privateer I made if anyone is willing to look at them.
 

Attachments

Well with all the testing I've done so far it looks like the HiddenNationality promotion simply doesn't work at this time. I'd love it if someone out there knew diffrently and could explain how to make it work. But as is I can't figure out a way to do a "Privateer" unit with the xml as it stands and unfortunatly I don't know LUA so it looks like for now this mod gets shelved, which is too bad since it was my first mod introducing a new resouce via buildings only(Letter of Marque). :(
 
Have you tried not making this a promotion? Just giving say a scout or warrior the 'nonationality' tag from the units table? I suspect the problem is the game is just reading it as 'not yours' or something like that. Perhaps it doesn't mean what it used to. Also remember there are still tags like 'isReligious' and 'foundsReligion?' still there, that I also assume do nothing.

I think the tag you are looking for may be the 'mayattackwithoutdeclaringwar' - okay that is long but i'm certain such a similar tag i've seen lying around somewhere.

That or your may wish to create a race/unit that is classed as barbarian, but playable. I know 'isplayable' is a tag. Copying everything but that might also work mate.
 
Back
Top Bottom