How do I make actors make footstep noises that vary with floor textures?
How do I make actors make footstep noises that vary with floor textures?
I am working on a stealth-based wad, one of the things I really want in it are footsteps, that vary with the texture that is being walked on. In addition to this, I'd like to see if I can make it whereas crouching is totally silent like in games like Counter-Strike.
Help for this would be greatly appreciated.
Help for this would be greatly appreciated.
-
Catastrophe
- Retired Staff / Community Team Member
- Posts: 2569
- Joined: Sat Jun 02, 2012 2:44 am
RE: How do I make actors make footstep noises that vary with floor textures?
Look up the 'TERRAIN' lump on zdoom wiki or a wad.(Ghouls 3?)
RE: How do I make actors make footstep noises that vary with floor textures?
Doesn't that only modify the first hit sounds? Like when you first land on a surface with said texture?Catastrophe wrote: Look up the 'TERRAIN' lump on zdoom wiki or a wad.(Ghouls 3?)
RE: How do I make actors make footstep noises that vary with floor textures?
It does and the method usually used is an actor with a certain weight dropped when you walk (see state in decorate)Llewellyn wrote:Doesn't that only modify the first hit sounds? Like when you first land on a surface with said texture?Catastrophe wrote: Look up the 'TERRAIN' lump on zdoom wiki or a wad.(Ghouls 3?)
EDIT:
I managed to do it for you
I found a very easy way to do it by checking if crouching or not via acs
There you go
You can see the ACS code (i put the original in the pk3)
Feel free to edit and add sounds and anything you want if you need to
Last edited by Neewbie on Mon Aug 13, 2012 5:01 am, edited 1 time in total.
RE: How do I make actors make footstep noises that vary with floor textures?
One last question, what is the argument needed to make an actor permanently transparent and how transparent it makes it?
RE: How do I make actors make footstep noises that vary with floor textures?
Add "Renderstyle Translucent"
Change the ammount of transparency with the Alpha property
If you want to make the actor transparent after it spawned you have to use A_SetTranslucent supposing Alpha is already set but i don't know if skulltag/zandronum support it
EDIT: You can still set the alpha to 1.0 and renderstyle to transparent so you can just use A_FadeOut and A_FadeIn to make an cool disapear-like effect.
Change the ammount of transparency with the Alpha property
If you want to make the actor transparent after it spawned you have to use A_SetTranslucent supposing Alpha is already set but i don't know if skulltag/zandronum support it
EDIT: You can still set the alpha to 1.0 and renderstyle to transparent so you can just use A_FadeOut and A_FadeIn to make an cool disapear-like effect.
Last edited by Neewbie on Mon Aug 13, 2012 6:37 pm, edited 1 time in total.
RE: How do I make actors make footstep noises that vary with floor textures?
Another thing, I tryed copying then pasting the player information after I had added my own values so I could make two classes and add TEAMINFO and I got an error "No player classes defined".
RE: How do I make actors make footstep noises that vary with floor textures?
Have you added the needed classes to the KEYCONF lump just like i did in the pk3 i gave you ?
Last edited by Neewbie on Mon Aug 13, 2012 10:15 pm, edited 1 time in total.
RE: How do I make actors make footstep noises that vary with floor textures?
Yes, I can give you the link to the pk3 and so you can see what I am doing wrong.
RE: How do I make actors make footstep noises that vary with floor textures?
If you want, yes. I have a lot of free time so i'll do it for you and tell you what's wrong :p
-
Catastrophe
- Retired Staff / Community Team Member
- Posts: 2569
- Joined: Sat Jun 02, 2012 2:44 am
RE: How do I make actors make footstep noises that vary with floor textures?
dont forget to do limitedtoteam, 0/ limitedtoteam, 1
on the classes!
on the classes!