SC4 Devotion Forum Archives

SimCity 4 Devotion Custom Content Showcase => Independent Development Projects => Independent LOT Editor Projects => Topic started by: Cire360 on July 10, 2012, 01:31:39 PM

Title: sc4 Id's
Post by: Cire360 on July 10, 2012, 01:31:39 PM
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.
Title: Re: sc4 Id's
Post by: catty on July 10, 2012, 06:02:25 PM

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
Title: Re: sc4 Id's
Post by: Cire360 on July 10, 2012, 09:03:32 PM
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.
Title: Re: sc4 Id's
Post by: catty on July 10, 2012, 09:29:58 PM
I'd take a look at this topic as well

http://sc4devotion.com/forums/index.php?topic=11987.0
Title: Re: sc4 Id's
Post by: Tarkus on July 12, 2012, 11:58:52 AM
Thread locked.  See here (http://sc4devotion.com/forums/index.php?topic=14893.msg428494#msg428494) for further details.

Tarkus
SC4D Admin