blood splat and bullet puff sounds

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
DrewbieDoobie007
Posts: 171
Joined: Thu Jul 24, 2003 8:12 pm
Location: Shelton, Nebraska, USA

Re: blood splat and bullet puff sounds

Post by DrewbieDoobie007 »

Checked, no other blood actors are interfering, SpawnSound confusingly creates an error on doom startup, (unknown actor property) and all other sound properties have no effect.
If I had the breakdown of the frames and states I would just put the sound in as an A_Playsound but the wiki doesnt have the Blood class defined like the others.
User avatar
Ryan Cordell
Posts: 4349
Joined: Sun Feb 06, 2005 6:39 am
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 10
Graphics Processor: nVidia (Modern GZDoom)
Location: Capital of Explodistan

Re: blood splat and bullet puff sounds

Post by Ryan Cordell »

SpawnSound never existed. It's SeeSound.
User avatar
DrewbieDoobie007
Posts: 171
Joined: Thu Jul 24, 2003 8:12 pm
Location: Shelton, Nebraska, USA

Re: blood splat and bullet puff sounds

Post by DrewbieDoobie007 »

Yeah I saw that, it still exists in the WIKI under projectiles, regardless, seesound still doesnt do the trick...
User avatar
Skippy
Posts: 695
Joined: Sun Nov 20, 2005 9:57 am
Location: Belfast, NI

Re: blood splat and bullet puff sounds

Post by Skippy »

BladeNightflame wrote:SpawnSound never existed. It's SeeSound.
My bad, it's been a long day. What I actually meant was to call A_PlaySound in the Blood actor's Spawn state. I'll look into this later.
User avatar
Skippy
Posts: 695
Joined: Sun Nov 20, 2005 9:57 am
Location: Belfast, NI

Re: blood splat and bullet puff sounds

Post by Skippy »

Sorry for the double-post.

Here's the Blood actor definition from the source code repository. Stick a zero-length call to A_PlaySound in the Spawn state as before to get the 'splat/thump' sound working.

Code: Select all

ACTOR Blood
{
	SpawnID 130
	Mass 5
	+NOBLOCKMAP
	+NOTELEPORT
	States
	{
	Spawn:
                TNT1 A 0
                 TNT1 A 0 A_PlaySound("splat/thump")
		BLUD CBA 8
		Stop
	// there's also a 'Spray' state defined; I've no idea what it's for.
	}
}
Offtopic, I just heard that Heath Ledger's been found dead. Shocking. I'm sure his performance as The Joker will be even more unsettling now. Such a shame.
User avatar
DrewbieDoobie007
Posts: 171
Joined: Thu Jul 24, 2003 8:12 pm
Location: Shelton, Nebraska, USA

Re: blood splat and bullet puff sounds

Post by DrewbieDoobie007 »

Thats exactly what I needed and this now works perfectly. THANKS!
Locked

Return to “Editing (Archive)”