Page 1 of 1

Icon files

Posted: Sat Mar 01, 2003 6:07 pm
by tracer
Is there a way to find icons in the SHP files other than opening each one and viewing the collage? I know when I open a unit in the OOB editor I can see the sound file(s) associated with it...is there also a pointer to its icon(s)? Rockin Harry's .doc lists the contents of the terrain (Ter) files...is there a similar list for the Icon files?

I spent a couple hours last night searching for the MG bunker icon...never did find it. :( What I'm really looking for is an icon, or part of an icon, that looks like stacked logs (I didn't forget, John!). Any help or ideas appreciated.

Posted: Sat Mar 01, 2003 7:27 pm
by Warhorse
The bunker icons are in icon0017.shp. you can see what's in the icon files with the 'icon data list.txt', located in the SHP folder.... Any more questions just e-mail me, I did most of the icon editing for the game!:D

Posted: Sat Mar 01, 2003 7:47 pm
by tracer
Ummmm...forgot about those! In ShpEd they don't appear, though I should have spotted them when I went into the SHP folder with Explorer to 'rename' bignew.shp (about a million times)! I guess you know all about the 'tunnel-vision' you get during extended editing sessions. Big thanks Mike.

How would I interpret this line? (example): {318,321}, //21. Scorpion

And what does 'error' signify? (example): {806,P_ERROR}, //45. Chevy 1311x3 4x2

Posted: Sat Mar 01, 2003 8:16 pm
by tracer
Originally posted by Warhorse
The bunker icons are in icon0017.shp. you can see what's in the icon files with the 'icon data list.txt', located in the SHP folder.... Any more questions just e-mail me, I did most of the icon editing for the game!:D


I now see how I missed them: most of the 'icon' files have 30 or so entries, and as I browsed thru them I hit 'View Collage' which (usually) displays the first 35 icons. The icon017 file has 75 entries and the bunkers are toward the end. Thanks again for the heads-up.

Posted: Sat Mar 01, 2003 9:59 pm
by Warhorse
Originally posted by tracer
Ummmm...forgot about those! In ShpEd they don't appear, though I should have spotted them when I went into the SHP folder with Explorer to 'rename' bignew.shp (about a million times)! I guess you know all about the 'tunnel-vision' you get during extended editing sessions. Big thanks Mike.

How would I interpret this line? (example): {318,321}, //21. Scorpion

And what does 'error' signify? (example): {806,P_ERROR}, //45. Chevy 1311x3 4x2


Okay, the example above means icon0003.shp 20th, and 23rd slots within the file(number you punch in shpedit box to view), and 21 is the icon number you assign in the graphic box in oobedit! The 'error' means a null value, ie a non-turreted vehicle. Hope this helps!!

Posted: Sat Mar 01, 2003 10:37 pm
by tracer
So I'm assuming to use these numbers in ShpEd I'd have to apply a little math (i.e., +1 or -1) to open the icon. But that's no problem since these lists will lead me to the proper SHP and bring me within shouting distance ;)

I'll be putting this info to good use today; thanks.

Posted: Sun Mar 02, 2003 5:49 pm
by Warhorse
Correct, and it gets even more interesting if you happen to start messing around with Spilc/Spile, you have to add 1 to the number in the csv list to view it properly, takes a little time to get used to it, but you'll get it, I'm sure!!
;)