Daily update

This commit is contained in:
2024-12-09 20:14:26 +08:00
parent ac1e6c2ec8
commit d270c216f7
6 changed files with 48 additions and 3 deletions
+9
View File
@@ -0,0 +1,9 @@
script_path = lfs.writedir() .. "Missions\\Scripts\\Buta\\DCS_TrainingMap_Caucasus\\"
if lfs then
dofile(script_path..'Mission_Init.lua')
env.info("Script Loader: LFS available, using relative script load path: " .. script_path)
else
env.info("Script Loader: LFS not available, using default script load path: " .. script_path)
end
+14
View File
@@ -0,0 +1,14 @@
local script_list =
{
-- Load order must be correct
-- "mist.lua", --mist_4_5_122
"spawnListener.lua",
}
local function load_scripts(path, list)
for index, value in ipairs(list) do
dofile(path .. value)
end
end
load_scripts(script_path, script_list)
BIN
View File
Binary file not shown.
+6 -3
View File
@@ -1,5 +1,8 @@
- 就我目前的需求,就是复杂的防空压制,完全不知道如何多机配合 --狐宝
- IADS可以整一个 --芙兰
- 就我目前的需求,就是复杂的防空压制,完全不知道如何多机配合 --狐宝
- IADS可以整一个 --芙兰
- 塞点CAS --狐宝
- 塞点CAS --狐宝
- 空中加油运油赏金内容TODO
- 编队带飞长机内容(简柏成)
+19
View File
@@ -0,0 +1,19 @@
SpawnListener = {}
do
local ev = {}
function ev:onEvent(event)
trigger.action.outText('event: '..event.id,10)
if event.id == 15 then
local msg = 'initiator: '..event.initiator:getName()
trigger.action.outText(msg,10)
end
end
world.addEventHandler(ev)
end
Binary file not shown.