[REQ] Repair bay for carriers (ship command)
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
-
- Posts: 185
- Joined: Wed, 6. Nov 02, 20:31
[REQ] Repair bay for carriers (ship command)
Hi,
Please could someone create a "repair bay" for carriers (a ship command that once installed on the ship it automatically repairs ships that dock with hull damange.
If isn't asking too much... re-arm the ship with equip/weapons/missiles/ammo as well and without player intervention (AI to deal with micro-managing)
Cheers
Please could someone create a "repair bay" for carriers (a ship command that once installed on the ship it automatically repairs ships that dock with hull damange.
If isn't asking too much... re-arm the ship with equip/weapons/missiles/ammo as well and without player intervention (AI to deal with micro-managing)
Cheers
-
- Posts: 137
- Joined: Thu, 23. Oct 08, 17:06
- Sandalpocalypse
- Posts: 4447
- Joined: Tue, 2. Dec 03, 22:28
mpcribeiro,
You can automate missile and ammunition resupply by going to the weapons menu of any ship and scrolling down. Any time the ship docks at a carrier or factory that produces those goods, it will try to restock.
Weapons and shields are a bit harder, the closest you can come with the vanilla scripts is the "Equip ship like" command i believe.
You can automate missile and ammunition resupply by going to the weapons menu of any ship and scrolling down. Any time the ship docks at a carrier or factory that produces those goods, it will try to restock.
Weapons and shields are a bit harder, the closest you can come with the vanilla scripts is the "Equip ship like" command i believe.
It could be resolved by an old script created for X3R, named "IFTSOS"; if I remember it was created by Apricotslice?
It gave you the chance to install a factory in your HQ, and also in ships as Carriers and TLs. I hope he will port that script in TC, so who wants to repair ships in a Carrier hangar can simply install a SY into it...
And many other applications!
It gave you the chance to install a factory in your HQ, and also in ships as Carriers and TLs. I hope he will port that script in TC, so who wants to repair ships in a Carrier hangar can simply install a SY into it...
And many other applications!
-
- Posts: 168
- Joined: Sun, 25. Nov 07, 22:39
-
- Posts: 168
- Joined: Sun, 25. Nov 07, 22:39
Here's a quick hack to do what you asked (repair docked ships). This is basically the script from XTM made to work on TC.
http://tinyurl.com/5zljkq
The command can be found under "Additional Ship Commands" for all M1 and M7's. Click it, and then dock your damaged ships. They will be repaired for 5,000 credits for each "tick". Check your docked ships panel for progress.
PS This is my first script post, so if I forgot to include something, tell me.
PSS Someone want to tackle the build ships/reverse engineer commands from XTM? After looking at a thousand or so lines of code, I give up.
http://tinyurl.com/5zljkq
The command can be found under "Additional Ship Commands" for all M1 and M7's. Click it, and then dock your damaged ships. They will be repaired for 5,000 credits for each "tick". Check your docked ships panel for progress.
PS This is my first script post, so if I forgot to include something, tell me.
PSS Someone want to tackle the build ships/reverse engineer commands from XTM? After looking at a thousand or so lines of code, I give up.
-
- Posts: 185
- Joined: Wed, 6. Nov 02, 20:31
Excellent it works as worked on XTM, even shows the repair percentage on "landed ships" list. Many thanksjimhsu77479 wrote:Here's a quick hack to do what you asked (repair docked ships). This is basically the script from XTM made to work on TC.
http://tinyurl.com/5zljkq
The command can be found under "Additional Ship Commands" for all M1 and M7's. Click it, and then dock your damaged ships. They will be repaired for 5,000 credits for each "tick". Check your docked ships panel for progress.
PS This is my first script post, so if I forgot to include something, tell me.
PSS Someone want to tackle the build ships/reverse engineer commands from XTM? After looking at a thousand or so lines of code, I give up.