Junior Spellweaver
- Joined
- Oct 16, 2008
- Messages
- 121
- Reaction score
- 42
what's wrong with this?
this is my weapon.xml
Code:this is origneel shotgun [COLOR="Yellow"]<AddWeaponElu name="shotgun10_1" weapon_motion_type = "4" weapon_type = "4" > <AddBaseModel name="shotgun10_1" filename="model/weapon/shotgun/shotgun10_1.elu" /> </AddWeaponElu>[/COLOR] and this one the color shotgun [COLOR="Red"]<AddWeaponElu name="blueshotgun" weapon_motion_type = "4" weapon_type = "4" > <AddBaseModel name="blueshotgun" filename="model/weapon/shotgun/blueshotgun.elu" /> </AddWeaponElu> <AddWeaponElu name="pinkshotgun" weapon_motion_type = "4" weapon_type = "4" > <AddBaseModel name="pinkshotgun" filename="model/weapon/shotgun/pinkshotgun.elu" /> </AddWeaponElu> <AddWeaponElu name="redshotgun" weapon_motion_type = "4" weapon_type = "4" > <AddBaseModel name="redshotgun" filename="model/weapon/shotgun/redshotgun.elu" /> </AddWeaponElu> <AddWeaponElu name="shotgunND" weapon_motion_type = "4" weapon_type = "4" > <AddBaseModel name="shotgunND" filename="model/weapon/shotgun/shotgunND.elu" /> </AddWeaponElu> <AddWeaponElu name="polkashotgun" weapon_motion_type = "4" weapon_type = "4" > <AddBaseModel name="polkashotgun" filename="model/weapon/shotgun/polkashotgun.elu" /> </AddWeaponElu> <AddWeaponElu name="shotgunTA" weapon_motion_type = "4" weapon_type = "4" > <AddBaseModel name="shotgunTA" filename="model/weapon/shotgun/shotgunTA.elu" /> </AddWeaponElu>[/COLOR]
what is wrong with the code?
i don't see them in my shop
this is my zitem.xml
Code:origneel [COLOR="Yellow"]<ITEM id="6007" name="STR:ZITEM_NAME_6007" mesh_name="shotgun07" totalpoint="0" type="range" res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000" delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5" 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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload" snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6007" effect_id="7" />[/COLOR] [COLOR="Red"]colour shotgun[/COLOR] <ITEM id="6007" name="STR:ZITEM_NAME_6008" mesh_name="pinkshotgun" totalpoint="0" type="range" res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000" delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5" 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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload" snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6008" effect_id="7" /> <ITEM id="6007" name="STR:ZITEM_NAME_6009" mesh_name="redshotgun" totalpoint="0" type="range" res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000" delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5" 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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload" snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6009" effect_id="7" /> <ITEM id="6007" name="STR:ZITEM_NAME_6019" mesh_name="blueshotgun" totalpoint="0" type="range" res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000" delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5" 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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload" snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6019" effect_id="7" /> <ITEM id="6007" name="STR:ZITEM_NAME_6029" mesh_name="polkashotgun" totalpoint="0" type="range" res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000" delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5" 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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload" snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6029" effect_id="7" /> <ITEM id="6007" name="STR:ZITEM_NAME_6109" mesh_name="shotgunND" totalpoint="0" type="range" res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000" delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5" 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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload" snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6109" effect_id="7" /> <ITEM id="6007" name="STR:ZITEM_NAME_6010" mesh_name="shotgunTA" totalpoint="0" type="range" res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000" delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5" 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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload" snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6010" effect_id="7" />
and this is my shop in matchserver.
Code:<!-- SHOTGUN --> <SELL itemid="6001" /> <SELL itemid="6002" /> <SELL itemid="6003" /> <SELL itemid="6004" /> <SELL itemid="6005" /> <SELL itemid="6006" /> <SELL itemid="6007" /> [COLOR="red"]this are my colour shotguns <SELL itemid="6008" /> <SELL itemid="6009" /> <SELL itemid="6019" /> <SELL itemid="6029" /> <SELL itemid="6109" /> <SELL itemid="6010" /[/COLOR]>
but i got a question do i must edit my zitem in my matchserver folder to or only in system.mrs
In The ZITEM.xml you have the item ids has to be diferent from all the others....then once your done...use find button *up n down search* to see if any item has the exaxt id *no extra numbers*...after u made sure that is done right...put the itemids into shop for example.... it should look like this *dont use the item ids i give might be taken in zitem.xml
Code:
[COLOR="blue"]THIS STAYS THE SAME<ITEM id="6007" name="STR:ZITEM_NAME_6007" mesh_name="shotgun07" totalpoint="0" type="range"
res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000"
delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5"
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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload"
snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6007"
effect_id="7" />[/COLOR]
[COLOR="Red"]colour shotgun[/COLOR]
<ITEM id="98736" name="STR:ZITEM_NAME_6008" mesh_name="pinkshotgun" totalpoint="0" type="range"
res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000"
delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5"
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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload"
snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6008"
effect_id="7" />
<ITEM id="76561" name="STR:ZITEM_NAME_6009" mesh_name="redshotgun" totalpoint="0" type="range"
res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000"
delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5"
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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload"
snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6009"
effect_id="7" />
<ITEM id="95656" name="STR:ZITEM_NAME_6019" mesh_name="blueshotgun" totalpoint="0" type="range"
res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000"
delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5"
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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload"
snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6019"
effect_id="7" />
<ITEM id="98564" name="STR:ZITEM_NAME_6029" mesh_name="polkashotgun" totalpoint="0" type="range"
res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000"
delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5"
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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload"
snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6029"
effect_id="7" />
<ITEM id="13546" name="STR:ZITEM_NAME_6109" mesh_name="shotgunND" totalpoint="0" type="range"
res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000"
delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5"
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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload"
snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6109"
effect_id="7" />
<ITEM id="198511" name="STR:ZITEM_NAME_6010" mesh_name="shotgunTA" totalpoint="0" type="range"
res_sex="a" res_level="45" slot="range" weapon="shotgun" weight="16" bt_price="24000"
delay="1200" damage="11" ctrl_ability="100" magazine="2" maxbullet="10" reloadtime="5"
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="2" bullet_image_id="0" magazine_image_id="0" snd_reload="we_shotgunpa_reload"
snd_fire="we_shotgunpa_fire" snd_dryfire="762arifle_dryfire" desc="STR:ZITEM_DESC_6010"
effect_id="7" />