Help with multiple <SeeInvisible> tags for the same unit

big_feef

Chieftain
Joined
Aug 24, 2006
Messages
6
Hello, first post on this forum.

I have a question. I've added two new units, a modern submarine and modern ASW Cruiser, but I'm having problems setting up their <seeinvisible> charactersitics. I've added a new <invisible> characteristic called invisible_modern_submarine that is added to the new modern subs. The characteristic is set up properly in both BasicInfos and TextInfos_Objects. I want the two new units to be able to see normal submarines and modern submarines, but I can't get the characteristic to be set properly for the two new units. When I only have the units set to see modern subs, it works flawlessly; I just can't get it to see both.

The following codes in UnitInfos all give an error when Civ4 loads up and the units won't be able to see either subs:
HTML:
			<Invisible>INVISIBLE_MODERN_SUBMARINE</Invisible>
			<SeeInvisible>INVISIBLE_SUBMARINE</SeeInvisible>
			<SeeInvisible>INVISIBLE_MODERN_SUBMARINE</SeeInvisible>
HTML:
			<Invisible>INVISIBLE_MODERN_SUBMARINE</Invisible>
			<SeeInvisible>INVISIBLE_SUBMARINE,INVISIBLE_MODERN_SUBMARINE</SeeInvisible>
HTML:
			<Invisible>INVISIBLE_MODERN_SUBMARINE</Invisible>
			<SeeInvisible>,INVISIBLE_SUBMARINE,INVISIBLE_MODERN_SUBMARINE</SeeInvisible>

Any help in resolving this issue would be greatly appreciated.
 
big_feef said:
Hello, first post on this forum.

I have a question. I've added two new units, a modern submarine and modern ASW Cruiser, but I'm having problems setting up their <seeinvisible> charactersitics. I've added a new <invisible> characteristic called invisible_modern_submarine that is added to the new modern subs. The characteristic is set up properly in both BasicInfos and TextInfos_Objects. I want the two new units to be able to see normal submarines and modern submarines, but I can't get the characteristic to be set properly for the two new units. When I only have the units set to see modern subs, it works flawlessly; I just can't get it to see both.

The following codes in UnitInfos all give an error when Civ4 loads up and the units won't be able to see either subs:
HTML:
			<Invisible>INVISIBLE_MODERN_SUBMARINE</Invisible>
			<SeeInvisible>INVISIBLE_SUBMARINE</SeeInvisible>
			<SeeInvisible>INVISIBLE_MODERN_SUBMARINE</SeeInvisible>
HTML:
			<Invisible>INVISIBLE_MODERN_SUBMARINE</Invisible>
			<SeeInvisible>INVISIBLE_SUBMARINE,INVISIBLE_MODERN_SUBMARINE</SeeInvisible>
HTML:
			<Invisible>INVISIBLE_MODERN_SUBMARINE</Invisible>
			<SeeInvisible>,INVISIBLE_SUBMARINE,INVISIBLE_MODERN_SUBMARINE</SeeInvisible>

Any help in resolving this issue would be greatly appreciated.

Unfortunately, AFAIK a unit can only have one <SeeInvisible> tag unless you were to mod the SDK to allow it to have more.

P.S. Welcome to the forum. Sorry to start it on such a sour note :sad:
 
Gerikes said:
Unfortunately, AFAIK a unit can only have one <SeeInvisible> tag unless you were to mod the SDK to allow it to have more.

P.S. Welcome to the forum. Sorry to start it on such a sour note :sad:

No problem, and thanks for the quick reply. I can now move on and just have the one tag. I figured as much, but I wasn't sure. And modding the SDK is way beyond my skills at the moment; maybe in a few months if I have enough free time. :)
 
Back
Top Bottom