• Do not use Works in Progress as a way of avoiding the releases system! Works in Progress can be used for sharing early betas and for getting suggestions for improvement. Releases of finished content are not allowed in this forum! If you would like to submit a finished addon, click here for instructions on how to do so.

SOC Problem :(

Status
Not open for further replies.

JJames19119

Why did they remove Grey
Meh, so much for doing it first try. :P I tried to insert a new enemy by freeslots but when I load it up, it sigsevs me. :\

Code:
#New Enemy, Black Crawla
Thing 245
MAPTHINGNUM = 1001
SPAWNSTATE = 1352
SPAWNHEALTH = 2
SEESTATE = 1354
SEESOUND = 0
REACTIONTIME = 32
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 170
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 = 16777221

#The Frames
FRAME 1352
SPRITENUMBER = 191
SPRITESUBNUMBER = 0
DURATION = 5
NEXT = 1353
ACTION A_Look


FRAME 1353
SPRITENUMBER = 191
SPRITESUBNUMBER = 0
DURATION = 5
NEXT = 1352
ACTION A_Look


FRAME 1354
SPRITENUMBER = 191
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1355
ACTION A_Chase


FRAME 1355
SPRITENUMBER = 191
SPRITESUBNUMBER = 1
DURATION = 1
NEXT = 1356
ACTION A_Chase


FRAME 1356
SPRITENUMBER = 191
SPRITESUBNUMBER = 2
DURATION = 1
NEXT = 1357
ACTION A_Chase


FRAME 1357
SPRITENUMBER = 191
SPRITESUBNUMBER = 3
DURATION = 1
NEXT = 1358
ACTION A_Chase


FRAME 1358
SPRITENUMBER = 191
SPRITESUBNUMBER = 4
DURATION = 1
NEXT = 1359
ACTION A_Chase


FRAME 1359
SPRITENUMBER = 191
SPRITESUBNUMBER = 5
DURATION = 1
NEXT = 1360
ACTION A_Chase


FRAME 1360
SPRITENUMBER = 191
SPRITESUBNUMBER = 6
DURATION = 1
NEXT = 1361
ACTION A_Chase


FRAME 1361
SPRITENUMBER = 191
SPRITESUBNUMBER = 7
DURATION = 1
NEXT = 1362
ACTION A_Chase


FRAME 1362
SPRITENUMBER = 191
SPRITESUBNUMBER = 8
DURATION = 1
NEXT = 1363
ACTION A_Chase


FRAME 1363
SPRITENUMBER = 191
SPRITESUBNUMBER = 9
DURATION = 1
NEXT = 1364
ACTION A_Chase


FRAME 1364
SPRITENUMBER = 191
SPRITESUBNUMBER = 10
DURATION = 1
NEXT = 1365
ACTION A_Chase


FRAME 1365
SPRITENUMBER = 191
SPRITESUBNUMBER = 11
DURATION = 1
NEXT = 1366
ACTION A_Chase


FRAME 1366
SPRITENUMBER = 191
SPRITESUBNUMBER = 12
DURATION = 1
NEXT = 1367
ACTION A_Chase


FRAME 1367
SPRITENUMBER = 191
SPRITESUBNUMBER = 13
DURATION = 1
NEXT = 1368
ACTION A_Chase


FRAME 1368
SPRITENUMBER = 191
SPRITESUBNUMBER = 14
DURATION = 1
NEXT = 1369
ACTION A_Chase


FRAME 1369
SPRITENUMBER = 191
SPRITESUBNUMBER = 15
DURATION = 1
NEXT = 1370
ACTION A_Chase


FRAME 1370
SPRITENUMBER = 191
SPRITESUBNUMBER = 16
DURATION = 1
NEXT = 1354
ACTION A_Chase


FRAME 1371
SPRITENUMBER = 191
SPRITESUBNUMBER = 17
DURATION = 1
NEXT = 1372
ACTION A_Scream



FRAME 1373
SPRITENUMBER = 191
SPRITESUBNUMBER = 19
DURATION = 5
NEXT = 1374
ACTION None

FRAME 1372
SPRITENUMBER = 191
SPRITESUBNUMBER = 18
DURATION = 5
NEXT = 1373
ACTION None


FRAME 1374
SPRITENUMBER = 191
SPRITESUBNUMBER = 20
DURATION = 5
NEXT = 314
ACTION None

The sprites are correct and in order. And the S_START and S_ENDs are there too. In fact, it can't be a problem with the sprites because the gamme will display the enemy before sigsevving. I used the SOC Editor to do this so I honestly don't know why it's giving me this crap. :S

If you hadn't guessed, I copied most of these stats from the Red Crawla thing. If that's a problem, then tell me why and I'll fix it.
 
There's currently a bug with the NEXT value. It actually goes to what the value is, minus 1. So if you want to go to frame 52, you'll need to put NEXT=51.
 
X_x I can't believe I forgot that. Well thanks, I was wondering how the SOC Editor got it wrong.

Alright, I got it working now. Thanks.
 
FuriousFox said:
It actually goes to what the value is, minus 1. So if you want to go to frame 52, you'll need to put NEXT=51.
That would be going to the value plus 1, FF. But correct anyway.
 
Status
Not open for further replies.

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

Back
Top