need command "fly to sector and attack all enemy"

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

Orion1632
Posts: 1334
Joined: Sun, 14. Dec 03, 09:55
x4

need command "fly to sector and attack all enemy"

Post by Orion1632 »

I have some Centaurs protecting sectors, when I spot some Kha'ak ,using the great early warning script , I sent my centaur over to the sector to kill them.

Unfortunatly there is no "fly to sector and attack all enemy" command so I have to get them to fly there and when they get there tell them to attack all.

Is there another way? sometimes I forget and they sit there and get attacked grrrrr.
tokyoboy
Posts: 15
Joined: Tue, 16. Dec 03, 14:21
x3

Post by tokyoboy »

Maybe just changing the attack all enemy command to function like the fly to sector command by allowing you to chose the sector to patrol. I myself sometimes suffer from the same problem you do with the 25+ M6 I have patroling around.

Kelly
TokyoBoy
VincentTH
Posts: 6636
Joined: Wed, 6. Nov 02, 20:31
x4

Re: need command "fly to sector and attack all enemy&qu

Post by VincentTH »

Orion1632 wrote:I have some Centaurs protecting sectors, when I spot some Kha'ak ,using the great early warning script , I sent my centaur over to the sector to kill them.

Unfortunatly there is no "fly to sector and attack all enemy" command so I have to get them to fly there and when they get there tell them to attack all.

Is there another way? sometimes I forget and they sit there and get attacked grrrrr.
Me too
Darshu
Posts: 1085
Joined: Sun, 11. Jan 04, 02:13
x3

Post by Darshu »

25+?!?!?!

How in the hell can you afford to purchase let alone outfit 25 corvettes??? Man I wish I had that kind of time on my hands :lol:
strangelove
Posts: 130
Joined: Tue, 23. Dec 03, 08:14
x3

Post by strangelove »

Darshu wrote:How in the hell can you afford to purchase let alone outfit 25 corvettes??? Man I wish I had that kind of time on my hands
:lol:

When you get to the stage where you can afford to do that, the question you'll be asking is 'how the @#$& did I find the time to build over 100 factories?!?!' ;)

I've played this game waaay too much I think.
Slugworm X
Posts: 150
Joined: Mon, 1. Dec 03, 09:15
x3

Post by Slugworm X »

Hey y'all!

Umm, I have posted a pack of three patrol type scripts on XScripting.com. They have been there for a few days now.

Basically, they consist of:

Patrol Homebase Sector - As it says, the ship with this script patrols the sector that the homebase is in. It stays docked until it detects an enemy and then leaves the home base, fights, then returns to home base. Oh, and homebase CAN be a carrier or a station. I have heard a couple of good replies regarding this. I use it with my Argon Nova docked to a Teladi Osprey. The Nova has the script, and I fly the Osprey. When I jump in sector the Nova automatically disengages, attacks the enemy in priority order (Khaak Cluster -> Pirate Transport). It will attack any ship that is classed as your enemy. Then it returns home and docks. Tries to pick up a few missiles in the process.

Patrol Homebase Sectors: As above except the ship will scan the surrounding sectors N-E-S-W. If they have an ANS sat and there is an enemy there they will tootle off to that sector, attack the enemies then return to the home sector, rescan. It will attack all surrounding sector enemies, including the home sector, then return to homebase.

Patrol Home Sector: Same as Patrol hombase sector, but for ships that dont have a homebase, IE corvettes etc. They will do the above patrol, when finished they will return to the centre of the home sector and continually scan for enemies. Having this script running on a Mammoth, with a complement of fighters running the Patrol Homebase Sector script could be very devastating. Mamoth jumps in sector, disgorges fighters, then goes to attack itself. The ships will attack then return back to the mamoth. The mamoth then heads home. If the mamoth heads home when all enemies are done for, the fighters will automatically find the shortest route home.

Anyway, the script is there if you want it. There is a small issue with the Turret Missile Defence script, but only with NPC ships (they wont attack you with this script running on there turrets). That shoulds be fixed sooner or later. These havent been tested with 1.2 yet, as I am playing RT3 :wink: .

I also havent had any feedback at all, so I dont know if people like this script or hate it.

Oh, the commands have all the right long and short descriptions etc in the menus.

Thought this might help with those patrolling OOS combats. All ships running the script will attack in the hierachy quickly listed above. So when the cluster seperates, the Khaak M3 will be the first to cop it! Hehe, I hate them Khaak!

Addendum:

Only attackts ships within the hierachy. They wont attack M6 and above! Done for safety reasons. Be aware that a single M3 (in 1.1) could attack the second largest cluster and survive. However, the script doesnt distinguish between a small cluster and a large cluster.
Orion1632
Posts: 1334
Joined: Sun, 14. Dec 03, 09:55
x4

Post by Orion1632 »

Now that sounds like a good script! thanks.
Slugworm X
Posts: 150
Joined: Mon, 1. Dec 03, 09:15
x3

Post by Slugworm X »

Orion:

How did the script turn out for you? Any improvements? Changes?

Would really like some feedback.....

SlugwormX
The_Abyss
Posts: 14933
Joined: Tue, 12. Nov 02, 00:26
x3

Post by The_Abyss »

Moved over to Scripts & Modding forum :)
Strung out on Britain's high, hitting an all time low
ShadowTek
Posts: 480
Joined: Sat, 20. Dec 03, 19:05
x2

Post by ShadowTek »

Theres a Mod that lets you remotely jump your ships by the Xai Corporation, that combined with auto patrol script and walla
Proud member of the PHPBB Network!
Feel free to upload or download X2 Mods!!
User avatar
BurnIt!
EGOSOFT
EGOSOFT
Posts: 5116
Joined: Wed, 6. Nov 02, 20:31
x4

Post by BurnIt! »

I have a beta version of a patrol script using waypoints here.
Going by the reports I've had this script might soon go gold ;)
BurnIt!
In der Ruhe liegt die Kraft. / In peace lies strength.
Quattro
Posts: 164
Joined: Thu, 11. Dec 03, 10:37
x3

Post by Quattro »

BurnIt! wrote:I have a beta version of a patrol script using waypoints here.
Going by the reports I've had this script might soon go gold ;)
Woohoo!! And BurnIt strikes again :D

Is it multiple or single sector??
Royal Galactic Trading Company (Est. 764)

Mobile HQ : Orca-class Auxilliary Ship HMAS Errant Venture

Flagship : Condor-class Carrier HMS Ark Royal
UNCC Rank : Major
NST Squad 2nd In Command
Nova capture tally (current) : 110
Shai-Hulud
Posts: 37
Joined: Sun, 4. Jan 04, 00:24
x2

Post by Shai-Hulud »

Sweet! I can't wait for more official scripts!
Slugworm X
Posts: 150
Joined: Mon, 1. Dec 03, 09:15
x3

Post by Slugworm X »

Hi there...

Well Patrol Pack now has a new addition that I have been meaning to do for a while (said this when I first posted the pack!).

The patrol Here to There script.

Allows you to choose two sectors to patrol between up to 5 sectors apart (although no real limit).

The script is still in testing at the moment. It uses Patrol Packs search, prioritisation and attack routines.

At the moment the ship assigned the script, if fitted with a jump drive, and has enough ecells will jump to the start sector, then move out on patrol. Pretty neat. Patrols three sectors pretty fast (depends on ship speed of course).

I will get this one finished then move on to the patrol individual sectors via jump drive. IE Argon Prime to Red Light to etc etc. This will be a little more complex tho.

Oh well off to work I go.
astroturf
Posts: 26
Joined: Wed, 26. Nov 03, 00:12
x2

Post by astroturf »

BurnIt! wrote:I have a beta version of a patrol script using waypoints here.
Going by the reports I've had this script might soon go gold ;)
Nice, would I be to forward in asking if there is an ETA?
User avatar
BurnIt!
EGOSOFT
EGOSOFT
Posts: 5116
Joined: Wed, 6. Nov 02, 20:31
x4

Post by BurnIt! »

ETA for the patrol script - cannot give, needs further testing (working fine so far but I thought the Trade Extension was working fine too when I released it a week ago...)

Capabilities:

Define Start and End Sector, define up to 3 (optinal) sectors as waypoints.
Chose whether the script should go from Start to end using the waypoints and back the same way or fly in circles going from the end secor directly back to the start sector.

(this way you can make a ship patrol the borders of the core argon sectors)
BurnIt!
In der Ruhe liegt die Kraft. / In peace lies strength.
Quattro
Posts: 164
Joined: Thu, 11. Dec 03, 10:37
x3

Post by Quattro »

BurnIt, any updates on the ETA?? :)
Royal Galactic Trading Company (Est. 764)

Mobile HQ : Orca-class Auxilliary Ship HMAS Errant Venture

Flagship : Condor-class Carrier HMS Ark Royal
UNCC Rank : Major
NST Squad 2nd In Command
Nova capture tally (current) : 110
User avatar
LV
Sith Lord
Posts: 8255
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by LV »

I've not had a single issue with this script and it's been running for a month.

And if burnit takes my advice he'll put it onsale for over a million credits :)


I have just bought my 4th dragon, each ship patrols around 8 sectors and apart from khaak instantly spawning on top of one of my 1mw ships it keeps the peace impressively :)

soon™ I will control the galaxy muhawawah
LV's TC Scripts
Readme's For All My Scripts


I felt a great disturbance in the forum, Like millions of voices cried out in terror, then were silenced

si tacuisses, philosophus mansisses
Quattro
Posts: 164
Joined: Thu, 11. Dec 03, 10:37
x3

Post by Quattro »

Sorry that I had to do this but...

*BUMP*

Really looking forward to your Patrol Script, BurnIt :)
Royal Galactic Trading Company (Est. 764)

Mobile HQ : Orca-class Auxilliary Ship HMAS Errant Venture

Flagship : Condor-class Carrier HMS Ark Royal
UNCC Rank : Major
NST Squad 2nd In Command
Nova capture tally (current) : 110
Orion1632
Posts: 1334
Joined: Sun, 14. Dec 03, 09:55
x4

Post by Orion1632 »

slugworm X, I am using your script and loving it! the beta version too as I haven't started using the newest one yet.

yeah I'll pay a million for an "official" patrol script.

Return to “X²: The Threat - Scripts and Modding”