EnglishGermanFrenchRussianPolishItalianSpanish
Log inRegister
 
[SCRIPT] Fleet Orders 1.3 [Updated: 1/3/06]
Post new topic Reply to topic Goto page 1, 2, 3  Next
View previous topic :: View next topic

How do you rate this script?
5- Excellent
60%
 60%  [ 21 ]
4- Good
14%
 14%  [ 5 ]
3- Average
14%
 14%  [ 5 ]
2- Poor
0%
 0%  [ 0 ]
1- Abysmal
11%
 11%  [ 4 ]
Total Votes : 35

Author Message
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
modified
PostPosted: Fri, 2. Dec 05, 08:17    Post subject: [SCRIPT] Fleet Orders 1.3 [Updated: 1/3/06] Reply with quote Print

http://www.public.iastate.edu/~pvp/files/FleetOrders_v13.zip
Enjoy.

README:

"Fleet Orders v1.3" X3: Reunion script. By acrh2.

***********
DESCRIPTION
***********

This script is designed to simplify carrier and combat operations
with large player-owned fleets. Its function is to provide an easy
to use way to order groups of ships with basic commands such as
"protect" or "return home". This is accomplished by issuing
text-based commands from Command Console / Additional Ship Commands.
Such orders are executed as if the player had entered them for each
individual ship from the command console of each ship.

For example,

-to order a group of ships designated "sq1" to attack the player's target,
one might issue a command "sq1 attack mine", or,
-to order the same group to return to their carrier, one might issue a
command "sq1 return".

Look for installation intructions at the end of this document.

*******************************
SUMMARY OF AVAILABLE COMMANDS.

1) From Command Console / Additional Ship Commands / Give orders menu:
(nothing entered - evasion command), "none", "assign", "move",
"return", "protect", "attack", "loadp", "savep", "safe"

2) From Command Console / Additional Ship Commands:
Safety recall
Save protection configuration
Load protection configuration
Order to move
Order to attack
Order to protect
Order to assign base
Give orders
Scan for pirates
********************************

!!!!!!!!!!!!!!!!!!!!
Version 1.3
1) Small compatibility update.

Version 1.2
1) Added an evasion command: entering nothing under "Give orders" menu
instructs ships with shield strength under 35% to initiate evasive
manuvers for 30 sec, then resume previous command.
2) Rewritten load and save protection configuration commands to include
"follow" orders.

Version 1.1
Three new orders added, available both from text interface "Give orders" and from
the Additional ship commands menu (these do not require NameMask input):
1) "safe" order - sends an order to ships with less than 10% shield to return home
2) "savep" order - saves configuration of which ships protect which ships/stations
3) "loadp" order - load protection configuration and instructs ships to protect

Version 1.0
Besides the main "Orders" command, there is now 4 more commands which allow
GUI input: move ships to position, assign a homebase, attack and protect target.
These can be found under Command Console / Additional Ship Commands.
!!!!!!!!!!!!!!!!!!!!


The main principle behind the script is the ship recognition based on
NameMasks. A NameMask is a short first portion of a ship's name that is common between a number of ships belonging to the same group. An easy way to assign a number of ships to a particular group would then be to name these ships so that the first portion of their names is the same for all ships in the group. Ships belonging to the same group might also be divided into subgroups (for example, there may be several wings belonging to the same squadron), which is accomplished as in the example below:

if these were the names of your ships

sq1w1Nova1--\-----\
sq1w1Nova2---\----/ squadron 1 wing 1 (NameMask = "sq1w1")
sq1w2Nova3---/
sq1w2Nova4--/squadron 1 (NameMask = "sq1")
sq2w1Nova5------> squadron 2 wing 1 ship Nova5 (NameMask = "sq2w1Nova5")
sq2w1Nova6
sq2w2Nova7-----\
sq2w2Nova8-----/ squadron 2 wing 2 (NameMask = "sq2w2")

-NameMask "sq1" would identify with ships Nova1 through Nova4
-NameMask "sq2w2" would identify with ships Nova7 and Nova8
-NameMask "sq1w2Nova4" would identify with Nova4 only
-NameMask "sq" would identify with all these ships.

NOTE: There's no restrictions on naming ships except for not using spaces in NameMask portion of the name. For example: "fl1s2w2f3" might represent Fleet1-Squadron2-Wing2-Flight3 ships.

NOTE2: Included is a free bonus, "Find pirates" script. Also available from
Additional Ship Commands, it allows your ships and stations to report enemy
activity within their scanner ranges. When enemies are found, "incoming message"
is sounded, and the sectors with enemy activity are displayed in the player logbook. Otherwise, no alert is sounded.

**************
COMMAND SYNTAX
**************

Orders are issued in the form of a text command, which is entered from
"Command Console / Additional Ship Commands / Give orders" menu. Different parts of the command are separated by spaces (can be several spaces in a row). The commands must have at least two parts: first - NameMask, which identifies a ship or a group of ships, second - order itself, with or without arguments.
The syntax of the command is case sensitive. The success or failure to enter a command or execute a particular command is indicated verbosely by the shipcomputer ("Command accepted" or "Command rejected").

Syntax: '<NameMask> <order> [<Argument1> [<Argument2> [<Argument3>...]]]'

Possible <order> types:

1) none
removes any current orders from <NameMask> ship(s).

2) assign none/<NameMask2>
--<NameMask2> -assigns a first found <NameMask2> as the homebase for all <NameMask> ships (only if <NameMask2> is a TL or M1 class ship), or
--none -removes the homebase from all <NameMask> ships.

3) return
orders <NameMask> to return to homebase

4) move up/down/north/south/east/west [1..100]
move <NameMask> ships in the direction specified by 5 km, or if the last numerical argument is specified, by that number of kilometers.

5) attack all/mine/<ID>
attack all enemies, or attack player-targeted enemy, or a specific target
identified by <ID> id code (for example, YM2XL-21; only works if the target is in the same sector as the attackers).

6) protect me/home/<NameMask2>
orders <NameMask> ships to protect the player, the homebase, or the first target specified by <NameMask2> (only works if the target is in the same sector as the defenders).


**************
INSTALLATION
**************

Simply unzip into your X3: Reunion directory, for example, "c:\Program File\Egosoft\X3 Reunion".

*************************************



Last edited by acrh2 on Wed, 4. Jan 06, 06:36; edited 7 times in total
Back to top
View user's profile Send private message
DemaeRamen





Joined: 06 Mar 2004
Posts: 408 on topic
Location: Saf Landun
Thank you for registering your game
PostPosted: Fri, 2. Dec 05, 14:37    Post subject: Reply with quote Print

Does this mean, in the example:

sq1(wing1)Nova1 \ ----\
sq1(wing1)Nova2 \ ----/ squadron 1 wing 1 (NameMask = "sq1(wing1)")
sq1(wing2)Nova3 / squadron 1 (NameMask = "sq1")
sq1(wing2)Nova4 /
sq2(wing1)Nova5 ------ squadron 2 wing 1 ship Nova5 (NameMask = "sq2(wing1)Nova5")
sq2(wing1)Nova6
sq2(wing2)Nova7 -----\
sq2(wing2)Nova8 -----/ squadron 2 wing 2 (NameMask = "sq2(wing2)")


Ordering to sq would make all of them obey?


_________________
Always welcome! Cheap and filling!
Back to top
View user's profile Send private message
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Fri, 2. Dec 05, 15:09    Post subject: Reply with quote Print

yes

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





Joined: 22 Oct 2005
Posts: 58 on topic

Thank you for registering your game
PostPosted: Fri, 2. Dec 05, 16:28    Post subject: Reply with quote Print

nice
been wating for this Thumb up

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





Joined: 28 Dec 2004
Posts: 2517 on topic
Location: USA, VA
Thank you for registering your game
PostPosted: Fri, 2. Dec 05, 16:30    Post subject: Reply with quote Print

Sounds awesome! To bad I don't have a fleet to test this with...


_________________
10,000 Lightyears of awesomeness
Back to top
View user's profile Send private message Visit poster's website AIM Address MSN Messenger
acrh2





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Sat, 3. Dec 05, 08:28    Post subject: Reply with quote Print

Updated to 1.1. Look at the first post to see the changes.

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





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Sat, 3. Dec 05, 13:01    Post subject: Reply with quote Print

Here's a battle report using this script. Mind you, this was my first try, so I didn't know what I was doing, and I wasn't using any missles.

Code:
My fleet:
1 x Boron Shark
4 x Boron Ray
6 x Argon Centaur
20 x Argon Nova Raider
10 x Split Mamba Vanguard

Target:
Xenon Sector 534 ( ?? 2 x J, 8 x K, 4 x P, Ls, Ms, Ns ?? )

Mission time:
2 hours

Status:
All enemies destroyed

Casualties:
1 Centaur (to a K)
2 Novas (to Ks)
3 Mambas (2 to Ks, 1 to an L)


I assigned 2 Centaurs and 10 Mambas to protect the carrier detail (2 Mambas protecting each Centaur, 6 Mambas for the carrier, Centaurs protecting the carrier).
The other 4 centaurs were assigned to each destroyer. Again, 2 Novas protecting each Centaur, 3 Novas protecting each destroyer.

I then got myself right in the middle of the sector and let them bumrush me from all sides. I just sat in the carrier giving orders through the script, mostly for the destroyers to attack Ks and Js.

I'm gonna think about this stuff and try to come up with ideas on how to improve the script.
As always, any ideas from you guys are very welcome.

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





Joined: 12 Nov 2005
Posts: 296 on topic

Thank you for registering your game
PostPosted: Sat, 3. Dec 05, 13:33    Post subject: Reply with quote Print

Script seems very nice. To make it easier to use, and to offer less mistakes, have it use GUI input (readily available in x3 scripting already.) to assign namemasks, the orders, etc.

ie: Menu -> COMBAT -> Fleet Orders -> {orders} -> Select Namemask to assign order to.

Makes it a lot easier.

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





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Sat, 3. Dec 05, 13:57    Post subject: Reply with quote Print

unfunfofmpc wrote:
Script seems very nice. To make it easier to use, and to offer less mistakes, have it use GUI input (readily available in x3 scripting already.) to assign namemasks, the orders, etc.

ie: Menu -> COMBAT -> Fleet Orders -> {orders} -> Select Namemask to assign order to.

Makes it a lot easier.


I have no idea how to use multiple menus, but I already added all the orders with targets into GUI commands. However, during the actual battle in X534, I found myself typing a lot more than using those GUI commands. It was just faster.

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





Joined: 12 Nov 2005
Posts: 296 on topic

Thank you for registering your game
PostPosted: Sat, 3. Dec 05, 14:02    Post subject: Reply with quote Print

ah, you have? k then its good Very Happy

ill go play x3 now.

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





Joined: 20 Sep 2003
Posts: 71 on topic
Location: UK
Thank you for registering your game
PostPosted: Sat, 3. Dec 05, 16:13    Post subject: Reply with quote Print

Does the return home command get ships to use jump drives if they have them (and fuel available)?

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





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Sat, 3. Dec 05, 16:27    Post subject: Reply with quote Print

No. Would you want that? Why?

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





Joined: 02 Dec 2003
Posts: 3935 on topic

Thank you for registering your game
PostPosted: Sat, 3. Dec 05, 17:01    Post subject: Reply with quote Print

Looks great so far, nice work.

I dunno about the safe command. Could it send home ships that have hull damage, instead...?

Also:

Would these orders work for corvettes docked at stations?

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





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Mon, 5. Dec 05, 05:45    Post subject: Reply with quote Print

Updated again.

P.S. Made another trip to Xenon Sector 534. From an older savegame where everything was still there.

I've been practicing, so this time I knew what I was doing.
I killed everything in the sector, and lost only one Nova.

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





Joined: 30 Nov 2003
Posts: 731 on topic

Thank you for registering your game
PostPosted: Mon, 5. Dec 05, 06:32    Post subject: Reply with quote Print

Check this out.

http://forum.egosoft.com/viewtopic.php?t=108175

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic Reply to topic Goto page 1, 2, 3  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 cannot download files in this forum
Control Panel
Login Data
The time now is Tue, 25. Apr 17, 14:21

All times are GMT + 2 Hours


Board Security

Copyright © EGOSOFT 1989-2017
Powered by phpBB © 2001, 2005 phpBB Group
Template created by Avatar & BurnIt!
Debug: page generation = 0.50528 seconds, sql queries = 31