[help]Making dual swords

Page 2 of 2 FirstFirst 12
Results 26 to 28 of 28
  1. #26
    Proficient Member deathtilldusk is offline
    MemberRank
    Mar 2007 Join Date
    175Posts

    Re: [help]Making dual swords

    LOL u add the code that has Add weapon Elu at the begining to Weapon.xml not zitem.

  2. #27
    Member arnelis is offline
    MemberRank
    Mar 2007 Join Date
    My houseLocation
    99Posts

    Re: [help]Making dual swords

    what u mean by that

  3. #28
    Account Upgraded | Title Enabled! gReGiTh is offline
    MemberRank
    Apr 2004 Join Date
    1,360Posts

    Re: [help]Making dual swords

    Weapon.xml
    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>
    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.

    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." />
    Last edited by gReGiTh; 17-03-07 at 03:52 PM.



Page 2 of 2 FirstFirst 12

Advertisement