View Single Post
  #2  
Old 07-10-2014, 06:22 PM
nocalora29's Avatar
nocalora29 nocalora29 is offline
¯\_ ͯ‿ ͯ_/¯
 
Join Date: Dec 2011
Posts: 413
Default

>Scripts>Locations>Pick your System

Now there are 3 Files
Activate.script
Functions.script
Locations.script

Open the Activate.script file with any Text Editor, I Prefer Notepad++
And put THIS Code anywhere in the Text File:

NewInocoFlight("Inoco_Group_1", "Inoc_1", xyz_InoCo_baze + Vector3(-45, 40, 50), 1, 12, Vector3(-1, 0, 0));

Now Im going to TRY to Explain this Code

FRACTION | GROUP | FLIGHT_ID | XYZ Coordinates (You can Add an
XYZ Object to it too, There are several in the upper part of the Activate.script file) | And the 2 Numbers at the end "1, 12," Are Defining what this Ship is, the First Number is the Type, 1 = Fighter, 2 = Bomber, 3 = Bigship, And the 2nd One is the Power-Level of that Ship/Fleet, something like "66" will make the Ship or Fleet Extremely Powerful.
-Groups are Found under "Teams & Groups"
-Heres an List of Factions you can use, just Replace Inoco with something like that: "Pirate","VKS","Berserk","Robot","USS","Triada " And just like that.

NewInocoFlight("Inoco_Group_1", "Inoc_1", xyz_InoCo_baze + Vector3(-45, 40, 50), 1, 12, Vector3(-1, 0, 0));


And now we are going to Set the Task of the Flight/Squad Whatever to Patrol 3 Points in the Sector!, Sounds great right?

This is the Code to put in:

flight_Inoc_1:Patrol({xyz_InoCo_baze+Vector3(-50,40,0),xyz_InoCo_baze+Vector3(0,25,-50),xyz_InoCo_baze+Vector3(50,40,0),xyz_InoCo_baze +Vector3(0,25,50)}, TRUE);


And again I am gonna try Explaining this Too:

FLIGHT_ID | TASK | XYZ COORDINATES, The "," Seperates Points of Multiple XYZ Coordinates, This Patrol WILL Fly to these Coordinates, No Exceptions... They will even fly to their Death if they have to.

flight_Inoc_1:Patrol({xyz_InoCo_baze+Vector3(-50,40,0),xyz_InoCo_baze+Vector3(0,25,-50),xyz_InoCo_baze+Vector3(50,40,0),xyz_InoCo_baze +Vector3(0,25,50)}, TRUE);


Uh and Sorry for the little Weird English, It isn't my Native one ^^, Feel free to Ask if you have any more Questions :D

Last edited by nocalora29; 07-10-2014 at 06:25 PM.
Reply With Quote