How to make a projectile decal a wall if it bounces?

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
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

How to make a projectile decal a wall if it bounces?

Post by Ceeb »

Pretty self-explanatory but it's stumping me. :| I have a razorblade that bounces around off walls and rips through enemies, and I want it to decal a wall (with a slash mark that I also use for my chainsaw) when it bumps one, but unfortunately, it doesn't work. Is there any way to do what I want?

Code: Select all

ACTOR FusionRazor
{
	Radius 4
	Height 4
	Damage 13
	Speed 45
	Scale 0.3
	Gravity 0.25
	Bouncefactor 0.75
	Projectile
	+DOOMBOUNCE
	+RIPPER
	-NOGRAVITY
	decal ChainsawSlash
	Seesound "fusion/razorwhoosh"
User avatar
Phobus
Posts: 5984
Joined: Thu May 05, 2005 10:56 am
Location: London
Contact:

Re: How to make a projectile decal a wall if it bounces?

Post by Phobus »

I assume you've given it a decaldef? It's just that I found you can actually make monsters decal a wall if you give them a decaldef and then shoot them into it, so it should work for projectiles (you know... the things that decals were practically invented for).
CaptainToenail
Posts: 3975
Joined: Fri Jul 06, 2007 9:16 am

Re: How to make a projectile decal a wall if it bounces?

Post by CaptainToenail »

He wants them to leave a mark every time they bounce, instead of only when they explode. Ceeb, I don't think you can do this unless you make the projectile shoot out faster dummy projectiles in front of it as it flies that make decals :? You could also use this method to make sparks and stuff.
Locked

Return to “Editing (Archive)”