'Complete' Invisibility Sphere from Beautiful Doom

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
cmw1986
Posts: 154
Joined: Mon Jan 09, 2012 1:41 pm

'Complete' Invisibility Sphere from Beautiful Doom

Post by cmw1986 »

I have encountered a problem with the Complete Invisibility Sphere from Beautiful Doom and I want to know if anyone knows a correct DECORATE code to solve the issue.

Here is what I noticed:

Pro:

After picking up the invisibility powerup and before firing a weapon afterwards, the enemies are not alerted.

Con:

If a weapon (minus the fists) is fired, the enemies will be alerted, but for only about three seconds. There is a 'freezing' bug that needs to be fixed.

What I want is for the enemies to be alerted for the amount of time the powerup lasts and walk around aimlessly (even if they had already seen the player). After that, the enemies should then continue or begin attacking the player.

And here is the code:

Code: Select all

Spawn:
		TNT1 A 0 A_JumpIfInventory ("PowerInvisibility", 1, "SpawnInvis")
		PLAY A 1
		TNT1 A 0 A_UnhideThing
		Goto Spawn
	SpawnInvis:
		TNT1 A 0 A_HideThing
		PLAY A 1
		Goto Spawn
	See:
		TNT1 A 0 A_JumpIfInventory ("PowerInvisibility", 1, "SeeInvis")
		TNT1 A 0 A_UnhideThing
		PLAY A 6
		PLAY B 6
		Goto Spawn
		TNT1 A 0
		PLAY C 6
		PLAY D 6
		Goto Spawn
	SeeInvis:
		TNT1 A 0 A_HideThing
		PLAY A 6
		PLAY B 6
		Goto Spawn
		TNT1 A 0
		PLAY C 6
		PLAY D 6
		Goto Spawn
	Missile:
		PLAY E 10 Bright A_UnhideThing
		PLAY A 20
		Goto Spawn
	Melee:
		PLAY F 6 A_UnhideThing
		PLAY A 14
		Goto Missile
	Death:
		TNT1 A 0 A_UnhideThing
		PLAY H 10 A_PlayerSkinCheck ("AltSkinDeath")
		PLAY I 10 A_PlayerScream
		PLAY J 10 A_NoBlocking
		PLAY KLM 10
		PLAY N -1
		Stop
	XDeath:
		TNT1 A 0 A_UnhideThing
		PLAY O 5 A_PlayerSkinCheck ("AltSkinXDeath")
		PLAY P 5 A_XScream
		PLAY Q 5 A_NoBlocking
		PLAY RSTUV 5
		PLAY W -1
		Stop
User avatar
Mr. Tee
Posts: 1111
Joined: Sun Feb 08, 2004 7:49 pm
Contact:

Re: 'Complete' Invisibility Sphere from Beautiful Doom

Post by Mr. Tee »

Perhaps I am living under a rock, or perhaps many people have this question in their minds: What is "Beautiful Doom"? A Google search yields nothing at all...

http://www.google.ca/search?q=%22beauti ... e&ie=UTF-8

Additionally, if this is a bug with "Beautiful Doom", shouldn't you post this on their forums (if this project has forums of course)? How is this related to ZDoom?

Finally, I don't understand your DECORATE code; is this intended for the player or for enemies chasing the player? The sprites you are using in your DECORATE code reference the Space Marine player sprites, and you have several JumpIfInventory actions which would check this DECORATE actor's own inventory... Not the player's inventory.
Blue Shadow
Posts: 5039
Joined: Sun Nov 14, 2010 12:59 am

Re: 'Complete' Invisibility Sphere from Beautiful Doom

Post by Blue Shadow »

Mr. Tee wrote:What is "Beautiful Doom"?
http://www.doomworld.com/idgames/index.php?id=16484
Locked

Return to “Editing (Archive)”