LOL u add the code that has Add weapon Elu at the begining to Weapon.xml not zitem.
Printable View
LOL u add the code that has Add weapon Elu at the begining to Weapon.xml not zitem.
what u mean by that
Weapon.xml
When you define a mesh in weapon.xml, you have to give each one a different name. The names don't even have to be "Katana01x2" or anything like that.. they could be "ZOMGCRAZYKATANALOL" if you wanted. It is only important that the mesh names are different.Code:<AddWeaponElu name="katana01x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana01x2" filename="model/weapon/katana/katana01.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana02x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana02x2" filename="model/weapon/katana/katana02.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana03x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana03x2" filename="model/weapon/katana/katana03.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana04x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana04x2" filename="model/weapon/katana/katana04.elu" />
</AddWeaponElu>
<AddWeaponElu name="katana05x2" weapon_motion_type = "13" weapon_type = "18" >
<AddBaseModel name="katana05x2" filename="model/weapon/katana/katana05.elu" />
</AddWeaponElu>
Now for example, to add Katana02x2 to your zitem.xml, do the following:
Zitem.xml
Code:<ITEM id="9000001" name="Test Dual Katana" mesh_name="Katana02x2" totalpoint="0" type="melee"
res_sex="a" res_level="0" slot="melee" weapon="doublekatana" weight="18" bt_price="0"
delay="300" damage="25" ctrl_ability="0" magazine="0" reloadtime="0" slug_output="false"
gadget_id="0" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" color="#FFFFFFFF"
image_id="0" bullet_image_id="0" magazine_image_id="0" desc="This is an example of a Dual Katana." />