SRB2 Message Board  

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

Reply
 
Thread Tools Search this Thread
Old 03-24-2012   #1
Sparkz
Advanced FOFing Concepts
 
Sparkz's Avatar
Default Retracting Floor Spikes!!!

Ok, so I'm building Spring Stadium and I'm currently trying to get the mechanics of retracting floor spikes working. I got them set up to pop out of the ground when a player touches the ground of the surrounding sector. Looks awesome! Now how would I get them back into the ground when the player steps off of the trigger sector? Where I'm at right now, I cant get them to back down at all.




Also, I have the spikes set to deliver spike damage. (By means of giving these sloped floors the spike attribute.) They look threatening but the player has to get to the very top of them to cause the damage. Any advice on how to get an invisible FOF to move up and down with the spikes? I tried Building a FOF with the same tags and executors. (set to move the FOFs ceiling, not its floor) The FOF pops out but only delivers the damage at that time. If the player returns to the FOF, which also refuses to go back into the ground, they are not hurt. Likewise, if the player evades the FOF on its way up it will never hurt them.

Also, I was originally going to use the spike item but I was forced to draw my own spikes when the item wouldn't move with the floor. If anybody knows how I could make that work instead, I and the frame-rate would be grateful!
__________________
"FOF" is a word!

Last edited by Sparkz; 03-24-2012 at 06:12 AM.
Sparkz is offline   Reply With Quote
Old 03-28-2012   #2
Sparkz
Advanced FOFing Concepts
 
Sparkz's Avatar
Default

Solution found! Rather than the spikes reacting to the player not being there anymore, I've used the backsector method to send the spikes back into the floor. Now when a player steps too close, the spikes pop up, damaging the player and then quickly drop back down, resetting themselves.


EDIT; This only works on a small scale. All the slopes drawn is wreaking havoc on the frame rate. Still wide open to suggestions!
__________________
"FOF" is a word!

Last edited by Sparkz; 03-29-2012 at 09:25 PM.
Sparkz is offline   Reply With Quote
Old 03-30-2012   #3
BlueZero4
 
BlueZero4's Avatar
Default

Have you tried thing spikes?
__________________
scr_bz4pack.wad
BlueZero4 is offline   Reply With Quote
Old 03-30-2012   #4
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

Quote:
Originally Posted by BlueZero4 View Post
Have you tried thing spikes?
Quote:
Originally Posted by Sparkz View Post
Also, I was originally going to use the spike item but I was forced to draw my own spikes when the item wouldn't move with the floor. If anybody knows how I could make that work instead, I and the frame-rate would be grateful!
10chars
Monster Iestyn is online now   Reply With Quote
Old 03-30-2012   #5
SpiritCrusher
aka MascaraSnake
Moderator
 
SpiritCrusher's Avatar
Default

Why are you using slopes for sector-based spikes? Just do it like the spikes in GFZ1. More info here (still in progress).
SpiritCrusher is offline   Reply With Quote
Old 03-30-2012   #6
Monster Iestyn
Friendly Neighbour-Hood
Moderator
 
Monster Iestyn's Avatar
Default

http://dl.dropbox.com/u/25409000/sec...tractables.wad

Here's a test map I made for sector spikes (both floor and ceiling variants) ages ago, also featuring retractable versions.

Might be helpful to you, might be not - try it out if you like.
Monster Iestyn is online now   Reply With Quote
Old 03-30-2012   #7
Sparkz
Advanced FOFing Concepts
 
Sparkz's Avatar
Default

Thanks, y'all! great ideas. While They were easier on the frame rate, I'm afraid there's still just too much going on in Spring Stadium. the game eventually crashes. The only thing I found to work is static spike pits but that's not Spring Stadium at all! This zone might have to wait. Is 2.1 going to be more powerful? will it support slopes?
__________________
"FOF" is a word!
Sparkz is offline   Reply With Quote
Old 03-31-2012   #8
Shadow Hog
Administrator
 
Shadow Hog's Avatar
Default

Quote:
Originally Posted by Sparkz View Post
Is 2.1 going to ... support slopes?
No.
Shadow Hog is offline   Reply With Quote
Old 03-31-2012   #9
I'll Begin
a.k.a. Tommohawked
 
I'll Begin's Avatar
Default

Quote:
Originally Posted by Sparkz View Post
Thanks, y'all! great ideas. While They were easier on the frame rate, I'm afraid there's still just too much going on in Spring Stadium. the game eventually crashes. The only thing I found to work is static spike pits but that's not Spring Stadium at all! This zone might have to wait. Is 2.1 going to be more powerful? will it support slopes?
It looks like you've hit the extremes of the Doom engine. No 2.1 will not be more "powerful".

Consider using models for the more complex structures. If you're just going to zoom tube through it anyway, you don't have to set up a buttload of linedefs for collision either.
__________________
3DS code: 4253 3663 4834
- deviantART - YouTube - Twitter - Tumblr -
I'll Begin is offline   Reply With Quote
Old 03-31-2012   #10
Sparkz
Advanced FOFing Concepts
 
Sparkz's Avatar
Default

I suppose you're right. Somehow I though pushing the engine to its limits would be cooler and more rewarding. I guess I'll be using GFZ style spike pits for Spring Stadium. Which is so far from what I wanted I didn't even consider it when I first stating this build. Though I'm disappointed and heart broken, I've learned some 4 techniques for making retracting spikes!

Ill Begin, you've talked about models replacing structures before. I don't know anything about any of that. A link or a point in the right direction would be fantastic.
__________________
"FOF" is a word!
Sparkz is offline   Reply With Quote
Old 04-05-2012   #11
Sparkz
Advanced FOFing Concepts
 
Sparkz's Avatar
Default

O.K. GFZ style spikes are out! I'm using spike sprites and an invisible tangible FOF. I gotta ask why this wasn't used instead of the fake floor. It seems far more efficient. There's less drawing, less lag, it's far more intuitive in 3D mode, and as far as I can tell, the collision is identical. Anybody know something I don't?
__________________
"FOF" is a word!
Sparkz 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 02:06 PM.


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