May 13, 2024, 20:20:46

Author Topic: Ships Death  (Read 8064 times)

Offline Dark-Zero

  • Crewman
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
    • http://
Ships Death
« on: May 15, 2009, 20:34:14 »
The ships susually goes on Evac and thus unusable. I know how to change the ammount of health left befor it does Evac, but i want to know
How do we make the ship goes into its explosion phase as soon as the ship goes Evac (more to say skip evac, go directly boom)

Offline The Old Dragon

  • Ensign
  • ***
  • Posts: 362
  • Karma: 6
    • View Profile
    • http://
(No subject)
« Reply #1 on: May 15, 2009, 23:05:20 »
TacticsTypes.ini file.
Each ship class has a 'FinalTime' which states how long a ship will spend floating/spinning/exploding and generally dieing before it's big explosion.
Better to look the fool by asking, then prove them right with ignorance.

Offline Dark-Zero

  • Crewman
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
    • http://
(No subject)
« Reply #2 on: May 16, 2009, 02:30:14 »
Ok maybe i shoudl rephrase,(readingmit myself and i dont get it XD)
i know how to change how much time it will take with little exlosions befor the grand boom

but what i want to do is

Instead of going Evac first, It goes into the explosion phases (Check the Mission HWere You go up agasitn MEcha at earth, lots of ship there, notice none of them goes in evac, they just explode after the 40% health left)

Offline The Old Dragon

  • Ensign
  • ***
  • Posts: 362
  • Karma: 6
    • View Profile
    • http://
(No subject)
« Reply #3 on: May 16, 2009, 10:46:25 »
Ahh, I think that those ships have had their escape pods disabled in the mission script, here's the entry from the mod manual about it...

Quote
EnableEvacBoats(ship, enab);
It enables/disables the little ships to fly out at the time of evacuation. Caution! If it is disabled, then the ship’s squadrons won’t try to escape, in other words, they will be lost.


Hopefully that'll be more helpfull.
Better to look the fool by asking, then prove them right with ignorance.

Offline Dark-Zero

  • Crewman
  • *
  • Posts: 26
  • Karma: 0
    • View Profile
    • http://
(No subject)
« Reply #4 on: May 16, 2009, 21:18:12 »
i dont want to get rid of the escape pods, i want the ship explode when it reach its 40%, without needing to entirly blow the ship down

Offline Mularac

  • Lieutenant
  • ***
  • Posts: 531
  • Karma: 11
    • View Profile
(No subject)
« Reply #5 on: May 16, 2009, 21:53:19 »
it's quite easy, actually.
just add this piece of coding somewhere on the mission:

Rule event Fataldamaged
:action
Terminate(E.ship);
:end
END

I think that should do it.