[script] massive set home base

The place to discuss scripting and game modifications for X³: Terran Conflict and X³: Albion Prelude.

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

seedee
Posts: 78
Joined: Sat, 16. Sep 06, 05:38
x4

[script] massive set home base

Post by seedee » Thu, 5. Feb 09, 16:32

Greetings,
this is set.home.base

DESCRIPTION
Ever been bored assigning 60 fighters to a carrier ?
This script might help !
It allows you to set the home of a lot of ships in one go : just dock the ships on their new home, and launch the script / command on the home.
It can be either a ship / carrier or even a station.

REGULAR COMMAND MENU VERSION
USAGE
for a carrier :
dock your fighters (or wathever you can dock on to it) on the carrier,
go to the additionnal ships command of the carrier
launch "set home to docked ships" command

for a station :
dock your ships on the station,
go to the additionnal ships command of the station
launch "set home to docked ships" command


TECHNIQUE
languages :
33 - french
44 - english
T file used :
t id=7904
command slots used :
<t id="1157">COMMAND_ASSIGN_BASE_STATION</t>
<t id="1254">COMMAND_ASSIGN_BASE_CARRIER</t>

DOWNLOAD
SPK version on megaupload
ZIP version on megaupload
filefront hosted SPK version

Additional download link from xdownloads:
Image

COMMANDLESS VERSION / SCRIPT EDITOR ACCESS ONLY

TECHNIQUE
This version is intended for those who don't wan't script conflicts : it uses no T file and no command slots at all, it's just a small script that you need to run through script editor.

USAGE
dock all ships you wanna assign to the carrier or the station (player one's only !)
go to script list,
find a.set.homebase
press r, return on the first option, then select "choose ship or station" and find your carrier / station

DOWNLOAD
megaupload link

INSTALLATION
just copy the .xml in your X3:TC /scripts/ folder


Hope it will be usefull,
Seedz

edit 17/02/09
seems MU corrupted the Spk file preventing it from being installed,
uploaded a new hope hoping it won't get bad again.
edit late 17/02/09
added filefront host solution for spk file


Edit [2nd Dec 2015]: added alternative download link from xdownloads. X2-Illuminatus
Last edited by seedee on Tue, 17. Feb 09, 21:34, edited 5 times in total.

DJ Aitch
Posts: 140
Joined: Fri, 6. Feb 04, 20:57
x4

Post by DJ Aitch » Thu, 5. Feb 09, 18:54

This can be done at the moment in one go as long as all the ships you want to assign are part of a wing.

However I can see your script being more useful so thanks, going to give it a go tonight.

seedee
Posts: 78
Joined: Sat, 16. Sep 06, 05:38
x4

Post by seedee » Thu, 5. Feb 09, 21:04

DJ Aitch wrote:This can be done at the moment in one go as long as all the ships you want to assign are part of a wing.
I know, but sometimes, you just wanna assign that freighter fleet to your station, or wanna assign a bunch of fighters to that M7 who's destiny is only to patrol some random sectors quickly :)
DJ Aitch wrote:However I can see your script being more useful so thanks, going to give it a go tonight.
Thanks, hope it will help

Seedz

seedee
Posts: 78
Joined: Sat, 16. Sep 06, 05:38
x4

Post by seedee » Sat, 7. Feb 09, 23:04

nobody else finding this script useful ?

thinking about automatic renaming sequence, maybe
"[base] - [ship class] [ship type] [ship ID]"
ie
"my fav M1 - M3 mamba NV-93"
"my fav M1 - M3 mamba YU-45"
"my fav M1 - M4 asp HU-54"
"my fav M1 - M4 asp HU-55"

or "[base] - [ship class] [ship type] [number]"
ie
"my fav M1 - M3 mamba 1"
"my fav M1 - M3 mamba 2"
"my fav M1 - M4 asp 1"
"my fav M1 - M4 asp 2"


for traders assigned to some factory, i got the idea of something like that :
"base - [ware traded] [selling or buying] [ship ID or number]"
ie "my complex - PAC sell YV-43"
or "my complex - CAG YV-43" for those who have Lucike's CAG

but i've got a problem here : can't find how to get what ware a trader is actually ... trading :/
to get the job he's doing i see how to do so (finding what command he's running) but for the ware.. still no clue.
I might use some input here.


Any comments / ideas appreciated

PS : yes i already know about Ship Names Manager script, but, i don't like how it actually manages to rename ships, also dislikes the fact that renamed ships kinda bug (if it gets destroyed, you'll get a blank message in your log)


EDIT : idea "en pause", might not go that path, there's a lot of auto renaming scripts yet
Last edited by seedee on Sat, 14. Feb 09, 08:09, edited 1 time in total.

knud0139
Posts: 11
Joined: Fri, 11. Jun 04, 20:28
x3tc

Post by knud0139 » Wed, 11. Feb 09, 18:48

nice.. thanks seedee. :)

lastebil
Posts: 291
Joined: Sun, 6. Jan 08, 22:02
x3tc

Post by lastebil » Thu, 12. Feb 09, 02:28

A very simple and therefor imo brilliant solution :).

I saw that cycrow mentioned in one of his posts something about having his scripts signed. I think that means that you can install them, without getting a modified tag to your game. If the script is simple, and does not destroy game balance, it can be signed afaik. This script seems to me like a perfect candidate for that.

pelador
Posts: 1230
Joined: Wed, 6. Nov 02, 21:31
x3tc

Post by pelador » Thu, 12. Feb 09, 02:34

Would be a useful addition.

I havent tried it so can't know for sure but I'm assuming from the details it will only work with your property.

Any chance it can be applied to NPC stations or is this a "no no" in the use of the home settings useage?

And also as a sidepoint, if possible, to have an extra command of "Jump and fly to home" like the return home command? I realise that autojump probably caters for this but just thinking it would be nice for options.

seedee
Posts: 78
Joined: Sat, 16. Sep 06, 05:38
x4

Post by seedee » Sat, 14. Feb 09, 08:08

@lastebil
i'll see about that, but i think the script lack of some other thing

@pelador
yes, it's just working for your own properties, still, don't really see the point about setting home on an other factory than yours (maybe helping terran factories a bit to get some weapons ?)

i'm not sure if it can be done : afaik you can set home on whatever thing you want by scripting, but i don't remember seeing command menu on NPC stations :p

as for "jump to home" command, i'll see about that, but i can't promise anything yet, i'm really a noob about scripting :p (it's my first release !)
but i can somewhat manage to improve the existing command by adding a basic "return home" to all possessions => ships with auto jump will jump i think :)

greetings
Seedz

Fallencomrade182
Posts: 40
Joined: Tue, 23. Dec 08, 16:07
x3tc

Post by Fallencomrade182 » Sat, 14. Feb 09, 12:04

I absolutely love the Idea of this mod, however it wont work for me, I extracted all the right files to the right locations and I see the command in additional ship commands but when I enter it nothing happens at all :( Would have been a really handy thing to have, seeing as my fleet has grown to more then 300 and Id like some place to put em all :P
A black cat crossing the road signifies that an animal is going somewhere.

"Asteroids are the smallest natural objects in free space. They can be found anywhere in the.." man, I really hate scanning -.-

seedee
Posts: 78
Joined: Sat, 16. Sep 06, 05:38
x4

Post by seedee » Tue, 17. Feb 09, 11:07

soory been busy with girlfriend since she's a Valentine's Day aholic :p

@fallencomrade182
could you tell me exatly what "pack" did you get, when does it happen, on what (station / ship ?), if ships are actually docked to the thing you execute the command, and what language are you playing in ?

edit : "return home" command done, will post it in a brand new post as no everyone might want the two of them.

Greetings,
Seedz

russbo
Posts: 855
Joined: Sat, 12. Nov 05, 22:53
x4

Post by russbo » Tue, 17. Feb 09, 13:33

Would it be possible to use a file download service that works?

I'd like to try this script out.

seedee
Posts: 78
Joined: Sat, 16. Sep 06, 05:38
x4

Post by seedee » Tue, 17. Feb 09, 21:28

if you mean other than rapidshare / megaupload / "put free file hosting with ip and dl checks", i fear i can't : don't have access to a web server to host files.

maybe there's some that aren't that restrictive, but i doesn't know about file hosting that much, so if you got a host to suggest, i'd appreciate it.

greetings,
Seedz

edit :
digged a little around and found filefront "again", forgot about that host, sorry :)

russbo
Posts: 855
Joined: Sat, 12. Nov 05, 22:53
x4

Post by russbo » Wed, 18. Feb 09, 05:56

Thanks Seedee, appreciate it. Your scripts work well, and they really fill a void with these "missing" carrier commands. Now if you can recreate and improve what Anarkis did with his carrier commands from Reunion, that would be awesome. You're halfway there...

Jar B
Posts: 264
Joined: Tue, 18. Jan 05, 15:07
x3tc

Post by Jar B » Sun, 26. Apr 09, 12:29

seedee wrote:nobody else finding this script useful ?
Very much but for my part, I'm playing vanilla ATM. Will you submit a signing request?
seedee wrote:thinking about automatic renaming sequence
...
EDIT : idea "en pause", might not go that path, there's a lot of auto renaming scripts yet
Think so, too. This is somewhat unrelated to the original problem.

Spikyrob
Posts: 7
Joined: Sat, 16. Dec 06, 16:18
x3tc

Post by Spikyrob » Wed, 15. Jul 09, 19:17

I think it's a great script man but i dont have TC atm. Im pretty sure ill be using this script when i do own TC tho.

Many a time ive had ships in my carriers that arent set to a home and i either get bored assigning them all or i just forget about it in the first place.

Post Reply

Return to “X³: Terran Conflict / Albion Prelude - Scripts and Modding”