Trouble with SOC...

Status
Not open for further replies.

Lat'

Absolute territory where
Kart Krew™️
Well, I'm actually making a SOC for srb2, based on srb2wiki's turorial one.
I have modified some things because of course, I don't want to have a jumping ball, but a Crawla that fires the Eggmobile projectiles...
But when I test it on a map, the object spawns as a circle of rings.

Here is the SOC:

Code:
FRAME 1803
SPRITENUMBER = 243
SPRITESUBNUMBER = 0
DURATION = 5
NEXT = 1804
ACTION A_Look
VAR1 = 0
VAR2 = 0

FRAME 1804
SPRITENUMBER = 243
SPRITESUBNUMBER = 0
DURATION = 5
NEXT = 1803
ACTION A_Look
VAR1 = 0
VAR2 = 0

FRAME 1805
SPRITENUMBER = 243
SPRITESUBNUMBER = 0
DURATION = 80
NEXT = 1806
ACTION A_FireShot
VAR1 = 0
VAR2 = 108

FRAME 1806
SPRITENUMBER = 17
SPRITESUBNUMBER = 0
DURATION = 5
NEXT = 1805
ACTION A_FaceTarget
VAR1 = 0
VAR2 = 0

Thing 318
MAPTHINGNUM = 4700
SPAWNSTATE = 1803
SPAWNHEALTH = 1
SEESTATE = 1806
SEESOUND = 127
REACTIONTIME = 32
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 200
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 1641
DEATHSOUND = 119
XDEATHSTATE = 0
SPEED = 3
RADIUS = 262144
HEIGHT = 524288
MASS = 100
DAMAGE = 0
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 16777221
Have I done something complety wrong? Because the frames numbers are the ones that were on the exemple, and the spritenumber is a freeslot.
 
Yeah, your thing type number should not be 4096 or above. Higher numbers are reserved for this extra parameter thing which only a few things currently actually use (boss waypoints, particle gens, flame jets).
 
Last edited:
Thanks now the ennemis spawns!
Problem solved!
 
Last edited:
Status
Not open for further replies.

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

Back
Top