I read in the manual, Character:Animate should contain a way to change the walk sound, but i don't seem to find it? I just recently reimported the asset, so thats probably not the problem... has the action moved, or do i encounter something unexpected?
or was I blind no seeing it, somehow?
thanks!
Comments
the manual talks about the "character:Animate" action, which should be able to change it, but I'm not seeing any option to do it? any ideas?
MOVE SPEED FLOAT
TALK BOOL
TURN FLOAT
Thanks for the video, I tried this method and works great.
The only thing I cannot understand is how can I set the sounds of the footsteps as Sfx and not as Speech?
Because if I add the script for the sounds under the player prefab, the volume become part of the speech volume.
There's something I'm missing? How you solved the volume assignment?
Thanks!
I was trying to figure out how to get it on the sound child as well but the script needs access to the animator component on the parent. Perhaps @ChrisIceBox might have some pointers?
There are many solutions out there if you look up "footsteps" on the asset store, but my concern is... are any compatible? Since a lot of them use stuff like raycasting and adding a audio source to the player... I don't know if they'll run into an issue with what AC is already doing and just break so it would be good to hear what has worked for others.
I got an asset called Smart Footstep System running now, because I liked the demo. It's super cheap, and it does most of what I wanted.
So the way I used it was actually use it with AC was use the third person method (insert an event marker at each footstep in animation for a first person 'dummy' character) but hide the character mesh in first person. It's pretty simple adding animation events and explains in the doc.
Works perfect to detect terrain/surface changes and switch to a new footsteps array
I had to add my own playmaker audio mixer randomness (and putting pitch/vol params on my editor audio mixer) to give some randomness. And because I'm adding my own jumping/running I have to mess with that a bit. But overall I'm happy with this solution for now and don't think there's any AC issues.
I say I don't think because I do get something weird in the editor where sound doesn't play after the first time in playback mode, unless I click on AC's in game menus or interactions in playmode, then it starts. Not sure where that issue is coming from but I'm sure i'll sort that out at some point, it's not really a big deal at the moment
Brilliant little asset - and ridiculously cheap. Get it now if you need footstep sounds in your game!
one other thing about it I noticed that I think the author forgets to mention in the docs: you can't mark the floor objects as static with this system. If you do that the floor will become glitchy, disappearing floor textures, etc...
@ChrisIceBox
Sure!