View Single Post
Old 03-07-08, 10:19 AM   #62
dean_acheson
Ace of the Deep
 
Join Date: Mar 2001
Location: Midwest - USA
Posts: 1,057
Downloads: 42
Uploads: 0
Default

Thanks for that, so much.

I was wanting to fiddle with this, and had no idea how to even begin.....

Quote:
Originally Posted by Ducimus
Quote:
Originally Posted by dean_acheson
Ducimus,
I hate to bother you with a stupid question, but how did you install/apply/enable the pericscope icon for the ship identification?
Thanks.

You have to make this command "WP_Identify_target" accessible to the player.

For example, in the ordersbar.cfg,...

Quote:
[Station3]
Name=5621
Tooltip=5621
CommandWhenActivated=Periscope_camera
IconIndex=3

Button1Type=Checkbox
Button1CommandWhenClicked=Periscope_camera
Button1CommandToCheckIfIsChecked=Is_AttackPeriscop e_camera_station_Active
Button1IconRowColumn=3,1
Button1Tooltip=5622

Button2Type=Checkbox
Button2CommandWhenClicked=Toggle_RiseLower_whole_p eriscope
Button2CommandToCheckIfIsChecked=Is_AttackPeriscop e_risen_at_all
Button2IconRowColumn=3,3
Button2Tooltip=5624

Button3Type=Checkbox
Button3CommandWhenClicked=Obs_periscope_camera
Button3CommandToCheckIfIsChecked=Is_ObservationPer iscope_camera_station_Active
Button3IconRowColumn=3,2
Button3Tooltip=5623

Button4Type=Checkbox
Button4CommandWhenClicked=Toggle_RiseLower_whole_o bs_periscope
Button4CommandToCheckIfIsChecked=Is_ObservationPer iscope_risen_at_all
Button4IconRowColumn=3,5
Button4Tooltip=5626

Button5Command=Periscope_depth
Button5IconRowColumn=1,9
Button5Tooltip=5859

Button6Command=Recognition_manual
Button6CommandToCheckIfIsEnabled=Is_AnyPeriscope_c amera_station_Active
Button6IconRowColumn=3,8
Button6Tooltip=5629

Button7Type=Checkbox
Button7CommandWhenClicked=Toggle_Activate_Clock
Button7CommandToCheckIfIsChecked=Is_Clock_Active
Button7IconRowColumn=3,9
Button7Tooltip=5630

Button8Command=WP_Take_photo
Button8CommandToCheckIfIsEnabled=Is_TakePhoto_Avai lable;Is_AnyPeriscope_camera_station_Active
Button8IconRowColumn=3,10
Button8Tooltip=5631

Button9Command=WP_Identify_target <------command as it exists in the commands.cfg
Button9IconRowColumn=3,11 <------- tells which icon to display from the hud.dds
Button9Tooltip=ID Target<-----tool tip, you dont neccessarly have to create the tooltip in the menu.txt as has been the traditional practice
dean_acheson is offline   Reply With Quote