Thread: One question
View Single Post
  #4  
Old 03-02-2014, 09:02 PM
Simbal Simbal is offline
Approved Member
 
Join Date: Jul 2013
Posts: 59
Default

Alright, the File you need to edit is in Scripts > Sector/Level > objects.script

Add These Lines here and Edit them to add an Simple Pirate Flight

Code:
-- FRACTION    |     GROUP        |      ID     |    Spawn XYZ         | Type, Tier-Level
NewPirateFlight("Pirate_Group_1_1", "PirPatrolXX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

--*Please replace the XX with a Unique number
--*Type is the number that controls what type of ship/Ships in that Flight are
--1 = Interceptor(s)
--2 = Bomber(s)
--3 = Flagship
--*Groups are defined in the Declare.script file which is too in each Sector/Level Folder
--*Tier-Level is the number that controls what Ship Tier and Equipment Tier is
--The higher the number, The better the Ship and Equipment

--To Assign the Flight to do something, like Patrolling:

--       ID    |   TASK |  Waypoint 1       |   Waypoint 2        |  Waypoint 3     |  Waypoint 4   |    Waypoint 5    |      Waypoint 6     |    Waypoint 7
flight_PirPatrolXX:Patrol({Vector3(800,-10,-100),Vector3(300,0,100),Vector3(0,10,-100),Vector3(0,20,-300),Vector3(300,0,-700),Vector3(500,0,-700),Vector3(0, 20, 40)}, TRUE);
Templates for some (Not All) Other Flights

InoCo
NewInoCoFlight("GROUP, "Ino_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Triada
NewTriadaFlight("GROUP", "TriXX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

USS
NewUSSFlight("GROUP", "UssXX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Alien
NewAlienFlight("GROUP", "ali_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Navy
NewNavyFlight("GROUP", "Navy_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Berserker
NewBerserkFlight("GROUP", "Bers_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Patrol
NewPatrolFlight("GROUP", "Pat_XX", Vector3(894, 20, 200), 1, 6, Vector3(0, 0, 1));

Good Luck!

Last edited by Simbal; 04-21-2014 at 09:11 PM.
Reply With Quote