forked from Mirrors/openclonk
Merge
commit
af827da45d
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -0,0 +1,20 @@
|
||||||
|
[DefCore]
|
||||||
|
id=SWOR
|
||||||
|
Version=4,9,5
|
||||||
|
Category=C4D_Object|C4D_SelectMaterial|C4D_SelectKnowledge|C4D_SelectHomebase
|
||||||
|
MaxUserSelect=5
|
||||||
|
Value=16
|
||||||
|
Mass=20
|
||||||
|
Width=5
|
||||||
|
Height=16
|
||||||
|
Offset=-2,-8
|
||||||
|
Vertices=2
|
||||||
|
VertexX=0,0
|
||||||
|
VertexY=-7,7
|
||||||
|
VertexFriction=50,50
|
||||||
|
Picture=10,10,54,54
|
||||||
|
Components=WOOD=1;METL=1;
|
||||||
|
Rebuy=1
|
||||||
|
Collectible=1
|
||||||
|
Rotate=1
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Die Nahkampfwaffe der Wahl eines jeden Ritters.
|
|
@ -0,0 +1 @@
|
||||||
|
The standart close combat weapon for every knight.
|
|
@ -0,0 +1,541 @@
|
||||||
|
<mesh>
|
||||||
|
<submeshes>
|
||||||
|
<submesh material="Sword" usesharedvertices="false">
|
||||||
|
<faces count="76">
|
||||||
|
<face v1="0" v2="1" v3="2"/>
|
||||||
|
<face v1="3" v2="1" v3="0"/>
|
||||||
|
<face v1="0" v2="4" v3="3"/>
|
||||||
|
<face v1="5" v2="6" v3="7"/>
|
||||||
|
<face v1="5" v2="8" v3="6"/>
|
||||||
|
<face v1="8" v2="4" v3="6"/>
|
||||||
|
<face v1="9" v2="10" v3="11"/>
|
||||||
|
<face v1="12" v2="10" v3="9"/>
|
||||||
|
<face v1="11" v2="10" v3="13"/>
|
||||||
|
<face v1="14" v2="15" v3="12"/>
|
||||||
|
<face v1="9" v2="14" v3="12"/>
|
||||||
|
<face v1="16" v2="17" v3="18"/>
|
||||||
|
<face v1="16" v2="19" v3="17"/>
|
||||||
|
<face v1="19" v2="20" v3="14"/>
|
||||||
|
<face v1="20" v2="15" v3="14"/>
|
||||||
|
<face v1="16" v2="20" v3="19"/>
|
||||||
|
<face v1="21" v2="22" v3="23"/>
|
||||||
|
<face v1="24" v2="21" v3="23"/>
|
||||||
|
<face v1="24" v2="23" v3="25"/>
|
||||||
|
<face v1="26" v2="24" v3="25"/>
|
||||||
|
<face v1="27" v2="28" v3="29"/>
|
||||||
|
<face v1="30" v2="28" v3="31"/>
|
||||||
|
<face v1="31" v2="28" v3="32"/>
|
||||||
|
<face v1="32" v2="28" v3="27"/>
|
||||||
|
<face v1="30" v2="31" v3="33"/>
|
||||||
|
<face v1="31" v2="34" v3="33"/>
|
||||||
|
<face v1="35" v2="30" v3="33"/>
|
||||||
|
<face v1="27" v2="29" v3="36"/>
|
||||||
|
<face v1="37" v2="27" v3="36"/>
|
||||||
|
<face v1="31" v2="32" v3="34"/>
|
||||||
|
<face v1="32" v2="37" v3="34"/>
|
||||||
|
<face v1="32" v2="27" v3="37"/>
|
||||||
|
<face v1="38" v2="0" v3="2"/>
|
||||||
|
<face v1="38" v2="39" v3="0"/>
|
||||||
|
<face v1="39" v2="4" v3="0"/>
|
||||||
|
<face v1="7" v2="6" v3="40"/>
|
||||||
|
<face v1="6" v2="41" v3="40"/>
|
||||||
|
<face v1="6" v2="4" v3="41"/>
|
||||||
|
<face v1="42" v2="43" v3="44"/>
|
||||||
|
<face v1="42" v2="12" v3="43"/>
|
||||||
|
<face v1="42" v2="44" v3="13"/>
|
||||||
|
<face v1="12" v2="15" v3="45"/>
|
||||||
|
<face v1="12" v2="45" v3="43"/>
|
||||||
|
<face v1="18" v2="46" v3="16"/>
|
||||||
|
<face v1="46" v2="47" v3="16"/>
|
||||||
|
<face v1="45" v2="48" v3="47"/>
|
||||||
|
<face v1="45" v2="15" v3="48"/>
|
||||||
|
<face v1="47" v2="48" v3="16"/>
|
||||||
|
<face v1="49" v2="50" v3="51"/>
|
||||||
|
<face v1="52" v2="49" v3="51"/>
|
||||||
|
<face v1="25" v2="49" v3="52"/>
|
||||||
|
<face v1="26" v2="25" v3="52"/>
|
||||||
|
<face v1="53" v2="54" v3="55"/>
|
||||||
|
<face v1="56" v2="54" v3="57"/>
|
||||||
|
<face v1="58" v2="54" v3="56"/>
|
||||||
|
<face v1="55" v2="54" v3="58"/>
|
||||||
|
<face v1="59" v2="56" v3="57"/>
|
||||||
|
<face v1="59" v2="60" v3="56"/>
|
||||||
|
<face v1="59" v2="57" v3="61"/>
|
||||||
|
<face v1="62" v2="53" v3="55"/>
|
||||||
|
<face v1="62" v2="55" v3="63"/>
|
||||||
|
<face v1="60" v2="58" v3="56"/>
|
||||||
|
<face v1="60" v2="63" v3="58"/>
|
||||||
|
<face v1="63" v2="55" v3="58"/>
|
||||||
|
<face v1="64" v2="65" v3="66"/>
|
||||||
|
<face v1="66" v2="65" v3="67"/>
|
||||||
|
<face v1="67" v2="65" v3="68"/>
|
||||||
|
<face v1="69" v2="65" v3="64"/>
|
||||||
|
<face v1="66" v2="67" v3="70"/>
|
||||||
|
<face v1="67" v2="71" v3="70"/>
|
||||||
|
<face v1="72" v2="66" v3="70"/>
|
||||||
|
<face v1="64" v2="66" v3="72"/>
|
||||||
|
<face v1="73" v2="64" v3="72"/>
|
||||||
|
<face v1="67" v2="68" v3="71"/>
|
||||||
|
<face v1="68" v2="74" v3="71"/>
|
||||||
|
<face v1="69" v2="64" v3="73"/>
|
||||||
|
</faces>
|
||||||
|
<geometry vertexcount="75">
|
||||||
|
<vertexbuffer positions="true" normals="true" texture_coords="1">
|
||||||
|
<vertex>
|
||||||
|
<position x="2.248075" y="0.000140" z="47.714977"/>
|
||||||
|
<normal x="0.998896" y="0.000000" z="0.046969"/>
|
||||||
|
<texcoord u="0.147912" v="0.291901"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.000017" y="-2.515715" z="9.897636"/>
|
||||||
|
<normal x="0.000000" y="-0.624647" z="0.780908"/>
|
||||||
|
<texcoord u="0.054027" v="0.968477"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.498736" y="0.000162" z="9.897651"/>
|
||||||
|
<normal x="0.950153" y="0.000000" z="0.311784"/>
|
||||||
|
<texcoord u="0.149649" v="0.967332"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.000007" y="-3.560485" z="47.714977"/>
|
||||||
|
<normal x="0.000000" y="-0.991838" z="0.127508"/>
|
||||||
|
<texcoord u="0.059396" v="0.286151"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.000011" y="0.000005" z="60.140675"/>
|
||||||
|
<normal x="0.000000" y="0.000092" z="1.000000"/>
|
||||||
|
<texcoord u="0.144712" v="0.047390"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.000017" y="-2.515715" z="9.897636"/>
|
||||||
|
<normal x="0.000000" y="-0.624647" z="0.780908"/>
|
||||||
|
<texcoord u="0.239893" v="0.967342"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-2.248088" y="0.000140" z="47.714977"/>
|
||||||
|
<normal x="-0.998896" y="0.000000" z="0.046969"/>
|
||||||
|
<texcoord u="0.147912" v="0.291901"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.498729" y="0.000162" z="9.897651"/>
|
||||||
|
<normal x="-0.896559" y="0.000000" z="0.442924"/>
|
||||||
|
<texcoord u="0.149649" v="0.967332"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.000007" y="-3.560485" z="47.714977"/>
|
||||||
|
<normal x="0.000000" y="-0.991838" z="0.127508"/>
|
||||||
|
<texcoord u="0.233041" v="0.289051"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.994892" y="-6.107581" z="9.531730"/>
|
||||||
|
<normal x="0.559179" y="0.215468" z="0.800558"/>
|
||||||
|
<texcoord u="0.355274" v="0.515661"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.000017" y="-2.515715" z="9.897636"/>
|
||||||
|
<normal x="0.000000" y="-0.624647" z="0.780908"/>
|
||||||
|
<texcoord u="0.458609" v="0.575145"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994377" y="-6.107581" z="9.531735"/>
|
||||||
|
<normal x="-0.699873" y="0.159190" z="0.696302"/>
|
||||||
|
<texcoord u="0.339901" v="0.576914"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.498736" y="0.000162" z="9.897651"/>
|
||||||
|
<normal x="0.950153" y="0.000000" z="0.311784"/>
|
||||||
|
<texcoord u="0.547585" v="0.548657"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.498729" y="0.000162" z="9.897651"/>
|
||||||
|
<normal x="-0.896559" y="0.000000" z="0.442924"/>
|
||||||
|
<texcoord u="0.515433" v="0.651613"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.994895" y="-6.107582" z="7.427596"/>
|
||||||
|
<normal x="0.685038" y="0.147042" z="-0.713513"/>
|
||||||
|
<texcoord u="0.363036" v="0.449565"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.498774" y="0.000175" z="6.724282"/>
|
||||||
|
<normal x="0.873424" y="0.000031" z="-0.486961"/>
|
||||||
|
<texcoord u="0.558592" v="0.448657"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.498715" y="0.000160" z="6.826653"/>
|
||||||
|
<normal x="-0.964257" y="-0.000275" z="-0.264968"/>
|
||||||
|
<texcoord u="0.549940" v="0.353538"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994377" y="-6.107581" z="9.531735"/>
|
||||||
|
<normal x="-0.699873" y="0.159190" z="0.696302"/>
|
||||||
|
<texcoord u="0.339901" v="0.322168"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.498729" y="0.000162" z="9.897651"/>
|
||||||
|
<normal x="-0.896559" y="0.000000" z="0.442924"/>
|
||||||
|
<texcoord u="0.524214" v="0.259641"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994380" y="-6.107575" z="7.420007"/>
|
||||||
|
<normal x="-0.576114" y="0.172892" z="-0.798875"/>
|
||||||
|
<texcoord u="0.357592" v="0.386735"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.031832" y="-1.600397" z="6.826641"/>
|
||||||
|
<normal x="0.169962" y="-0.621617" z="-0.764661"/>
|
||||||
|
<texcoord u="0.503818" v="0.404621"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.503269" y="-0.021581" z="-7.532356"/>
|
||||||
|
<normal x="0.965322" y="-0.000549" z="0.261061"/>
|
||||||
|
<texcoord u="0.933334" v="0.683730"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.498774" y="0.000175" z="6.724282"/>
|
||||||
|
<normal x="0.873424" y="0.000031" z="-0.486961"/>
|
||||||
|
<texcoord u="0.932917" v="0.236479"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.031832" y="-1.600397" z="6.826641"/>
|
||||||
|
<normal x="0.169962" y="-0.621617" z="-0.764661"/>
|
||||||
|
<texcoord u="0.866137" v="0.237790"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.039235" y="-1.652730" z="-7.529497"/>
|
||||||
|
<normal x="-0.173074" y="-0.930561" z="0.322649"/>
|
||||||
|
<texcoord u="0.865600" v="0.685286"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.498715" y="0.000160" z="6.826653"/>
|
||||||
|
<normal x="-0.964257" y="-0.000275" z="-0.264968"/>
|
||||||
|
<texcoord u="0.796831" v="0.237790"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.491621" y="-0.035754" z="-7.520405"/>
|
||||||
|
<normal x="-0.928822" y="-0.003998" z="0.370504"/>
|
||||||
|
<texcoord u="0.796216" v="0.684949"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-2.125494" y="-7.587780" z="8.505573"/>
|
||||||
|
<normal x="-0.976794" y="-0.214183" z="-0.000061"/>
|
||||||
|
<texcoord u="0.341209" v="0.130769"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.026313" y="-9.256863" z="8.511034"/>
|
||||||
|
<normal x="-0.026033" y="-0.999661" z="0.000763"/>
|
||||||
|
<texcoord u="0.406108" v="0.213263"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.022961" y="-7.587756" z="10.458785"/>
|
||||||
|
<normal x="-0.020631" y="-0.207623" z="0.977991"/>
|
||||||
|
<texcoord u="0.268351" v="0.213106"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.022961" y="-7.587756" z="10.458785"/>
|
||||||
|
<normal x="-0.020631" y="-0.207623" z="0.977991"/>
|
||||||
|
<texcoord u="0.543293" v="0.213109"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="2.275820" y="-7.587782" z="8.520369"/>
|
||||||
|
<normal x="0.978066" y="-0.208291" z="0.001434"/>
|
||||||
|
<texcoord u="0.471462" v="0.130111"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.025551" y="-7.587674" z="6.559247"/>
|
||||||
|
<normal x="-0.016572" y="-0.231882" z="-0.972603"/>
|
||||||
|
<texcoord u="0.406246" v="0.109605"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.994892" y="-6.107581" z="9.531730"/>
|
||||||
|
<normal x="0.559179" y="0.215468" z="0.800558"/>
|
||||||
|
<texcoord u="0.539062" v="0.117188"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.994895" y="-6.107582" z="7.427596"/>
|
||||||
|
<normal x="0.685038" y="0.147042" z="-0.713513"/>
|
||||||
|
<texcoord u="0.445312" v="0.062500"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994377" y="-6.107581" z="9.531735"/>
|
||||||
|
<normal x="-0.699873" y="0.159190" z="0.696302"/>
|
||||||
|
<texcoord u="0.625000" v="0.171875"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994377" y="-6.107581" z="9.531735"/>
|
||||||
|
<normal x="-0.699873" y="0.159190" z="0.696302"/>
|
||||||
|
<texcoord u="0.273438" v="0.117188"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994380" y="-6.107575" z="7.420007"/>
|
||||||
|
<normal x="-0.576114" y="0.172892" z="-0.798875"/>
|
||||||
|
<texcoord u="0.367188" v="0.062500"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.000017" y="2.515715" z="9.897636"/>
|
||||||
|
<normal x="0.000000" y="0.624665" z="0.780893"/>
|
||||||
|
<texcoord u="0.239893" v="0.967342"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.000007" y="3.560485" z="47.714977"/>
|
||||||
|
<normal x="0.000000" y="0.991838" z="0.127508"/>
|
||||||
|
<texcoord u="0.233041" v="0.289051"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.000017" y="2.515715" z="9.897636"/>
|
||||||
|
<normal x="0.000000" y="0.624665" z="0.780893"/>
|
||||||
|
<texcoord u="0.054027" v="0.968477"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.000007" y="3.560485" z="47.714977"/>
|
||||||
|
<normal x="0.000000" y="0.991838" z="0.127508"/>
|
||||||
|
<texcoord u="0.059396" v="0.286151"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.000017" y="2.515715" z="9.897636"/>
|
||||||
|
<normal x="0.000000" y="0.624665" z="0.780893"/>
|
||||||
|
<texcoord u="0.458609" v="0.575145"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.994892" y="6.107581" z="9.531730"/>
|
||||||
|
<normal x="0.559179" y="-0.215468" z="0.800558"/>
|
||||||
|
<texcoord u="0.356202" v="0.516080"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994377" y="6.107581" z="9.531735"/>
|
||||||
|
<normal x="-0.699858" y="-0.159186" z="0.696318"/>
|
||||||
|
<texcoord u="0.339901" v="0.576914"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.994895" y="6.107582" z="7.427596"/>
|
||||||
|
<normal x="0.685038" y="-0.147042" z="-0.713513"/>
|
||||||
|
<texcoord u="0.363036" v="0.449565"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994377" y="6.107581" z="9.531735"/>
|
||||||
|
<normal x="-0.699858" y="-0.159186" z="0.696318"/>
|
||||||
|
<texcoord u="0.339901" v="0.322168"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994380" y="6.107575" z="7.420007"/>
|
||||||
|
<normal x="-0.576114" y="-0.172892" z="-0.798875"/>
|
||||||
|
<texcoord u="0.357592" v="0.386735"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.031832" y="1.600397" z="6.826641"/>
|
||||||
|
<normal x="0.168650" y="0.621406" z="-0.765122"/>
|
||||||
|
<texcoord u="0.503818" v="0.404621"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.031832" y="1.600397" z="6.826641"/>
|
||||||
|
<normal x="0.168650" y="0.621406" z="-0.765122"/>
|
||||||
|
<texcoord u="0.727532" v="0.237790"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.498774" y="0.000175" z="6.724282"/>
|
||||||
|
<normal x="0.873424" y="0.000031" z="-0.486961"/>
|
||||||
|
<texcoord u="0.656846" v="0.237790"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.503269" y="-0.021581" z="-7.532356"/>
|
||||||
|
<normal x="0.965322" y="-0.000549" z="0.261061"/>
|
||||||
|
<texcoord u="0.655336" v="0.685392"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.038984" y="1.591589" z="-7.529470"/>
|
||||||
|
<normal x="-0.174875" y="0.924242" z="0.339404"/>
|
||||||
|
<texcoord u="0.726580" v="0.685237"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.022961" y="7.587756" z="10.458785"/>
|
||||||
|
<normal x="-0.020631" y="0.207623" z="0.977991"/>
|
||||||
|
<texcoord u="0.268351" v="0.213106"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.026313" y="9.256863" z="8.511034"/>
|
||||||
|
<normal x="-0.026033" y="0.999661" z="0.000763"/>
|
||||||
|
<texcoord u="0.406108" v="0.213263"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-2.125494" y="7.587780" z="8.505573"/>
|
||||||
|
<normal x="-0.976794" y="0.214183" z="-0.000061"/>
|
||||||
|
<texcoord u="0.341209" v="0.130769"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="2.275820" y="7.587782" z="8.520369"/>
|
||||||
|
<normal x="0.978066" y="0.208291" z="0.001434"/>
|
||||||
|
<texcoord u="0.471462" v="0.130111"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.022961" y="7.587756" z="10.458785"/>
|
||||||
|
<normal x="-0.020631" y="0.207623" z="0.977991"/>
|
||||||
|
<texcoord u="0.543293" v="0.213109"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.025551" y="7.587674" z="6.559247"/>
|
||||||
|
<normal x="-0.016572" y="0.231882" z="-0.972603"/>
|
||||||
|
<texcoord u="0.406246" v="0.109605"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.994892" y="6.107581" z="9.531730"/>
|
||||||
|
<normal x="0.559179" y="-0.215468" z="0.800558"/>
|
||||||
|
<texcoord u="0.539062" v="0.117188"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="0.994895" y="6.107582" z="7.427596"/>
|
||||||
|
<normal x="0.685038" y="-0.147042" z="-0.713513"/>
|
||||||
|
<texcoord u="0.445312" v="0.062500"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994377" y="6.107581" z="9.531735"/>
|
||||||
|
<normal x="-0.699858" y="-0.159186" z="0.696318"/>
|
||||||
|
<texcoord u="0.625000" v="0.171875"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994377" y="6.107581" z="9.531735"/>
|
||||||
|
<normal x="-0.699858" y="-0.159186" z="0.696318"/>
|
||||||
|
<texcoord u="0.273438" v="0.117188"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.994380" y="6.107575" z="7.420007"/>
|
||||||
|
<normal x="-0.576114" y="-0.172892" z="-0.798875"/>
|
||||||
|
<texcoord u="0.367188" v="0.062500"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.725848" y="-1.879985" z="-9.206781"/>
|
||||||
|
<normal x="-0.711396" y="-0.689544" z="-0.135809"/>
|
||||||
|
<texcoord u="0.371325" v="0.761527"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.051649" y="-0.076065" z="-11.098131"/>
|
||||||
|
<normal x="0.000763" y="-0.012909" z="-0.999916"/>
|
||||||
|
<texcoord u="0.429915" v="0.845509"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.628035" y="-1.872749" z="-9.206783"/>
|
||||||
|
<normal x="0.707781" y="-0.688585" z="-0.157787"/>
|
||||||
|
<texcoord u="0.428237" v="0.744618"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.631759" y="1.899670" z="-9.206816"/>
|
||||||
|
<normal x="0.714665" y="0.683200" z="-0.149971"/>
|
||||||
|
<texcoord u="0.495610" v="0.763595"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.731887" y="1.907089" z="-9.206629"/>
|
||||||
|
<normal x="-0.719925" y="0.682295" z="-0.127205"/>
|
||||||
|
<texcoord u="0.572532" v="0.836306"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.731887" y="1.907089" z="-9.206629"/>
|
||||||
|
<normal x="-0.719925" y="0.682295" z="-0.127205"/>
|
||||||
|
<texcoord u="0.283429" v="0.845509"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="1.503269" y="-0.021581" z="-7.532356"/>
|
||||||
|
<normal x="0.965322" y="-0.000549" z="0.261061"/>
|
||||||
|
<texcoord u="0.476562" v="0.703125"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.038984" y="1.591589" z="-7.529470"/>
|
||||||
|
<normal x="-0.174875" y="0.924242" z="0.339404"/>
|
||||||
|
<texcoord u="0.539062" v="0.734375"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-0.039235" y="-1.652730" z="-7.529497"/>
|
||||||
|
<normal x="-0.173074" y="-0.930561" z="0.322649"/>
|
||||||
|
<texcoord u="0.382812" v="0.703125"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.491621" y="-0.035754" z="-7.520405"/>
|
||||||
|
<normal x="-0.928822" y="-0.003998" z="0.370504"/>
|
||||||
|
<texcoord u="0.304688" v="0.742188"/>
|
||||||
|
</vertex>
|
||||||
|
<vertex>
|
||||||
|
<position x="-1.491621" y="-0.035754" z="-7.520405"/>
|
||||||
|
<normal x="-0.928822" y="-0.003998" z="0.370504"/>
|
||||||
|
<texcoord u="0.640625" v="0.765625"/>
|
||||||
|
</vertex>
|
||||||
|
</vertexbuffer>
|
||||||
|
</geometry>
|
||||||
|
<boneassignments>
|
||||||
|
<vertexboneassignment vertexindex="0" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="1" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="2" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="3" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="4" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="5" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="6" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="7" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="8" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="9" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="10" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="11" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="12" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="13" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="14" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="15" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="16" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="17" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="18" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="19" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="20" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="21" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="22" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="23" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="24" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="25" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="26" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="27" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="28" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="29" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="30" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="31" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="32" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="33" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="34" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="35" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="36" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="37" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="38" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="39" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="40" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="41" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="42" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="43" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="44" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="45" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="46" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="47" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="48" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="49" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="50" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="51" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="52" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="53" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="54" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="55" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="56" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="57" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="58" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="59" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="60" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="61" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="62" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="63" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="64" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="65" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="66" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="67" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="68" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="69" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="70" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="71" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="72" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="73" boneindex="0" weight="1.000000"/>
|
||||||
|
<vertexboneassignment vertexindex="74" boneindex="0" weight="1.000000"/>
|
||||||
|
</boneassignments>
|
||||||
|
</submesh>
|
||||||
|
</submeshes>
|
||||||
|
<skeletonlink name="Sword.skeleton"/>
|
||||||
|
</mesh>
|
|
@ -0,0 +1,21 @@
|
||||||
|
material Sword
|
||||||
|
{
|
||||||
|
receive_shadows on
|
||||||
|
technique
|
||||||
|
{
|
||||||
|
pass
|
||||||
|
{
|
||||||
|
ambient 0.500000 0.500000 0.500000 1.000000
|
||||||
|
diffuse 0.702745 0.702745 0.702745 1.000000
|
||||||
|
specular 0.500000 0.500000 0.500000 1.000000 12.500000
|
||||||
|
emissive 0.000000 0.000000 0.000000 1.000000
|
||||||
|
texture_unit
|
||||||
|
{
|
||||||
|
texture Sword.png
|
||||||
|
tex_address_mode wrap
|
||||||
|
filtering trilinear
|
||||||
|
colour_op alpha_blend
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,110 @@
|
||||||
|
/*-- Sword --*/
|
||||||
|
|
||||||
|
private func Hit()
|
||||||
|
{
|
||||||
|
Sound("WoodHit"); //TODO Some metal sond
|
||||||
|
}
|
||||||
|
|
||||||
|
local fDrawn;
|
||||||
|
local fAttack;
|
||||||
|
local iAnimStrike;
|
||||||
|
|
||||||
|
static const SWOR_StrikeTime = 35;
|
||||||
|
|
||||||
|
public func ControlUse(object clonk, int x, int y)
|
||||||
|
{
|
||||||
|
if(fDrawn && !fAttack)
|
||||||
|
{
|
||||||
|
Message("!Attack!", this);
|
||||||
|
fAttack = 1;
|
||||||
|
// if(iAnimStrike) clonk->StopAnimation(iAnimStrike);
|
||||||
|
iAnimStrike = clonk->PlayAnimation("StrikeArms", 10, Anim_Linear(0, 0, clonk->GetAnimationLength("StrikeArms"), SWOR_StrikeTime, ANIM_Remove), Anim_Const(1000));
|
||||||
|
ScheduleCall(this, "DoStrike", 15*SWOR_StrikeTime/20, 1, clonk); // Do Damage at animation frame 15 of 20
|
||||||
|
ScheduleCall(this, "StrikeEnd", SWOR_StrikeTime, 1, clonk);
|
||||||
|
}
|
||||||
|
else if(clonk->GetAction() == "Walk" && !fAttack)
|
||||||
|
{
|
||||||
|
DrawSword(0);
|
||||||
|
Message("Draw!", this);
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public func DoStrike(clonk)
|
||||||
|
{
|
||||||
|
if(!fAttack) return;
|
||||||
|
clonk->CreateParticle("Blast", 20*(-1+2*clonk->GetDir()), 0, 0, 0, 20);
|
||||||
|
// TODO Make Damage!
|
||||||
|
}
|
||||||
|
|
||||||
|
public func StrikeEnd(clonk)
|
||||||
|
{
|
||||||
|
clonk->StopAnimation(iAnimStrike);
|
||||||
|
fAttack = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
public func DrawSword(fUndraw)
|
||||||
|
{
|
||||||
|
if(fDrawn != fUndraw) return 0;
|
||||||
|
if(fDrawn) RemoveEffect("IntSword", Contained());
|
||||||
|
else AddEffect("IntSword", Contained(), 1, 1, this);
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
func FxIntSwordStart(pTarget, iNumber, fTmp)
|
||||||
|
{
|
||||||
|
if(fTmp) return;
|
||||||
|
if(itemmesh > 0) pTarget->DetachMesh(itemmesh);
|
||||||
|
itemmesh = pTarget->AttachMesh(GetID(), "pos_hand1", "Main", 130);
|
||||||
|
// pTarget->SetPhysical("Walk", 20000, 2);
|
||||||
|
fDrawn = 1;
|
||||||
|
fAttack = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
func FxIntSwordTimer(pTarget, iNumber, iTime)
|
||||||
|
{
|
||||||
|
if(pTarget->GetAction() != "Walk" && pTarget->GetAction() != "Jump") return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
func FxIntSwordStop(pTarget, iNumber, iReason, fTmp)
|
||||||
|
{
|
||||||
|
if(fTmp) return;
|
||||||
|
if(itemmesh > 0) pTarget->DetachMesh(itemmesh);
|
||||||
|
itemmesh = pTarget->AttachMesh(GetID(), "pos_back", "Main", 130);
|
||||||
|
if(fAttack) StrikeEnd(pTarget);
|
||||||
|
fDrawn = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
local itemmesh;
|
||||||
|
|
||||||
|
public func Entrance(pTarget)
|
||||||
|
{
|
||||||
|
fDrawn = 0;
|
||||||
|
itemmesh = pTarget->AttachMesh(GetID(), "pos_back", "Main", 130);
|
||||||
|
}
|
||||||
|
|
||||||
|
public func Departure()
|
||||||
|
{
|
||||||
|
// if the item had a holdmode detach mesh
|
||||||
|
if(itemmesh > 0) DetachMesh(itemmesh);
|
||||||
|
}
|
||||||
|
|
||||||
|
public func Selection(pTarget, fSecond)
|
||||||
|
{
|
||||||
|
// if(second) return;
|
||||||
|
}
|
||||||
|
|
||||||
|
public func Deselection(pTarget, fSecond)
|
||||||
|
{
|
||||||
|
DrawSword(1);
|
||||||
|
}
|
||||||
|
|
||||||
|
public func IsTool() { return 1; }
|
||||||
|
|
||||||
|
public func IsToolProduct() { return 1; }
|
||||||
|
|
||||||
|
func Definition(def) {
|
||||||
|
SetProperty("Collectible", 1, def);
|
||||||
|
SetProperty("Name", "$Name$", def);
|
||||||
|
}
|
|
@ -0,0 +1 @@
|
||||||
|
Name=Schwert
|
|
@ -0,0 +1 @@
|
||||||
|
Name=Sword
|
Binary file not shown.
After Width: | Height: | Size: 11 KiB |
|
@ -0,0 +1,169 @@
|
||||||
|
<skeleton>
|
||||||
|
<bones>
|
||||||
|
<bone id="0" name="Main">
|
||||||
|
<position x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotation angle="1.570796">
|
||||||
|
<axis x="1.000000" y="0.000000" z="0.000000"/>
|
||||||
|
</rotation>
|
||||||
|
</bone>
|
||||||
|
</bones>
|
||||||
|
<bonehierarchy>
|
||||||
|
</bonehierarchy>
|
||||||
|
<animations>
|
||||||
|
<animation name="Action" length="0.800000">
|
||||||
|
<tracks>
|
||||||
|
<track bone="Main">
|
||||||
|
<keyframes>
|
||||||
|
<keyframe time="0.000000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.259506">
|
||||||
|
<axis x="-0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.040000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.257925">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.080000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.253145">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.120000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.245153">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.160000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.234013">
|
||||||
|
<axis x="-0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.200000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.219883">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.240000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.203040">
|
||||||
|
<axis x="-0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.280000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.183892">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.320000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.162980">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.360000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.140956">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.400000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.118550">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.440000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.096526">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.480000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.075614">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.520000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.056465">
|
||||||
|
<axis x="-0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.560000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.039621">
|
||||||
|
<axis x="0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.600000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.025494">
|
||||||
|
<axis x="-0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.640000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.014353">
|
||||||
|
<axis x="-0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.680000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.006366">
|
||||||
|
<axis x="-0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.720000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.001544">
|
||||||
|
<axis x="-0.000000" y="0.000000" z="-1.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.760000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.000000">
|
||||||
|
<axis x="1.000000" y="0.000000" z="0.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
<keyframe time="0.800000">
|
||||||
|
<translate x="0.000000" y="0.000000" z="0.000000"/>
|
||||||
|
<rotate angle="0.000000">
|
||||||
|
<axis x="1.000000" y="0.000000" z="0.000000"/>
|
||||||
|
</rotate>
|
||||||
|
<scale x="1.000000" y="1.000000" z="1.000000"/>
|
||||||
|
</keyframe>
|
||||||
|
</keyframes>
|
||||||
|
</track>
|
||||||
|
</tracks>
|
||||||
|
</animation>
|
||||||
|
</animations>
|
||||||
|
</skeleton>
|
|
@ -1319,8 +1319,8 @@ StdMeshInstance::AnimationNode* StdMeshInstance::PlayAnimation(const StdMeshAnim
|
||||||
break;*/
|
break;*/
|
||||||
Number2 = Number1 + 1;
|
Number2 = Number1 + 1;
|
||||||
|
|
||||||
if(Number1 == AnimationNodes.size()) AnimationNodes.push_back(NULL);
|
if(Number1 == AnimationNodes.size()) AnimationNodes.push_back( (StdMeshInstance::AnimationNode*) NULL);
|
||||||
if(sibling && Number2 == AnimationNodes.size()) AnimationNodes.push_back(NULL);
|
if(sibling && Number2 == AnimationNodes.size()) AnimationNodes.push_back( (StdMeshInstance::AnimationNode*) NULL);
|
||||||
|
|
||||||
AnimationNode* child = new AnimationNode(&animation, position);
|
AnimationNode* child = new AnimationNode(&animation, position);
|
||||||
AnimationNodes[Number1] = child;
|
AnimationNodes[Number1] = child;
|
||||||
|
|
Loading…
Reference in New Issue