• Welcome to SC4 Devotion Forum Archives.

sc4 Id's

Started by Cire360, July 10, 2012, 01:31:39 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Cire360

Hi guys, hope someone here can help me out.

What I'm looking to understand more or less is that once a unit is loaded, how do  you reference what textures to use on it, when they exists within another file.  for example suppose you wanted to use a few props from file a.dat when your file was called b.dat, do you somehow say using prop group id, or resource id from a.dat?

Does the lot editor or another tool assign group id and resource id?  How does one assert that resource id, group id, has no conflicts with another user who may have generated the same group id, resource id?  I'am assuming that you would probably need to say what file these are in right?

I've seen in the game where a query on a building can count the total number of buildings belonging to some 'groups' here, so i'm assuming that there is something that uniquely identifies all objects in the game right?

Thanks for any info you can supply.

catty


If you haven't already done so, I would suggest taking a look at these two topics

BSC Texture Index  http://sc4devotion.com/forums/index.php?topic=2101.0

BSC Prop Family Index  http://sc4devotion.com/forums/index.php?topic=2490.0
I meant," said Ipslore bitterly, "what is there in this world that truly makes living worthwhile?" DEATH thought about it. "CATS," he said eventually, "CATS ARE NICE.

Cire360

Thanks catty, so i was right you guys are managing a unique id.  I don't need any ids but just wanted to know how you guys were preventing clashes.

Thanks much for the information.

catty

I meant," said Ipslore bitterly, "what is there in this world that truly makes living worthwhile?" DEATH thought about it. "CATS," he said eventually, "CATS ARE NICE.