- 好友
- 0
- 在线时间
- 38 小时
- 最后登录
- 2024-3-22
随仆
- UID
- 5751
- 第纳尔
- 227
- 精华
- 0
- 互助
- 2
- 荣誉
- 0
- 贡献
- 0
- 魅力
- 0
- 注册时间
- 2007-2-2
鲜花( 0) 鸡蛋( 0)
|
弓箭射出去后变成散弹的燃烧弹 ,(就是将箭换成攻城的散弹投石器散弹的效果) 修改的是装备弓还是爆炸箭?下面是弓和箭的代码如何修改,请教专家。
<Item id="mb_long_bow_t5"
name="{=mb000115}雷电"
body_name="bo_composite_longbow_a"
mesh="longbow_a"
culture="Culture.neutral_culture"
weight="0.8"
difficulty="50"
value="1500"
appearance="1"
Type="Bow"
item_holsters="bow_back:bow_back_2:bow_hip:bow_hip_2">
<ItemComponent>
<Weapon weapon_class="Bow"
ammo_class="Arrow"
ammo_limit="1"
thrust_speed="110"
speed_rating="110"
missile_speed="125"
weapon_length="118"
accuracy="99"
thrust_damage="91"
thrust_damage_type="Pierce"
item_usage="bow"
physics_material="wood_weapon"
center_of_mass="0.15,0,0">
<WeaponFlags RangedWeapon="true"
HasString="true"
StringHeldByHand="true"
NotUsableWithOneHand="true"
TwoHandIdleOnMount="true"
AutoReload="true"
UnloadWhenSheathed="true" />
</Weapon>
</ItemComponent>
<Flags ForceAttachOffHandPrimaryItemBone="true" />
</Item>
<Item multiplayer_item="false"
id="mb_projectile_burning"
name="{=mb000110}爆炸箭"
body_name="bo_capsule_arrow"
holster_body_name="bo_axe_short"
mesh="arrow_bl_a"
holster_mesh="arrow_bl_a_quiver"
holster_mesh_with_weapon="arrow_bl_a_quiver"
weight="0.035"
flying_mesh="arrow_bl_flying"
appearance="1"
value="150"
Type="Arrows"
item_holsters="quiver_back_middle:quiver_bolts_2:quiver_bolts"
holster_position_shift="0.0,0.0,0.15">
<ItemComponent>
<Weapon weapon_class="Arrow"
stack_amount="90"
physics_material="burning_jar"
thrust_speed="0"
speed_rating="0"
missile_speed="20"
weapon_length="95"
thrust_damage="220"
thrust_damage_type="Pierce"
item_usage="arrow_right"
flying_sound_code="event:/mission/combat/missile/foley/passby"
trail_particle_name="psys_game_missile_flame"
sticking_rotation="90,0,0"
sticking_position="0,-1.2,0"
center_of_mass="0,0,-0.3">
<WeaponFlags Consumable="true"
AmmoSticksWhenShot="true"
Burning="true"
AffectsArea="true"
CanPenetrateShield="true"
MultiplePenetration="true"
LeavesTrail="true" />
</Weapon>
</ItemComponent>
<Flags/>
</Item>
</Items>
|
|