Skip to content

Instantly share code, notes, and snippets.

@phrohdoh
Last active February 22, 2017 16:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save phrohdoh/269b4c361265ad8a2ed488a7bca1ab5a to your computer and use it in GitHub Desktop.
Save phrohdoh/269b4c361265ad8a2ed488a7bca1ab5a to your computer and use it in GitHub Desktop.
<root>
<Trait FullName="OpenRA.Mods.Common.Traits.EjectOnDeath"
Description="Eject a ground soldier or a paratrooper while in the air.">
<Field Name="PilotActor"
Kind="System.String"
Description="Name of the unit to eject. This actor type needs to have the Parachutable trait defined."
DefaultValue="E1"></Field>
<Field Name="SuccessRate"
Kind="System.Int32"
Description="Probability that the aircraft's pilot gets ejected once the aircraft is destroyed."
DefaultValue="50"></Field>
<Field Name="ChuteSound"
Kind="System.String"
Description="Sound to play when ejecting the pilot from the aircraft."
DefaultValue="chute1.aud"></Field>
<Field Name="EjectInAir"
Kind="System.Boolean"
Description="Can a destroyed aircraft eject its pilot while it has not yet fallen to ground level?"
DefaultValue="false"></Field>
<Field Name="EjectOnGround"
Kind="System.Boolean"
Description="Can a destroyed aircraft eject its pilot when it falls to ground level?"
DefaultValue="false"></Field>
<Field Name="AllowUnsuitableCell"
Kind="System.Boolean"
Description="Risks stuck units when they don't have the Paratrooper trait."
DefaultValue="false"></Field>
</Trait>
</root>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment