![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
02-14-19, 03:37 PM
|
#11 |
|
Samurai Navy
![]() |
I dug a bit into the game files to figure something out, and wow, I couldn´t believe my eyes that apparently so much code from Silent hunter 4 has been used to make this game. There is bits of SH4 code everywhere, although, often without function, since many features SH4 had were not implemented. Things like proper crew management, an office room you visit between patrols, etc.
Now I wonder if they simply used "unscrubbed" SH4 code to save time, or if they at some point intended to get these features into SH5? What a shame that Ubisoft has ruined what this game could have been by rushing it out the door. I guess the devs would have also had more time for developing the game if Ubisoft didn´t insist that this game should be a testbed for their bull**** DRM they had back then.... EDIT: Disregard the following. I departed on a new patrol, and the submerged torpedo loading boost works again..... This game sometimes.... Anyway, what I wanted to do is have a look why I can not activate the faster torpedo ability while at periscope depth. I guess it is because of this part of code in Silent Hunter 5\data\UPCDataGE\UPCCrewData\SpecialAbilities.upc Code:
[SpecialAbility 19] ; *Faster torpedo tubes reloading-submerged ID=Ability-Active-Overcharge-Torpedo NameDisplayable=Ability-Active-Overcharge-Torpedo-Name Description=Ability-Active-Overcharge-Torpedo-Description, Ability-Active-Overcharge-Torpedo-Description, Ability-Active-Overcharge-Torpedo-Description, Ability-Active-Overcharge-Torpedo-Description, Ability-Active-Overcharge-Torpedo-Description Levels= 5 AbilityType=TorpedoLoadingTimeSimple ; *Faster torpedo tubes reloading-submerged AbilityValue= -10, -12, -15, -17, -20 RunOnActivate= IfIsSubmerged PointsRequirement= 0, 0, 0, 0, 0 AbilityRequirements= 0, 1, Ability-Active-Overcharge-Torpedo, 1, 1, Ability-Active-Overcharge-Torpedo, 2, 1, Ability-Active-Overcharge-Torpedo, 3, 1, Ability-Active-Overcharge-Torpedo, 4 LevelUpTree= 2, 3, 4, 5, 0 MoraleCost= 1, 1, 1, 1, 1 PointsCost= 1, 1, 2, 2, 3 AbylityActsIn= ALL Activation=OnDemand Duration=1200, 1800, 2400, 3000, 3600 Cooldown=16200, 14400, 14400, 10800, 7200 So, doesn´t Periscope depth count as IfIsSubmerged ? There is not persicope depth function in that file. Code:
; RunOnActivate - functions ; ; SpeedAheadFlank ; IfIsSurfaced ; IfIsSubmerged ; Last edited by Tonci87; 02-14-19 at 03:51 PM. |
|
|
| Thread Tools | |
| Display Modes | |
|
|
