.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 > WinSPWW2 > Mods
Notices


 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #7  
Old April 30th, 2023, 05:40 PM
Mobhack's Avatar

Mobhack Mobhack is offline
National Security Advisor
 
Join Date: Mar 2005
Location: Dundee
Posts: 5,955
Thanks: 464
Thanked 1,896 Times in 1,234 Posts
Mobhack is on a distinguished road
Default Re: Buildings and Infantry.

And the DD Tanks have thier own specific classes - 134 DD tank and 135 Snorkel tank. Whether that leads to a specific snorkel graphic or not, you will need to experiment with. One may use a "snorkel" and the other a DD sherman graphic when in the water. Been a long time since I coded it, but thats probably it - Unit class X for a flotation tube and Y for a sherman with sides up swimming graphic.

There is no alternative "floating" icon, its all hard coded for the specific types. You would need to find the snort and DD icons wherever they reside and change for your purposes if you want to change them. (Similar hard-coded icon swaps are done for the parachutist types while falling out the back of a plane - the parachute icons are special ones)

Also IIRC, there is a difference in the to-hit and hit resolution for firing on a submerged snort tank and a floating DD tank. Neither react well to being hit by any weapon type (glug glug!) but the snort may be treated as a smaller target (likely also for spotting the thing), vaguely recalling code I wrote back in the MSDOS days and havent looked at since. I vaguely recall snipers being a good thing(tm) to shoot at snorts with for exmaple, but I am not going to delve into the code to refresh my mind.
Reply With Quote
The Following User Says Thank You to Mobhack For This Useful Post:
 

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 06:32 AM.


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