[SCRIPTING] Tech stealing script

(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #1

I have been trying for days on end to figure this one out but have had no luck. I have been trying to make a script that does the following:

1: checks to see if the player has the targeted ship (which has been captured)
2: docks the targeted ship
3: kills the targeted ship when docked
4: unlocks research to build that ship

Do any of you guys have any ideas on what I can do?

[MOD] Cataclysm Remastered
(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #2

Never mind, I figured it out. I even got it to work now by retiring the ship

1 Like
(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #3

Never mind. It doesn’t work by retiring. I am now just gonna replace the retiring to docking but it won’t kill the ship this time.

(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #4

It works! This function will be included in the Cataclysm Remastered Mod for the Beast.

1 Like
(Taiidan Republic Mod) #5

So if the beast want to build a ship, they need to capture it and then dock it? Makes sense.

(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #6

Yep. However, you dock it with the mothership and the mothership must be set to “stay docked”.

I couldn’t get it to work with Sobgroup_IsDoingAbility(CustomGroup, AB_Retire)==1

(Taiidan Republic Mod) #7

Why was it not possible with retiring? I write have thought you could just order the ship to retire, check if it is docked, if docked, enable the research…

(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #8

I did that but it wouldn’t work. The retire command kills the ship before it completely enters the hangar bay.

I tried this but It wouldn’t work

If Sobgroup_IsDoingAbility(CustomGroup, AB_Retire)==1 then
SobGroup_DockSobGroupAndStayDocked(CustomGroup, "BeastMothership")
(Taiidan Republic Mod) #9

Hmm, maybe you can’t cancel the retire command…

(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #10

I guess not

(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #11

Now I have to start remastering the rest of the ships (Somtaaw ships and subsytems, Beast Mothership and subsystems, and the Cruise Missile). I would greatly appreciate it if I had help.

1 Like
(Hero Crafter 1987 (Homeworld Universal Conquest Mod)) #12

I know a remastered kuun lan exists. I just need to get it.

I found this

Does anyone have a copy of those?