(client) feat:添加临时动画组件,添加逃跑逻辑
This commit is contained in:
@ -28,20 +28,26 @@
|
||||
<defName>TestGun</defName>
|
||||
<label>测试枪</label>
|
||||
<description>一把测试用的枪</description>
|
||||
<!-- 引用属性定义 -->
|
||||
<attributes>TestGun</attributes>
|
||||
<type>Ranged</type>
|
||||
<textures>
|
||||
<li>TestGunItem</li>
|
||||
</textures>
|
||||
<!-- 引用子弹定义 -->
|
||||
<bullet>yellowBullet</bullet>
|
||||
</WeaponDef>
|
||||
|
||||
<BulletDef>
|
||||
<defName>yellowBullet</defName>
|
||||
<label>黄色子弹</label>
|
||||
<description>一颗黄色的子弹</description>
|
||||
<!-- 嵌套定义属性 -->
|
||||
<attributes>
|
||||
<health>1</health>
|
||||
<moveSpeed>20</moveSpeed>
|
||||
</attributes>
|
||||
<!-- 嵌套定义纹理绘制顺序 -->
|
||||
<drawingOrder>
|
||||
<idle_down>
|
||||
<textures>
|
||||
@ -108,6 +114,11 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
<BulletDef>
|
||||
@ -122,6 +133,11 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
<BulletDef>
|
||||
@ -136,6 +152,11 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
<BulletDef>
|
||||
@ -150,6 +171,11 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
<BulletDef>
|
||||
@ -164,8 +190,14 @@
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</idle_down>
|
||||
<walk_down>
|
||||
<textures>
|
||||
<li>GenericBulletTexture</li>
|
||||
</textures>
|
||||
</walk_down>
|
||||
</drawingOrder>
|
||||
</BulletDef>
|
||||
|
||||
<!-- Weapon Definitions for all monsters -->
|
||||
<!-- Mechanical Monsters -->
|
||||
<WeaponDef>
|
||||
|
Reference in New Issue
Block a user