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

This Month's Specials

BCT Commander- Save $6.00
World Supremacy- Save $10.00

   







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


Reply
 
Thread Tools Display Modes
  #1  
Old March 18th, 2006, 10:32 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,689
Thanks: 4,124
Thanked 5,922 Times in 2,914 Posts
DRG will become famous soon enough
Default Re: Icon list question

The numbers listed in the Icon list like....

(6901,6976}, // 630. BREN CARRIER

.....are the numbers the game code uses to find things and the game code ignores the first SHP in a SHP file **AND** it counts everything starting at zero. SHPEdit, on the other hand, WILL read the first image in a SHP file AND it counts starting with one ( not zero )so when you open a SHP file like Icon0069.shp with SHPEdit it will report the last number as 78 but the game reads that last number as 76 so the game code is loading the 76th image in file 69 but SHPEdit "knows" this as 78.

If you want to see the Bren carrier in that same file you don't enter ' 1 ' into SHPEDit.....you add 2 to whatever is listed in the Icon list.....so 3 will show the Bren Carrier and 78 will show a single pixel to represent the "invisible turret" that allows 360 degree AAMG fire.

Don
__________________


"You are never to old to rock and roll if you are too young to die".--- What do you expect to be doing when you are 80?


https://www.youtube.com/watch?v=8kWt8ELuDOc
Reply With Quote
  #2  
Old March 18th, 2006, 11:59 PM
TDR's Avatar

TDR TDR is offline
Corporal
 
Join Date: Nov 2005
Posts: 134
Thanks: 1
Thanked 7 Times in 6 Posts
TDR is on a distinguished road
Default Re: Icon list question

Thank, its slowly making sense..
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 08:02 AM.


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