Num_invisible_types civ 5

GeisselvonGott

Chieftain
Joined
Oct 7, 2010
Messages
3
Location
Sandusky, Ohio. USA
Hello all, I am new here so bear with me.
I am trying to create an invisible unit for a spy type of guy, but alas the only invisible promotion is for submarines. This won't work so I need to create a new "Invisible type". So the promotion references back to to the file "CIV5InvisibleInfos.xml". This file contains the different types of invisible units I am guessing to allow certain units to be seen by the applicable unit. Now the thing is that in this file at the top it says.
<!--
Very Important: If you change this at all you will need to change
NUM_INVISIBLE_TYPES in CvPlot and recompile (this was done for memory allocation efficiency)
-->
Now I have greped both "NUM_INVISIBLE_TYPES" and "CvPlot" and have come up with nothing in the database. the main .dll and .exe both appeared on the search for CvPlot. And the warning states that you must "recompile". So I am asking if we are stuck with one Invisible type cuz it is hard coded into the game or if any one knows a way around this.
 
I have run into the same issue you have ... my next step for a work around is making a sub landbased instead of seabased... no idea if this will work or not. I dont have time at the moment ,, I will work on it in a few hours.

I did figure out how to make him able to enter any civ area with no bad effects tho ... I am just down the the invis part of my goals for a spy unit

edit

I spent some time on this .. I changed the sub to domain land from sea... so I was able to build a sub on land and move around... was pretty funny actually. But it failed to be invis to other AI players or barbarians... I may have missed something since I am not so good with this sort of stuff but I am very frustrated with the whole thing since I have been messing around with it for 3 days now. So I am giving up on the idea for now.
 
Back
Top Bottom