Page 1 of 1

What's wrong with my fire?

Posted: Fri Oct 05, 2007 21:48
by chopkinsca
In Phocas Island 2 I use a fire effect quite often. Here is the code for the actor:

Code: Select all

ACTOR firedrop 
{   
	renderstyle add
	Radius 5
	Height 5
	Speed 0
	ExplosionDamage 2
	ExplosionRadius 32
	DontHurtShooter
	+Missile
	+lowgravity
	+NoBlockmap
	+NoTeleport
	+NOCLIP
	+NODAMAGETHRUST
	-ACTIVATEIMPACT
	SCALE 0.6
	States
	{
	Spawn:
		SPRK ABCDABCDABCD 2
		CFCF PON 4
		CFCF A 0 A_jumpif(waterlevel >0, 17)		
 		CFCF ABCDEFG 3 a_explode 
 		CFCF A 0 A_jumpif(waterlevel >0, 9)
 		CFCF HIJKLM 3 A_Explode
 		CFCF A 0 A_jumpif(waterlevel >0, 2)
 		CFCF A 0 A_JUMP(60, 1)
 		goto spawn +16
 	death:
 		CFCF NOP 4
 		stop
	}
} 
In previous versions (1.0.21) it worked fine, but now the fire barely stays on the ground before it dies. Tell me if you need more information.

Posted: Sat Oct 06, 2007 11:08
by Graf Zahl
Maybe the change in the gravity code? Do you know which version was the first to show the altered behavior?

Posted: Sat Oct 06, 2007 15:33
by chopkinsca
It first appeared in 1.0.22