![]() |
|
|
#1 |
|
Registered User
Join Date: Oct. 31st, 2003
Posts: 19
|
sound procedural or any other
does any one know how to change the sound of the bullet when it hits the wall? or the explosion of a grenade?
they are not impactsounds and i don't know what kind they are? thanks v |
|
|
|
|
|
#2 |
|
For explosions it is usually defined in the projectile (it is in RocketProj/Grenade), for bullet sounds look at HitEffect.uc found in xWeapons. From there they define what Effect classes should be used for different surfaces. The different effect classes defined in HitEffect also define what sound to be played.
|
|
|
|
|
|
|
#3 |
|
defaultproperties coder
Join Date: May. 5th, 2004
Location: CT
Posts: 18
|
TO replace the impact sounds that the minigun makes, look in MiniGunAttachment, then find simulated event ThirdPersonEffects(). You would change the AssaultRifle the same way. Below is the MiniGunAttachment code thats revelvent:
Code:
if ( FiringMode == 0 ) Spawn(class'HitEffect'.static.GetHitEffect(mHitActor, mHitLocation, mHitNormal),,, mHitLocation, Rotator(mHitNormal)); else Spawn(class'ExploWallHit',,, mHitLocation, Rotator(mHitNormal)); If you need more explination, I could whip up a quick source dump. |
|
|
|
|
|
#4 | |
|
Registered User
Join Date: Oct. 31st, 2003
Posts: 19
|
more, yes/
Quote:
thanks Last edited by Mychaeel; 17th May 2004 at 06:37 AM. Reason: Fixed [quote] tags |
|
|
|
|
|
|
#5 | |
|
defaultproperties coder
Join Date: May. 5th, 2004
Location: CT
Posts: 18
|
Quote:
|
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|