Voriax -> (7/5/2000 4:47:00 AM)
|
quote:
Originally posted by Gobbler:
Thanks for the response. I will try some things with adobe and get back to you. I would like to know more about working the shp.editor - who's the guru in that area? Get out and enjoy the fourth.
You plan to go poaching in Mike Amos's area? The God of the unit icons
I've fiddled a bit with the shp editor, if this goes badly wrong correct me Mike.
First open the editor and load the shp file that contains the icon you want. Each file contains several icons, around 30 usually. Then select the exact icon in the editor, use the 'Image #' box.
also you have to load the correct palette, otherwise the colouring is weird. There is a steel.pal file included with the editor. At least with that the pics look okay. I haven't imported my toyings back to the game so I'm not sure of the end result [img]http://www.matrixgames.com/ubb/smile.gif[/img]
However then you'll have to save that icon as a .bmp file, i think it was mentioned in the editor help that a 24bit colour depth is required. Then load the bmp into a whatever graphic editor you use, maul the picture to whatever you like [img]http://www.matrixgames.com/ubb/wink.gif[/img] and then convert the bmp back to the shp file.
There is a 'icon data list.txt' file in the shp subdirectory that contains the information where in the shp files a particular unit icon is located. this method has something to do with the black magic but to use the same example that Mike used when I asked about it, if you look at the Finnish Ju-88, it's number is 319, when you look at the data list in the same row at the start it says {5418, P_ERROR} which means the icon is in the shp file number icon0054.shp, and the image is number 20 in that file (you have to add 2). The P_ERROR part tells that the unit is not turreted. If it had a turret there would be another string of numbers.
Confused? I am.
Voriax
|
|
|
|