View Single Post
  #3  
Old 12-19-2013, 06:46 AM
RT2 RT2 is offline
Approved Member
 
Join Date: Nov 2013
Posts: 32
Thumbs up Updated: outofmission.script

function __crash_Freedom()
CrashPirateTeam = CreateTeam("Pirates");
crash_pirate_group = CrashPirateTeam:CreateGroup("crash_pirate_group");
local pos = mothership:GetPosition();
local orn = mothership:GetVectorOrientation();
local glow_orn = mothership:GetVectorOrientation();
orn.x = orn.x * 40;
orn.y = orn.y * 40 + 10;
orn.z = orn.z * 40;
glow_orn.x = -glow_orn.x;
glow_orn.y = -glow_orn.y;
glow_orn.z = -glow_orn.z;
NewPirateFlight("crash_pirate_group", "crg1", pos+orn, 1, 20, glow_orn);
flight_crg1:Escort(mothership);
Timer_Seq(5, __crash_FEnd);
end;

function __crash_FEnd()
if (mothership:IsAlive()) then
SubPlayerCredits(1000);
end;
end;

Code example and the html will not display it properly,
So DO NOT try and copy and paste.

flight_crg1:Attack(mothership);
-Changed into:
flight_crg1:Escort(mothership);

Earned myself 280K+
Tactically moving around Shula so the 5 Gunslingers and 1 Trident could take out the MSF a squadron at a time.
Pirate escort also attacks the Free Traders and their escorts.
More goodies.

No negative side effect to you.

Nice addition when you want to free roam and get some starting cash.

I possibly could of used the Pirate escort better to clear Shula, but I only wanted to see how they would go.

Still thinking of how to implement a dialog box for you to decide.

Be Safe,
Reply With Quote