Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > Star Wolves

Star Wolves 3D space RPG with deep strategy and tactical elements

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old 05-19-2010, 12:16 PM
skrzacik skrzacik is offline
Approved Member
 
Join Date: Apr 2010
Posts: 31
Default

six is better than five but what file i have to lookin for to make this changes?

im quite dummy with scripting
Reply With Quote
  #3  
Old 05-19-2010, 12:27 PM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

just try to find "activate.script" or "randomcontacts.script" file inside SW3 folder. When you will find these files just open it and search for the lines (given in my previous post).
Reply With Quote
  #4  
Old 05-19-2010, 02:25 PM
skrzacik skrzacik is offline
Approved Member
 
Join Date: Apr 2010
Posts: 31
Default

thank u Goblin Wizard

now i have a little more fun
Reply With Quote
  #5  
Old 05-19-2010, 05:27 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

Huge Success.

I fixed the problem. Switching the trigger over to a timer trigger was trickier than I had originally expected, but it works like a charm. One thing I do recommend, however, is to not engage fleets near portals. Luckily, I set up the spawns so that NPCs usually will not fight eachother near gates, and most of the fighting (If there is any fighting) occurs in the middle of the sector or at mission-critical spots.

The only thing thats left is to finish setting up the spawns for the Debris cluster, and I am going to test this script some more and make sure no other nasty suprises come at me.
Reply With Quote
  #6  
Old 05-19-2010, 05:57 PM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

Nice, really nice. How big are the randomly spawned groups? From my experience any group that have more than 6 ships acts really strange. Looks like game engine has fixed group size to max 6 ships.
Reply With Quote
  #7  
Old 05-19-2010, 06:14 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

You must mean flights, and no, no flight has more than 6 fighters assigned to them. Rather than assign all ships to one flight, like I did in my original Convoy mod, I am using triggers to spawn multiple flights to escort a central ship. These escorts are escorting either a capital ship (in the case of fleets) or a transport (in the case of convoys).

The size of the group depends on what the random generator spits out. Fleets can have anywhere from one to four escort flights. Convoys have 2-3 escort flights. Each escort flight has anywhere from 3-6 ships. So you can have a fleet with 25 ships total max. Although fleets with 1 or 4 escort flights are rather rare, 2 and 3 are more common numbers, which you will usually have roughly 10-15 ships.

Fleets can be found in many places, although convoys can only be found in systems where they are not likely to be destroyed by other random contacts. Certain systems are specifically designed to have the potential for opposing fleets to fight eachother.

Currently, both fleets and convoys are very rare, with a roughly 10% chance to spawn with each spawn check.

By the way, im reading Starrover.ru, I noticed you asked about specials.script, why didnt you ask me? I can help you with anything regarding that script. Would love to register to starrover.ru, but for some reason I am not getting the confirmation email.

Last edited by Nanaki; 05-19-2010 at 06:18 PM.
Reply With Quote
  #8  
Old 05-21-2010, 02:50 AM
skrzacik skrzacik is offline
Approved Member
 
Join Date: Apr 2010
Posts: 31
Default

Quote:
Originally Posted by Goblin Wizard View Post
just try to find "activate.script" or "randomcontacts.script" file inside SW3 folder. When you will find these files just open it and search for the lines (given in my previous post).
to be honest i found 114 files wit that name activate.scrpit
have i change them all???
Reply With Quote
  #9  
Old 05-21-2010, 05:57 AM
Goblin Wizard Goblin Wizard is offline
Approved Member
 
Join Date: Oct 2008
Posts: 508
Default

Change these which sectors you want to have better pirate flights. If you want all you have to change every file.
Reply With Quote
  #10  
Old 05-22-2010, 12:59 PM
Nanaki Nanaki is offline
Approved Member
 
Join Date: Mar 2010
Posts: 338
Default

Okay, I refined my mod a bit.

Escort Flights, when approaching within 120 meters of the portal, will automatically fly towards the middle of the portal. When they fly within 10 meters, they will be removed. This is mainly a visual and balance improvement, as before they would be automatically removed within 120 meters, which made it easy to ambush a convoy at the portal.

Trader flights no longer have their built in escorts of 1-4 fighters. Instead they will have escort flights similer to the Convoy and Fleet scripts. As of now, they have 1 to 2 escort flights. I also disabled the SOS Command, as it is no longer necessary.

Pirate Walruses now move much slower, in order to remove the problem of these ships outrunning their escorts.

More testing will need to be done to see how these new changes would work. If the tests confirm these functions work, the mod will be packaged and released to you guys.

Last edited by Nanaki; 05-22-2010 at 01:07 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:12 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.