SOC help

Status
Not open for further replies.

Kaysakado

Member
I made a soc, that creates a Crawla, with a few differences: It's a boss, it goes faster, and it has 3 health. I made a wad that has the crawla boss inside it and set it to map03. When I get to level three, the crawla is there, and it's faster than a normal one, but when I hit it three times, it doesn't die, and the capsule doesn't come up (I did put one in the map)!

Here is the SOC:
Code:
Thing 245
MAPTHINGNUM = 9999
SPAWNSTATE = 1352
SPAWNHEALTH = 3
SEESTATE = 1354
SEESOUND = 0
REACTIONTIME = 5
ATTACKSOUND = 0
PAINSTATE = 1354
PAINCHANCE = 200
PAINSOUND = 12
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 603
DEATHSOUND = 22
XDEATHSTATE = 0
SPEED = 5
RADIUS = 1572864
HEIGHT = 2097152
MASS = 100
DAMAGE = 0
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 129

FRAME 1352
SPRITENUMBER = 2
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1353
ACTION A_Look
VAR1 = 1
VAR2 = 0

FRAME 1353
SPRITENUMBER = 2
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1352
ACTION A_Look
VAR1 = 1
VAR2 = 0

FRAME 1354
SPRITENUMBER = 2
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1355
ACTION A_Chase
VAR1 = 0
VAR2 = 0

FRAME 1355
SPRITENUMBER = 2
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1354
ACTION A_Chase
VAR1 = 0
VAR2 = 0
 
As annoying as it is, the EggCapsule isn't triggered by the death of a boss.
It's actually triggered by either A_BossDeath, or A_BossScream, I forget exactly. But you'll need to call those in the deathstate.
 
Oh, I know you mean. It becomes a sprite that acts like scenery, and that you can't kill. I think it had something to do with painchance, but I'm not exactly sure. It was quite a long time ago I made new SOCced enemies.
 
Status
Not open for further replies.

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

Back
Top