Jump to content

Recommended Posts

Posted (edited)

Hello Gents,

 

I need to ask if someone can show me, how to accomplish what was described in subject using LUA scripting.

 

I have some predator in the air that are supposed to spot once the traveling group of vehicles. I'd like to change visiblity of this group that is set preliminarly to false, so group will be visible on the map. If this is possible, then good thing would be as well, to have added mark on specific/all/any A-10's TAD in the position, where this group was last seen by predator. The position of mark should be updated, but this should be active only as long, as long predator is in the air (he's supposed to be shoot down, by Tunguska that travels with the group).

 

I'd really appreciate for any directions that can lead me to resolution of this case.

 

Edit: "Are" in place of "arse". :-)

Edited by Pipok

Natural Born Kamikaze

-------------------------

AMD Ryzen 5 3600, AMD Fatal1ty B450 Gaming K4, AMD Radeon RX 5700 XT, 32 GB RAM Corsair Vengeance LPX, PSU Modecom Volcano 750W, Virpil Constellation Alpha Prime on Moza AB9 base, Virpil MongoosT-50CM3 Throttle, Turtle Beach VelocityOne Rudder.

Posted (edited)

Something similar to this can be done with the server Lua mod I made, slmod, using the parallel tasking system. Slmod cannot make mark points on your TAD though. But you have to use slmod, as the Lua scripting built into the mission scripting environment is too weak (this is why I made the mod in the first place). If you're interested in doing it with slmod I can help you. Otherwise, your options are to make your own mod, use the JTAC system (good luck), or give up. Be advised that Predator JTACs can't send you tasking on your TAD if I remember correctly, and also, if I remember correctly, JTAC coordinates do not move with moving targets (someone please correct me if I am wrong). Slmod coordinates DO move with moving targets.

Edited by Speed
  • Like 1

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

Posted

Damn... Observing other threads where LUA prorgraming is mentioned, I've had such feeling that I'll be unable to accomplish this challenge...

Is it possible for You Speed, to bring me a way to solve this issue by using the suggested tools?

Natural Born Kamikaze

-------------------------

AMD Ryzen 5 3600, AMD Fatal1ty B450 Gaming K4, AMD Radeon RX 5700 XT, 32 GB RAM Corsair Vengeance LPX, PSU Modecom Volcano 750W, Virpil Constellation Alpha Prime on Moza AB9 base, Virpil MongoosT-50CM3 Throttle, Turtle Beach VelocityOne Rudder.

Posted
Damn... Observing other threads where LUA prorgraming is mentioned, I've had such feeling that I'll be unable to accomplish this challenge...

Is it possible for You Speed, to bring me a way to solve this issue by using the suggested tools?

 

I'm mostly done with the "quick guide", after which my suggestions will be significantly easier to follow (as you will have a document you can read).

 

The amount of Lua programming you have to do is limited to knowing what a string, a table, a number, and a function call should look like, and I will be providing ample examples.

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

Posted

I'm not sure if I understood your request correctly, but here is a short mission track that shows the following elements:

- at mission start, a group of ground vehicles is set to hold their position and be invisible for 1 minute

- at mission start, a Predator is airborne and looking for targets, but is unable to detect them

- after one minute, the ground group begins to move and is now visible

- the Predator is able to detect the ground units and assigns them as targets to the player, including a datalink message on the TAD (not mobile).

Predator-JTAC.trk

- EB

[sIGPIC][/sIGPIC]

Nothing is easy. Everything takes much longer.

The Parable of Jane's A-10

Forum Rules

Posted
I'm not sure if I understood your request correctly,(...)

 

It seems, that You've understood it perfectly, but still I wonder, if You could provide mission file so I could learn how to create such type of missions?

Natural Born Kamikaze

-------------------------

AMD Ryzen 5 3600, AMD Fatal1ty B450 Gaming K4, AMD Radeon RX 5700 XT, 32 GB RAM Corsair Vengeance LPX, PSU Modecom Volcano 750W, Virpil Constellation Alpha Prime on Moza AB9 base, Virpil MongoosT-50CM3 Throttle, Turtle Beach VelocityOne Rudder.

Posted

Perhaps this will help. I manually converted it into a .miz, removing all the extra track-related data.

jtac mission.miz

  • Like 1

Intelligent discourse can only begin with the honest admission of your own fallibility.

Member of the Virtual Tactical Air Group: http://vtacticalairgroup.com/

Lua scripts and mods:

MIssion Scripting Tools (Mist): http://forums.eagle.ru/showthread.php?t=98616

Slmod version 7.0 for DCS: World: http://forums.eagle.ru/showthread.php?t=80979

Now includes remote server administration tools for kicking, banning, loading missions, etc.

Posted (edited)

Great reading, thank You both.

 

EDIT: Weird... I look into this mission, and I can't see frequency set for Predator. Does it mean, that such a JTAC will be available always, instead of setting specific communication channel/frequency?

Or did I overlooked something...?

Edited by Pipok

Natural Born Kamikaze

-------------------------

AMD Ryzen 5 3600, AMD Fatal1ty B450 Gaming K4, AMD Radeon RX 5700 XT, 32 GB RAM Corsair Vengeance LPX, PSU Modecom Volcano 750W, Virpil Constellation Alpha Prime on Moza AB9 base, Virpil MongoosT-50CM3 Throttle, Turtle Beach VelocityOne Rudder.

  • Recently Browsing   0 members

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