mirror of
https://github.com/iTracerFacer/DCS_MissionDev.git
synced 2025-12-03 04:14:46 +00:00
Cleaned up some really old missions.
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<buildpath>
|
||||
<buildpathentry kind="src" path=""/>
|
||||
<buildpathentry combineaccessrules="false" exported="true" kind="prj" path="/Moose_Framework"/>
|
||||
</buildpath>
|
||||
@@ -1,18 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<projectDescription>
|
||||
<name>DCS_Normandy</name>
|
||||
<comment></comment>
|
||||
<projects>
|
||||
<project>Moose_Framework</project>
|
||||
</projects>
|
||||
<buildSpec>
|
||||
<buildCommand>
|
||||
<name>org.eclipse.dltk.core.scriptbuilder</name>
|
||||
<arguments>
|
||||
</arguments>
|
||||
</buildCommand>
|
||||
</buildSpec>
|
||||
<natures>
|
||||
<nature>org.eclipse.ldt.nature</nature>
|
||||
</natures>
|
||||
</projectDescription>
|
||||
@@ -1,2 +0,0 @@
|
||||
Grammar__default_id=lua-5.1
|
||||
eclipse.preferences.version=1
|
||||
@@ -1,59 +0,0 @@
|
||||
-- Create Operation Control Points on each of the air bases.
|
||||
local msgTime = 15
|
||||
local msgCat = "INTEL : "
|
||||
local AirBaseDrawRadius = 2500 -- size of the draw lines around a zone.
|
||||
local FarpDrawRadius = 10000
|
||||
local delayStart = 10 -- How many seconds to delay before starting the zone FSM
|
||||
|
||||
|
||||
|
||||
-- Way Point zone1 Functions -------------------------------------------------------------------
|
||||
zone1 = OPSZONE:New(ZONE:FindByName("FARP WARSAW",FarpDrawRadius),coalition.side.NEUTRAL)
|
||||
zone1:SetObjectCategories({Object.Category.UNIT}):SetDrawZone(true):SetMarkZone(true,true):__Start(delayStart)
|
||||
|
||||
|
||||
-- After Attacked
|
||||
function zone1:OnAfterAttacked(From, Event, To, AttackerCoalition)
|
||||
local name = zone1:GetName()
|
||||
local coa = AttackerCoalition
|
||||
if (coa == 2) then -- usa
|
||||
MESSAGE:New("NATO has attacked " .. name .. "!", msgTime, msgCat, false):ToAll()
|
||||
else -- it was some other bad guy..
|
||||
MESSAGE:New("Russia has attacked " .. name .. "!", msgTime, msgCat, false):ToAll()
|
||||
end
|
||||
USERSOUND:New("combatAudio1.ogg"):ToAll()
|
||||
end
|
||||
|
||||
|
||||
|
||||
-- After Capture
|
||||
function zone1:OnAfterCaptured(From, Event, To, Coalition)
|
||||
local name = zone1:GetName()
|
||||
local coa = Coalition
|
||||
if (coa == 2) then -- usa
|
||||
MESSAGE:New("NATO has captured " .. name .. "!", msgTime, msgCat, false):ToAll()
|
||||
|
||||
|
||||
|
||||
else -- it was some other bad guy..
|
||||
MESSAGE:New("Russia has captured " .. name .. "!", msgTime, msgCat, false):ToAll()
|
||||
end
|
||||
USERSOUND:New("combatAudio2.ogg"):ToAll()
|
||||
end
|
||||
--- After Defeated
|
||||
function zone1:OnAfterDefeated(From, Event, To, DefeatedCoalition)
|
||||
local name = zone1:GetName()
|
||||
local coa = DefeatedCoalition
|
||||
if (coa == 2) then -- usa
|
||||
MESSAGE:New("NATO has been defeated at " .. name .. "!", msgTime, msgCat, false):ToAll()
|
||||
else -- it was some other bad guy..
|
||||
MESSAGE:New("Russia has been defeated at " .. name .. "!", msgTime, msgCat, false):ToAll()
|
||||
end
|
||||
USERSOUND:New("combatAudio3.ogg"):ToAll()
|
||||
end
|
||||
-- After Empty
|
||||
function zone1:OnAfterEmpty(From, Event, To)
|
||||
local name = zone1:GetName()
|
||||
MESSAGE:New(name .. " has been cleared of enemy forces and can be captured!", msgTime, msgCat, false):ToAll()
|
||||
USERSOUND:New("combatAudio4.ogg"):ToAll()
|
||||
end
|
||||
Reference in New Issue
Block a user