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

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $6.00

   







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


Reply
 
Thread Tools Display Modes
  #1  
Old March 16th, 2006, 11:21 AM
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 Icon list question

JUst been going through all the various bits that come with the game..
In a file called "WINSPMBT_MasterIconList.txt" on many vehicles the turret 'graphic' has a value of 6976, eg icon #4 M113. I though this was the MG but 6976 ends up as a hull graphic.

Is this a special turret type code for vehicle that don't have turret graphics but have turret ability for their weapons?

Thanks
(Just waiting for WinSPWW2)
Reply With Quote
  #2  
Old March 17th, 2006, 07:27 AM
DRG's Avatar

DRG DRG is offline
Shrapnel Fanatic
 
Join Date: Mar 2005
Location: GWN
Posts: 12,495
Thanks: 3,966
Thanked 5,704 Times in 2,815 Posts
DRG will become famous soon enough
Default Re: Icon list question

"6976" is a SHP file co-ordinate not a Icon number. It's a blank placeholder used to allow AAMG's on "turretless" vehicles

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
  #3  
Old March 17th, 2006, 08:50 AM
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

Thanks.
To understand that then 69 is the SHP file Icon0069.shp, and the 76 is the last graphic in this file, which is actually a blank one. Its #76 because you sort of start your individual counting from -1,(negative 1), the very first image in this file, since there are 79 images in the SHP file.

Also can I assume then the "WINSPMBT_MasterIconList.txt" file is not fully up to date,(version 2.5)?
Reply With Quote
  #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,495
Thanks: 3,966
Thanked 5,704 Times in 2,815 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
  #5  
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 11:40 PM.


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