SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: jondor on October 18, 2010, 09:07:37 PM

Title: IID ranges for different file types
Post by: jondor on October 18, 2010, 09:07:37 PM
I've been getting more and more into creating little mods, but I tend to be paranoid about creating conflicting IIDs.  Unfortunately the forum search is not turning up the information I'm looking for.

The particular mod I'm working on has 2 model files (along with a single texture shared between them), 2 prop files and 4 T21s.  Any suggestions on picking IIDs?
Title: Re: IID ranges for different file types
Post by: RippleJet on October 18, 2010, 10:42:10 PM
I assume you're using Reader for the modding...
In that case I'd use Reader's built-in function to generate a random IID.
With more than 4 billion different IID's available, the risk of creating conflicts is minimal.
If you'd choose your own IID, the risk would be a lot higher, as people in that case would tend to choose easily recognizable IID ranges for their use...
Title: Re: IID ranges for different file types
Post by: jondor on October 18, 2010, 11:20:00 PM
I am using iLive's Reader.  If that's the case, I'll go ahead and do that.  I know certain types of files have much more limited ranges by design (Overlay and network textures, etc).  Just wanted to make sure I wouldn't be stepping on anyone's toes by grabbing some random number.
Title: Re: IID ranges for different file types
Post by: Lowkee33 on October 19, 2010, 05:26:41 AM
Textures are a little different, and overwriting each other is a high possibility .  Fortunately there is theBSC Texture Index (http://sc4devotion.com/forums/index.php?topic=2101.240) where you can receive your own range of IDs to use.   
Title: Re: IID ranges for different file types
Post by: jondor on October 19, 2010, 10:49:12 AM
For overlay textures certainly, since space is limited by the required zoom levels.  I've got a range for those for a couple lots I'm working on.

Here, I'm talking about a texture for a prop model (and in this case only one since the model needs to be slope conforming).  I wasn't sure if there was a central authority on those or not.