Broken stuff, refactoring
This commit is contained in:
@@ -1,11 +1,15 @@
|
||||
<c:CoolDeathAnim>
|
||||
<OriginPos X="0" Y="0" Z="0"/>
|
||||
<ExplosionOrigin X="0" Y="0" Z="0"/>
|
||||
<TimeSinceDeath>0</TimeSinceDeath>
|
||||
<EndOfDeath>2</EndOfDeath>
|
||||
<ExplosionDuration>2</ExplosionDuration>
|
||||
<Gravity>1</Gravity>
|
||||
<GravityForce>1</GravityForce>
|
||||
<ObjectRadius>2</ObjectRadius>
|
||||
<EndColor R="0" G="0" B="0" A="0"/>
|
||||
<UseRandomness>0</UseRandomness>
|
||||
<Randomness>0</Randomness>
|
||||
<RandomnessScalar>1</RandomnessScalar>
|
||||
<Acceleration X="2" Y="2"/>
|
||||
<ColorPerPolygon>0</ColorPerPolygon>
|
||||
<ReverseAnimation>0</ReverseAnimation>
|
||||
<Wireframe>0</Wireframe>
|
||||
</c:CoolDeathAnim>
|
||||
@@ -9,14 +9,14 @@
|
||||
</xs:annotation>
|
||||
<xs:complexType>
|
||||
<xs:all>
|
||||
<xs:element name="OriginPos" type="t:Vector" minOccurs="0">
|
||||
<xs:element name="ExplosionOrigin" type="t:Vector" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>The position in which to spawn the component</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="TimeSinceDeath" type="t:double" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Time since death</xs:documentation></xs:annotation>
|
||||
<xs:annotation><xs:documentation>Seconds since death</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="EndOfDeath" type="t:double" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>How long the death animation should be</xs:documentation></xs:annotation>
|
||||
<xs:element name="ExplosionDuration" type="t:double" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>How many seconds the death animation should be</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="Gravity" type="t:bool" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Enable/disable gravity</xs:documentation></xs:annotation>
|
||||
@@ -30,12 +30,24 @@
|
||||
<xs:element name="EndColor" type="t:Color" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>The tint the polys end with</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="UseRandomness" type="t:bool" minOccurs="0">
|
||||
<xs:element name="Randomness" type="t:bool" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Add some randomness to the explosion</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="RandomnessScalar" type="t:double" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Alter the power of the randomness</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="Acceleration" type="t:Vector" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>The accelaration factors (start/end)</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ColorPerPolygon" type="t:bool" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Change the color per polygon</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="ReverseAnimation" type="t:bool" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Implosions are cooler</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
<xs:element name="Wireframe" type="t:bool" minOccurs="0">
|
||||
<xs:annotation><xs:documentation>Enable/disable wireframe</xs:documentation></xs:annotation>
|
||||
</xs:element>
|
||||
</xs:all>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
|
||||
@@ -73,15 +73,19 @@
|
||||
<Color R="1" G="0.4" B="0.8"/>
|
||||
</c:Model>
|
||||
<c:CoolDeathAnim>
|
||||
<OriginPos X="0" Y="0" Z="0"/>
|
||||
<ExplosionOrigin X="0" Y="0" Z="0"/>
|
||||
<TimeSinceDeath>0</TimeSinceDeath>
|
||||
<EndOfDeath>2</EndOfDeath>
|
||||
<ExplosionDuration>2</ExplosionDuration>
|
||||
<Gravity>1</Gravity>
|
||||
<GravityForce>1</GravityForce>
|
||||
<ObjectRadius>2</ObjectRadius>
|
||||
<EndColor R="0" G="0" B="0" A="0"/>
|
||||
<UseRandomness>0</UseRandomness>
|
||||
<Randomness>0</Randomness>
|
||||
<RandomnessScalar>1</RandomnessScalar>
|
||||
<Acceleration X="2" Y="2"/>
|
||||
<ColorPerPolygon>0</ColorPerPolygon>
|
||||
<ReverseAnimation>0</ReverseAnimation>
|
||||
<Wireframe>0</Wireframe>
|
||||
</c:CoolDeathAnim>
|
||||
</Components>
|
||||
<Children>
|
||||
|
||||
Reference in New Issue
Block a user