SRB2 Message Board  

Go Back   SRB2 Message Board > Sonic Robo Blast 2 > Editing > Editing Help

Reply
 
Thread Tools Search this Thread
Old 12-16-2010   #1
Kim the Fox!!!
What am I doing here?
 
Kim the Fox!!!'s Avatar
Default Help with a SOC

Well, hello guys, I need help in something.
I am developing a soc with a friend, and that soc features a machine with the Ideya Capture sprites, that when hit (like when hitting a boss) executes A_BossScream, triggers a linedef action and then disappears. The problem is that the action doesn't work. Only the sprites appear. I hope you guys can help me... Thanx!

Spoiler:
FRAME 1792
SPRITENUMBER = 192
SPRITESUBNUMBER = 0
DURATION = -1
NEXT = 1792
ACTION None

FRAME 1794
SPRITENUMBER = 192
SPRITESUBNUMBER = 0
DURATION = 10
NEXT = 1795
ACTION A_BossScream

FRAME 1795
SPRITENUMBER = 192
SPRITESUBNUMBER = 0
DURATION = 10
NEXT = 1794
ACTION A_BossScream

FRAME 1793
SPRITENUMBER = 192
SPRITESUBNUMBER = 0
DURATION = 10
NEXT = 1794
ACTION A_Fall

Thing 1
MAPTHINGNUM = 100
SPAWNSTATE = 1792
SPAWNHEALTH = 1
SEESTATE = 1792
SEESOUND = 0
REACTIONTIME = 1
ATTACKSOUND = 0
PAINSTATE = 1793
PAINCHANCE = 170
PAINSOUND = 46
MELEESTATE = 1792
MISSILESTATE = 0
DEATHSTATE = 1793
DEATHSOUND = 46
XDEATHSTATE = 1793
SPEED = 0
RADIUS = 666666666
HEIGHT = 6666666
MASS = 100
DAMAGE = 2
ACTIVESOUND = 0
RAISESTATE = 1793
FLAGS = 17029
__________________
Quote:
Originally Posted by A Kart Netgame
<Super Chris> D00D64 is a hard-ass monkey.
<~Kim the Fox> I think he'd love to hear that personally.
<@Miles Knuckles Power> Yea XD
Aww, they love each other so much :D
Kim the Fox!!! is offline   Reply With Quote
Old 12-29-2010   #2
Ricardo
Dead Guybrush in netgames
 
Ricardo's Avatar
Default

This comes a bit late but eh, whatever.

Your spawn state (1792) is looping on itself, that is, its next state is state 1792. And since it has no action, it does exactly what you described: nothing.

EDIT: Actually, the duration of state 1792 is also keeping it in a loop. -1 means that it will never change to a different state, so change it to some positive value.

Don't forget to adjust the "next state value" in the other states as well. As they are now, they don't make much sense based on what you're trying to do.

Last edited by Ricardo; 12-29-2010 at 03:36 AM.
Ricardo is offline   Reply With Quote
Old 12-30-2010   #3
Prime 2.0
Grape flavored
Permanently Banned
Default

Quote:
Originally Posted by Ricardo View Post
This comes a bit late but eh, whatever.
Ah, late would be an apt description; he already got some help over IRC, and since he hasn't asked about it since I assume he got it working.

...also, something to note about your description is that the object is only supposed to do something when hit and presumably killed; the deathstate(as well as the painstate and xdeathstate, just for good measure) is 1973, which does indeed do something and lead to other states. The issue with it probably had more to do with how he's set the radius of the object to be over 10,000 fracunits, and the height over 100.

It's all really moot at this point, though.
Prime 2.0 is offline   Reply With Quote
Old 12-30-2010   #4
Kim the Fox!!!
What am I doing here?
 
Kim the Fox!!!'s Avatar
Default

Thanks guys ^^
It's still nitpicky, but what you said maybe will help. I'm gonna try it right away :D
__________________
Quote:
Originally Posted by A Kart Netgame
<Super Chris> D00D64 is a hard-ass monkey.
<~Kim the Fox> I think he'd love to hear that personally.
<@Miles Knuckles Power> Yea XD
Aww, they love each other so much :D

Last edited by Kim the Fox!!!; 12-30-2010 at 02:07 PM.
Kim the Fox!!! is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:52 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, vBulletin Solutions, Inc.