In All maps dungeon,prison and mansion the npcs ddnt attack attack all move but ddnt attack Helpp
In All maps dungeon,prison and mansion the npcs ddnt attack attack all move but ddnt attack Helpp
ez fix.
add the npc items into zitem.xml
Add this codes into your zitem:
Code:<ITEM id="300011" name="A Monster Dagger" desc="Premium Gunz Staff." weapon="dagger" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="20" range="160" angle="30" ctrl_ability="0" /> <ITEM id="300012" name="A Monster Dagger" desc="Premium Gunz Staff." weapon="dagger" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="15" range="120" angle="45" ctrl_ability="0" /> <ITEM id="300013" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="20" range="140" angle="45" ctrl_ability="0" /> <ITEM id="300014" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="30" range="240" angle="60" ctrl_ability="0" /> <ITEM id="300015" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="30" range="300" angle="30" ctrl_ability="0" /> <ITEM id="300016" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="50" range="550" angle="40" ctrl_ability="0" /> <ITEM id="300017" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="75" range="550" angle="40" ctrl_ability="0" /> <ITEM id="300018" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="30" range="400" angle="40" ctrl_ability="0" /> <ITEM id="300021" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="15" range="165" angle="45" ctrl_ability="0" /> <ITEM id="300022" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="20" range="135" angle="45" ctrl_ability="0" /> <ITEM id="300023" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="30" range="260" angle="30" ctrl_ability="0" /> <ITEM id="300024" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="40" range="400" angle="30" ctrl_ability="0" /> <ITEM id="300025" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="40" range="620" angle="30" ctrl_ability="0" /> <ITEM id="300026" name="A Monster Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="50" range="450" angle="45" ctrl_ability="0" /> <ITEM id="300031" name="Skeleton Sword" desc="Premium Gunz Staff." weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0" weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing" hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0" damage="15" range="190" angle="60" ctrl_ability="0" />
everybode use this itemid's to attack.
Btw I took it from the Gunz I use to work with.
Last edited by wtfhacker; 27-01-10 at 05:09 PM.
Put thats code in zitem.xml
<ITEM id="300011" name="STR:ZITEM_NAME_300011" desc="STR:ZITEM_DESC_300011" weapon="dagger" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="20" range="160" angle="30" ctrl_ability="0" />
<!-- ??? ??? ?? -->
<ITEM id="300012" name="STR:ZITEM_NAME_300012" desc="STR:ZITEM_DESC_300012" weapon="dagger" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="
swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="15" range="120" angle="45" ctrl_ability="0" />
<!-- ??? ???? ?? -->
<ITEM id="300013" name="STR:ZITEM_NAME_300013" desc="STR:ZITEM_DESC_300013" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="20" range="140" angle="45" ctrl_ability="0" />
<!-- ?? ???? ??? -->
<ITEM id="300014" name="STR:ZITEM_NAME_300014" desc="STR:ZITEM_DESC_300014" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="30" range="240" angle="60" ctrl_ability="0" />
<!-- ??? ??? ??? -->
<ITEM id="300015" name="STR:ZITEM_NAME_300015" desc="STR:ZITEM_DESC_300015" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="30" range="300" angle="30" ctrl_ability="0" />
<!-- ??? ?? ?? -->
<ITEM id="300016" name="STR:ZITEM_NAME_300016" desc="STR:ZITEM_DESC_300016" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="50" range="550" angle="40" ctrl_ability="0" />
<!-- ??? ? ?? ??? ?? -->
<ITEM id="300017" name="STR:ZITEM_NAME_300017" desc="STR:ZITEM_DESC_300017" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="75" range="550" angle="40" ctrl_ability="0" />
<!-- ??? ? ???? ?? -->
<ITEM id="300018" name="STR:ZITEM_NAME_300018" desc="STR:ZITEM_DESC_300018" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="30" range="400" angle="40" ctrl_ability="0" />
<!-- ???? ?? -->
<ITEM id="300021" name="STR:ZITEM_NAME_300021" desc="STR:ZITEM_DESC_300021" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="15" range="165" angle="45" ctrl_ability="0" />
<!-- ??? ??? ?? -->
<ITEM id="300022" name="STR:ZITEM_NAME_300022" desc="STR:ZITEM_DESC_300022" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="20" range="135" angle="45" ctrl_ability="0" />
<!-- ?? ???? ?? -->
<ITEM id="300023" name="STR:ZITEM_NAME_300023" desc="STR:ZITEM_DESC_300023" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="30" range="260" angle="30" ctrl_ability="0" />
<!-- ??? ?? ?? -->
<ITEM id="300024" name="STR:ZITEM_NAME_300024" desc="STR:ZITEM_DESC_300024" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="40" range="400" angle="30" ctrl_ability="0" />
<!-- ??? ?(??)? ?? -->
<ITEM id="300025" name="STR:ZITEM_NAME_300025" desc="STR:ZITEM_DESC_300025" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="40" range="620" angle="30" ctrl_ability="0" />
<!-- ??? ??? ?? -->
<ITEM id="300026" name="STR:ZITEM_NAME_300026" desc="STR:ZITEM_DESC_300026" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="50" range="450" angle="45" ctrl_ability="0" />
<!-- ????? ? -->
<ITEM id="300031" name="STR:ZITEM_NAME_300031" desc="STR:ZITEM_DESC_300031" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="15" range="190" angle="60" ctrl_ability="0" />
<!-- ???? ???? ?? -->
<ITEM id="300032" name="STR:ZITEM_NAME_300032" desc="STR:ZITEM_DESC_300032" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="20" range="130" angle="45" ctrl_ability="0" />
<!-- ?? ????? ? -->
<ITEM id="300033" name="STR:ZITEM_NAME_300033" desc="STR:ZITEM_DESC_300033" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="30" range="370" angle="45" ctrl_ability="0" />
<!-- ?? ????? ? -->
<ITEM id="300034" name="STR:ZITEM_NAME_300034" desc="STR:ZITEM_DESC_300034" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="40" range="450" angle="45" ctrl_ability="0" />
<!-- ???? ??? ?? -->
<ITEM id="300035" name="STR:ZITEM_NAME_300035" desc="STR:ZITEM_DESC_300035" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="30" range="190" angle="45" ctrl_ability="0" />
<!-- ?? ???? ?? -->
<ITEM id="300036" name="STR:ZITEM_NAME_300036" desc="STR:ZITEM_DESC_300036" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="15" range="130" angle="45" ctrl_ability="0" />
<!-- ?? ????(??)? ? -->
<ITEM id="300037" name="STR:ZITEM_NAME_300037" desc="STR:ZITEM_DESC_300037" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="50" range="700" angle="30" ctrl_ability="0" />
<!-- ??? ?? -->
<ITEM id="300039" name="STR:ZITEM_NAME_300039" desc="STR:ZITEM_DESC_300039" weapon="katana" type="melee" slot="melee" res_sex="a" mesh_name="" totalpoint="0" res_level="0"
weight="0" bt_price="0" magazine="0" reloadtime="0" slug_output="false" gadget_id="0" image_id="0" bullet_image_id="0" magazine_image_id="0" delay="0" snd_fire="blade_swing"
hp="0" ap="0" maxwt="0" sf="0" fr="0" cr="0" pr="0" lr="0"
damage="30" range="370" angle="120" ctrl_ability="0" />
thanks wtfhacker =D