![]() |
modding question
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. |
Re: modding question
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 |
Re: modding question
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? |
Re: modding question
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 |
Re: modding question
Thanks, all makes sense now.
|
All times are GMT -4. The time now is 11:14 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.