mirror of
https://github.com/FlightControl-Master/MOOSE_MISSIONS.git
synced 2025-08-15 10:37:46 +00:00
Next step of folder restructure
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
--Texaco
|
||||
|
||||
--//////////////////////////////////
|
||||
--////////////Tankers and awacs v1
|
||||
--//////////////////////////////////
|
||||
--////////// By Targs35 /////////////
|
||||
--//////////////// from 62nd Air Wing, Brisbane server..
|
||||
--///////////////////////////////////
|
||||
------- With thanks to the guys at MOOSE and in particular Pikes, Nolove, Delta99 and Wingthor
|
||||
-- Funky Frank is the man..
|
||||
-----////////////////////////////////
|
||||
----///////////////// Object names in ME /
|
||||
--- Names are used for both Group and UnitName --
|
||||
---Tanker_Texaco_Droge
|
||||
---Escort_Texaco
|
||||
--/////////////////////////////////////
|
||||
--/////////// Spawn Tanker and Escorts ///
|
||||
|
||||
---its from here things get new for me, code below is in BETA
|
||||
|
||||
do
|
||||
--Create Spawn Groups
|
||||
|
||||
local Tanker_Texaco = SPAWN:New("Tanker_Texaco_Droge"):InitLimit( 1, 10 ):InitCleanUp( 240 ):SpawnScheduled( 60, .0 )
|
||||
local Escort_Texaco_1 = SPAWN:New("Escort_Texaco_F15C-1"):InitLimit( 1, 20 ):InitCleanUp( 240 ):SpawnScheduled( 120, .1 )
|
||||
local Escort_Texaco_2 = SPAWN:New("Escort_Texaco_F15C"):InitLimit( 1, 20 ):InitCleanUp( 240 ):SpawnScheduled( 120, .2 )
|
||||
-- Now to spawn the ojects
|
||||
--Texaco set Task
|
||||
--Spawn Groups into world
|
||||
local GroupTanker_Texaco = Tanker_Texaco:Spawn()
|
||||
local GroupEscort_Texaco_1 = Escort_Texaco_1:Spawn()
|
||||
local GroupEscort_Texaco_2 = Escort_Texaco_2:Spawn()
|
||||
|
||||
|
||||
local PointVec1 = POINT_VEC3:New( -100, 20, 80 ) -- This is a Vec3 class.
|
||||
local PointVec2 = POINT_VEC3:New( -100, 20, 150 ) -- This is a Vec3 class.
|
||||
local FollowDCSTask1 = GroupEscort_Texaco_1:TaskFollow( GroupTanker_Texaco, PointVec1:GetVec3() )
|
||||
local FollowDCSTask2 = GroupEscort_Texaco_2:TaskFollow( GroupTanker_Texaco, PointVec2:GetVec3() )
|
||||
GroupEscort_Texaco_1:SetTask( FollowDCSTask1, 1 )
|
||||
GroupEscort_Texaco_2:SetTask( FollowDCSTask2, 2 )
|
||||
|
||||
|
||||
end
|
||||
|
||||
env.info("Tanker_Texaco Loaded v.03.5")
|
||||
|
||||
|
||||
BIN
Wrapper/Group/GRP-510 - Task Follow/GRP-510 - Task Follow.miz
Normal file
BIN
Wrapper/Group/GRP-510 - Task Follow/GRP-510 - Task Follow.miz
Normal file
Binary file not shown.
121576
Wrapper/Group/GRP-510 - Task Follow/Moose.lua
Normal file
121576
Wrapper/Group/GRP-510 - Task Follow/Moose.lua
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user