Page 1 of 1

Mod Question- Hull Integrity

Posted: Wed Jun 19, 2013 7:09 am
by 4bbhor3en
Been working on a ship I plan on posting soon, and I was wondering if it'd be possible to have it start out with a damaged hull. Using Superluminal, I change the starting value (total?) for the hull to be below 35, and the bar is actually entirely yellow or red, yet still "full". Perhaps I'd have to delve into some text files directly?

Re: Mod Question- Hull Integrity

Posted: Wed Jun 19, 2013 7:14 am
by Metzelmax
Thats not possible.

You can only change the starting event so that any ship you play gets damaged at the start. (adding <damage>10<damage> to a event does 10 damage.

Re: Mod Question- Hull Integrity

Posted: Wed Jun 19, 2013 12:05 pm
by Vhati
What about a starting event that conditionally damages any ship with a specific augment?

Then put a custom augment on the ship.

Re: Mod Question- Hull Integrity

Posted: Sat Jun 22, 2013 4:53 am
by Twinge
Vhati wrote:What about a starting event that conditionally damages any ship with a specific augment?
AFAIK there's no way to force that, but you could add blue options that let the player voluntarily injure themselves.

Re: Mod Question- Hull Integrity

Posted: Sat Jun 22, 2013 9:22 am
by kartoFlane
Actually, I have been fiddling with a ship mod of mine several days ago, and I created the following event:

Code: Select all

<event name="START_BEACON">
	<text></text>
    <choice req="FLANE_AC_SELLTECH" hidden="true">
		<text>Continue...</text>
		<event>
			<crewMember amount="1" class="human">Neras</crewMember>
		</event>
    </choice>
</event>
In events.xml.append form. The hint and everything else still appeared, and there was still only one option to choose ("Continue...") -- although, admittedly, it was blue. However, it only worked that way for my ship that had the specified augment - for other ships, the option was the usual white, and did not add a new crew member.

So you could just replace the crewMember tag by this:

Code: Select all

<damage amount="-10"/>
And it should work the way the OP is asking for.