Invisible Weapons, Visible Armor
Forward:
Up until this point I've had no issues. For some reason all of the weapons models cannot be seen. I have hex edited the elu's and converted the .png's to dds's using gimp. I have since reverted this change and still the same results. I changed all data accordingly during this process.
This is my first attempt at importing a model into Gunz.
Read Before Posting Reply:
All CRC's Checked and Entered three times.
Mlog has no issues, no crashes.
ALL Items do appear in shops, but ALL have no models (Including Melee weapons).
Files have been placed in the model.mrs with directory :/weapon/pistol/sourcefile.elu and sourcemesh.png/dds/png.dds
No duplicate item ids or string ids.
Credits to HellSniper for his amazing weapon design.
From Strings.xml
Code:
<STR id="ZITEM_NAME_600314">Crimson Cerberus</STR>
<STR id="ZITEM_DESC_600314">A Tained weapon, firing large shells of destruction.</STR>
<STR id="ZITEM_NAME_600315">Ivory Cerberus</STR>
<STR id="ZITEM_DESC_600315">Now Purified, this weapons destructive force, obliterates any foe.</STR>
From Zitem.xml
Code:
<ITEM id="25019" name="STR:ZITEM_NAME_600314" mesh_name="cerberus_red" totalpoint="0" type="range"
res_sex="a" res_level="0" slot="range" weapon="pistol" weight="7" bt_price="15000" delay="350"
damage="11" ctrl_ability="30" magazine="6" maxbullet="36" reloadtime="400" slug_output="true"
gadget_id="0" hp="0" ap="0" maxwt="0" sf="2" fr="0" cr="0" pr="0" lr="0" color="#FFFFFFFF"
image_id="1" bullet_image_id="0" magazine_image_id="0" snd_reload="we_pistol_reload"
snd_fire="we_pistol_fire" snd_dryfire="357magrevolver_dryfire" desc="STR:ZITEM_DESC_600314"
effect_id="3" />
<ITEM id="25020" name="STR:ZITEM_NAME_600315" mesh_name="cerberus_white" totalpoint="0" type="range"
res_sex="a" res_level="0" slot="range" weapon="pistol" weight="7" bt_price="20000" delay="250"
damage="18" ctrl_ability="20" magazine="12" maxbullet="72" reloadtime="400" slug_output="true"
gadget_id="0" hp="15" ap="15" maxwt="0" sf="2" fr="0" cr="0" pr="0" lr="0" color="#FFFFFFFF"
image_id="1" bullet_image_id="0" magazine_image_id="0" snd_reload="we_pistol_reload"
snd_fire="we_pistol_fire" snd_dryfire="357magrevolver_dryfire" desc="STR:ZITEM_DESC_600315"
effect_id="3" />
From Filelist.xml
Code:
<FILE NAME="model/weapon/pistol/cerberus_red.elu" CRC32="59d402af"/>
<FILE NAME="model/weapon/pistol/cerberus_red.png" CRC32="3d6b7b81"/>
<FILE NAME="model/weapon/pistol/cerberus_white.elu" CRC32="de609820"/>
<FILE NAME="model/weapon/pistol/cerberus_white.png" CRC32="328dff4d"/>
Weapon.xml
Code:
<AddWeaponElu name="cerberus_red" weapon_motion_type = "2" weapon_type = "2" >
<AddBaseModel name="cerberus_red" filename="model/weapon/pistol/cerberus_red.elu" />
<AddWeaponElu name="cerberus_white" weapon_motion_type = "2" weapon_type = "2" >
<AddBaseModel name="cerberus_white" filename="model/weapon/pistol/cerberus_white.elu" />
I'm positive this is a client side issue. As without the client files the server runs normally and my "Clean" test client shows all models (except for the cerberus's)
Re: Invisible Weapons, Visible Armor
Theres indeed something wrong with your files if the game shows you nothing.
If it only would be a missing texture gunz would display the model anyways, completly white though.
Which files are you using?
Re: Invisible Weapons, Visible Armor
Something wrong with your weapon.xml :l
Posted via Mobile Device
Re: Invisible Weapons, Visible Armor
Omfg! i have this too lol
Re: Invisible Weapons, Visible Armor
You either have your weapon.xml coded wrong for each of your weapons, or it's not in your model.mrs.
Re: Invisible Weapons, Visible Armor
Show me your weapon codes, it should be messed up.
Also, use this site:
XML Validator
Re: Invisible Weapons, Visible Armor
Added Weapon.xml into first post.
Quote:
Originally Posted by
HellSniper
Theres indeed something wrong with your files if the game shows you nothing.
If it only would be a missing texture gunz would display the model anyways, completly white though.
Which files are you using?
Code:
<FILE NAME="model/weapon/pistol/cerberus_red.elu" CRC32="59d402af"/>
<FILE NAME="model/weapon/pistol/cerberus_red.png" CRC32="3d6b7b81"/>
<FILE NAME="model/weapon/pistol/cerberus_white.elu" CRC32="de609820"/>
<FILE NAME="model/weapon/pistol/cerberus_white.png" CRC32="328dff4d"/>
Your files. :) You gun is amazing. If you have anything else let me know, I love your models! :)
EDIT: Solution. Weapon.xml was the issue. /facepalm.
Thank you everyone for your assistance. I greatly appreciate it. Could a Mod close this with a [Solution] Tag.
Re: Invisible Weapons, Visible Armor
Code:
<FILE NAME="model/weapon/pistol/cerberus_red.elu" CRC32="59d402af"/>
<FILE NAME="model/weapon/pistol/cerberus_red.png" CRC32="3d6b7b81"/>
<FILE NAME="model/weapon/pistol/cerberus_white.elu" CRC32="de609820"/>
<FILE NAME="model/weapon/pistol/cerberus_white.png" CRC32="328dff4d"/>
This seems more like a filelist.xml codes, btw.
Re: Invisible Weapons, Visible Armor
Quote:
Originally Posted by
Jirachi
Code:
<FILE NAME="model/weapon/pistol/cerberus_red.elu" CRC32="59d402af"/>
<FILE NAME="model/weapon/pistol/cerberus_red.png" CRC32="3d6b7b81"/>
<FILE NAME="model/weapon/pistol/cerberus_white.elu" CRC32="de609820"/>
<FILE NAME="model/weapon/pistol/cerberus_white.png" CRC32="328dff4d"/>
This seems more like a filelist.xml codes, btw.
Infact it is. Hence the heading above it. "From Filelist.xml" in the first post.
He did ask which files I was using. :P
Re: Invisible Weapons, Visible Armor
Server files you silly guy :O
Not which model files, lol
Re: Invisible Weapons, Visible Armor
Check the codes in your weapon.xml and make sure that your Model.mrs its not corrupted