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

How to give melee monsters the ability to shoot projectiles?

Recommended Posts

In this case, it's the Icon of Sin, which cannot attack at all aside from spawning monsters. I edited Cacodemon's fireball with some BFG sounds into bossbrain.txt, but nothing is happening.

Here's the DECORATE:

//===========================================================================
//
// Boss Brain
//
//===========================================================================

ACTOR BossBrain 88
{
	Game Doom
	Obituary "John Romero made %o his bitch!"
	Health 2500
	Mass 10000000
	PainChance 255
	+SOLID +SHOOTABLE
	+NOICEDEATH
	+OLDRADIUSDMG
	PainSound "brain/pain"
	DeathSound "brain/death"
	States
	{
	BrainExplode:
		MISL BC 10 Bright
		MISL D 10 A_BrainExplode
		Stop
	Spawn:
		HEAD A 10 A_Look
		Loop
	See:
		HEAD A 3 A_Chase
		Loop
	Missile:
		HEAD B 5 A_FaceTarget
		HEAD C 5 A_FaceTarget
		BFGG A 20 A_BFGSound
		BFGG B 10 A_GunFlash
		BFGG D 10 BRIGHT A_FireBFG
		Goto See
	Pain:
		BBRN B 36 A_BrainPain
		Goto See
	Death:
		BBRN A 100 A_BrainScream
		BBRN AA 10
		BBRN A -1 A_BrainDie
		Stop
	}
}


//===========================================================================
//
// Boss Eye
//
//===========================================================================

ACTOR BossEye 89
{
	Game Doom
	Height 32
	+NOBLOCKMAP
	+NOSECTOR
	States
	{
	Spawn:
		SSWV A 10 A_Look
		Loop
	See:
		SSWV A 181 A_BrainAwake
		SSWV A 150 A_BrainSpit
		Wait
	}
}

//===========================================================================
//
// Boss Target
//
//===========================================================================

ACTOR BossTarget : SpecialSpot 87
{
	Game Doom
	Height 32
	+NOBLOCKMAP
	+NOSECTOR
}

//===========================================================================
//
// Spawn shot
//
//===========================================================================

ACTOR SpawnShot
{
	Radius 6
	Height 32
	Speed 10
	Damage 3
	Projectile
	+NOCLIP
	-ACTIVATEPCROSS
	+RANDOMIZE
	SeeSound "brain/spit"
	DeathSound "brain/cubeboom"
	States
	{
	Spawn:
		BOSF A 3 BRIGHT A_SpawnSound
		BOSF BCD 3 BRIGHT A_SpawnFly
		Loop
	}
}
		
//===========================================================================
//
// Spawn fire
//
//===========================================================================

ACTOR SpawnFire
{
	Height 78
	+NOBLOCKMAP
	+NOGRAVITY
	RenderStyle Add
	States
	{
	Spawn:
		FIRE ABCDEFGH 4 Bright A_Fire
		Stop
	}
}

//===========================================================================
//
// Brain blast
//
//===========================================================================
ACTOR BFG9000
{
	Game Doom
	SpawnID 126
	Height 20
	Speed 10
	FastSpeed 20
	Damage 45
	Projectile 
	+RANDOMIZE
	RenderStyle Add
	Alpha 1
	SeeSound "A_BFGSound"
	DeathSound "caco/shotx"
	States
	{
	Spawn:
		BFGF A 9 Bright A_Light1
		Loop
	Death:
		BFGF B 4 Bright A_Light2
		Stop
	}
}

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
×