EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[BONUS Plug-In] Basic Patrol Commands v1.03 [4-1-05]
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
View previous topic :: View next topic
Author Message
ticaki





Joined: 06 Nov 2002
Posts: 4585 on topic
Location: Idar-Oberstein
Thank you for registering your game
modified
PostPosted: Sun, 31. Oct 04, 21:01    Post subject: [BONUS Plug-In] Basic Patrol Commands v1.03 [4-1-05] Reply with quote Print

Download: your personal downloadpage

update 4/1/05:
- New Enemy Detection Logic: fixed problem of friend/foe setting staying set to enemy after attack. Now, as soon as there are no eemies within 20 km of your patrol leader, settings will revert back to friend.

update 29/12/04:
- New Enemy Detection Logic: Ships attacking your in-sector bases or ships will be targeted by your patrol whether they are set as an enemy or not in the standard friend/foe settings. ('good' pirates vs. 'bad' pirates)

update 7/11/04:
- advanced target prioritization logic now selects the enemy which is the biggest threat to you, based on size and distance
- all player items (ships, satellites) in a sector can now transmit information to the patrol if they spot an enemy
- both Fight Command Software MK1 & MK2 are now required
- costs have been redone slightly, see readme for details (TS/TP now cost $)

Code:
Two new commands are added to the Fight Command Menu: Patrol Single Sector and Patrol Multi Sector. These commands are only available on M6 and larger craft when both Fight Command Software Mk1 & Mk2 are installed. These commands patrol a defined area and engage enemy ships (not stations) when they are found.

The following features are standard to both patrol commands:

* The patrol will move at the speed of the slowest ship. It will wait upon reaching each waypoint to allow any stragglers to catch up.

* The standard friend/foe settings of the lead patrol ship are used to determine if a ship is an enemy. Patrols will only engage ships that can be detected by one of your ships or satellites.

* If any ships are attacking your in-sector bases or ships, they will be targeted by your patrol whether they are set as an enemy or not in the standard friend/foe settings. Now your patrols will engage any 'bad' pirates that attack you, even if you have pirates set as friends so that you would normally leave them alone.

* Wingmen are controlled automatically, with no special input from the player. To assign a wingman to the lead patrol ship, simply order a ship to follow or protect it. The wingmen will be recognized and officially added to the formation upon reaching the next waypoint.

* All ships in the patrol will engage the same enemy, focusing fire on a single target to ensure that your patrol is not split up, and that targets are killed as quickly as possible. Targets are prioritized based on their level of threat to you.

* When wingmen are substantially damaged, they will leave the patrol, fly to the nearest friendly / neutral shipyard, and contact you for orders.

For more informations look into the readme!

Scripter: Burianek



Last edited by ticaki on Tue, 4. Jan 05, 22:27; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail
Burianek





Joined: 29 Dec 2003
Posts: 2925 on topic
Location: Chicago, IL
Thank you for registering your game
modified
PostPosted: Sun, 31. Oct 04, 22:03    Post subject: Reply with quote Print

Just wanted to start off by saying thank you to ticaki. Tickai helped out a great deal with this script, and it was a pleasure working with him to get this signed.

Thumb up


_________________
"Nature's first green is gold" . . . stay golden.
Join the Guild Wars: X Universe Guild!


Last edited by Burianek on Tue, 2. Nov 04, 01:25; edited 2 times in total
Back to top
View user's profile Send private message Visit poster's website
fchopin





Joined: 12 Mar 2004
Posts: 3451 on topic
Location: UK London
Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 00:43    Post subject: Reply with quote Print

Nice script,

I have a question on the order the sectors are selected.

I have selected 4 sectors for my M6 and 3 wingmen, and the order the M6 is protecting the sectors is exactly the order I selected.
If I select the sectors in a different order will this change the order my M6 will follow?

Edit: I have changed the order of the sector selection and now the M6 is folowing the new order.


_________________
When there are no more games it is time for music.
Back to top
View user's profile Send private message Send e-mail
Vaylon





Joined: 28 Feb 2004
Posts: 212 on topic
Location: Chester UK
Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 09:48    Post subject: Reply with quote Print

Well well, we have been a busy bunch over All Hallows!

I would like to try it out but I'm using Marks fight software Mk3. Will this script affect it in anyway?

-NJ


_________________
Live Life without Fear
Back to top
View user's profile Send private message
strat





Joined: 19 Jun 2004
Posts: 96 on topic
Location: Sol 3
Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 10:40    Post subject: Reply with quote Print

I think this is a reincarnation of marks script that will be fully compatable with all other signed scripts. I understand there was a bug in marks code that could cause your game to freeze if you picked another sector by accident while placing your way-points for patrol one sector.

I also understand that this is a work in progress and more features will be added in the future.
Oh, and marks script was not compatible with Xaicorps excellent AI either, which is a must have in my opinion.


Strat...


_________________
Einstein rules relativity,
Well in theory at least.

Read on a public loo wall.
Back to top
View user's profile Send private message
Reven





Joined: 10 Jul 2003
Posts: 1054 on topic
Location: HMS Indomitable
Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 11:04    Post subject: Reply with quote Print

There were lots of issues with the old scripts. Burianek did an excellent job with this. Particularly good is the way sectors are patrolled. There is some info that the readme doesn't cover that is useful information.

The way the patrol works is intelligent. It will generally patrol sectors in the order that you specify them, but this isn't set in stone. For example, consider the following: There are 3 sectors in a corner formation like this:
Code:
1 - 2
    |
    3

If you enter the sectors in that order as sectors to patrol, it will start out by patrolling sector 1, then 2, then 3. At that point it goes back to sector 1 to start the patrol again.

In Mark's old patrol scheme, if you set that up on a "patrol 3 sectors" command, the ship would bly back from sector 3 to sector 1, not patrolling any sectors on the way.

With Burianek's script, if the ship passes back through sector 2 on it's way from sector 3 to 1 to start the patrol over again, it will see that sector 2 is in the patrol list, and WILL patrol it.

As Burianek described it to me, when you enter in a sector as a sector to patrol, you are entering it in as a sector of interest. Any time your patrol ship passes through a sector, if that sector is in the patrol list anywhere, it will patrol it.

This means you can set up a linear forward and back patrol very easily. Say, you have 4 sectors in a row you want to patrol:
Code:
1 - 2 - 3 - 4


You don't have to worry about the ship completing the patrol "forward" and then wasting time flying back to the first sector. It will patrol the sectors it passes through on it's way "back" as well.

It's a great system. Burianek did an excellent job with this script. On the surface it looks simple, which is why it's perfect. The best program in the world is the one that seems the simplest.

Good work.


_________________
Ex Turbo Modestum
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Vaylon





Joined: 28 Feb 2004
Posts: 212 on topic
Location: Chester UK
Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 11:47    Post subject: Reply with quote Print

Well it looks quite good and I may install it on a new game but I'll stick with Marks for now as it has extra comands I use quite often.

Thanks for the hard work Burianek Very Happy

-NJ


_________________
Live Life without Fear
Back to top
View user's profile Send private message
GCU Grey Area



MEDALMEDALMEDAL

Joined: 14 Feb 2004
Posts: 2593 on topic

Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 12:12    Post subject: Reply with quote Print

Interesting script, just have one question:

In the costs section of the readme there's no entry for TP & TS ships
I've found Iguanas (equipped with Ion D's) & Demeters (with mining lasers) to be fairly effective OOS. If these ships are used as wingmen to an M6, will they either:
A. break the script Sad
or:
B. cost nothing Smile

Back to top
View user's profile Send private message
ticaki





Joined: 06 Nov 2002
Posts: 4585 on topic
Location: Idar-Oberstein
Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 12:33    Post subject: Reply with quote Print

B Rolling Eyes

Greets ticaki Very Happy


_________________
Zur Zeit nicht aktiv
Back to top
View user's profile Send private message Send e-mail
Burianek





Joined: 29 Dec 2003
Posts: 2925 on topic
Location: Chicago, IL
Thank you for registering your game
modified
PostPosted: Mon, 1. Nov 04, 12:35    Post subject: Reply with quote Print

GCU Grey Area wrote:
Interesting script, just have one question:

In the costs section of the readme there's no entry for TP & TS ships
I've found Iguanas (equipped with Ion D's) & Demeters (with mining lasers) to be fairly effective OOS. If these ships are used as wingmen to an M6, will they either:
A. break the script Sad
or:
B. cost nothing Smile

Hmmm... good point. Right now they're free, as I didn't consider TS/TP ships to be worth charging for.
Perhaps I should consider this the first bug report and fix it right away? Wink
or are you happy with your free Iguanas? (for now Twisted Evil )


_________________
"Nature's first green is gold" . . . stay golden.
Join the Guild Wars: X Universe Guild!


Last edited by Burianek on Mon, 1. Nov 04, 12:38; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
Burianek





Joined: 29 Dec 2003
Posts: 2925 on topic
Location: Chicago, IL
Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 12:38    Post subject: Reply with quote Print

Vaylon wrote:
Well it looks quite good and I may install it on a new game but I'll stick with Marks for now as it has extra comands I use quite often.

Thanks for the hard work Burianek Very Happy

-NJ

You can use both if you want. This won't conflict with Mark's script (or any other script for that matter)
So if you don't mind having all the extra commands, just install this right alongside Mark's and use my patrol commands with Mark's extra stuff (or any combination)
The only thing you'll miss is if Mark's extra stuff ties directly into his patrol commands, since you won't be running his patrol 3 / patrol 6 commands.


_________________
"Nature's first green is gold" . . . stay golden.
Join the Guild Wars: X Universe Guild!
Back to top
View user's profile Send private message Visit poster's website
GCU Grey Area



MEDALMEDALMEDAL

Joined: 14 Feb 2004
Posts: 2593 on topic

Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 12:51    Post subject: Reply with quote Print

Burianek wrote:
I didn't consider TS/TP ships to be worth charging for.
Perhaps I should consider this the first bug report and fix it right away?

Think you should.

[EDIT: ...eventually - there's a lot of interesting stuff on the 'hopefully' list on the index of signed scripts thread, wouldn't want the signing of any of those to be delayed by fixing this]

Iguanas in particular are very effective OOS, IMO more effective than M3's & possibly some M6's (higher OOS laser strength, though weaker shields).

Back to top
View user's profile Send private message
martindemon





Joined: 24 Nov 2003
Posts: 252 on topic

Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 16:01    Post subject: Reply with quote Print

Just a question here, why the fees? These are our ships that are programmed, those are not hired pilot. Is it a balancing issue? What is the justification? Would it be easy to remove the fees from the script? I'm a programmer but I don't have so much time on my hands and I presently know nothing about scripting in X2...
Ok done, salary=0 because I don't see how it could be justified.

Back to top
View user's profile Send private message
JungleJim





Joined: 23 Jul 2004
Posts: 1048 on topic
Location: All alone in the night...
Thank you for registering your game
PostPosted: Mon, 1. Nov 04, 16:32    Post subject: Reply with quote Print

I think the extra cost is very justified.

Look at it this way, for every other feature used in X2 you have to pay. This will be a very useful addition for OOSD, therefore, I'm willing to pay for it.

Eventually it'll save me a bunch by reducing the number of M6s required to keep my sectors safe.

Furthermore after playing for a while in X2 money isn't hard to come (& therefore not so valuable), however, your time is.


_________________
Be seeing you,

[url=http://www.logaans-site.co.uk/x2/gamestats/stats.php?user=JungleJim]
[/url]
Back to top
View user's profile Send private message
Reven





Joined: 10 Jul 2003
Posts: 1054 on topic
Location: HMS Indomitable
Thank you for registering your game
modified
PostPosted: Mon, 1. Nov 04, 16:41    Post subject: Reply with quote Print

No script will get signed unless it charges some money. Don't ask why. I don't think even the developers know why. Razz Even the script to add a traded wares to a player-owned equipment dock charges you 1000 credits to add it. I've stopped asking why. Razz

And really, what this script charges in an hour is a drop in the pond compared to the revenue most of us receive from our factories. I know I've stopped counting the digits on my money.

Just wait till my script gets signed - then you'll have reason to complain about getting charged money. Smile I happen to think mine's justified, but I'm sure everyone thinks that.


_________________
Ex Turbo Modestum


Last edited by Reven on Mon, 1. Nov 04, 16:52; edited 2 times in total
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9  Next
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum
Control Panel
Login Data
The time now is Sat, 21. Nov 09, 05:16

All times are GMT + 1 Hour


Board Security

Copyright © EGOSOFT 1989-2009
Powered by phpBB © 2001, 2005 phpBB Group
Message Board Statistics Template created by Avatar & BurnIt!
Debug: page generation = 0.30419 seconds, sql queries = 70