1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

sound for footsteps

Discussion in 'Level Design, Skinning and Modelling' started by daggo, Oct 21, 2003.

  1. daggo

    daggo New Member

    Joined:
    Oct 21, 2003
    Messages:
    6
    Likes Received:
    0
    I really think it takes away from feeling immersed in the scene that you do not hear your footsteps in the demo map. Does anyone know how one could add them?
     
  2. Vito

    Vito New Member

    Joined:
    Mar 18, 2002
    Messages:
    143
    Likes Received:
    0
    Why do you need footsteps? You have no feet. ;)
     
  3. Radiosity

    Radiosity Minty Fresh!

    Joined:
    Jan 3, 2003
    Messages:
    2,217
    Likes Received:
    0
  4. daggo

    daggo New Member

    Joined:
    Oct 21, 2003
    Messages:
    6
    Likes Received:
    0
    So far we have used the Quake3 engine to produce visualizations of interesting mathematical surfaces. It really helps when you walk on a surface and it really sounds like metal ... Just look at the screenshots at

    http://www.math.tu-berlin.de/geometrie/gallery/vr/vr.shtml

    It would definitely be nice to be able to distribute this stuff to colleagues, students or anyone interested.

    Vito, does your joke imply that is impossible to add "feet" just by using unrealEd?
     
    Last edited: Oct 22, 2003
  5. Vito

    Vito New Member

    Joined:
    Mar 18, 2002
    Messages:
    143
    Likes Received:
    0
    Sort of.

    Footstep sounds are normally generated when animation notifications are triggered. That is, when an animation reaches a certain frame (usually the frame when a foot hits the ground), it calls a function that plays the sound.

    Since you have no animations (indeed, no animations), we didn't set up any notifies to play footstep sounds. So at the very least, you'd need to add in a little code that plays footsteps at regular intervals.
     
  6. daggo

    daggo New Member

    Joined:
    Oct 21, 2003
    Messages:
    6
    Likes Received:
    0
    Thank You!

    What would be the place for this code to be inserted? Would it be possible to have it triggered by movement of the player?
     
  7. Hao Niu-rou

    Hao Niu-rou flummoxed

    Joined:
    Oct 18, 2002
    Messages:
    24
    Likes Received:
    0
    if you checked the players movement and what physics state they're in you could prolly do that
     
  8. MeanFish

    MeanFish New Member

    Joined:
    Dec 4, 2002
    Messages:
    6
    Likes Received:
    0
    Would it be possible to do it by monitoring keyboard interactions? i.e. if you're holding a walk button and you're in walk mode...couldn't you create an interval using the Tick() (at least I think this is the function you would use for interval calculations) function or something similar that would trigger a sound without a single animation involved?

    I'm kind of a newbie, so if anything I just said doesn't make any sense feel free to laugh and point.

    I think that's what that last guy just said anyways. He just said it easier. I think. Unless he said something different. Gah. Need more soda.
     
    Last edited: Oct 23, 2003
  9. daggo

    daggo New Member

    Joined:
    Oct 21, 2003
    Messages:
    6
    Likes Received:
    0
    Ahhh, ... now that the sources are out it seems to me that my footsteps problem could be solved by specifying under defaultproperties in UnrealEngine2Runtime\Runtime\Classes\RTPawn.uc a more sophisticated Mesh with proper animations that trigger sounds via suitable notifies. Is this correct?
     
  10. Al[Demiurge]

    Al[Demiurge] New Member

    Joined:
    Oct 23, 2003
    Messages:
    75
    Likes Received:
    0
  11. daggo

    daggo New Member

    Joined:
    Oct 21, 2003
    Messages:
    6
    Likes Received:
    0
    Tried this:

    - Added an AnimNotify_Sound with parameters

    sound: SoundEffectsTest
    volume: 1.0
    radius: 0
    NotifyFrame 0.0

    to the boxrun animation of Animations\RT_Box_K.ukx, saved it as Animations\TestBox.ukx

    - created a file Test\Classes\TestPawn.uc which looks like Runtime\RTPawn.uc except for declaring TestBox.BoxModel as its default Mesh

    - changed in the URL section of System\UE2Runtime.ini the line "Class=Runtime\RTPawn" to "Class=Test.TestPawn". Added in the end the line "EditPackages=Test".

    Now ucc make still fails to generate Test.u and I see no effect. Moreover UnrealEd complains about not finding a package Test. What am I doing wrong?
     
    Last edited: Oct 26, 2003
  12. rodrigoelp

    rodrigoelp New Member

    Joined:
    Feb 1, 2004
    Messages:
    15
    Likes Received:
    0
    i am very interested about this topic, cuz i am making a game right now, and it is a 3rd person play, so, i do watch the feets of my character and i would like to hear its steps :(
     

Share This Page