View Full Version : Editing the "Raise/Lower SD Antenna" button
Scottb8411
03-17-08, 09:46 PM
Help!
I'm using TMO and want to edit the Raise/Lower SD Antenna button in OrdersBar.cfg so that it is lit "active" just like the periscope buttons. I just can't find a lock command that works.
The attack periscope uses the command Button2CommandToCheckIfIsChecked=Is_AttackPeriscop e_risen_at_all to see if the periscope is up; and if so to place the button in the active state.
I want this same function available to the SD Antenna. I want to know if the antenna is raised or lowered without having to use the external camera to check.
How does the game know if the SD antenna is up or down?
I searched all the .cfg files I could find, but could not find any reference to the lock commands. Can anyone point me in the right direction?
Thanks,
SB
Ducimus
03-17-08, 10:29 PM
Good question. Sorry, but i don't have an answer.
However, I think there is an IsSurfaced variable (or something similar to "isSurfaced") so it might be possible to restrict the button when surfaced or submerged. Not sure, and you might lock yourself into having it one way or the other . At any rate the functionlality of the SD antenna, is shoehorned out of legacy code from SH3 - raise and lower SNORKEL. (Maybe it helps when you know what your dealing with? )
skwasjer
03-17-08, 11:47 PM
Below a list of all commands I am aware of (from the addon). I have not found anything that you could use, but maybe I missed it:
Unknown
User_commands
Help
Console
Pause_game
Time_compr_reduce
Time_compr_increase
Time_compr_normal
Go_back_to_prev_cam
Free_camera
User_free_camera
Replay_camera
Interior_fore_camera
Interior_aft_camera
Interior_radio_camera
Conning_tower_camera
Conning_tower_periscope
Conning_deck_camera
Periscope_camera
Obs_periscope_camera
UZO_camera
Binocular_camera
Deckgun_camera
Flakgun_camera
A01gun_camera
A02gun_camera
Watch_Aft_camera
Watch_Shears_camera
Watch_Opposite_camera
TDC_camera
ObsScope_Out_camera
TBT_Out_camera
Pelorous_camera
Cycle_flak_cam
Final_page
Net_Final_page
Net_Spectator_page
Activate_event_cam
Deactivate_event_cam
Try_deactivate_event_cam
Close_event_cam
Focus_on_event_cam
Navigation_map
Navigation_2D_map
Attack_map
Attack_2D_map
Helmsman_view
Navigator_view
Weapons_officer_view
Hydrophone_view
Toggle_hydrophone_view
Radar_view
Radar_view_ascope
Toggle_radar_view
Watch_view
Captains_bed_view
Crew_control
Crew_control_ForSpecialAbilities
WeaponsAndSensors_control
Systems_control
Guns_control
Captain_log
Toggle_captain_panel
Toggle_captain_log
Mission_order
Radio_messages
Toggle_radio_messages
Recognition_manual
Activate_hydrophone
Deactivate_hydrophone
Toggle_hydrophone
Rotate_hydrophone
Activate_radar
Deactivate_radar
Camera_on_unit
Camera_on_next_unit
Camera_on_prev_unit
Remote_camera
Command_room_free_camera
Radio_room_free_camera
Conning_tower_free_camera
Museum_camera
Weapons_mng
Display_objectives
CareerStartPatrol
SaveGame
LoadGame
ShowOptionsPage
LeaveCaptainRoom
Adv_Binocular_camera
Show_Transfer_base
Show_Intelligence_Units
Show_Player_Rank
Show_Top_aces
View_previous_convoy_unit
View_next_convoy_unit
View_previous_escort_unit
View_next_escort_unit
Show_multiplayer_status
Toggle_Propulsion_Recharging
Toggle_activate_torpedoes_auto_loading
Toggle_RiseLower_whole_periscope
Toggle_RiseLower_whole_obs_periscope
Toggle_Activate_Clock
Toggle_Activate_UserRadio
Toggle_Activate_Gramophone
Adversarial_Navigation_2D_map
Play_Death_Effect
DisplayMedalDetails
FinalPage_From_DeathEffect
Is_American
Is_German
Is_Interior_fore_camera_station_Active
Is_Propulsion_Recharging_Active
Is_Silent_mode_Active
Is_Navigation_2D_map_station_Active
Is_Attack_2D_map_station_Active
Is_AnyPeriscope_camera_station_Active
Is_AttackPeriscope_camera_station_Active
Is_AttackPeriscope_risen_at_all
Is_AttackPeriscope_moving
Is_ObservationPeriscope_camera_station_Active
Is_ObservationPeriscope_risen_at_all
Is_ObservationPeriscope_moving
Is_UZOTBT_camera_station_Active
Is_Clock_Active
Is_TakePhoto_Available
Is_RecognitionManual_Active
Is_Conning_deck_camera_station_Active
Is_Binocular_camera_station_Active
Is_Rescue_Survivors_Available
Is_Deckgun_camera_station_Active
Is_M01_Available
Is_M01_Installed
Is_DGuns_Firing_at_will
Is_DGuns_Holding_fire
Is_DGuns_Short_range_Active
Is_DGuns_Medium_range_Active
Is_DGuns_Long_range_Active
Is_DGuns_Aiming_hull
Is_DGuns_Aiming_cmd_deck
Is_DGuns_Aiming_weapons
Is_DGuns_Aiming_waterline
Is_Flak_camera_station_Active
Is_Flak_Available
Is_American_Flak_Installed
Is_German_Flak_Installed
Is_A01_camera_station_Active
Is_A01_Available
Is_American_A01_Installed
Is_German_A01_Installed
Is_A02_camera_station_Active
Is_A02_Available
Is_American_A02_Installed
Is_German_A02_Installed
Is_AnyFlak_Installed
Is_AAGuns_Firing_at_will
Is_AAGuns_Holding_fire
Is_AAGuns_Short_range_Active
Is_AAGuns_Medium_range_Active
Is_AAGuns_Long_range_Active
Is_AAGuns_Closing_targets
Is_AAGuns_Any_targets
Is_Hydrophone_view_station_Active
Is_AnyRadar_Installed
Is_Radar_view_station_Active
Is_Radar_Installed
Is_RadarAScope_view_station_Active
Is_RadarAScope_Installed
Is_RadarStation_Usable
Is_Radar_On
Is_Radar_ContinuousSweep_On
Is_Radar_OneSweep_Available
Is_Crew_control_station_Active
Is_Battle_stations_Active
Is_AAgun_Team_Active
Is_DECKgun_Team_Active
Is_Damage_Team_Active
Is_WeaponsAndSensors_control_station_Active
Is_Systems_control_station_Active
Is_Guns_control_station_Active
Is_torpedoes_auto_loading_Active
Is_User_free_camera_Active
Is_Underwater
Is_UserRadio_Active
Is_Gramophone_Active
Is_Help_Active
Cam_zoom_in
Cam_zoom_out
Cam_zoom_cycle
Cam_wheel_zoom
Cam_tight_toggle
To_left
To_left_fast
To_left_slow
To_right
To_right_fast
To_right_slow
To_up
To_up_fast
To_up_slow
To_down
To_down_fast
To_down_slow
Move_forward
Move_forward_fast
Move_backward
Move_backward_fast
Strafe_left
Strafe_left_fast
Strafe_right
Strafe_right_fast
Strafe_up
Strafe_up_fast
Strafe_down
Strafe_down_fast
Rot_left
Rot_right
Rot_up
Rot_down
Rise_periscope
Rise_whole_periscope
Lower_periscope
Lower_whole_periscope
Stop_periscope
Rise_obs_periscope
Rise_whole_obs_periscope
Lower_obs_periscope
Lower_whole_obs_periscope
Stop_obs_periscope
Lock_target
Unlock_target
Toggle_lock_target
Lock_guns_target
Set_tgt_sel_value
Set_telegraph
Set_telegraph_by_off
Get_depth_under_sub_keel
Toggle_TDC_autoupdate
Sonar_rotate
Radar_rotate
Radar_toggle_on_off
Radar_toggle_sweep_focus
Radar_toggle_range
Order_maintain_depth
Change_hydrophone_volume
Sonar_ping
Sonar_pong
Heading_to_view
View_to_heading
Camera_on_current_unit
User_cmd_end
Crew_cmd
Maneuver_officer
Propulsion_standard
Propulsion_recharge
Rise_snorkel
Lower_snorkel
Toggle_snorkel
Rig_for_silent_running
Secure_from_silent_running
Toggle_silent_running
Maneuver_dive
Precision_dive
Set_speed
Set_throttle
Ahead_slow
Ahead_one_third
Ahead_standard
Ahead_full
Ahead_flank
Back_slow
Back_standard
Back_full
Back_emergency
All_stop
Set_course
Set_rudder
Rudder_hard_to_port
Rudder_hard_to_starboard
Rudder_amidship
Set_depth
Set_depth_dial_international
Maintain_current_depth
Dive
Surface
Periscope_depth
Snorkel_depth
Knuckle_port
Double_knuckle_port
Knuckle_starboard
Double_knuckle_starboard
Deploy_decoys
Crash_dive
Emergency_surface
Depth_changing
Maneuver_officer_end
Navigation_officer
Choose_destination_point
Plot_course
Return_to_course
Search_pattern_1
Search_pattern_2
Search_pattern_3
Report_time_to_turn
Report_time_to_course_end
Report_range_to_course_end
Report_depth_under_keel
Report_weather
Navigation_officer_end
Weapons_officer
Activate_deckgun
Activate_flakgun
Activate_A01gun
Activate_A02gun
Deactivate_gun
Gun_manual_mode
Fire_gun
Open_torpedo_tube
Close_torpedo_tube
Open_sel_torpedo_tube
Close_sel_torpedo_tube
Toggle_open_close_torpedo_tube
Fire_torpedo
Select_torpedo_tube
Select_tube_1
Select_tube_2
Select_tube_3
Select_tube_4
Select_tube_5
Select_tube_6
Select_single_tube_index
Select_salvo_tube_index
Cycle_torp_tube
Cycle_fore_torp_tube
Cycle_aft_torp_tube
Set_salvo_mode
Set_torpedo_depth
Set_torpedo_depth_international
Set_torpedo_speed
Set_torpedo_pistol
Set_torpedo_straight_run
Set_torpedo_2nd_gyroangle
Set_torpedo_leg_length
Set_torpedo_pattern_angle
Set_TDC_bearing
Set_TDC_target_range
Set_TDC_angle_on_bow
Set_TDC_target_speed
Set_spread_angle
WP_Target_nearest_merchant
WP_Target_nearest_warship
WP_Target_nearest_ship
WP_Target_recommended
WP_Identify_target
WP_Solution_to_target
WP_Fire_torpedo
WP_Compute_solution
WP_Solution_on_map
WP_Report_tubes_status
WP_Report_damage
WP_Take_photo
Set_realspread_angle
Set_tgt_mast_height_international
Rescue_Survivors
Weapons_officer_end
Watch_officer
WA_Target_nearest_merchant
WA_Target_nearest_warship
WA_Target_nearest_ship
WA_Target_recommended
DGuns_Fire_at_will
DGuns_Hold_fire
Toggle_DGuns_Fire_at_will
DGuns_Short_range
DGuns_Medium_range
DGuns_Long_range
Toggle_DGuns_range
DGuns_Aim_hull
DGuns_Aim_cmd_deck
DGuns_Aim_weapons
DGuns_Aim_waterline
DGuns_Update_target
AAGuns_Fire_at_will
AAGuns_Hold_fire
Toggle_AAGuns_Fire_at_will
AAGuns_Short_range
AAGuns_Medium_range
AAGuns_Long_range
Toggle_AAGuns_range
AAGuns_Aim_fighters
AAGuns_Aim_bombers
AAGuns_Aim_any
AAGuns_Closing_targets
AAGuns_Any_targets
Toggle_AAGuns_Closing_targets
AAGuns_Update_target
Man_the_deck_gun
Man_the_flak_gun
Man_the_deck_and_flak_guns
Watch_crew
Toggle_battle_stations
Toggle_activate_damage_control_team
Toggle_activate_aa_gun_team
Activate_aa_gun_team
Toggle_activate_deck_gun_team
Activate_deck_gun_team
Report_nearest_visual_contact
WA_Report_damage
WA_Engage_target
Watch_officer_end
Radio_operator
Report_nearest_radio_contact
Send_contact_report
Send_patrol_report
Radar_one_sweep
Radar_continuous_sweep
Radar_turn_off
Gramophone_toggle
Gramophone_play
Gramophone_stop
Gramophone_prev
Gramophone_next
Radio_operator_end
Sonar_operator
Repeat_last_report
Report_nearest_sound_contact
Report_nearest_warship_sound_contact
Hydrophone_normal_sweep
Follow_nearest_sound_contact
Follow_nearest_warship_sound_contact
Estimate_range_to_contact
Precise_range_to_contact
Send_sonar_range_to_TDC
Send_sonar_bearing_to_TDC
Sonar_operator_end
Crew_cmd_end
Enter_Adversarial_mode
Set_escort_throttle
Set_escort_course
Set_escort_position_fore_far
Set_escort_position_fore_near
Set_escort_position_aft_far
Set_escort_position_aft_near
Set_escort_position_left_far
Set_escort_position_left_near
Set_escort_position_right_far
Set_escort_position_right_near
Set_escort_defensive_mode
Set_escort_aggressive_mode
Set_escort_search_mode_on
Set_escort_search_mode_off
Set_escort_attack_with_side_ASW
Set_escort_attack_with_aft_ASW
Set_convoy_zigzagging_on
Set_convoy_zigzagging_off
Set_convoy_throttle_slow
Set_convoy_throttle_fast
Show_AdversarialMode_Dials
Hide_AdversarialMode_Dials
ActivateEscortTab
ActivateConvoyTab
ActivateCameraTab
Is_Any_Escort_Unit_Alive
Is_Any_Convoy_Unit_Alive
Is_Selected_Escort_In_Defensive_Mode
Is_Selected_Escort_In_Search_Mode
Can_escort_attack_with_aft_ASW
Can_escort_attack_with_side_ASW
Is_Convoy_Performing_An_Evasive_Course
Toggle_Escort_Defensive_Mode
Toggle_Escort_Search_Mode
Toggle_Convoy_Evasive_Course
Ducimus
03-17-08, 11:59 PM
Below a list of all commands I am aware of (from the addon). I have not found anything that you could use, but maybe I missed it:
Unknown
User_commands
Help
Console
Pause_game
Time_compr_reduce
Time_compr_increase
Time_compr_normal
Go_back_to_prev_cam
Free_camera
User_free_camera
Replay_camera
Interior_fore_camera
Interior_aft_camera
Interior_radio_camera
Conning_tower_camera
Conning_tower_periscope
Conning_deck_camera
Periscope_camera
Obs_periscope_camera
UZO_camera
Binocular_camera
Deckgun_camera
Flakgun_camera
A01gun_camera
A02gun_camera
Watch_Aft_camera
Watch_Shears_camera
Watch_Opposite_camera
TDC_camera
ObsScope_Out_camera
TBT_Out_camera
Pelorous_camera
Cycle_flak_cam
Final_page
Net_Final_page
Net_Spectator_page
Activate_event_cam
Deactivate_event_cam
Try_deactivate_event_cam
Close_event_cam
Focus_on_event_cam
Navigation_map
Navigation_2D_map
Attack_map
Attack_2D_map
Helmsman_view
Navigator_view
Weapons_officer_view
Hydrophone_view
Toggle_hydrophone_view
Radar_view
Radar_view_ascope
Toggle_radar_view
Watch_view
Captains_bed_view
Crew_control
Crew_control_ForSpecialAbilities
WeaponsAndSensors_control
Systems_control
Guns_control
Captain_log
Toggle_captain_panel
Toggle_captain_log
Mission_order
Radio_messages
Toggle_radio_messages
Recognition_manual
Activate_hydrophone
Deactivate_hydrophone
Toggle_hydrophone
Rotate_hydrophone
Activate_radar
Deactivate_radar
Camera_on_unit
Camera_on_next_unit
Camera_on_prev_unit
Remote_camera
Command_room_free_camera
Radio_room_free_camera
Conning_tower_free_camera
Museum_camera
Weapons_mng
Display_objectives
CareerStartPatrol
SaveGame
LoadGame
ShowOptionsPage
LeaveCaptainRoom
Adv_Binocular_camera
Show_Transfer_base
Show_Intelligence_Units
Show_Player_Rank
Show_Top_aces
View_previous_convoy_unit
View_next_convoy_unit
View_previous_escort_unit
View_next_escort_unit
Show_multiplayer_status
Toggle_Propulsion_Recharging
Toggle_activate_torpedoes_auto_loading
Toggle_RiseLower_whole_periscope
Toggle_RiseLower_whole_obs_periscope
Toggle_Activate_Clock
Toggle_Activate_UserRadio
Toggle_Activate_Gramophone
Adversarial_Navigation_2D_map
Play_Death_Effect
DisplayMedalDetails
FinalPage_From_DeathEffect
Is_American
Is_German
Is_Interior_fore_camera_station_Active
Is_Propulsion_Recharging_Active
Is_Silent_mode_Active
Is_Navigation_2D_map_station_Active
Is_Attack_2D_map_station_Active
Is_AnyPeriscope_camera_station_Active
Is_AttackPeriscope_camera_station_Active
Is_AttackPeriscope_risen_at_all
Is_AttackPeriscope_moving
Is_ObservationPeriscope_camera_station_Active
Is_ObservationPeriscope_risen_at_all
Is_ObservationPeriscope_moving
Is_UZOTBT_camera_station_Active
Is_Clock_Active
Is_TakePhoto_Available
Is_RecognitionManual_Active
Is_Conning_deck_camera_station_Active
Is_Binocular_camera_station_Active
Is_Rescue_Survivors_Available
Is_Deckgun_camera_station_Active
Is_M01_Available
Is_M01_Installed
Is_DGuns_Firing_at_will
Is_DGuns_Holding_fire
Is_DGuns_Short_range_Active
Is_DGuns_Medium_range_Active
Is_DGuns_Long_range_Active
Is_DGuns_Aiming_hull
Is_DGuns_Aiming_cmd_deck
Is_DGuns_Aiming_weapons
Is_DGuns_Aiming_waterline
Is_Flak_camera_station_Active
Is_Flak_Available
Is_American_Flak_Installed
Is_German_Flak_Installed
Is_A01_camera_station_Active
Is_A01_Available
Is_American_A01_Installed
Is_German_A01_Installed
Is_A02_camera_station_Active
Is_A02_Available
Is_American_A02_Installed
Is_German_A02_Installed
Is_AnyFlak_Installed
Is_AAGuns_Firing_at_will
Is_AAGuns_Holding_fire
Is_AAGuns_Short_range_Active
Is_AAGuns_Medium_range_Active
Is_AAGuns_Long_range_Active
Is_AAGuns_Closing_targets
Is_AAGuns_Any_targets
Is_Hydrophone_view_station_Active
Is_AnyRadar_Installed
Is_Radar_view_station_Active
Is_Radar_Installed
Is_RadarAScope_view_station_Active
Is_RadarAScope_Installed
Is_RadarStation_Usable
Is_Radar_On
Is_Radar_ContinuousSweep_On
Is_Radar_OneSweep_Available
Is_Crew_control_station_Active
Is_Battle_stations_Active
Is_AAgun_Team_Active
Is_DECKgun_Team_Active
Is_Damage_Team_Active
Is_WeaponsAndSensors_control_station_Active
Is_Systems_control_station_Active
Is_Guns_control_station_Active
Is_torpedoes_auto_loading_Active
Is_User_free_camera_Active
Is_Underwater
Is_UserRadio_Active
Is_Gramophone_Active
Is_Help_Active
Cam_zoom_in
Cam_zoom_out
Cam_zoom_cycle
Cam_wheel_zoom
Cam_tight_toggle
To_left
To_left_fast
To_left_slow
To_right
To_right_fast
To_right_slow
To_up
To_up_fast
To_up_slow
To_down
To_down_fast
To_down_slow
Move_forward
Move_forward_fast
Move_backward
Move_backward_fast
Strafe_left
Strafe_left_fast
Strafe_right
Strafe_right_fast
Strafe_up
Strafe_up_fast
Strafe_down
Strafe_down_fast
Rot_left
Rot_right
Rot_up
Rot_down
Rise_periscope
Rise_whole_periscope
Lower_periscope
Lower_whole_periscope
Stop_periscope
Rise_obs_periscope
Rise_whole_obs_periscope
Lower_obs_periscope
Lower_whole_obs_periscope
Stop_obs_periscope
Lock_target
Unlock_target
Toggle_lock_target
Lock_guns_target
Set_tgt_sel_value
Set_telegraph
Set_telegraph_by_off
Get_depth_under_sub_keel
Toggle_TDC_autoupdate
Sonar_rotate
Radar_rotate
Radar_toggle_on_off
Radar_toggle_sweep_focus
Radar_toggle_range
Order_maintain_depth
Change_hydrophone_volume
Sonar_ping
Sonar_pong
Heading_to_view
View_to_heading
Camera_on_current_unit
User_cmd_end
Crew_cmd
Maneuver_officer
Propulsion_standard
Propulsion_recharge
Rise_snorkel
Lower_snorkel
Toggle_snorkel
Rig_for_silent_running
Secure_from_silent_running
Toggle_silent_running
Maneuver_dive
Precision_dive
Set_speed
Set_throttle
Ahead_slow
Ahead_one_third
Ahead_standard
Ahead_full
Ahead_flank
Back_slow
Back_standard
Back_full
Back_emergency
All_stop
Set_course
Set_rudder
Rudder_hard_to_port
Rudder_hard_to_starboard
Rudder_amidship
Set_depth
Set_depth_dial_international
Maintain_current_depth
Dive
Surface
Periscope_depth
Snorkel_depth
Knuckle_port
Double_knuckle_port
Knuckle_starboard
Double_knuckle_starboard
Deploy_decoys
Crash_dive
Emergency_surface
Depth_changing
Maneuver_officer_end
Navigation_officer
Choose_destination_point
Plot_course
Return_to_course
Search_pattern_1
Search_pattern_2
Search_pattern_3
Report_time_to_turn
Report_time_to_course_end
Report_range_to_course_end
Report_depth_under_keel
Report_weather
Navigation_officer_end
Weapons_officer
Activate_deckgun
Activate_flakgun
Activate_A01gun
Activate_A02gun
Deactivate_gun
Gun_manual_mode
Fire_gun
Open_torpedo_tube
Close_torpedo_tube
Open_sel_torpedo_tube
Close_sel_torpedo_tube
Toggle_open_close_torpedo_tube
Fire_torpedo
Select_torpedo_tube
Select_tube_1
Select_tube_2
Select_tube_3
Select_tube_4
Select_tube_5
Select_tube_6
Select_single_tube_index
Select_salvo_tube_index
Cycle_torp_tube
Cycle_fore_torp_tube
Cycle_aft_torp_tube
Set_salvo_mode
Set_torpedo_depth
Set_torpedo_depth_international
Set_torpedo_speed
Set_torpedo_pistol
Set_torpedo_straight_run
Set_torpedo_2nd_gyroangle
Set_torpedo_leg_length
Set_torpedo_pattern_angle
Set_TDC_bearing
Set_TDC_target_range
Set_TDC_angle_on_bow
Set_TDC_target_speed
Set_spread_angle
WP_Target_nearest_merchant
WP_Target_nearest_warship
WP_Target_nearest_ship
WP_Target_recommended
WP_Identify_target
WP_Solution_to_target
WP_Fire_torpedo
WP_Compute_solution
WP_Solution_on_map
WP_Report_tubes_status
WP_Report_damage
WP_Take_photo
Set_realspread_angle
Set_tgt_mast_height_international
Rescue_Survivors
Weapons_officer_end
Watch_officer
WA_Target_nearest_merchant
WA_Target_nearest_warship
WA_Target_nearest_ship
WA_Target_recommended
DGuns_Fire_at_will
DGuns_Hold_fire
Toggle_DGuns_Fire_at_will
DGuns_Short_range
DGuns_Medium_range
DGuns_Long_range
Toggle_DGuns_range
DGuns_Aim_hull
DGuns_Aim_cmd_deck
DGuns_Aim_weapons
DGuns_Aim_waterline
DGuns_Update_target
AAGuns_Fire_at_will
AAGuns_Hold_fire
Toggle_AAGuns_Fire_at_will
AAGuns_Short_range
AAGuns_Medium_range
AAGuns_Long_range
Toggle_AAGuns_range
AAGuns_Aim_fighters
AAGuns_Aim_bombers
AAGuns_Aim_any
AAGuns_Closing_targets
AAGuns_Any_targets
Toggle_AAGuns_Closing_targets
AAGuns_Update_target
Man_the_deck_gun
Man_the_flak_gun
Man_the_deck_and_flak_guns
Watch_crew
Toggle_battle_stations
Toggle_activate_damage_control_team
Toggle_activate_aa_gun_team
Activate_aa_gun_team
Toggle_activate_deck_gun_team
Activate_deck_gun_team
Report_nearest_visual_contact
WA_Report_damage
WA_Engage_target
Watch_officer_end
Radio_operator
Report_nearest_radio_contact
Send_contact_report
Send_patrol_report
Radar_one_sweep
Radar_continuous_sweep
Radar_turn_off
Gramophone_toggle
Gramophone_play
Gramophone_stop
Gramophone_prev
Gramophone_next
Radio_operator_end
Sonar_operator
Repeat_last_report
Report_nearest_sound_contact
Report_nearest_warship_sound_contact
Hydrophone_normal_sweep
Follow_nearest_sound_contact
Follow_nearest_warship_sound_contact
Estimate_range_to_contact
Precise_range_to_contact
Send_sonar_range_to_TDC
Send_sonar_bearing_to_TDC
Sonar_operator_end
Crew_cmd_end
Enter_Adversarial_mode
Set_escort_throttle
Set_escort_course
Set_escort_position_fore_far
Set_escort_position_fore_near
Set_escort_position_aft_far
Set_escort_position_aft_near
Set_escort_position_left_far
Set_escort_position_left_near
Set_escort_position_right_far
Set_escort_position_right_near
Set_escort_defensive_mode
Set_escort_aggressive_mode
Set_escort_search_mode_on
Set_escort_search_mode_off
Set_escort_attack_with_side_ASW
Set_escort_attack_with_aft_ASW
Set_convoy_zigzagging_on
Set_convoy_zigzagging_off
Set_convoy_throttle_slow
Set_convoy_throttle_fast
Show_AdversarialMode_Dials
Hide_AdversarialMode_Dials
ActivateEscortTab
ActivateConvoyTab
ActivateCameraTab
Is_Any_Escort_Unit_Alive
Is_Any_Convoy_Unit_Alive
Is_Selected_Escort_In_Defensive_Mode
Is_Selected_Escort_In_Search_Mode
Can_escort_attack_with_aft_ASW
Can_escort_attack_with_side_ASW
Is_Convoy_Performing_An_Evasive_Course
Toggle_Escort_Defensive_Mode
Toggle_Escort_Search_Mode
Toggle_Convoy_Evasive_Course
Now that... is interesting.
Scottb8411
03-18-08, 01:02 AM
That is very interesting!
Since I wanted the Raise/Lower SD Antenna (toggle_snorkel) button to behave like the periscope button, I tried to edit commands used by the periscope:
"Button4CommandToCheckIfIsChecked=Is_ObservationPer iscope_risen_at_all" was edited to "Button6CommandToCheckIfIsChecked=Is_snorkel_risen_ at_all" in OrdersBar.cfg.
I tried all the lock commands from the cfg file: Is_snorkel_risen_at_all, Is_snorkel_moving, Is_snorkel_active, Is_snorkel_on...
Apparently, one cannot simply edit the ordersbar.cg to create a new set of conditions to check.
skwasjer where did you locate that list of commands?1?
Are the commands editable?
All I'm trying to do is have the menu button switch from inactive to active when the antenna is raised. It seemed like a good idea at the time...
jimimadrid
03-18-08, 04:46 AM
Scott,
with the Menumaker you get an menumaker.ini file. There you will see all the commands, listed in categories, i've found for the Sh4.
Here you cann checked with skwasjer list and add new commands to get them available in your Sh4Menumaker.
skwasjer
03-18-08, 07:41 AM
skwasjer where did you locate that list of commands?1?
Are the commands editable?
All I'm trying to do is have the menu button switch from inactive to active when the antenna is raised. It seemed like a good idea at the time...
As far as I know these are ALL commands that can be used (from cfg's, dat files, etc) but don't hold it against me. I've taken them from the game it's executable a couple of weeks ago to make a new 'setkey' like tool for integration in SH4HQ. There may be more commands hiding somewhere I am unaware of, but I honestly don't think so as the list consists of 473 commands.
No, the list is not editable. Each command internally maps to an id, and is basically linked to a fixed function. Adding textual command strings won't do anything because the game has no mapping to an existing function (if there even is a function defined for that purpose). Very unfortunate, I can think of more commands that would be useful.
[edit] This list can also be used together with S3D. Some controllers have fields where commands must be entered. I'll make sure to integrate this list in S3D as well...
[edit2] Oh and jimi, feel free to integrate the full list into MenuMaker as well... :up:
Scottb8411
03-18-08, 04:21 PM
Thanks for the explanation.
Also, thanks for the time and effort that you guys put into making this game better than ever.
Now I have no excuse, It's time to start a new career! :sunny:
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.