Jump to content

creating a land based TACAN/ICLS beacon - partly successful.


Recommended Posts

Posted

I try to create a land based TACAN-ICLS beacon.

The TACAN part is working. Simply adding following lines to the vehicle lua and you can choose and activate TACAN in the ME.

GT.TACAN = true;
GT.TACAN_position = {-0, 2, -0}

For the ICLS part there a two problems to solve:

  1. you cannot choose ICLS activate in ME
  2. you have to add ICLS to the vehicle lua

For no. 1 I find a solution:

 In the file DCSWorld\MissionEditor\modules\me_action_db.lua is a listing with all actions for ground Units (line 2900). Simply add ActionID.ACTIVATE_ICLS and ActionID.DEACTIVATE_ICLS and now you can choose ICLS also for ground units.

	local actionsForGroundUnits = {
		ActionId.NO_ACTION,
		ActionId.SCRIPT,
		ActionId.SCRIPT_FILE,
		ActionId.SET_CALLSIGN,
		ActionId.SET_FREQUENCY,
		ActionId.TRANSMIT_MESSAGE,
		ActionId.STOP_TRANSMISSION,
		ActionId.GO_TO_WAYPOINT,		
		ActionId.INVISIBLE,
		ActionId.IMMORTAL,
		ActionId.EPLRS,
		ActionId.ACTIVATE_TACAN,
		ActionId.DEACTIVATE_BEACON,
		ActionId.ACTIVATE_ICLS,
		ActionId.DEACTIVATE_ICLS,
	}

Adding ICLS to the vehicle lua is harder. There is a obvious part, adding the ICLS itself (also necessary for adding ICLS in ME)

GT.ICLS						= true;
GT.ICLS_Localizer_position	= {-0, 20.0, 0, 180.0}	-- {x [m], y [m], z [m], yaw [deg]}
GT.ICLS_Glideslope_position	= {-0.0, 26.5, 0.0, 3.5}	-- {x [m], y [m], z [m], glideslope = 3.5 [deg]}

Now I can choose ICLS for my vehicle in the mission editor.

But unfortunately something is missing. I always get following error in the log: 

2023-03-24 20:18:32.093 ALERT   WORLDGENERAL (Main): AI::Controller exception: No executor for command "ActivateICLS" and controller "wcColumn"

I think the reason for this error are missing attributes. I've tried to add the attributes from a carrier to a land vehicle but with no luck.

Maybe anyone has an idea if it is possible.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...