Decal Woes

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.
Locked
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Decal Woes

Post by Demolisher »

My poor little bullet won't leave a decal.
  • Not because of misnamed sprites.
  • Not because of DECORATE name in quotes.
  • Putting the decal listing in decaldef does nothing.

Code: Select all

Actor "WeaponProj_SmallBullet" : "FastProjectile"
{
	Height 4
	Radius 2
	Speed 64
	Damage (ACS_ExecuteWithResult(800, 3))
	DamageType "None"
	Decal "Bulletchip"
	+BloodSplatter
	States
	{
	Spawn:
		BULL AA 0 A_Jump(256, "Normal")
	Normal:
		BULL A -1 Bright
		Stop
	Tracer:
		BULL B -1 Bright
		Stop
	Death:
		TNT1 A 0 A_SpawnItem("BulletPuff")
		Stop
	XDeath:
		TNT1 A 0
		Stop
	}
}
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Decal Woes

Post by Project Shadowcat »

Case Sensitive, if I recall.
Quotes are also unnecessary around the Actor's and Parent's names.
User avatar
NeuralStunner
 
 
Posts: 12328
Joined: Tue Jul 21, 2009 12:04 pm
Preferred Pronouns: No Preference
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: capital N, capital S, no space
Contact:

Re: Decal Woes

Post by NeuralStunner »

Project Dark Fox wrote:Case Sensitive, if I recall.
Yes, try Decal "BulletChip".
User avatar
Demolisher
Posts: 1749
Joined: Mon Aug 11, 2008 12:59 pm
Graphics Processor: nVidia with Vulkan support
Location: Winchester, VA
Contact:

Re: Decal Woes

Post by Demolisher »

Project Dark Fox wrote:Case Sensitive, if I recall.
Quotes are also unnecessary around the Actor's and Parent's names.
Case Sensitivity isn't the issue, I changed them so they are identical to the decaldef in (G)Zdoom.pk3, and no change.

Also, I use quotes for readability and syntax highlighting, they work the same in virtually every aspect as long as there isn't spaces.

Edit: Could it be that the death state is 0 tics?

Edit 2: Yup.
User avatar
Project Shadowcat
Posts: 9369
Joined: Thu Jul 14, 2005 8:33 pm
Preferred Pronouns: They/Them
Operating System Version (Optional): Windows 11
Graphics Processor: nVidia with Vulkan support
Location: Blacksburg, SC USA
Contact:

Re: Decal Woes

Post by Project Shadowcat »

So 0-tic deaths are a no-go, eh? Interesting.
Locked

Return to “Editing (Archive)”