1.52 Mise a jour du script permettant la reformation automatique des groupes hors secteur du joueur
Si vous avez chargé PiloteIA depuis, ou si vous n'utilisez pas PiloteIA, vous n'avez pas besoin de cette mise à jour....
Bon jeu....

Moderator: Modérateurs pour les forum Français
good luck===================
Gestion de groupes
Auteur : Azz
Version : 1.60
===================
Gestion de groupes de vaisseaux.
The goal of this script is :
Easily create squad of ships
Easily give them orders.
The goal of this script is not :
To do automatically complex orders as refuelling, buying missiles, going to shipyard when endommaged...etc
You have 99 possibles groups
Each group contains a leader and as many wingers as you want.
the leader is automatically selected, the script choose the more powerfull ship, and if there is several candidates, the one wich have the highest combat's skill is selected. The leader is verified and calculated each time the group receives an order...
Order for the choice of the leader :
1-M1
2-M2
3-TL
4-TS,TP
5-M6
6-M3
7-M4
8-M5
Why TS and TP before M6 : if you add a TS to group, it will become the leader and the other ships will protect it when it move. You can like this make what we can name a 'supply group'.
If the TS need only temporarily an escort, you can also ask a group to protect it by the order 'Group Protect target'... At you to choose the best method.
If some M5 are added to the group, some of them will be automatically assigned to the "anti-missile fighter" function (AMS).
In this case, they will survey their group and will fire all the missiles in approach. They can use their proper missiles to destruct their target.
The number of M5 that will be assigned is choosen like this :
Group <=2 Ships : 0 AMS
Group <=5 Ships : 1 AMS
Group <=10 Ships : 2 AMS
More than 10 Ships : 3 AMS
In fight, if the leader is destructed, the group is immediately re-formed and the new leader take the command that it's predecessor was doing.
Also, if you add or remove a ship to the group, the leader will be automatically re-elected and will take the command of the previous one.
----------------------------------------------------------------------------
**************** Added Functions ********************
In the combat Menu :
Attaque Sélective (Selective Attack)
In the Personnalisé/Groupe Menu :
Vaisseau Assigner Groupe (Assign Group)
Vaisseau Type Assigner Groupe (Assign Group to Class)
Groupe Assigner une Base (Assign Base to group)
Groupe : Nommer (group : Name)
Groupe Protége Cible... (Group : Protect Target)
Groupe Attaque Ma Cible (Group : Attack my target)
Groupe Attaque Cible... (Group : Attack target)
Groupe Attaque Tous/Sélective (Group : Attack All/Selective)
Groupe Attaque et Retour Base (Group : Attack and return to base)
Groupe Me Protéger (Group : Protect me)
Groupe Aller à la Position... (Group Go to pos)
Groupe Retour à la Base (Group : Return to base)
Groupe Stop (Group : Stop)
Groupe : Liste (group : List)
----------------------------------------------------------------------------------
**************** Advanced Functions **************
It is INDISPENSABLE to use my other script "Extension de Nom" for the group's infos will be correctly displayed in the ship's names.
----------------------------------------------------------------------------
********** Détail des commandes **********
NB : For all the commands, when you must type a group number, if you valid without type anything, the last group number used will be re-used.
**** Menu Personnalisé/Groupe :
- Vaisseau Assigner Groupe (Assign Group) :
Select a ship and then a group number (0 will remove the ship)
- Vaisseau Type Assigner Groupe :(Assign Group to Class)
To give a group number for all the ships of a given class in a sector.
Select a class of ship, a sector, a group number to give (0 for remove). You must then indicate if the ships that already have a group must be affected.
- Groupe Assigner une Base :(Assign Base to group)
Assign a base at all the ships of a group.
- Groupe : Nommer : (group : Name)
Give a name to a group
Type the group number and then the name
- Groupe : Attaque et Retour Base : (Group : Attack and return to base))
The group docked at his base will go out, check the vicinity, fight the enemy and then will re-dock to the base. The leader must have a base affected (it can be a carrier...)
The leader will be notified : ldr AtqRtB
If the script PiloteIA is installed and if the rank of the leader is more than 8 Officier, it will continue to scann the sector when it will be docked and will go out automatically with it's wingers when it will detect an ennemy
When the ennemy will be destructed, it will go back to his base and so on... The leader will be notified : 'Ldr Garde'
- Groupe : Attaque Tous/Sélective (Group : Attack All/Selective):
Type a group number and then a class of ennemy ships to attack, or Rc for all.
Rc : All ennemy
1 : M1
2 : M2
3 : M3
4 : M4
5 : M5
6 : M6
7 : All the fighters (M5, M4, M3)
8 : All the big ships (M6, M2, M1)
The leader will be notified : Ldr AtqM1, LdrAtqM2.... Ldr AtqChas or Ldr AtqCap
- Groupe : Liste :
List the details of a group, or of all the groups
Type the group number to display, or '0' for all the groups
For the others commands, the usage seems to be rather obvious...
---------------------------------------------------------------------
**************** Hot-Key *****************
GR : Sélection Groupe 1 (select Group 1)
GR : Sélection Groupe 2 (select Group 2)
GR : Sélection Groupe 3 (select Group 3)
GR : Sélection Groupe 4 (select Group 4)
GR : Sélection Groupe 5 (select Group 5)
GR : Sélection Groupe 6 (select Group 6)
GR : Sélection Groupe 7 (select Group 7)
GR : Sélection Groupe 8 (select Group
GR : Sélection Groupe 9 (select Group 9)
GR : Sélection Groupe 10 (select Group 10)
GR : Attaque Ma Cible (attack my target)
GR : Attaque Tous (attack all)
GR : Retour Base (return to base)
GR : Protège Moi (protect me)
GR : Stop (stop)
GR : Attaque M1 (attack M1)
GR : Attaque M2 (attack M2)
GR : Attaque M3 (attack M3)
GR : Attaque M4 (attack M4)
GR : Attaque M5 (attack M5)
GR : Attaque M6 (attack M6)
GR : Attaque Chasseurs (attack Fighter)
GR : Attaque Capitaux (Attack Big ships)
GR : Attaque et Retour Base (attack and return to base)
You can use the hot key to speed up the group's orders
Nb : your are not obliged to select a group number each time, an order is always send to the last group selected.
----------------------------------------------------------------------------
********** Désinstallation **********
Manually run the script 'azz.gr.desinstal' :
(open editor
select the script with up and down arrows
Type 'r' when you are above
Valid 2 times..)
Save and quit.
Erase the scripts 'setup.azz.gr.xml'
C'est tout...