SRB2 Message Board  

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

Reply
 
Thread Tools Search this Thread
Old 11-11-2007   #21
on Edge
 
on Edge's Avatar
Default

Make it function like an enemy so if you bop it or shoot it, it explodes, and if you lightly nudge it, the barrel won't up and explode for no reason.
on Edge is offline   Reply With Quote
Old 11-11-2007   #22
glaber
Emblem Radar Ready
 
glaber's Avatar
Default

from what I read it's suppose to explode when you bump it. (Nitro barrel?)
__________________
SRB2TP (The Past) 1.08 Now Avaiable
Why wouldn't you glide and climb as Super Knuckles?
glaber is offline   Reply With Quote
Old 11-11-2007   #23
Sykotic
Default

Yeah, Glaber's got it. I want it to explode on contact, regardless of how it's touched.
__________________
Been a while.
Sykotic is offline   Reply With Quote
Old 11-11-2007   #24
Draykon
Part-Time Magical Girl
 
Draykon's Avatar
Default

I can't imagine why the spring idea wouldn't work. Have you set all the spring properties?
Draykon is offline   Reply With Quote
Old 11-11-2007   #25
Sky Ninja
 
Sky Ninja's Avatar
Default

You could make it explode when spinned into, and add a force spin sector around it, but make the sector only 3 pixels in size around. Also, I haven't tested the bustblock thing, I just studied SRB2.
Sky Ninja is offline   Reply With Quote
Old 11-11-2007   #26
Kaysakado
Default

Quote:
Originally Posted by Draykon
I can't imagine why the spring idea wouldn't work. Have you set all the spring properties?
Maybe he didn't notice it.
__________________
Join the Crashed Cafe!
Kaysakado is offline   Reply With Quote
Old 11-11-2007   #27
Sykotic
Default

Quote:
Originally Posted by Kaysakado
Quote:
Originally Posted by Draykon
I can't imagine why the spring idea wouldn't work. Have you set all the spring properties?
Maybe he didn't notice it.
I did that, and it failed.
__________________
Been a while.
Sykotic is offline   Reply With Quote
Old 11-11-2007   #28
Morph
 
Morph's Avatar
Default

I solved the problem. This little soc-script will (for example) replace all blue crawlas with exploding birds... YAY! :D

Quote:
Originally Posted by SOC-Script

Thing 1
MAPTHINGNUM = 3004
SPAWNSTATE = 50
SPAWNHEALTH = 1
SEESTATE = 52
SEESOUND = 0
REACTIONTIME = 32
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 200
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 603
DEATHSOUND = 22
XDEATHSTATE = 0
SPEED = 3
RADIUS = 157286
HEIGHT = 2097152
MASS = 100
DAMAGE = 0
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 16777216

Thing 4
MAPTHINGNUM = 383
SPAWNSTATE = 1
SPAWNHEALTH = 1000
SEESTATE = 0
SEESOUND = 10
REACTIONTIME = 8
ATTACKSOUND = 0
PAINSTATE = 0
PAINCHANCE = 0
PAINSOUND = 0
MELEESTATE = 0
MISSILESTATE = 0
DEATHSTATE = 901
DEATHSOUND = 11
XDEATHSTATE = 0
SPEED = 1
RADIUS = 2820896
HEIGHT = 2024288
MASS = 100
DAMAGE = 20
ACTIVESOUND = 0
RAISESTATE = 0
FLAGS = 66064



FRAME 1
SPRITENUMBER = 23
SPRITESUBNUMBER = 0
DURATION = 1
NEXT = 1
ACTION A_RotateSpikeBall
VAR1 = 21
VAR2 = 0



FRAME 50
SPRITENUMBER = 31
SPRITESUBNUMBER = 0
DURATION = 5
NEXT = 51
ACTION A_Look
VAR1 = 0
VAR2 = 0

FRAME 51
SPRITENUMBER = 31
SPRITESUBNUMBER = 0
DURATION = 5
NEXT = 50
ACTION A_Look
VAR1 = 0
VAR2 = 0

FRAME 52
SPRITENUMBER = 31
SPRITESUBNUMBER = 0
DURATION = 3
NEXT = 53
ACTION A_FireShot
VAR1 = 4
VAR2 = 0

FRAME 53
SPRITENUMBER = 31
SPRITESUBNUMBER = 0
DURATION = -1
NEXT = 54
ACTION None
VAR1 = 0
VAR2 = 0
The solution is an enemy who can not be touched or defeated and who fires only once a missile at level load or its seestate. That missile has to A_RotateSpikeball looped and a speed of 1 so that its radius is 0. It is not moving but works like a missile.


Edit: Found a bug that might occur because I used the seestate and not the spawnstate OR maybe because some collision data is messed up.
Sometimes the birds are not exploding but still damaging. Well... at least something in the right direction to play around with. I am too tired right now. Good night.


-__-
__________________
Try soccing, it's fun! :>

Check out the wiki: http://wiki.srb2.org/wiki/Object_Creation_Tutorial or read the original one: http://mb.srb2.org/showthread.php?t=30906
Morph is offline   Reply With Quote
Old 11-11-2007   #29
Draykon
Part-Time Magical Girl
 
Draykon's Avatar
Default

It didn't fail, you did. Because it works fine for me.
Draykon is offline   Reply With Quote
Old 11-12-2007   #30
Kaysakado
Default

No Draykon, he didn't fail. Keep going through GFZ1, asploding all the birds you can. Eventually, one won't asplode.
__________________
Join the Crashed Cafe!
Kaysakado is offline   Reply With Quote
Old 11-12-2007   #31
Draykon
Part-Time Magical Girl
 
Draykon's Avatar
Default

I'm talking about with my idea here Kaysakaydo, with a few minor tweaks it works perfectly.

Edit: Lol, hidden text dosen't work from morning.
Draykon is offline   Reply With Quote
Old 11-12-2007   #32
Kaysakado
Default ololololol highlight the post.

Oh, nvm then. And it's Kaysakado. *shot*
__________________
Join the Crashed Cafe!
Kaysakado is offline   Reply With Quote
Old 11-12-2007   #33
Sykotic
Default

Hey, it didn't work. I did it exactly as you said. So don't tell me I fail. Because your 'tweaks' were not mentioned, I still was unsucessful at this. More bright ideas maybe?

EDIT-

...Stupid thing. I set it as all the other states for it since I couldn't figure out what went wrong. So I went right.

AS AN ADDED BONUS YOU CAN SHOOT IT AND IT WILL EXPLODE TOO!
__________________
Been a while.
Sykotic is offline   Reply With Quote
Old 11-12-2007   #34
Draykon
Part-Time Magical Girl
 
Draykon's Avatar
Default

Well, I shouldn't have to mention that I'm likely wrong about random details, such as that springs use seestate, when it seems like they should use pain or deathstate. Next time someone suggests something, experiment with that stuff.

Also, it might be a good idea to set speed to 10000/100000, random details, otherwise you could easily get stuck on it.
Draykon is offline   Reply With Quote
Old 11-12-2007   #35
Sykotic
Default

K, I'm getting stuck under it now. Explain.
__________________
Been a while.
Sykotic is offline   Reply With Quote
Old 11-12-2007   #36
Kaysakado
Default

Quote:
Originally Posted by Draykon
Also, it might be a good idea to set speed to 10000/100000, random details, otherwise you could easily get stuck on it.
__________________
Join the Crashed Cafe!
Kaysakado 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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me im making a wad Randaro The Hedgehog Editing Help 3 06-13-2008 06:37 AM
My ingame camera does a barrel roll? Kuja Editing Help 4 02-24-2008 04:08 PM
I'm making a new mod! Todd Khool the Cyborg Editing 25 12-19-2007 04:48 PM
3 questions about level making (and 1 for character making) I'll Begin Editing 26 01-13-2007 01:55 AM
Help with making a WAD. Wazzup?_10 Editing 16 09-27-2005 08:00 PM


All times are GMT. The time now is 09:04 PM.


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