Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Eponasoft

DECORATE inquiry: things that don't move when ya shoot 'em

Recommended Posts

OK so I've made a "lightable torch"... that is, you "kill" it and it turns on. It works great! ... for the most part. Only thing is... sometimes, when I hit it with a powerful shot, the thing will go reeling. Now obviously I know I can stop this from happening by putting solid walls around it, but I wanted to know if there was something else I could do to prevent it from happening.

Here's the DECORATE code for it:

Actor LightableTorch 6254
{
	SpawnID 254
	Health 2
	Radius 8
	Height 104
	+SOLID
	+SHOOTABLE
	+DONTFALL
	+NEVERRESPAWN
	+NOBLOOD
	+NOTIMEFREEZE
	+NOGRAVITY
	States
	{
	Spawn:
		TORC A 1
		Loop
	Death:
		WTRH ABC 6 Bright A_NoBlocking
		Loop
	}
}
This is for my Heretic TC, and I'm using GZDOOM.

Share this post


Link to post

A mass of 0x7FFFFFFF should cushion practically all blows. You can also, in addition, do something like this:

	Death:
		WTRH A 0 Bright A_Stop
		WTRH ABC 6 Bright A_NoBlocking
		Loop

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×