Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Guide]How To Add Weapons To Server *with Pics*

Status
Not open for further replies.
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" />
 
Junior Spellweaver
Joined
Oct 16, 2008
Messages
121
Reaction score
42
COMING SOON! TUT: HOW TO ADD CUSTOM CLOTHES
oh gosh more work :p
 
Elite Diviner
Joined
Jan 6, 2008
Messages
475
Reaction score
2
yes it works thanks only i got the name nomsg

how do i change that?
 
Junior Spellweaver
Joined
Oct 16, 2008
Messages
121
Reaction score
42
uh...change the name in name=" insert name here "
 
Elite Diviner
Joined
Jan 6, 2008
Messages
475
Reaction score
2
oke thx you

is this the same thing with clothes btw
 
Junior Spellweaver
Joined
Oct 16, 2008
Messages
121
Reaction score
42
uh with clothes theres a few more steps then wepon but ya
1st gotta open the designated mrs
then u gotta drag files
then open man01 and put the code there
after...u gotta compile it and then u gotta do the zitem in system.mrs then if u want it in shop u gotta add it same way as weapon
 
Extreme Coder - Delphi
Loyal Member
Joined
Sep 8, 2007
Messages
1,381
Reaction score
39
sota808 wow O__O"

11/10 :D
Time to use my ultimate decompiler and steal stuff of other servers :D
 
Junior Spellweaver
Joined
Oct 16, 2008
Messages
121
Reaction score
42
lolz np and ty ^_^

rule 1= SEE IT...LIKE IT...GET IT! :D
 
Experienced Elementalist
Joined
Sep 11, 2007
Messages
295
Reaction score
2
pro tutorial. This WILL help these new gunz devs. I hope that they dont get errors if they do then they are retarded =\ its so easy to follow this tut
 
Newbie Spellweaver
Joined
Jan 12, 2009
Messages
10
Reaction score
0
Oh wow, thats very noob friendly, noobs like me. xD

Thanks, very easy to understand. :D
 
Junior Spellweaver
Joined
Nov 1, 2008
Messages
110
Reaction score
0
Super nice, but i tried one thing and now my game wont start up o_O
 
Junior Spellweaver
Joined
Aug 26, 2006
Messages
157
Reaction score
2
I can see you have "Golden Top-Hat" everyone leeched that from LG-GunZ... I made that =(
 
Status
Not open for further replies.
Back
Top