Cant see ingame image of a weapon

Results 1 to 1 of 1
  1. #1
    Member Sp0rkle is offline
    MemberRank
    Dec 2008 Join Date
    Eesti / EstoniaLocation
    64Posts

    Cant see ingame image of a weapon

    I managed to get it to work before but now something is messed up somehow . Items show up as gray and has no image or structure .

    zitem.xml

    Code:
    <ITEM id="60001" 
    		name="Red Shotgun" 
    		mesh_name="redshotgun" 
    		totalpoint="0" 
    		type="range"	
    		res_sex="a" 
    		res_level="1" 
    		slot="range" 
    		weapon="shotgun" 
    		weight="20" 
    		bt_price="0" 
    		delay="800"	
    		damage="12" 
    		ctrl_ability="60" 
    		magazine="7" 
    		maxbullet="35" 
    		reloadtime="4" 
    		slug_output="true"	
    		gadget_id="0" 
    		hp="0" 
    		ap="0" 
    		maxwt="0" 
    		sf="0" 
    		fr="0" 
    		cr="0" 
    		pr="0" 
    		lr="0" 
    		color="#FFFFFFFF"	
    		image_id="1" 
    		bullet_image_id="0" 
    		magazine_image_id="0" 
    		snd_reload="we_shotgunpa_reload" 
    		snd_fire="we_shotgunpa_fire" 
    		snd_dryfire="762arifle_dryfire" 
                    iscashitem="true"
    		desc="Red Shotgun" 
    		effect_id="7" />
    
    <ITEM id="60000" 
    		name="Green Shotgun" 
    		mesh_name="shotgunND" 
    		totalpoint="0" 
    		type="range"	
    		res_sex="a" 
    		res_level="1" 
    		slot="range" 
    		weapon="shotgun" 
    		weight="20" 
    		bt_price="0" 
    		delay="900"	
    		damage="12" 
    		ctrl_ability="60" 
    		magazine="7" 
    		maxbullet="35" 
    		reloadtime="4" 
    		slug_output="true"	
    		gadget_id="0" 
    		hp="0" 
    		ap="0" 
    		maxwt="0" 
    		sf="0" 
    		fr="0" 
    		cr="0" 
    		pr="0" 
    		lr="0" 
    		color="#FFFFFFFF"	
    		image_id="1" 
    		bullet_image_id="0" 
    		magazine_image_id="0" 
    		snd_reload="we_shotgunpa_reload" 
    		snd_fire="we_shotgunpa_fire" 
    		snd_dryfire="762arifle_dryfire" 
                    iscashitem="true"
    		desc="Green Shotgun" 
    		effect_id="7" />
    
    <ITEM id="52001" name="Sword Abys" mesh_name="katana_abys" totalpoint="0" type="melee" res_sex="a" res_level="1" slot="melee" weapon="katana" weight="10" bt_price="0" delay="290" damage="30" range="200" ctrl_ability="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" hp="10" 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="Sword Abys" iscashitem="true" />
    weapon.xml
    shotguns
    Code:
     <AddWeaponElu name="shotgunND" weapon_motion_type = "4" weapon_type = "4" >
    		<AddBaseModel name="shotgunND" filename="model/weapon/shotgun/shotgunND.elu" />
            </AddWeaponElu>
            <AddWeaponElu name="redshotgun" weapon_motion_type = "4" weapon_type = "4" >
    		<AddBaseModel name="redshotgun" filename="model/weapon/shotgun/redshotgun.elu" />
            </AddWeaponElu>
    sword
    Code:
    <AddWeaponElu name="katana_abys" weapon_motion_type = "1" weapon_type = "1" >
    		<AddBaseModel name="katana_abys" filename="model/weapon/katana/katana_abys.elu"
    />




Advertisement