Homeworld Remastered Collection

Homeworld Remastered Collection

Star Trek: Chronicles - 2380
Shield down/offline
Is there a way to re-engage shields that is disabled on a active ship that isn't KIA?
< >
Showing 1-1 of 1 comments
Nathanius  [developer] Feb 9, 2023 @ 3:03am 
The shield script raises the shields again on its own

--handle when the shields are down and waiting to come back up if shieldHP <= 0 then tShip.iShieldTimer = tShip.iShieldTimer - 1 if tShip.iShieldTimer <= 0 then -- shields up! They will randomly restore at 10% to 60% of capacity tShip.fShieldHealth = SHIELD_GetRandomValue(shipID)/100 --apply the shield restoration boost from XP rank if SETTING_ExperienceEnabled == 1 then tShip.fShieldHealth = tShip.fShieldHealth + tShip.fShieldRestoreBoost if tShip.fShieldHealth > 1 then tShip.fShieldHealth = 1 end end tShip.fShipHealth = shipHP -- make a note of the current ship health so we don't jump it back to 100% SobGroup_SetMadState(CustomGroup, "HyperspaceGateActivate") SHIELD_RefreshShipATI(tShip) --print(">> SHIELDS >> | " .. CustomGroup .. "(" .. shipID .. ") (" .. tShip.sShipFamily .. ") (rank " .. tShip.iRank .. ") has restored shield to "..tShip.fShieldHealth) end --skip the rest of the function return end
< >
Showing 1-1 of 1 comments
Per page: 1530 50