View Full Version : modding question
embis
July 16th, 2005, 05:18 AM
I want to edit some graphics using shpEd but I can seem to find them all....how do i find out which Shp file the icon I want is in?
Specifically I want to edit the tank transporter icon listed in the GB Oob as unit number 572
Does mobhack give me a clue? The icon number listed in mobhack (828) doesnt seem to show up in shpEd.
PlasmaKrab
July 16th, 2005, 05:31 AM
WinSPMBT\Game Data\Design\WINSPMBT_MasterIconList.txt
is the file you need. All icon units listed, except for infantry units which are hard-coded (NO editing)
Take care of the number on the left:
example:
<font class="small">Code:</font><hr /><pre>{7228, -1}, // 828. Tank Transporter</pre><hr />
the "828" number is the unit icon number used by MOBhack and the game.
the "7228" tells you that the first image file (vehicle body) is the number 28 of the file "icon0072.shp". Second number is the image file for turret; -1 means there is no turret.
The icons are always paired, except for those which no turret (-1) or invisible turret (6976), i.e. overall-fire light weapons. Look at the pairing to know if the icons in the file are turreted or not.
Extensive use of the "fin" function of your text editor is a must.
Hope this helps!
Plasma
embis
July 16th, 2005, 06:00 AM
Thanks Plasma, am nearly there!!
number 28 of the file icon0072 isnt the tank transporter Icon...that seems to be number 30....or am I missing something?
PlasmaKrab
July 16th, 2005, 06:11 AM
No fear about the numbers, the fact is that while the IconList sarts counting with the first unit image (#0), SHPed lists all the images in the file, including the buffer (first image, blank or MBT logo), and starts with #1.
Hence the 2-icon shift.
Sorry, I had forgottento tell you about that
embis
July 16th, 2005, 07:17 AM
Thanks, all makes sense now.
vBulletin® v3.8.1, Copyright ©2000-2025, Jelsoft Enterprises Ltd.