wildlife

RPG

King
Joined
Jan 17, 2007
Messages
658
Location
Cambridge
Is it possible to use the animal unit art (bears, wolves, etc.) as a resource? I don't want or need it to provide any benefits, I'm just trying to represent wildlife on the map that won't disappear like the units do.
 

phungus420

Deity
Joined
Mar 1, 2003
Messages
6,296
It's possible to do almost anything. This would require some SDK work, but probably wouldn't be as complicated as you would think; though it wouldn't be simple. If I were to want to do this, I would look at how resources are added to the map, ie track how they are loaded into CvInfos, and then where they are referenced in other objects. My guess would be that they are loaded into a CvPlot object (though I'm not sure); if this were the case it would be possible to add an atribute to a CvUnit object (the animal unit in question), that adds the resource to the CvPlot object the unit is on.
 

Voyhkah

Political Activist
Joined
Apr 25, 2009
Messages
1,444
Location
Earth
I think what he means is use that art as a resource, not some complected SDK thing. I don't know is what he says is possible, though.
 

RPG

King
Joined
Jan 17, 2007
Messages
658
Location
Cambridge
Yeah, I can't do any complicated sdk thing. Just hoping to get the art on the map.
 

phungus420

Deity
Joined
Mar 1, 2003
Messages
6,296
Yeah, I can't do any complicated sdk thing. Just hoping to get the art on the map.

Ah, I thought you wanted roaming animal units to provide resources. Well, best thing to do, would be simply to try it. Plug in the art for the unit into ArtDefines_Bonus and see if it works. I think it should, though you may need to adjust the scale.
 

The_J

Say No 2 Net Validations
Administrator
Supporter
Joined
Oct 22, 2008
Messages
37,454
Location
DE/NL/FR
Top Bottom