How do i add sound?

Results 1 to 2 of 2
  1. #1
    Account Upgraded | Title Enabled! flyffhelper is offline
    MemberRank
    Dec 2010 Join Date
    419Posts

    How do i add sound?

    thanks for the help problem solved!
    Last edited by flyffhelper; 03-09-16 at 02:56 PM.


  2. #2
    Apprentice amwfa is offline
    MemberRank
    Apr 2008 Join Date
    17Posts

    Re: How do i add sound?

    put the custom sound in your effect.mrs file
    Gunz Client\Sound\effect.mrs

    if u replace ur custom sound u are done
    if u added new custom sound for specified weapon u need to edit several stuff and i'm not sure what is it exactly.

    Code:
    <ITEM id="1101" 
    		name="Adventurer Pistol x2" 
    		iscashitem="false" 
    		mesh_name="pistol18x2" 
    		totalpoint="0" 
    		type="range"	
    		res_sex="a" 
    		res_level="0" 
    		slot="range" 
    		weapon="pistolx2" 
    		weight="0" 
    		bt_price="500"	
    		delay="250" 
    		damage="17" 
    		ctrl_ability="36" 
    		magazine="12" 
    		maxbullet="72" 
    		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_pistol_reload"	
    		snd_fire="we_pistol_fire" 
    		snd_dryfire="357magrevolver_dryfire" 
    		desc="(Dual Wield) These pistols are mainly used by novice adventurers."	
    		effect_id="4" />
    Let's say u have a new custom .wav file called (we_adv_fire)
    change the (snd_fire="we_pistol_fire") to (snd_fire="we_adv_fire" )

    now u need to edit and put ur custom sound in effect.xml
    open it up
    look for "we_pistol_fire" (CTRL+F)
    IF U FOUND
    Code:
    <EFFECT NAME="we_rifle_fire" MINDISTANCE="320"/>
    then u are going good, duplicate this code and change the EFFECT NAME

    again look for "we_pistol_fire", duplicate the code u found "we_pistol_fire" used in it and change the EFFECT NAME

    u should add 3 codes as I remember


    don't forget to copy paste ur zitem.xml to ur match server directory too.

    hope this helped
    good luck



Advertisement