Now, I know it's been a while since I've been here...
I am wanting to make the Bosseye spawn an actor that acts like an 'immediate landmine'.
I have R667's Pulse Rifle, and I am using the grenades from it.
I want the 'invisible immediate landmine actor' to, right when it spawns from bosseye, it spawns out a circular motion of grenades.
In a way, it's like a cluster bomb; a bomb that when thrown, splits into multiple bombs and explode. but here, the grenades split immediately, then bounce around like the Pulse rifle grenades are supposed to, then blow up.
I got it to work by using the summon code in the console. when it summoned through there, it works PERFECT.
HOWEVER...
When Bosseye spawns it, nothing happens, no grenades go flying the second it spawns. What on earth is going on?!
Here is code:
Code: Select all
ACTOR GrenadeAttack : Grenade
{
Radius 8
Height 18
Speed 10
Damage 35
+GRENADETRAIL
SeeSound "weapons/grenlf"
DeathSound "weapons/grenlx"
Projectile
States
{
Spawn:
TNT1 A 3
goto Missile
Missile:
MISL B 8 Bright A_Explode(50)
MISL C 6 Bright
MISL D 4 Bright
MISL D 1 A_FireCustomMissile("PulseGrenade",45,0,20,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,40,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,60,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,80,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,100,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,120,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,140,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,160,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,-20,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,-40,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,-60,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,-80,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,-100,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,-120,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,-140,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,-160,80)
MISL D 0 A_FireCustomMissile("PulseGrenade",90,0,180,80)
MISL D 10 A_FireCustomMissile("PulseGrenade",90,0,0,80)
TNT1 AAAAA 10
MISL B 8 Bright A_Explode(50)
MISL C 6 Bright
MISL D 4 Bright
Goto Death
Death:
MISL B 8 Bright A_Explode
MISL C 6 Bright
MISL D 4 Bright
Stop
}
}
Here is 'Pulsegrenade' from the R667 weapon: 'Aliens Pulse Rifle'
Code: Select all
actor PulseGrenade
{
Radius 8
Height 8
Speed 40
Damage 35
PROJECTILE
+DOOMBOUNCE
+GRENADETRAIL
+CANBOUNCEWATER
+EXTREMEDEATH
SeeSound "weapons/pgrnbounce"
DeathSound "weapons/rocklx"
ReactionTime 90
States
{
Spawn:
PGRN A 0
PGRN A 0 A_Countdown
PGRN A 0 A_StopSound
PGRN A 1 A_Gravity
Goto Spawn+3
Death:
NULL A 0 A_NoGravity
MISL B 3 Bright A_Explode(128,128,1)
MISL CD 3 Bright
Stop
}
}
BTW, Monday is my birthday. I'm turning 18. Oh, boy.