Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

How to make seperate sound effects for seperate guns

Skilled Illusionist
Joined
Apr 3, 2009
Messages
323
Reaction score
2
Location
England
How do i make 1 shot gun have shotgunzsoundeffect.wav
and another shot gun shotgunzsoundeffect2.wav
ive edited zitem correct but it doesnt work still :S
 
try this one
go to your zitem.xml and choose your item.

Example :


<ITEM id="69494" name="Donator Gris ShotGun" mesh_name="gris" totalpoint="0" type="range" res_sex="a" res_level="0" slot="range" weapon="shotgun" weight="0" bt_price="0" delay="1000" damage="10" ctrl_ability="0" magazine="6" maxbullet="30" reloadtime="5" slug_output="true" gadget_id="0" hp="2" ap="2" 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="Donator Gris ShotGun" effect_id="7" iscashitem="false" />

effects id :

3 = Pistol
4 = pistol X2
5 = Rifle
6 = SMG
7 = shotgun
8 = other rifle sound
9 = MachinGun

more ...

snd_fire="XXX"
snd_dryfire="XXX"
snd_reload="XXX"



now you see effect_id="7" ?

now change to effect_id="6" = SMG Sound...

<ITEM id="69494" name="Donator Gris ShotGun" mesh_name="gris" totalpoint="0" type="range" res_sex="a" res_level="0" slot="range" weapon="shotgun" weight="0" bt_price="0" delay="1000" damage="10" ctrl_ability="0" magazine="6" maxbullet="30" reloadtime="5" slug_output="true" gadget_id="0" hp="2" ap="2" 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="Donator Gris ShotGun" effect_id="6" iscashitem="false" />

"and take a look into effects.xml"
 
Last edited:
Upvote 0
Back