-
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
-
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>
-
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.
-
Re: Weapons don't show
google its your best friend <3
-
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)