jun5896
Posts: 216
Joined: 1/17/2015 Status: offline
|
quote:
ORIGINAL: Kushan04 What happens when the Phantom fires the missiles and RTBs, does the Sky Flash get reloaded? I did this with the B-1, made a B-1R, but when it landed it cleared out the loadout. But that was a long time ago, love to know if its changed. http://commandlua.github.io/#ScenEdit_SetLoadout http://commandlua.github.io/#LoadoutInfo http://commandlua.github.io/#ScenEdit_UpdateUnit http://commandlua.github.io/index.html#UpdateUnit I refer to github Lua Documentation. Also you can edit A/C Sensor/Weapons Mount(restrictively). Click Mission Editor -> Unassigned Units -> Just Click List of aircraft The screen will display the individual aircraft window in the right. If you want to change A/C Loadouts, You have to get used to editing Lua Codes. For example MiG-29S armed with R-77(early) missile, needs R-77 loadout and AA-12 Command Datalink. Load Syrian MiG-29M2 R-77 for Russian MiG-29S ScenEdit_SetLoadout({UnitName = 'MiG-29S', LoadoutID = 26843, TimeToReady_Minutes = 0(default = database loadout time) [optional], IgnoreMagazines = 1(default = false) [optional], ExcludeOptionalWeapons = 1(default = false) [optional]}) Next it needs to be mounted datalink, ScenEdit_UpdateUnit({guid = 'Any GUID from ini Template', mode = 'add_comms', dbid =144}) Can be found ID number - DB\Database Component ID Number List\DB3K_442.txt Now you can see Russian MiG-29S with Vympel R-77, Also can check Quick Turnaround(support quick turnaround variants).
< Message edited by jun5896 -- 1/31/2020 12:09:39 AM >
|