SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 08-23-10, 10:47 PM   #11
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

was going to just arbitrarily pick a number out of thin air for the max damage that the commander can sustain before all tactics and roles get reset but then I remembered this crew state:

### ======= Ship state-machine: ABANDON ======= ###
strategy StateAbandon(Ship)
{
precond
{
Ship:GetDamage() >= MAX_DAMAGE_STATE_CHANGE
}

there's the magic number: MAX_DAMAGE_STATE_CHANGE (which is 0.9)

So there is what determines when the commander isn't a commander anymore

EDIT:

the work around I did didn't work correctly.....but I did manage to find another one that so far has been working perfectly!

EDIT2:

after multiple tests it's been discovered that any work around doesn't work all the time This is a game breaker

Last edited by TheDarkWraith; 08-24-10 at 01:01 AM.
TheDarkWraith is offline   Reply With Quote
 


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 Off

Forum Jump


All times are GMT -5. The time now is 02:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.