Weapons don't show

Results 1 to 5 of 5
  1. #1
    Apprentice stifighterx is offline
    MemberRank
    Dec 2008 Join Date
    20Posts

    Weapons don't show

    Today I made a custom weapon just to test it out.
    I added the weapon into zitem.xml, weapon.xml, shop.xml and strings.xml.
    I compiled it and put them in the right directories. When I open the game, the name of the item is in the shop but I can't see it.
    Also, it doesn't show an icon(the one that indicates your item kind, for example a sword). When I go ingame, I can't see any weapons and I shoot with my hands.
    Has anyone had this problem before? Or are there any kind persons who can tell me where I went wrong?
    Or is there a nice toturial to add .elu files from blender into gunz?
    Any of these things would seriously help me...

    Here is my weapon.xml:
    <!-- sword -->
    <AddWeaponElu name="RedQueen" weapon_motion_type = "12" weapon_type = "16" >
    <AddBaseModel name="RedQueen" filename="RedQueen.elu" />

    I think I messed this up, is this correct? It's my zitem.xml
    <ITEM id="425111"
    name="RedQueen"
    mesh_name="RedQueen.elu"
    totalpoint="0"
    type="melee"
    res_sex="a"
    res_level="1"
    slot="melee"
    weight="10"
    bt_price="0"
    hp="10"
    ap="0"
    maxwt="0"
    sf="0"
    fr="0"
    cr="0"
    pr="0"
    lr="0"
    color="#FFFFFFFF"
    desc="A legendary devil may cry weapon" />

    And my strings.xml:

    <STR id="ZITEM_NAME_425111">RedQueen (Man)</STR>
    <STR id="ZITEM_DESC_425111">A legendary devil may cry weapon</STR>


    P.S.: What can be the reason why my weapons aren't showing ingame?




    Thanks!
    A novice server developper,
    Stifighterx


  2. #2
    Mocro.net Mocro is offline
    MemberRank
    Feb 2008 Join Date
    Amsterdam.Location
    891Posts

    Re: Weapons don't show

    change

    in zitem:
    mesh_name="RedQueen.elu"

    to

    mesh_name="RedQueen"

    and at file name change it to the directory like :

    <AddWeaponElu name="RedQueen" weapon_motion_type = "1" weapon_type = "19" >
    <AddBaseModel name="RedQueen" filename="model/weapon/katana/RedQueen.elu" />
    </AddWeaponElu>

  3. #3
    Apprentice stifighterx is offline
    MemberRank
    Dec 2008 Join Date
    20Posts

    Re: Weapons don't show

    It kinda works, the item is ingame... But I still dont see any of my weapons, and I dont have that icon indicating that "RedQueen" is a sword.
    Thanks for your help, now I hope somebody knows why I cant see any of my weapons.

  4. #4
    Account Upgraded | Title Enabled! JuanMedina is offline
    MemberRank
    Feb 2009 Join Date
    VenezuelaLocation
    227Posts

    Re: Weapons don't show

    google its your best friend <3

  5. #5
    Ninja Goblin HellSniper is offline
    MemberRank
    Feb 2009 Join Date
    GermanyLocation
    1,791Posts

    Re: Weapons don't show

    <ITEM id="425111"
    name="RedQueen"
    mesh_name="RedQueen"
    weapon="katana"
    totalpoint="0"
    type="melee"
    res_sex="a"
    res_level="1"
    slot="melee"
    weight="10"
    bt_price="0"
    hp="10"
    ap="0"
    maxwt="0"
    sf="0"
    fr="0"
    cr="0"
    pr="0"
    lr="0"
    color="#FFFFFFFF"
    desc="A legendary devil may cry weapon" />

    There u go ...
    U forgot to set the Weapon type with weapon="x" (replace x with the weapontype it should be)



Advertisement