View Single Post
  #4  
Old March 18th, 2006, 10:32 PM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,658
Thanks: 4,092
Thanked 5,862 Times in 2,893 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