Hard Light Productions Forums

Hosted Projects - Standalone => Diaspora => Diaspora 3rd Party Missions, Mods & Campaigns => Topic started by: Alan Bolte on September 25, 2012, 10:57:54 pm

Title: TBM can't modify Viper velocity?
Post by: Alan Bolte on September 25, 2012, 10:57:54 pm
So, I've been testing some changes to the way the Viper flies just to see what I can do, but for some reason I can't seem to modify its max velocity. The tbm as a whole is being loaded, because the tech description changed and the rear velocity is definitely working. For some reason, though, the max velocity is at 110 instead of 43 like I set it. Any idea what I'm doing wrong? Other than trying to slow down the Viper, I mean.

Code: [Select]
#Ship Classes

$Name: Viper Mark VII
+nocreate
+Tech Description: Test 123
$Rotdamp: 0.4
$Max Velocity: 43.0, 43.0, 43.0
$Rotation time: 6.0, 6.0, 6.0
$Rear Velocity: 43.0
$Afterburner: YES
    +Aburn Max Vel: 43.0, 43.0, 170.0
    +Aburn For accel: 0.7
    +Aburn Fuel: 300.0
    +Aburn Burn Rate: 50.0
    +Aburn Rec Rate: 25.0

#End
Title: Re: TBM can't modify Viper velocity?
Post by: Sushi on September 26, 2012, 12:34:06 am
It might be that you need to override $Max Oclk Speed as well. We don't use energy management in Diaspora, but it's still part of the ship tabling.
Title: Re: TBM can't modify Viper velocity?
Post by: MatthTheGeek on September 26, 2012, 02:19:14 am
Good catch. Since energy management is deactivated and vipers have no shields nor weapon energy, it is likely engine energy is maxed up by default, which correspond to the overclocked speed.
Title: Re: TBM can't modify Viper velocity?
Post by: Alan Bolte on September 29, 2012, 01:22:05 pm
It was indeed the oclk speed