CPZ Boss

Status
Not open for further replies.

Kaysakado

Member
I making a boss that replaces The Egg Mobile with the boss from Chemical Plant Zone, but it it's not working. All it does is make Eggman drop down and put poison balls there. Here's the code:
Code:
FRAME 1352
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 210
NEXT = 1353
ACTION A_FindTarget
VAR1 = 0
VAR2 = 0

FRAME 1354
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1355
ACTION None
VAR1 = 0
VAR2 = 0

FRAME 1353
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1354
ACTION A_Chase
VAR1 = 0
VAR2 = 0

FRAME 1355
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1356
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

FRAME 1356
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1357
ACTION None
VAR1 = 0
VAR2 = 0

FRAME 1357
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1358
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

FRAME 1358
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1359
ACTION None
VAR1 = 0
VAR2 = 0

FRAME 1359
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1360
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

FRAME 1360
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1361
ACTION None
VAR1 = 0
VAR2 = 0

FRAME 1361
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1362
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

FRAME 1362
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1363
ACTION None
VAR1 = 0
VAR2 = 0

FRAME 1363
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1352
ACTION A_DropMine
VAR1 = 0
VAR2 = 0


FRAME 103
SPRITENUMBER = 4
SPRITESUBNUMBER = 5
DURATION = 24
NEXT = 1353
ACTION A_Pain
VAR1 = 0
VAR2 = 0

Thing 3
MAPTHINGNUM = 16
SPAWNSTATE = 1352
SPAWNHEALTH = 8
SEESTATE = 1352
SEESOUND = 0
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 103
PAINCHANCE = 71
PAINSOUND = 12
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 104
DEATHSOUND = 28
XDEATHSTATE = 118
SPEED = 4
RADIUS = 1572864
HEIGHT = 3407872
MASS = 0
DAMAGE = -1
ACTIVESOUND = 26
RAISESTATE = 178
FLAGS = 2147483648
 
I don't see your problem here. You say all it does is drop a ball of slime? Well there's nothing here to make it do anything else.
 
He's supposed to go above you, and then drop balls of slime, and then repeat, but what's happening is that he falls down. To see what I mean, make a SOC and copy and paste the stuff I put in my first post into it. Then go to GFZ3.
 
A single A_Chase, does not a pursuit make. You'd need to redo quite a bit.

The spawnstate should loop with itself, calling A_SkimChase, the melee state and missile state should refer to the slime dropping states, which return to the spawnstate.
 
Now it works.
EDIT: Wait no, it doesn't. Now it's doing all kinds of wierd stuff. Here's my code:
Code:
FRAME 1352
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 210
NEXT = 1353
ACTION A_FindTarget
VAR1 = 0
VAR2 = 0

FRAME 1355
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1356
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

FRAME 1356
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1357
ACTION None
VAR1 = 0
VAR2 = 0

FRAME 1357
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1358
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

FRAME 1358
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1359
ACTION None
VAR1 = 0
VAR2 = 0

FRAME 1359
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1360
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

FRAME 1360
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1361
ACTION None
VAR1 = 0
VAR2 = 0

FRAME 1361
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1362
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

FRAME 1362
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1363
ACTION None
VAR1 = 0
VAR2 = 0


FRAME 103
SPRITENUMBER = 4
SPRITESUBNUMBER = 5
DURATION = 24
NEXT = 1353
ACTION A_Pain
VAR1 = 0
VAR2 = 0

FRAME 1353
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1353
ACTION A_SkimChase
VAR1 = 0
VAR2 = 0

FRAME 1363
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1353
ACTION A_DropMine
VAR1 = 0
VAR2 = 0

Thing 3
MAPTHINGNUM = 16
SPAWNSTATE = 1353
SPAWNHEALTH = 8
SEESTATE = 0
SEESOUND = 0
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 1354
PAINCHANCE = 71
PAINSOUND = 12
MELEESTATE = 1354
MISSILESTATE = 1354
DEATHSTATE = 104
DEATHSOUND = 28
XDEATHSTATE = 118
SPEED = 5
RADIUS = 1572864
HEIGHT = 3407872
MASS = 0
DAMAGE = -1
ACTIVESOUND = 26
RAISESTATE = 178
FLAGS = 2147484293

FRAME 1354
SPRITENUMBER = 4
SPRITESUBNUMBER = 0
DURATION = 175
NEXT = 1355
ACTION A_DeInvinciblerize
VAR1 = 0
VAR2 = 0
 
Status
Not open for further replies.

Who is viewing this thread (Total: 1, Members: 0, Guests: 1)

Back
Top