Jump to content

Recommended Posts

Posted

Greetings,

 

does anyone know if it is possible to capture Ground Unit information via LUA?

 

For example:

- map zone where unit is

- waypoints (type, position)

- unit callsign

- remaining ammo

 

I've read the Eagle wiki, but so far it only talks about cockpit switches and weapon loadouts in the player vehicle.

 

Thanks,

LP

 

modules:

F5-E / A4-E / A-10A / AJS-37 / SA-342 / UH-1H / Ka-50 / Mi-8 / CA

 

would buy:

OH-58 /AH-64A / AH-1 / Sepecat Jaguar / F-111

Posted

Ok, I'm going to try these functions and see what I can do with them:

 

LoGetObjectById()

LoGetWorldObjects()

LP

 

modules:

F5-E / A4-E / A-10A / AJS-37 / SA-342 / UH-1H / Ka-50 / Mi-8 / CA

 

would buy:

OH-58 /AH-64A / AH-1 / Sepecat Jaguar / F-111

Posted

Ok, so I made some progress last night.

- with LoGetWorldObjects(), I can get the unitType, groupName, current position and heading;

- I found a way to load the current mission data at startup. From there I can get the waypoints and trigger zones;

- using the above, I can calculate proximity to waypoints and trigger zones;

- I don't think I can access the real-time mission data, so I doubt I will get anything like remaining ammo or fuel levels;

- I may be able to track deaths and remaining units in a group via debrief.log;

 

Anyone follow where I am going with this stuff?

LP

 

modules:

F5-E / A4-E / A-10A / AJS-37 / SA-342 / UH-1H / Ka-50 / Mi-8 / CA

 

would buy:

OH-58 /AH-64A / AH-1 / Sepecat Jaguar / F-111

Posted (edited)
I'm thinking "dynamic/persistent campaign".

While I have considered it in the past, it's just too big a project, especially since it is dependant on a mission file schema that can change dramatically from version to version.

 

I'm actually looking at maybe trying to implement some realistic radio chatter for ground units.

Edited by LazerPotatoe

LP

 

modules:

F5-E / A4-E / A-10A / AJS-37 / SA-342 / UH-1H / Ka-50 / Mi-8 / CA

 

would buy:

OH-58 /AH-64A / AH-1 / Sepecat Jaguar / F-111

  • Recently Browsing   0 members

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