Page 71 of 127

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Fri Sep 04, 2015 10:19 am
by Shrooblord
Hi there,

I would like to know if the tiles that are used to render in-game spaceship floors are any of the images found in the resource.dat's img folder. I've been scouring through the resource tree and can't seem to find it anywhere.

Or is it that the game draws these tiles at runtime from a basic white fill layer and a sort of greyish tile border?

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Fri Sep 04, 2015 12:00 pm
by kartoFlane
@Shroob
The latter.

@stylersj
I would imagine they would keep bombarding you as normal in a post-combat scenario... Since with AE came the ability to quit the game in the middle of combat / danger zone, I assume the devs have tested this somewhat thoroughly.
Haven't tried it, though.

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Mon Sep 07, 2015 2:50 pm
by Chrono Vortex
The drone blueprints that the rebel flagship uses in it's second phase are the same ones that can be bought in stores, right? And which weapon blueprint does it use for it's third stage power, is it just the heavy laser?

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Mon Sep 07, 2015 2:57 pm
by RAD-82
Chrono Vortex wrote:And which weapon blueprint does it use for it's third stage power, is it just the heavy laser?
I don't know if there is a blueprint for that. The only weapon I see that matches the projectile graphic and damage of the lasers is ARTILLERY_BOSS_1. You would have to try messing with that to see if it makes any difference.

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Thu Sep 10, 2015 11:19 am
by FederationScumX1999
I've been at this for hours now and I can't seem to fix it no matter how many alterations I do. I'm essentially trying to do a fairly branching decision tree for my first event, and it seems to work out well enough until it is supposed to load the "PEACE" event after the "GUILT" event. It never loads the PEACE event regardless of its parsing, so I'm at a total loss atm. Keep in mind that I'm still editing the whole code overall, but this particular stumbling block is stopping the whole thing dead in its tracks right now. Any help would be appreciated.

Code: Select all

<event name="LANIUS_DESERTERS" unique="false">
	<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="false"/>
	<text>You arrive within a quiet area of space, but sensors soon detect a rare sight: a Lanius destroyer! Fortunately, it is not accompanied by any other ships and appears to be unaware of your presence. Barely translated chatter indicates that members of the crew are upset about something, but you cannot understand what precisely.</text>
	<choice>
		<text>Contact the ship</text>
		<event load="HEATED_DISCUSSION_1"/>
	</choice>
	<choice>
		<text>Leave</text>
		<event>
			<text>The last thing you want is a misunderstanding to set the warship upon you. However, as you pilot away, the destroyer suddenly self-destructs. The explosion scatters debris far and wide. As you sweep in to collect what scrap you can find, you cannot help but wonder what led the Lanius to commit to their fate.</text>
			<autoReward level="LOW">standard</autoReward>
		</event>
	</choice>
	<choice>
		<text>Attack the ship</text>
		<event>
			<text>You move in, weapons charging, and this gets the attention of the destroyer. Within moments, you are hailed by its captain who, in a panic, nearly shouts in translated hysterics "Stop! We mean no harm! Cease, please!"</text>
				<choice>
					<text>Continue...</text>
					<event load="HEATED_DISCUSSION_2"/>
				</choice>
		</event>
	</choice>
</event>

<event name="HEATED_DISCUSSION_1" unique="false">
	<text>The Lanius ship's captain responds to your hails promptly. Even to your untrained eye regarding Lanius expression, you can see a deep worry resonating in her. She gives a basic explanation in your language "I give a warning: Leave. There is much unrest...anything could happen." You notice Lanius crewmen wielding firearms and screeching at one another in the background. Tensions appear to be high amongst the crew.</text>
	<choice>
		<text>Do as she says and leave.</text>
		<event>
			<text>You decide to respect the captain's warning and close the channel. However, as you pilot the ship away, the destroyer suddenly self-destructs and the explosion scatters debris far and wide. Your crew is stunned by the turn of events. You order a sweep of the area for any scrap that can be found, but cannot help but wonder why the Lanius committed to their fate.</text>
			<autoReward level="LOW">standard</autoReward>
		</event>
	</choice>
	<choice>
		<text>Get involved. Find out what's happening.</text>
		<event load="GUILT"/>
	</choice>
</event>
	
<event name="HEATED_DISCUSSION_2" unique="false">
	<text>You notice Lanius crewmen wielding firearms and screeching at one another in the background. Tensions appear to be high amongst the crew.</text>
		<choice>
			<text>Attack the ship anyway</text>
			<event load="UNFORTUNATE"/>
		</choice>
		<choice>
			<text>Get involved. Find out what's happening.</text>
			<event load="GUILT"/>
		</choice>
</event>

<event name="UNFORTUNATE" unique="false">
	<text>Despite repeated pleas, you contiune on an attack vector. Before the channel is cut however, you witness the Lanius captain murdered in cold blood by a subordinate who screeches a barely comprehensible "All a mistake! Weakling...worthless!" before signing off to presumably take command and engage you in combat. Prepare yourself.</text>
		<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="true"/>
</event>

<event name="GUILT" unqiue="false">
	<text>You insist on resolving the issue at hand, but the captain is hesistant. She appears to be unsure of your motivations, but opens up eventually "Ship was in fleet action against human colony. Inhabitants were killed, around many thousands, for sake of harvest. There are...disagreements." You easily concur that the crew is divided on this act of genocide.</text>
		<choice>
			<text>Continue...</text>
			<event>
				<text>While focused, you are surprised as the captain is pulled aside by two crewmen as a higher-ranking subordinate takes the helm. He directly states in your language "Human ship...here for revenge. I knew it." His gesturing is twitchy, appearing on the verge of drastic action. He continues "No end to this. We must go back. We cannot remedy peace."</text>
						<choice>
							<text>Continue...</text>	
							<event load="PEACE"/>
						</choice>
			</event>
		</choice>
</event>

<event name="PEACE" unique="false">
	<text>The Lanius subordinate engages the destroyer's battle systems, but, before fire can be exchanged, another crewman bursts onto the bridge screeching in an untranslatable dialect. The subordinate and his allies are frozen in shock. On demand, an update from your helmsman reveals a power overflow in progress within the destroyer's reactor: the ship will be destroyed within moments if nothing is done.</text>
		<choice hidden="true" req="anaerobic">
			<text>Let your Lanius crewman talk to them</text>
			<event>
				<text>Your Lanius crewman steps in to reason with the destroyer's crew. It states, with much romanticism, that peace can be forged between their species and the Federation, and that the crew can be forgiven in due time. Seeing your crewman as proof of these statements, tensions cool quickly as the captain gives an order to the new arrival to prevent disaster. A minute later, your helmsman reports that the destroyer's reactor is stabilizing.</text>
				<text>After a moment of reconcilation, the captain chimes in to thank you. Informing her of your mission, she nods and states "I will relieve two of my own to join you." Once goodbyes have been exchanged, two Lanius crewmen beam in with gifted materials and you welcome them aboard.</text>
					<crewMember amount="1" class="anaerobic">Adell</crewMember>
					<crewMember amount="1" class="anaerobic">Lelouch</crewMember>
					<autoReward level="HIGH">standard</autoReward>
			</event>
		</choice>
		<choice hidden="true" req="energy">
			<text>Let your Zoltan crewman talk to them</text>
			<event>
				<text>Your Zoltan crewman gets straight to work in negotiations. It explains one of the ancient proverbs of Zoltan law: justice can absolve. While their actions were wrong, a righteous intent can allow them to redeem themselves and pave a good example of their species to other members of the Federation. The alternatives of battle or suicide would solve nothing; it would only complicate current relations.</text>
				<text>Presented with this logic, the Lanius crew stand down. The captain, now released, gives an order to the new arrival to prevent disaster. A minute later, your helmsman reports that the destroyer's reactor is stabilizing.</text>
				<text>After a moment of reconcilation, the captain chimes in to thank you. Informing her of your mission, she nods and states "I will relieve two of my own to join you." Once goodbyes have been exchanged, two Lanius crewmen beam in with gifted materials and you welcome them aboard.</text>
					<crewMember amount="1" class="anaerobic">Adell</crewMember>
					<crewMember amount="1" class="anaerobic">Lelouch</crewMember>
					<autoReward level="HIGH">standard</autoReward>
			</event>
		</choice>
		<choice hidden="true" req="teleporter" lvl="1">
			<text>(Teleporter) Rescue the captain</text>
			<event>
				<text>You send a boarding party of one to quickly incapcitate the mutinous Lanius crew and return with the captain. While successful in the former with the use of flashbangs, the teleporter takes a few seconds too long to recharge and you can only watch in horror as the ship explodes with your crewman on board. The explosion scatters debris far and wide. Weakly, you give the order to sweep the area for any salvagable scrap, while your crew mourns the loss of their comrade.</text>
					<crewMember amount="-1"/>
					<autoReward level="LOW">standard</autoReward>
			</event>
		</choice>
		<choice hidden="true" req="teleporter" lvl="2">
			<text>(Improved Teleporter) Rescue the captain</text>
			<event>
				<text>You send a boarding party of one to quickly incapcitate the mutinous Lanius crew and return with the captain. Using flashbangs, the operation is a success and, with only seconds to spare, your crewman and the captain beam back onto your ship before the destroyer explodes.</text>
				<text>While your ship sweeps the area for any spare scrap, the Lanius captain mournfully asks herself "Why?" After a moment of silence, she offers to join your crew, seeing it as her only option now.</text>
					<autoReward level="LOW">standard</autoReward>
					<crewMember amount="1" class="anaerobic">Yin</crewMember>
			</event>
		</choice>
		<choice hidden="true" req="hacking" lvl="2">
			<text>(Improved Hacking) Reverse the power overflow</text>
			<event>
				<text>A hacking module is deployed whereupon it attaches itself to the destroyer's central hull. The system succesfully overrides the security protocols dictating the power overflow and prevents the ship's destruction.</text>
				<text>Realizing that his captain no longer has leverage to threaten him with, the subordinate re-engages the battle systems. You are sure he is ready to give the order for her execution. You have seconds to act.</text>
			</event>
		</choice>
			<choice>
				<text>Damn...</text>
				<event>
					<text>With no other options, you are unable to save the captain as she is executed with a headshot right before your eyes. The channel is then cut and the destroyer bears down upon you. Get ready.</text> 
						<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="true"/>
				</event>
			</choice>
			<choice hidden="true" req="mind" lvl="1">
				<text>(Mind Control) Brainwash him to stand down</text>
				<event>
					<text>Under new suggestions, the subordinate once again disengages the battle systems and orders the release of the captain. However, the effect soon wears off and, gaining his bearings, angrily kills the captain himself. His allies move off to engage the rest of the crew. The channel is cut and the destroyer soon roars to life, weapons hot. Prepare yourself.</text>
						<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="true"/>
				</event>
			</choice>
			<choice hidden="true" req="mind" lvl="2">
				<text>(Improved Mind Control) Brainwash him to stand down</text>
				<event>
					<text>Under powerful new suggestions, the subordinate once again disengages the battle systems and orders the release of the captain. The effect lasts long enough for a quick transfer of the captain out of an airlock in the general direction of your ship before he gains his bearings. Angrily, he cuts the channel and the destroyer soon roars to life, weapons hot. Prepare yourself.</text>
						<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="true"/>
						<crewMember amount="1" class="anaerobic">Yin</crewMember>
			</choice>
				</event>
		
		<choice hidden="true" req="engi">
			<text>Allow your Engi to remotely access their systems</text>
			<event>
				<text>Your Engi crewman is able to hack into and override the security protocols dictating the power overflow, preventing the ship's destruction. Additionally, it also sabotages their reactor and locks out the controls to prevent its reversal.</text>
				<text>Realizing that his captain no longer has leverage to threaten him with, the subordinate re-engages the battle systems. You are sure he is ready to give the order for her execution. You have seconds to act.</text>
			</event>
		</choice>
			<choice hidden="true" req="mind" lvl="1">
				<text>(Mind Control) Brainwash him to stand down</text>
				<event>
					<text>Under new suggestions, the subordinate once again disengages the battle systems and orders the release of the captain. However, the effect soon wears off and, gaining his bearings, angrily kills the captain himself. His allies move off to engage the rest of the crew. The channel is cut and the destroyer soon roars to life, weapons hot. Prepare yourself.</text>
					<text>The Engi's sabotage has drastically reduced the destroyer's power output. This should give you a tactical advantage.</text>
						<ship load="ANAEROBIC_DESTROYER_DESERTER_WEAK" hostile="true"/>
				</event>
			</choice>
			<choice hidden="true" req="mind" lvl="2">
				<text>(Improved Mind Control) Brainwash him to stand down</text>
				<event>
					<text>Under powerful new suggestions, the subordinate once again disengages the battle systems and orders the release of the captain. The effect lasts long enough for a quick transfer of the captain out of an airlock in the general direction of your ship before he gains his bearings. Angrily, he cuts the channel and the destroyer soon roars to life, weapons hot. Prepare yourself.</text>
					<text>The Engi's sabotage has drastically reduced the destroyer's power output. This should give you a tactical advantage.</text>
						<ship load="ANAEROBIC_DESTROYER_DESERTER_WEAK" hostile="true"/>
						<crewMember amount="1" class="anaerobic">Yin</crewMember>
				</event>
			</choice>

		<choice>
			<text>Offer leniency</text>
			<event load="LENIENCY"/>
		</choice>

		<choice>
			<text>Leave them for dead</text>
		</choice>
			<event>
				<text>You order the helmsman to punch it and get out of range before the ship explodes. Unable or unwilling to give chase, the Lanius crew visibly resign themselves to their fate, with the subordinate pitifully asking "Why?" The channel is abruptly cut as the ship explodes, sending debris flying far and wide. You order a sweep of the area to gather any usable scrap, content that you minimized risk to your ship and crew.</text>
					<autoReward level="LOW">standard</autoReward>
			</event>
</event>

<eventList name="LENIENCY">
	<event>
		<text>You offer to save the crew, regardless of their actions. The subordinate decides to believe in you and, en masse, the destroyer's crew leaps from an airlock in the direction of your ship. You are able to secure them in the nick of time as their ship explodes. They agree to be dropped off at a station, with the exception of the captain, who offers to join your crew. "I will forge peace this way."</text>
			<crewMember amount="1" class="anaerobic">Yin</crewMember>
				</event>
			<autoReward level="LOW">standard</autoReward>
	</event>
	<event>
		<text>You offer to save the crew, regardless of their actions. The subordinate decides to believe in you and, en masse, the destroyer's crew leaps from an airlock in the direction of your ship. You are able to secure them in the nick of time as their ship explodes. They agree to be dropped off at a station, with the exception of the subordinate, who offers to join your crew. "I have much to absolve."</text>
			<crewMember amount="1" class="anaerobic">Cage</crewMember>
			<autoReward level="LOW">standard</autoReward>
	</event>
	<event>
		<text>You offer to save the crew, regardless of their actions. However, the subordinate denies you, unwilling to trust humans "out for blood." He cuts the channel and you watch in solemn silence as the ship explodes with all hands. You order a sweep of the area for spare scrap and prepare to move on, having done what you could.</text>
			<autoReward level="LOW">standard</autoReward>
	</event>
	<event>
		<text>You offer to save the crew, regardless of their actions. However, before a response can be made, the ship suffers an unexpected, violent acceleration of its power overflow. The resulting explosion completely vaporizes the ship, hurdling molten debris in all directions. Your ship takes a hit from a piece of slag. Unfortunately, there is no usable scrap to be found, leaving you to charge the FTL drive with nothing gained.</text>
	</event>
	<event>
		<text>You offer to save the crew, regardless of their actions. Before the subordinate can respond, he is shot dead by the new arrival who, in a state of blind hysteria, continues firing. The channel is cut by a stray shot to their helm, leaving you with no choice but to pull back. The ship explodes with all hands, and you simply order retrival of any scrap.</text>
			<autoReward level="LOW">standard</autoReward>
	</event>
</eventList>

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Thu Sep 10, 2015 1:55 pm
by kartoFlane
You really need to work on your indentation skills, this was very difficult to read, no wonder you made some mistakes...

Cleaned up:

Code: Select all

<event name="LANIUS_DESERTERS" unique="false">
	<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="false"/>
	<text>You arrive within a quiet area of space, but sensors soon detect a rare sight: a Lanius destroyer! Fortunately, it is not accompanied by any other ships and appears to be unaware of your presence. Barely translated chatter indicates that members of the crew are upset about something, but you cannot understand what precisely.</text>
	<choice>
		<text>Contact the ship</text>
		<event load="HEATED_DISCUSSION_1"/>
	</choice>
	<choice>
		<text>Leave</text>
		<event>
			<text>The last thing you want is a misunderstanding to set the warship upon you. However, as you pilot away, the destroyer suddenly self-destructs. The explosion scatters debris far and wide. As you sweep in to collect what scrap you can find, you cannot help but wonder what led the Lanius to commit to their fate.</text>
			<autoReward level="LOW">standard</autoReward>
		</event>
	</choice>
	<choice>
		<text>Attack the ship</text>
		<event>
			<text>You move in, weapons charging, and this gets the attention of the destroyer. Within moments, you are hailed by its captain who, in a panic, nearly shouts in translated hysterics "Stop! We mean no harm! Cease, please!"</text>
			<choice>
				<text>Continue...</text>
				<event load="HEATED_DISCUSSION_2"/>
			</choice>
		</event>
	</choice>
</event>

<event name="HEATED_DISCUSSION_1" unique="false">
	<text>The Lanius ship's captain responds to your hails promptly. Even to your untrained eye regarding Lanius expression, you can see a deep worry resonating in her. She gives a basic explanation in your language "I give a warning: Leave. There is much unrest...anything could happen." You notice Lanius crewmen wielding firearms and screeching at one another in the background. Tensions appear to be high amongst the crew.</text>
	<choice>
		<text>Do as she says and leave.</text>
		<event>
			<text>You decide to respect the captain's warning and close the channel. However, as you pilot the ship away, the destroyer suddenly self-destructs and the explosion scatters debris far and wide. Your crew is stunned by the turn of events. You order a sweep of the area for any scrap that can be found, but cannot help but wonder why the Lanius committed to their fate.</text>
			<autoReward level="LOW">standard</autoReward>
		</event>
	</choice>
	<choice>
		<text>Get involved. Find out what's happening.</text>
		<event load="GUILT"/>
	</choice>
</event>
	
<event name="HEATED_DISCUSSION_2" unique="false">
	<text>You notice Lanius crewmen wielding firearms and screeching at one another in the background. Tensions appear to be high amongst the crew.</text>
	<choice>
		<text>Attack the ship anyway</text>
		<event load="UNFORTUNATE"/>
	</choice>
	<choice>
		<text>Get involved. Find out what's happening.</text>
		<event load="GUILT"/>
	</choice>
</event>

<event name="UNFORTUNATE" unique="false">
	<text>Despite repeated pleas, you contiune on an attack vector. Before the channel is cut however, you witness the Lanius captain murdered in cold blood by a subordinate who screeches a barely comprehensible "All a mistake! Weakling...worthless!" before signing off to presumably take command and engage you in combat. Prepare yourself.</text>
	<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="true"/>
</event>

<event name="GUILT" unqiue="false">
	<text>You insist on resolving the issue at hand, but the captain is hesistant. She appears to be unsure of your motivations, but opens up eventually "Ship was in fleet action against human colony. Inhabitants were killed, around many thousands, for sake of harvest. There are...disagreements." You easily concur that the crew is divided on this act of genocide.</text>
	<choice>
		<text>Continue...</text>
		<event>
			<text>While focused, you are surprised as the captain is pulled aside by two crewmen as a higher-ranking subordinate takes the helm. He directly states in your language "Human ship...here for revenge. I knew it." His gesturing is twitchy, appearing on the verge of drastic action. He continues "No end to this. We must go back. We cannot remedy peace."</text>
			<choice>
				<text>Continue...</text>
				<event load="PEACE"/>
			</choice>
		</event>
	</choice>
</event>
	
<event name="PEACE" unique="false">
	<text>The Lanius subordinate engages the destroyer's battle systems, but, before fire can be exchanged, another crewman bursts onto the bridge screeching in an untranslatable dialect. The subordinate and his allies are frozen in shock. On demand, an update from your helmsman reveals a power overflow in progress within the destroyer's reactor: the ship will be destroyed within moments if nothing is done.</text>
	<choice hidden="true" req="anaerobic">
		<text>Let your Lanius crewman talk to them</text>
		<event>
			<text>Your Lanius crewman steps in to reason with the destroyer's crew. It states, with much romanticism, that peace can be forged between their species and the Federation, and that the crew can be forgiven in due time. Seeing your crewman as proof of these statements, tensions cool quickly as the captain gives an order to the new arrival to prevent disaster. A minute later, your helmsman reports that the destroyer's reactor is stabilizing.</text>
			<text>After a moment of reconcilation, the captain chimes in to thank you. Informing her of your mission, she nods and states "I will relieve two of my own to join you." Once goodbyes have been exchanged, two Lanius crewmen beam in with gifted materials and you welcome them aboard.</text>
			<crewMember amount="1" class="anaerobic">Adell</crewMember>
			<crewMember amount="1" class="anaerobic">Lelouch</crewMember>
			<autoReward level="HIGH">standard</autoReward>
		</event>
	</choice>
	<choice hidden="true" req="energy">
		<text>Let your Zoltan crewman talk to them</text>
		<event>
			<text>Your Zoltan crewman gets straight to work in negotiations. It explains one of the ancient proverbs of Zoltan law: justice can absolve. While their actions were wrong, a righteous intent can allow them to redeem themselves and pave a good example of their species to other members of the Federation. The alternatives of battle or suicide would solve nothing; it would only complicate current relations.</text>
			<text>Presented with this logic, the Lanius crew stand down. The captain, now released, gives an order to the new arrival to prevent disaster. A minute later, your helmsman reports that the destroyer's reactor is stabilizing.</text>
			<text>After a moment of reconcilation, the captain chimes in to thank you. Informing her of your mission, she nods and states "I will relieve two of my own to join you." Once goodbyes have been exchanged, two Lanius crewmen beam in with gifted materials and you welcome them aboard.</text>
			<crewMember amount="1" class="anaerobic">Adell</crewMember>
			<crewMember amount="1" class="anaerobic">Lelouch</crewMember>
			<autoReward level="HIGH">standard</autoReward>
		</event>
	</choice>
	<choice hidden="true" req="teleporter" lvl="1">
		<text>(Teleporter) Rescue the captain</text>
		<event>
			<text>You send a boarding party of one to quickly incapcitate the mutinous Lanius crew and return with the captain. While successful in the former with the use of flashbangs, the teleporter takes a few seconds too long to recharge and you can only watch in horror as the ship explodes with your crewman on board. The explosion scatters debris far and wide. Weakly, you give the order to sweep the area for any salvagable scrap, while your crew mourns the loss of their comrade.</text>
			<crewMember amount="-1"/>
			<autoReward level="LOW">standard</autoReward>
		</event>
	</choice>
	<choice hidden="true" req="teleporter" lvl="2">
		<text>(Improved Teleporter) Rescue the captain</text>
		<event>
			<text>You send a boarding party of one to quickly incapcitate the mutinous Lanius crew and return with the captain. Using flashbangs, the operation is a success and, with only seconds to spare, your crewman and the captain beam back onto your ship before the destroyer explodes.</text>
			<text>While your ship sweeps the area for any spare scrap, the Lanius captain mournfully asks herself "Why?" After a moment of silence, she offers to join your crew, seeing it as her only option now.</text>
			<autoReward level="LOW">standard</autoReward>
			<crewMember amount="1" class="anaerobic">Yin</crewMember>
		</event>
	</choice>
	<choice hidden="true" req="hacking" lvl="2">
		<text>(Improved Hacking) Reverse the power overflow</text>
		<event>
			<text>A hacking module is deployed whereupon it attaches itself to the destroyer's central hull. The system succesfully overrides the security protocols dictating the power overflow and prevents the ship's destruction.</text>
			<text>Realizing that his captain no longer has leverage to threaten him with, the subordinate re-engages the battle systems. You are sure he is ready to give the order for her execution. You have seconds to act.</text>
		</event>
	</choice>
	<choice>
		<text>Damn...</text>
		<event>
			<text>With no other options, you are unable to save the captain as she is executed with a headshot right before your eyes. The channel is then cut and the destroyer bears down upon you. Get ready.</text>
			<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="true"/>
		</event>
	</choice>
	<choice hidden="true" req="mind" lvl="1">
		<text>(Mind Control) Brainwash him to stand down</text>
		<event>
			<text>Under new suggestions, the subordinate once again disengages the battle systems and orders the release of the captain. However, the effect soon wears off and, gaining his bearings, angrily kills the captain himself. His allies move off to engage the rest of the crew. The channel is cut and the destroyer soon roars to life, weapons hot. Prepare yourself.</text>
			<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="true"/>
		</event>
	</choice>
	<choice hidden="true" req="mind" lvl="2">
		<text>(Improved Mind Control) Brainwash him to stand down</text>
		<event>
			<text>Under powerful new suggestions, the subordinate once again disengages the battle systems and orders the release of the captain. The effect lasts long enough for a quick transfer of the captain out of an airlock in the general direction of your ship before he gains his bearings. Angrily, he cuts the channel and the destroyer soon roars to life, weapons hot. Prepare yourself.</text>
			<ship load="ANAEROBIC_DESTROYER_DESERTER" hostile="true"/>
			<crewMember amount="1" class="anaerobic">Yin</crewMember>
   	</choice>
   </event>
		
   <choice hidden="true" req="engi">
   	<text>Allow your Engi to remotely access their systems</text>
   	<event>
   		<text>Your Engi crewman is able to hack into and override the security protocols dictating the power overflow, preventing the ship's destruction. Additionally, it also sabotages their reactor and locks out the controls to prevent its reversal.</text>
   		<text>Realizing that his captain no longer has leverage to threaten him with, the subordinate re-engages the battle systems. You are sure he is ready to give the order for her execution. You have seconds to act.</text>
   	</event>
   </choice>
   <choice hidden="true" req="mind" lvl="1">
   	<text>(Mind Control) Brainwash him to stand down</text>
   	<event>
   		<text>Under new suggestions, the subordinate once again disengages the battle systems and orders the release of the captain. However, the effect soon wears off and, gaining his bearings, angrily kills the captain himself. His allies move off to engage the rest of the crew. The channel is cut and the destroyer soon roars to life, weapons hot. Prepare yourself.</text>
   		<text>The Engi's sabotage has drastically reduced the destroyer's power output. This should give you a tactical advantage.</text>
   		<ship load="ANAEROBIC_DESTROYER_DESERTER_WEAK" hostile="true"/>
   	</event>
   </choice>
   <choice hidden="true" req="mind" lvl="2">
   	<text>(Improved Mind Control) Brainwash him to stand down</text>
   	<event>
   		<text>Under powerful new suggestions, the subordinate once again disengages the battle systems and orders the release of the captain. The effect lasts long enough for a quick transfer of the captain out of an airlock in the general direction of your ship before he gains his bearings. Angrily, he cuts the channel and the destroyer soon roars to life, weapons hot. Prepare yourself.</text>
   		<text>The Engi's sabotage has drastically reduced the destroyer's power output. This should give you a tactical advantage.</text>
   		<ship load="ANAEROBIC_DESTROYER_DESERTER_WEAK" hostile="true"/>
   		<crewMember amount="1" class="anaerobic">Yin</crewMember>
   	</event>
   </choice>

   <choice>
   	<text>Offer leniency</text>
   	<event load="LENIENCY"/>
   </choice>

   <choice>
   	<text>Leave them for dead</text>
   </choice>
   <event>
   	<text>You order the helmsman to punch it and get out of range before the ship explodes. Unable or unwilling to give chase, the Lanius crew visibly resign themselves to their fate, with the subordinate pitifully asking "Why?" The channel is abruptly cut as the ship explodes, sending debris flying far and wide. You order a sweep of the area to gather any usable scrap, content that you minimized risk to your ship and crew.</text>
   	<autoReward level="LOW">standard</autoReward>
   </event>

</event>

<eventList name="LENIENCY">
	<event>
		<text>You offer to save the crew, regardless of their actions. The subordinate decides to believe in you and, en masse, the destroyer's crew leaps from an airlock in the direction of your ship. You are able to secure them in the nick of time as their ship explodes. They agree to be dropped off at a station, with the exception of the captain, who offers to join your crew. "I will forge peace this way."</text>
		<crewMember amount="1" class="anaerobic">Yin</crewMember>
	</event>
	
   <autoReward level="LOW">standard</autoReward>
</event>

<event>
	<text>You offer to save the crew, regardless of their actions. The subordinate decides to believe in you and, en masse, the destroyer's crew leaps from an airlock in the direction of your ship. You are able to secure them in the nick of time as their ship explodes. They agree to be dropped off at a station, with the exception of the subordinate, who offers to join your crew. "I have much to absolve."</text>
	<crewMember amount="1" class="anaerobic">Cage</crewMember>
	<autoReward level="LOW">standard</autoReward>
</event>
<event>
	<text>You offer to save the crew, regardless of their actions. However, the subordinate denies you, unwilling to trust humans "out for blood." He cuts the channel and you watch in solemn silence as the ship explodes with all hands. You order a sweep of the area for spare scrap and prepare to move on, having done what you could.</text>
	<autoReward level="LOW">standard</autoReward>
</event>
<event>
	<text>You offer to save the crew, regardless of their actions. However, before a response can be made, the ship suffers an unexpected, violent acceleration of its power overflow. The resulting explosion completely vaporizes the ship, hurdling molten debris in all directions. Your ship takes a hit from a piece of slag. Unfortunately, there is no usable scrap to be found, leaving you to charge the FTL drive with nothing gained.</text>
</event>
<event>
	<text>You offer to save the crew, regardless of their actions. Before the subordinate can respond, he is shot dead by the new arrival who, in a state of blind hysteria, continues firing. The channel is cut by a stray shot to their helm, leaving you with no choice but to pull back. The ship explodes with all hands, and you simply order retrival of any scrap.</text>
	<autoReward level="LOW">standard</autoReward>
</event>

</eventList> <!-- dangling closing tag -->
Anyway, what I noticed:
There's a </event> tag in the middle of the LENIENCY event list, closing its tag prematurely, and leaving some events outside of its body. As a consequence, there is a closing tag which has no opening counterpart, which may or may not wreck shit up, depending on how FTL's parser handles such errors (probably ignores them).
Also, in some events you have multiple <text> tags, which IIRC is not allowed. In some <choice> tags, you have additional tags after the <event/> tag, which signifies the end of that choice branch (meaning, the tags that come after it have no effect, IIRC).

I have no extensive experience working with events, maybe someone else can chime in and cover the rest.

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Thu Sep 10, 2015 2:11 pm
by WhiteWeasel
I have two questions:

A) I made a beam with -10 person damage, and yet when I board an enemy ship, and hit my crew with it, it does not restore health. How do I make it affect my crew?

B) While I'm have grown quite a lot in weapon modding, events are still uncharted territory for me. Can you make an event that checks for X weapon, remove it, and give you Y weapon in it's place? Like the engi virus event?

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Thu Sep 10, 2015 2:42 pm
by Biohazard063
WhiteWeasel wrote:I have two questions:

A) I made a beam with -10 person damage, and yet when I board an enemy ship, and hit my crew with it, it does not restore health. How do I make it affect my crew?

B) While I'm have grown quite a lot in weapon modding, events are still uncharted territory for me. Can you make an event that checks for X weapon, remove it, and give you Y weapon in it's place? Like the engi virus event?
A) Tried it myself as well. As far as I can tell, beams are incapable of healing crew, only hurting. Which is fairly odd seeing how all other weapon types are capable of it...

B) No, whilst an event can check if you have a weapon, there is no way to remove equipment in the game other then selling it or not having room for it. Only consumables can be removed which funny enough includes crew.

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Thu Sep 10, 2015 8:37 pm
by FederationScumX1999
kartoFlane wrote:You really need to work on your indentation skills, this was very difficult to read, no wonder you made some mistakes...
Not entirely sure what ya mean. The indentations got a bit messed up when copying and pasting, where new tags appear to be directly underneath previous ones (which wouldn't work as far as I know). I also didn't wanna bunch the events up into one event because the indentation would get a bit out of hand, especially since it appears having multiple text events invalidates tags that come after it.

kartoFlane wrote:Anyway, what I noticed:
There's a </event> tag in the middle of the LENIENCY event list, closing its tag prematurely, and leaving some events outside of its body. As a consequence, there is a closing tag which has no opening counterpart, which may or may not wreck shit up, depending on how FTL's parser handles such errors (probably ignores them).
Also, in some events you have multiple <text> tags, which IIRC is not allowed. In some <choice> tags, you have additional tags after the <event/> tag, which signifies the end of that choice branch (meaning, the tags that come after it have no effect, IIRC).
The multiple text tags is an interesting observation as it would make sense. I'll have to rearrange the extra text boxes under new events probably, or trim them down so that the text fits in one paragraph. Worth a shot to see if PEACE will trigger then. Also, I'll be taking a look at the LENIENCY list to fix that as well. Thanks.

Re: Questions here: an inquiry thread! [Updated Sep 15th, 2014]

Posted: Sun Sep 13, 2015 3:58 pm
by FederationScumX1999
So, I've since managed to get the event work properly and added much more to it. However, does anyone know how to make it appear properly in-game? I tried creating an .append file where I added it to the list under NEUTRAL_LANIUS events and additionally to events that take place in a Lanius Sector (with a minimum and maximum chance of encountering only one instance of it per Lanius Sector). In the first change I did, it caused the game to soft-lock upon traveling to an Abandoned Sector. When I added the second change with a different .append, the game now refused to start a game at all.

How does one make an event appear properly in-game?