Thread: Random Contacts
View Single Post
  #65  
Old 05-19-2010, 12:11 PM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

Every sector has his own activate.script. You can find there lines like this:
NewPirateFlight("PiratesGroup_1", "pir01", Vector3(0, -10, 0), 1, 14, Vector3(3, 0, 1));
"14" stays for quantity and quality of fighters being spawned. It's further modified by difficulty level. You can choose value between 1 and 20. Without modifying tables you won't get more than 6 ships in a group.

Inside RandomContacts.script you can find:
local strength = ComputeRandomInvervalValue(power-4, power+3);
change this line to:
local strength = 20;
and randomly spawned groups will always have max power.

Last edited by Goblin Wizard; 05-19-2010 at 12:20 PM.
Reply With Quote