.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

The Star & the Crescent- Save $9.00
winSPWW2- Save $6.00

   







Go Back   .com.unity Forums > The Camo Workshop > WinSPMBT
Notices


Reply
 
Thread Tools Display Modes
  #1  
Old July 16th, 2005, 05:18 AM

embis embis is offline
Private
 
Join Date: Aug 2004
Location: UK
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
embis is on a distinguished road
Default 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.
__________________
<font color="Red">Mark Biss
Reply With Quote
  #2  
Old July 16th, 2005, 05:31 AM
PlasmaKrab's Avatar

PlasmaKrab PlasmaKrab is offline
Captain
 
Join Date: Jun 2005
Location: 40km from the old frontline
Posts: 859
Thanks: 0
Thanked 15 Times in 7 Posts
PlasmaKrab is on a distinguished road
Default 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:
Code:
{7228, -1}, // 828. Tank Transporter


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
Reply With Quote
  #3  
Old July 16th, 2005, 06:00 AM

embis embis is offline
Private
 
Join Date: Aug 2004
Location: UK
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
embis is on a distinguished road
Default 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?
__________________
<font color="Red">Mark Biss
Reply With Quote
  #4  
Old July 16th, 2005, 06:11 AM
PlasmaKrab's Avatar

PlasmaKrab PlasmaKrab is offline
Captain
 
Join Date: Jun 2005
Location: 40km from the old frontline
Posts: 859
Thanks: 0
Thanked 15 Times in 7 Posts
PlasmaKrab is on a distinguished road
Default 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
Reply With Quote
  #5  
Old July 16th, 2005, 07:17 AM

embis embis is offline
Private
 
Join Date: Aug 2004
Location: UK
Posts: 31
Thanks: 0
Thanked 0 Times in 0 Posts
embis is on a distinguished road
Default Re: modding question

Thanks, all makes sense now.
__________________
<font color="Red">Mark Biss
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 04:27 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2024, Shrapnel Games, Inc. - All Rights Reserved.