Walking audio needed

Hello! Thanks for helping :slight_smile:

currently in my game (Alot like slender, but better)
i have it basically complete.
Paper, Slender,everything!

but im missing one thing and thats the walking audio.

I have a script built to play the audio the only problem is,
It plays it at a time. so my audio has to only be one step for it to work.

I cant find ANY of these online, and i really need some help.

The games based in a grassy/woodlands enviroment.

Someone, Please! Help!

Thanks!

-Prophet968

I wrote an answer here for swapping between walking and running footsteps (no sound when not moving) : Switch between two different sounds for walking and sprinting? - Questions & Answers - Unity Discussions

Edit : Here’s a version just for walking and stopped :

#pragma strict

var walk : AudioClip;

var isWalking : boolean = false;

function Start() 
{
		audio.Stop();
		audio.clip = walk;
}

function Update() 
{
	GetState();
	PlayAudio();
}

function GetState() 
{
	if ( Input.GetAxis( "Horizontal" ) || Input.GetAxis( "Vertical" ) )
	{
		// Walking
		isWalking = true;
	}
	else
	{
		// Stopped
		isWalking = false;
	}
}

function PlayAudio() 
{
	if ( isWalking )
	{
		if ( !audio.isPlaying )
		{
			audio.Play();
		}
	}
	else
	{
		audio.Stop();
	}
}

Here’s the link to a fast walk audio:
Fast-Walk

Tell us in detail of what you want such as a walk in some kind of room or walk outside on stones? etc…

Wait, here is the easiest script in the history of man kind. Make sure that you attach this script to an object that has an audio source:

using UnityEngine;
using System.Collections;

public class Running : MonoBehaviour {
	
	void Start () {
	
	}
	
	void Update () {
		if(Input.GetKey("w")){
			if(!audio.isPlaying)
				audio.Play();
		}
		if(Input.GetKeyUp("w"))
			audio.Stop();
	}

}

If you need actual walking footstep sounds I’m selling a pack of over 100 footsteps on various surfaces for only $5.00. Let me know if you need any sound effects or music for projects.
Thanks,
Adam
adam@craftmediagroup.com

http://www.craftmediagroup.com/store/

http://www.craftmediagroup.com/sounddesign