[X3 SCRIPT] Gestion de Groupes v1.60 (27.04.06)

Tout sur les scripts et les mods pour X², X³, X³TC et X³AP.

Moderator: Modérateurs pour les forum Français

User avatar
Azz
Posts: 1031
Joined: Tue, 18. May 04, 20:14
x4

Post by Azz » Fri, 7. Apr 06, 09:46

Version 1.52 sortie


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.... :)
iou naud ouate, aille ama pis | Pilote IA | Site

User avatar
Azz
Posts: 1031
Joined: Tue, 18. May 04, 20:14
x4

Post by Azz » Thu, 27. Apr 06, 20:41

Version 1.60 Sortie



Au menu :

*Rajout des Touches de raccourcis !! Sur une idée de Chrysanthemnion, remerciez le car cela va vous changer la vie :D

*Séparation de la commande Nommer/Afficher en deux commandes séparées pour plus de clarté

*Modif commande Groupe Attaque Tous, en : Groupe Attaque Tous/Sélective :
Maintenant vous pouvez demander à un groupe de se focaliser sur un type d'ennemi : M1,M2,M3,M4,M5,M6, chasseur ou vaisseaux capitaux. Très pratique avec l'utilisation des raccourcis claviers.... :)


*Quand on rajoute ou retire le leader, le leader suivant reprend l'ordre en cours du leader précédent.

*Changement de la fonction Groupe attaque proche en Groupe Attaque et Retour Base : Permet d'assigner un groupe à la garde de l'une de vos stations. En lien avec PiloteIA, si le leader est au moin de grade Officier, il continuera à monter la garde une fois docké à sa base sans intervention de votre part. Marche aussi évidemment si la base est un vaisseau porteur... :)

Important : si vous projetez d'installer gestion de groupe ET PiloteIA 2.63, installez gestion de groupe en dernier...


Voir premier post et lisez soigneusement le readme, plein d'infos dedans etc...

Bon jeu et n'hésitez pas à poster vos rapports de bugs et autres choses.... (plutôt 'autres choses' d'ailleurs si possible) :)
iou naud ouate, aille ama pis | Pilote IA | Site

User avatar
Chrysanthemnion
Posts: 188
Joined: Sun, 19. Mar 06, 16:14
x3

Vous GOC* !

Post by Chrysanthemnion » Fri, 28. Apr 06, 01:22

"Sssplit dit Vous Grand Ordonnateur Cssybernétique ! Vous brillant avenir dans Egosssoft Corporation !! Nous sssouhaitons honorer votre Génie avec ssstatue de Vous dans sssystème mère de Nji !!!
Vous meilleur allier ! GLOIRE A VOUS !"
\/
:split:
... bientôt ça va swinguer dans le 472...

User avatar
SIKY
Posts: 264
Joined: Mon, 5. Apr 04, 15:55
x3tc

Post by SIKY » Sat, 29. Apr 06, 18:33

Dans la série "juste autre chose"

MERCI AZZ :D pour tes scripts et le S.A.V. que tu assure si bien :lol:

Nho
Posts: 180
Joined: Fri, 24. Feb 06, 18:19
x3

Post by Nho » Mon, 1. May 06, 12:15

Excellent script comme d'habitude Azz!

Il y a juste cette commande "attaque tous/selectif" qui pourrait être améliorée il me semble, avec la possibilité de choisir un secteur

User avatar
Azz
Posts: 1031
Joined: Tue, 18. May 04, 20:14
x4

Post by Azz » Mon, 1. May 06, 12:56

Ok, ce doit être possible, je vais voir ça...
iou naud ouate, aille ama pis | Pilote IA | Site

spawned
Posts: 4
Joined: Wed, 22. Feb 06, 19:43
x3

Post by spawned » Fri, 19. May 06, 17:16

probleme pour recuperer le fichier gestion de groupe 1.60

pourriez vous resoudre cela ? Merci

PrizzZ
Posts: 2351
Joined: Sun, 28. Mar 04, 15:56
x3tc

Post by PrizzZ » Fri, 19. May 06, 20:07

Ca marche très bien chez moi.
Réessaye peut-être.

spawned
Posts: 4
Joined: Wed, 22. Feb 06, 19:43
x3

Post by spawned » Sat, 20. May 06, 18:26

en effet , sorry , c est du a la lenteur du serveur

enfin prob reglé

Merci amicalement

User avatar
Cassin
Posts: 791
Joined: Fri, 9. Apr 04, 19:56
x4

Post by Cassin » Sun, 11. Jun 06, 19:50

J'ai remarqué un truc tout à l'heure : je pilote un Centaure et j'ai 4 Nova en escorte qui sont dans le même groupe ; lorsque j'utilise le Moteur de Saut, mes Nova ne sautent pas (ils ont pourtant un Moteur de Saut et la soute pleine de photopiles) et me rejoignent dans le système d'arrivée "à pied"...

Je croyais pourtant que les escorteurs sautaient avec leur cible d'origine dans le jeu ? (ou alors j'ai mal configuré un truc mais ça fait la même chose en les déclarant comme Ailiers ou non)
Si c'est "normal" :D, ça pourrait être une fonctionnalité sympa pour le script de groupe je pense ;)
Au nord, c'était les Borons. La terre, c'était tout au fond. Le ciel, était plein de thons. Les hommes, c'était des poissons.

User avatar
Ethann
Posts: 986
Joined: Fri, 24. Mar 06, 00:34
x4

Post by Ethann » Tue, 13. Jun 06, 03:29

C'est normal, enfin c'est un bug il me semble, et connu, tu a dû utiliser ta touche raccourci (Maj + j) pour ton moteur de saut, et en fesant de cette façon tes ailiers ne te suivent pas, il te faut aller dans le panneau de commande de ton propre vaisseau, puis navigation -> sauter vers le secteur, et là ils te suivront.

User avatar
Cassin
Posts: 791
Joined: Fri, 9. Apr 04, 19:56
x4

Post by Cassin » Tue, 13. Jun 06, 11:12

Ah, OK ;)

En effet j'avais utilisé Shift+J :D



C'est toujours bon à savoir ;)
Au nord, c'était les Borons. La terre, c'était tout au fond. Le ciel, était plein de thons. Les hommes, c'était des poissons.

User avatar
Azz
Posts: 1031
Joined: Tue, 18. May 04, 20:14
x4

Post by Azz » Tue, 13. Jun 06, 13:44

Ouf, je viens d'échapper à une modif.. Merci Ethann :)
iou naud ouate, aille ama pis | Pilote IA | Site

Rampa
Posts: 20
Joined: Tue, 4. Oct 05, 08:32
x3

Post by Rampa » Thu, 17. Aug 06, 11:53

Une petite question me turlupine !

En effet, j'ai tester un peu les groupes hier (je mets les script au compte goutte pour m'y habitué petit à petit :wink: )...

J'ai créé un groupe composé de :
- 1 Centaure
- 1 Dragon
- 3 Nova raider

Et que vois-je ? Que le leader est le Dragon... Est-ce bien normal ?

Dans la logique, le leader à prendre serait plutôt le Centaure qui est le vaisseau le plus lent (afin que le groupe reste en formation) et surtout le vaisseau ayant le plus de bouclier qui "canaliserait" logiquement le mieux les premiers tir d'un ennemi éventuel.

Donc ma question est "comment se fait le choix du leader quand on a plusieur M6 ?"... et du coup n'est-elle pas à changer ?

User avatar
Azz
Posts: 1031
Joined: Tue, 18. May 04, 20:14
x4

Post by Azz » Thu, 17. Aug 06, 12:36

les vaisseaux sont triés par classe, celui qui a la classe la plus élevée est sélectionner comme leader (avec l'exception des TS)
Si plusiseurs vaisseaux ayant la même classe sont éligibles, celui qui a la plus grande compétence en combat est sélectionné, ce quipour l'utilisateur resemble assez a de l'aléatoire, je le reconnais.

Toutefois ne t'inquiète pas pour le vol en formation, le leader d'un groupe prend automatiquement la vitesse du vaisseau le plus lent de son groupe, donc pas de problème de ce côté là..

Maintenant, la gestion de groupe est désormais incluse dans PiloteIA, et dans ce cas, si deux vaisseaux de même classe peuvent être leader, c'est le pilote le plus gradé qui est sélectionné. Il te suffit donc d'installer ton pilote de plus haut grade dans le vaisseau que tu souhaites qui devienne le leader...

Mais pour ça il faut installer piloteIA :wink:
iou naud ouate, aille ama pis | Pilote IA | Site

Rampa
Posts: 20
Joined: Tue, 4. Oct 05, 08:32
x3

Post by Rampa » Thu, 17. Aug 06, 13:02

Azz wrote:Mais pour ça il faut installer piloteIA :wink:
ok merci c'étais déjà fait :wink:

User avatar
Azz
Posts: 1031
Joined: Tue, 18. May 04, 20:14
x4

Post by Azz » Sat, 26. Aug 06, 22:41

Lien remis à jour :)
iou naud ouate, aille ama pis | Pilote IA | Site

User avatar
dauntless
Posts: 189
Joined: Fri, 25. Nov 05, 11:14
x3

Post by dauntless » Thu, 22. Mar 07, 13:21

Hello,

I´m sorry to write in english, but I don´t speak french. I came across this script while searching the forums for a working "Group" Script.
When I look at the screenshot this one looks very promising !
I allready tried to translate the post with an online translator.. without
success. Would it be possible to give me a short description in english
how to use this Script ?

Thank You !

User avatar
peroxyde
Posts: 2230
Joined: Sun, 2. Apr 06, 00:12
x3tc

Post by peroxyde » Fri, 23. Mar 07, 12:57

Hello dauntless, (sorry, my english is not very good too! lol)
Since Azz doesn't have give his answer i'll try to give you one.
This script is very powerfull.
When you assign some ship in a group, a leader is point out. This one is the ship the most powerfull of the group. If there's 2 ship with the same power,
the ship with the higher war competence become the leader.

I will not translate all the topic (lol) and try to tell you how made a group and give it order.
The only one problem for you is all is write in french in-game.
Ok, let's start.
There's different way, and in this way different way again:
- assign a ship type.
- assign a single ship (from your ship menu or targeted ship menu).

Il will do as short as possible.
In your playership's menu,
select "ship"
->"orders" (4th command)
->"custom" (or something like that after navigation, fight, trade and spécial)
-> 1 GR Vaisseau Assigner Groupe
->enter a number between 1 and 98. (0 is for remove a ship from a group)
That's all: your targeted ship is now in it's group.

For mass assign:
-> 2 GR Vaisseau type Assigner Groupe
-> select your ship type (Object Class)
-> select the sector wheres those ships are
-> enter the group number where they will be add.
-> If you have a window with "Ecraser ancien groupe? (O/N)"
O is for overwrite the old group
N is for adding the news ships to the old ships in the group.
-> you will have a message tell you how many ship were added to the group.

Now orders... (in the same menu)
* 6 GR Attaq-Protèg-réappro
=>sending order to a group: attacking or defend this target (depend on the relationships with the target)
-> select the group number
-> select the sector where the target to defend or atack is
-> select the target.

* 7 GR Attaque tous/selectiv
=>sending order to a group: attacking all ennemy or ennemy ship type in the squadron's sector.
-> select the group number
-> select the type of ennemy ship (space for all, 8 for fighter, 9 for capital... press 'i' on the commande for other class)

* 9 GR aller à la position
=>sending order to a group: go to this position
-> select the group number
-> select the sector where the position is
-> select a target.

* GR Stop
For stop all order... lol


There's many, many other things, especially if you use "PiloteIA" where "gestion de groupe" is like a sub-script, but i couldn't explain more.

Hoppe I help you a little.
[ external image ]
"On apprend en faisant des erreurs, mais le problème c'est qu'en explosifs, l'erreur est fatale." Aldébaran v10
[ external image ]<-- Clef Des Toilettes Privées Du Forum Français décernée par Thoto le 23/06/07

User avatar
Azz
Posts: 1031
Joined: Tue, 18. May 04, 20:14
x4

Post by Azz » Fri, 23. Mar 07, 18:39

Thanks to Peroxyde :D

OK, let me try, but I must inform you that my english is not very good too.... :D

And I have to say that this script forms now a part of the script piloteIA :
http://forum.egosoft.com/viewtopic.php?t=129059
wich is a lot of more advanced, with very many new functions, and so I didn't intend to develop 'Gestion de groupe' any more.

PiloteIA will be translated soon, but this will take some time...


so the readme :
===================
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 8)
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...
good luck :)
iou naud ouate, aille ama pis | Pilote IA | Site

Post Reply

Return to “Script et Modding pour la Trilogie X”