[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, 15: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:
[ external 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, 20:34, edited 5 times in total.

DJ Aitch
Posts: 142
Joined: Fri, 6. Feb 04, 19:57
x4

Post by DJ Aitch » Thu, 5. Feb 09, 17: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, 20: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, 22: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, 07:09, edited 1 time in total.

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

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

nice.. thanks seedee. :)

lastebil
Posts: 294
Joined: Sun, 6. Jan 08, 21:02
x3tc

Post by lastebil » Thu, 12. Feb 09, 01: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: 1399
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by pelador » Thu, 12. Feb 09, 01: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, 07: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: 41
Joined: Tue, 23. Dec 08, 15:07
x3tc

Post by Fallencomrade182 » Sat, 14. Feb 09, 11: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.

I was here to watch Heretic's End fall.

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

Post by seedee » Tue, 17. Feb 09, 10: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: 862
Joined: Sat, 12. Nov 05, 21:53
x4

Post by russbo » Tue, 17. Feb 09, 12: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, 20: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: 862
Joined: Sat, 12. Nov 05, 21:53
x4

Post by russbo » Wed, 18. Feb 09, 04: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: 292
Joined: Tue, 18. Jan 05, 14:07
x4

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, 15: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.

smac1975
Posts: 26
Joined: Tue, 21. Aug 07, 04:31

Post by smac1975 » Tue, 29. Dec 09, 10:00

seedee wrote: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
Hey Seedee, nice work with the homebase script... but this "auto-rename" thing would be a pearl! It's a great idea! Do you plan to develop it?
smac1975

wize5
Posts: 5
Joined: Thu, 11. Feb 10, 00:33
x3ap

Post by wize5 » Sun, 29. Sep 13, 06:18

links are dead

Retiredman
Posts: 795
Joined: Fri, 4. Sep 09, 02:35
x3ap

Post by Retiredman » Fri, 13. Dec 13, 17:16

If anybody has a copy of this script could it be posted to the Xuniverse area??
It made M7 and larger class ships easy to have a homebase.
You think a hero is some weird sandwitch and not a guy attacking a Xeno J with a kestrel.

Sir.. I said .. A guy attacking a J with a kestrel is the sandwitch.

User avatar
DrBullwinkle
Posts: 5715
Joined: Sat, 17. Dec 11, 01:44
x3tc

Post by DrBullwinkle » Fri, 13. Dec 13, 19:43

Retiredman wrote:It made M7 and larger class ships easy to have a homebase.
A workaround is to:
- assign your capital ship to a wing
- set a home base for the wing
- Optional: remove the capital ship from the wing

Retiredman
Posts: 795
Joined: Fri, 4. Sep 09, 02:35
x3ap

Post by Retiredman » Sat, 28. Dec 13, 04:56

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

German Thread has a link to download.

Looks like the English version is also added.

added: Loaded and seems to works...

Can set home from ships and buildings.
in english.
You think a hero is some weird sandwitch and not a guy attacking a Xeno J with a kestrel.

Sir.. I said .. A guy attacking a J with a kestrel is the sandwitch.

Post Reply

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