Originally Posted by Trevally.
Hi Krauter,
Just wondering if you have any updates since TDW added new commands. The new advanced knuckle really can add to the ones you have made.
I have just finished one for aeroplane attacks:-
[AS]
Pesky Aeroplanes!
[CATEGORY]
Evasion
[COMMANDS]
crash_dive,0,0,0,0,0,0,0
Get_depth_under_sub_keel,0,0,0,0,0,0,40
Set_new_depth,50,0,0,0,0,0,1
Ahead_one_third,0,0,0,0,0,0,5
Activate_hydrophone_station,0,0,0,0,0,0,10
Sweep_hydrophone,0,360,120.0,897,0,0,1
Report_nearest_sound_contact,0,0,0,0,0,0,10
Leave_hydrophone_station,0,0,0,0,0,0,10
Activate_NavMap_Station,0,0,0,0,0,0,0
Wait,0,0,0,0,0,0,1800
Periscope_depth,0,0,0,0,0,0,60
Activate_Scope_Station,1,0,0,0,0,0,2
Rise_whole_obs_periscope,0,0,0,0,0,0,10
Sweep_Scope,1,0,360,60.0,192,0,10; (11000000)
Report_nearest_visual_contact,0,0,0,0,0,0,10
Lower_whole_obs_periscope,0,0,0,0,0,0,0
Leave_Scope_Station,1,0,0,0,0,0,0
Ahead_standard,0,0,0,0,0,0,0
Surface,0,0,0,0,0,0,90
Radar_turn_on,0,0,0,0,0,0,5
Radar_set_continuous_sweep_mode,0,0,0,0,0,0,20
Report_nearest_radio_contact,0,0,0,0,0,0,0
Activate_NavMap_Station,0,0,0,0,0,0,10
[COMMANDS_END]
I had to add "crash dive" to the \scripts\menu\TheDarkWraithAutomation.py
class AutomationCrashDive( TDWAutomation.AutomationScriptInFile.BaseAutomatio nCommandUndefined ):
def Execute( self, elapsedtime ):
if GetSubIsUnderwater():
return "skip"
else:
Game.SubmarineCommands.ExecuteCommand( "Crash_dive" )
return True
and:-
,[ "Crash_dive", AutomationCrashDive ]
Commands I am going to try to add next are:-
Man deck and flak guns
fire at will etc
|