How do I make actors make footstep noises that vary with floor textures?

Discuss all aspects related to modding Zandronum here.
Post Reply
Dynomic
 
Posts: 30
Joined: Sun Jun 10, 2012 7:16 pm

How do I make actors make footstep noises that vary with floor textures?

#1

Post by Dynomic » Mon Aug 13, 2012 1:36 am

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.

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?

#2

Post by Catastrophe » Mon Aug 13, 2012 1:45 am

Look up the 'TERRAIN' lump on zdoom wiki or a wad.(Ghouls 3?)

Llewellyn
Forum Regular
Posts: 578
Joined: Mon Jul 02, 2012 7:12 am

RE: How do I make actors make footstep noises that vary with floor textures?

#3

Post by Llewellyn » Mon Aug 13, 2012 3:21 am

Catastrophe wrote: Look up the 'TERRAIN' lump on zdoom wiki or a wad.(Ghouls 3?)
Doesn't that only modify the first hit sounds? Like when you first land on a surface with said texture?

Neewbie
Forum Regular
Posts: 140
Joined: Sat Jun 23, 2012 11:10 am

RE: How do I make actors make footstep noises that vary with floor textures?

#4

Post by Neewbie » Mon Aug 13, 2012 3:57 am

Llewellyn wrote:
Catastrophe wrote: Look up the 'TERRAIN' lump on zdoom wiki or a wad.(Ghouls 3?)
Doesn't that only modify the first hit sounds? Like when you first land on a surface with said texture?
It does and the method usually used is an actor with a certain weight dropped when you walk (see state in decorate)

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.

Dynomic
 
Posts: 30
Joined: Sun Jun 10, 2012 7:16 pm

RE: How do I make actors make footstep noises that vary with floor textures?

#5

Post by Dynomic » Mon Aug 13, 2012 4:48 pm

One last question, what is the argument needed to make an actor permanently transparent and how transparent it makes it?

Neewbie
Forum Regular
Posts: 140
Joined: Sat Jun 23, 2012 11:10 am

RE: How do I make actors make footstep noises that vary with floor textures?

#6

Post by Neewbie » Mon Aug 13, 2012 5:38 pm

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.
Last edited by Neewbie on Mon Aug 13, 2012 6:37 pm, edited 1 time in total.

Dynomic
 
Posts: 30
Joined: Sun Jun 10, 2012 7:16 pm

RE: How do I make actors make footstep noises that vary with floor textures?

#7

Post by Dynomic » Mon Aug 13, 2012 9:56 pm

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".

Neewbie
Forum Regular
Posts: 140
Joined: Sat Jun 23, 2012 11:10 am

RE: How do I make actors make footstep noises that vary with floor textures?

#8

Post by Neewbie » Mon Aug 13, 2012 10:14 pm

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.

Dynomic
 
Posts: 30
Joined: Sun Jun 10, 2012 7:16 pm

RE: How do I make actors make footstep noises that vary with floor textures?

#9

Post by Dynomic » Tue Aug 14, 2012 3:15 am

Yes, I can give you the link to the pk3 and so you can see what I am doing wrong.

Neewbie
Forum Regular
Posts: 140
Joined: Sat Jun 23, 2012 11:10 am

RE: How do I make actors make footstep noises that vary with floor textures?

#10

Post by Neewbie » Tue Aug 14, 2012 9:40 am

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?

#11

Post by Catastrophe » Tue Aug 14, 2012 10:48 am

dont forget to do limitedtoteam, 0/ limitedtoteam, 1

on the classes!

Post Reply