SRB2 Message Board  

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

Reply
 
Thread Tools Search this Thread
Old 08-21-2010   #1
Colson
lyra x bonbno is esbt shop
Default Damaging Bosses?

Ok, so I'm making a pre-final boss level in a mod, and I need to do something.
What I want to do is place a boss, but I don't want the player to fight the boss directly. I need the player to hit a switch or enter a sector to damage the boss. Is that possible/how do I do that? I still want the boss to be able to attack, but the player not be able to directly hit them by jumping on them.
__________________
Add me on PSN!
ID: ThatHeadcrabGuy
Send me a PM if you add me.
Colson is offline   Reply With Quote
Old 08-21-2010   #2
danie
Default

Make A SOC!
danie is offline   Reply With Quote
Old 08-21-2010   #3
PHCC
Too fast for you to see me.
 
PHCC's Avatar
Default

You can make a sector around the boss that blocks only the player, but not the boss. To do that, use a custom FOF.Then, make the boss shoot something on the ground that makes the ground open and close(disappear and appear),and then, the player have to go back to the top before he get drown(Space countdown),but he have to go in the center of the level(where the boss is), and when he hits the boss he is pushed away from there(the sector have to be intangible from inside, if this exists). This is basically the way that the player will do to hit the boss, but to the boss hit the player, you can make the boss shot in all directions, or create other robots to fight the player. This is just an opinion.
__________________
My YouTube channel:
http://www.youtube.com/user/PedroHCC10
PHCC is offline   Reply With Quote
Old 08-21-2010   #4
Colson
lyra x bonbno is esbt shop
Default

Quote:
Originally Posted by PHCC View Post
You can make a sector around the boss that blocks only the player, but not the boss. To do that, use a custom FOF.Then, make the boss shoot something on the ground that makes the ground open and close(disappear and appear),and then, the player have to go back to the top before he get drown(Space countdown),but he have to go in the center of the level(where the boss is), and when he hits the boss he is pushed away from there(the sector have to be intangible from inside, if this exists). This is basically the way that the player will do to hit the boss, but to the boss hit the player, you can make the boss shot in all directions, or create other robots to fight the player. This is just an opinion.
That's not exactly what I'm looking for, but it might work.
I'm actually looking for a way to use a sector to damage the boss when the player steps in, or SOC a thing that when touched or destroyed, damages the boss.
__________________
Add me on PSN!
ID: ThatHeadcrabGuy
Send me a PM if you add me.
Colson is offline   Reply With Quote
Old 08-21-2010   #5
Draykon
Part-Time Magical Girl
 
Draykon's Avatar
Default

All you really have to do is SOC something to blast an invisible missile at the boss.
Your best bet for that would be for the switch to be a SOCced thing with the same flags as a monitor.
In that thing's deathstate, have it spawn an invisible intangible object. On the state immediately after that object's spawnstate (Since getting objects to do things on their spawnstate is stupidly complicated) have it A_FindTarget 0 (The player) then A_FindTracer the boss. Then A_CapeChase, with Var1 set to 1 (Causing it to teleport to its tracer, the boss) A_SetObjectFlags to take on the flags of a missile, then A_MoveRelative to get it moving (Since missiles don't deal damage if they're stationary)

If I didn't mess up horribly somewhere, that should basically cause them game to act as though the player had shot the boss when the switch thing is 'bopped'

And hell, there's probably a sector type that can deal damage to enemies that I don't know about. Hopefully someone with better understanding of level design can tell you that.
Draykon is offline   Reply With Quote
Old 08-21-2010   #6
Fred
Retired
 
Fred's Avatar
Default

Crumbling FOFs can hurt bosses, so that's another way of doing something like that. You could have a floor with a bunch of respawning FOFs which the player has to run over, making them fall down on the boss and hitting it in the process. =P
Fred is offline   Reply With Quote
Old 08-22-2010   #7
Colson
lyra x bonbno is esbt shop
Default

Quote:
Originally Posted by Draykon View Post
All you really have to do is SOC something to blast an invisible missile at the boss.
Your best bet for that would be for the switch to be a SOCced thing with the same flags as a monitor.
In that thing's deathstate, have it spawn an invisible intangible object. On the state immediately after that object's spawnstate (Since getting objects to do things on their spawnstate is stupidly complicated) have it A_FindTarget 0 (The player) then A_FindTracer the boss. Then A_CapeChase, with Var1 set to 1 (Causing it to teleport to its tracer, the boss) A_SetObjectFlags to take on the flags of a missile, then A_MoveRelative to get it moving (Since missiles don't deal damage if they're stationary)

If I didn't mess up horribly somewhere, that should basically cause them game to act as though the player had shot the boss when the switch thing is 'bopped'

And hell, there's probably a sector type that can deal damage to enemies that I don't know about. Hopefully someone with better understanding of level design can tell you that.
Good thing I have some knowledge of SOCcing, because this might just be the method I'm looking for!
__________________
Add me on PSN!
ID: ThatHeadcrabGuy
Send me a PM if you add me.
Colson is offline   Reply With Quote
Old 08-25-2010   #8
Nev3r
FOOOOOOOOOOOOOOOOOOOOOOOO L!
Developer
 
Nev3r's Avatar
Default

In case you want to use sector-based buttons, I'd like to suggest a little variation of what Draykon said, which would allow you to do so.

Instead of using a monitor, you could make an enemy and place it somewhere outside the level, in a dummy sector. Pressing the button would make the dummy sector crush the enemy. Its death state would trigger what Draykon explained. This way, you can intercommunicate the level itself, and the things inside it.
Nev3r 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
different eggman bosses? zeldaman101 Editing 3 04-21-2010 10:44 PM
Recreating Bosses Zion Crayson Editing Help 30 01-17-2009 06:25 PM
how to change the bosses witeds.exe Editing Help 1 09-18-2007 10:39 PM
Bosses! Earl Editing 13 06-01-2006 11:48 PM
More bosses Oddbrother Help 12 08-10-2004 12:03 AM


All times are GMT. The time now is 02:44 PM.


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