SRB2 Message Board  

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

Reply
 
Thread Tools Search this Thread
Old 09-02-2007   #21
Joat
Gum Phoenix
 
Joat's Avatar
Default

That brings me back to the issue of conditionals, though. How do I make something happen when the character has enough emblems?

Also, can I put multiple emblems in one level?
__________________
"Your friend is that man who knows all about you, and still likes you." - Elbert Hubbard
Joat is offline   Reply With Quote
Old 09-02-2007   #22
Segmint
Permanently Banned
Default

Um. How about having the player clear a level and get a star post? You can use a linedef executor (move floor or some other one) to unlock the next area. Now, I know what you might be thinking. "You can't have a linedef executor and a star post activator on the same sector!" The thing is, you can use an intangible invisible FOF block with a star post activator in the control sector, and the floor of the sector could be the trigger.

See where I'm going with this? The only problem is there isn't a "trigger when all star posts are touched". I'm sure you can figure a way around that.
Segmint is offline   Reply With Quote
Old 09-02-2007   #23
Mystic
チェン!
Administrator
 
Mystic's Avatar
Default

There aren't any global variables in the game for use by level designers. Traditional adventure fields, as such, aren't really possible in SRB2 without tons of hackery and/or wasted space.
Mystic is offline   Reply With Quote
Old 09-02-2007   #24
on Edge
 
on Edge's Avatar
Default

D:

Custom exit sectors?
on Edge is offline   Reply With Quote
Old 09-02-2007   #25
Mystic
チェン!
Administrator
 
Mystic's Avatar
Default

That's what I mean by wasted space, on Edge. I've seen some people fake it by creating multiple copies of the adventure field and various maps and making sure that people get directed to the proper copy of the map for where they currently are in the game. This, of course, is a HORRIBLE hack that wastes a ton of space.

It is, as far as I know, the only way to currently do it without modifying the EXE, sadly.
Mystic is offline   Reply With Quote
Old 09-02-2007   #26
on Edge
 
on Edge's Avatar
Default

One Field. It links to many stages. All stages exit to the adventure field.

Put an item, IE emeralds, emblems, etc. at the end of each stage. When you can turn super, leave that section of the Mod, OR unlock the next section with emblems.
on Edge is offline   Reply With Quote
Old 09-02-2007   #27
Joat
Gum Phoenix
 
Joat's Avatar
Default

So, all I need to do is make it so a certain amount of emblems is required by the SOC itself? But won’t that make the game crash if the player doesn’t have enough emblems, like it did when I tried to use the command ‘MAP MAP30’ in normal play?
__________________
"Your friend is that man who knows all about you, and still likes you." - Elbert Hubbard
Joat is offline   Reply With Quote
Old 09-02-2007   #28
BlueZero4
 
BlueZero4's Avatar
Default

Possible thought: Everything on one map? You could put all the stages on one map. Of course, if your "levels" are too big, you could have clipping problems, and possibly break your nodebuilder. :/

Like I believe you've said already, emerald. At the end of each stage before returning to the adventure field, place an emerald. Of course, you'd have to have 7 stages in your first adventure field in order to work, but after that, custom exit! Using the block monset flag, you could have an exit that sends you to the next adventure field with all the emblems. And while this wouldn't normally work for multiple adventure fields, you can always have a script that fishbakes the player back into no emerald-ness.
__________________
[scr_bz4pack.wad] — I get an email whenever you PM me, if you ever want to say hi.
BlueZero4 is offline   Reply With Quote
Old 09-02-2007   #29
Joat
Gum Phoenix
 
Joat's Avatar
Default

Everything on one stage would be impractical, especially since I want to include a time attack mode.

The emerald idea is a good backup plan, but I think I’ll try the emblem idea first. With emblems, I can place multiple emblems in one stage. If you’re interested in the details, I plan to have one emblem unlocked by having a certain amount of rings at the end of the level, one emblem unlocked by having beaten every enemy in the level, one emblem hidden in the stage, one emblem at the end of the stage by default, and one gained by completing an end-of-level ‘bonus stage’ (which also awards points for completion, so there is a point to doing it even if you already gained that emblem).
__________________
"Your friend is that man who knows all about you, and still likes you." - Elbert Hubbard
Joat is offline   Reply With Quote
Old 09-02-2007   #30
BlueZero4
 
BlueZero4's Avatar
Default

Just a warning, though, needing to kill the enemies would mean you'd have so many tags on the one control sector. :/
__________________
[scr_bz4pack.wad] — I get an email whenever you PM me, if you ever want to say hi.
BlueZero4 is offline   Reply With Quote
Old 09-02-2007   #31
Rob
Administrator
 
Rob's Avatar
Default

Quote:
Originally Posted by Joat
So, all I need to do is make it so a certain amount of emblems is required by the SOC itself? But won’t that make the game crash if the player doesn’t have enough emblems, like it did when I tried to use the command ‘MAP MAP30’ in normal play?
I don't believe it would crash in Coop/Race, though it might. You'd have to test that. Anyways, the SOC itself would indeed be used to determine emblems required. Also, different prizes can be awarded for different amounts of emblems, so you can use that as well.
Rob is offline   Reply With Quote
Old 09-02-2007   #32
Joat
Gum Phoenix
 
Joat's Avatar
Default

Quote:
Originally Posted by BlueZero4
Just a warning, though, needing to kill the enemies would mean you'd have so many tags on the one control sector. :/
Not really. The thok barrier(s) (which will be around everything in the stage) will all have the same tag. All I need to do is set the target sector to the thok barriers and that should do it.
__________________
"Your friend is that man who knows all about you, and still likes you." - Elbert Hubbard
Joat is offline   Reply With Quote
Old 09-02-2007   #33
BlueZero4
 
BlueZero4's Avatar
Default

...not really. Linedef 15 only works inside an intangible FOF.
__________________
[scr_bz4pack.wad] — I get an email whenever you PM me, if you ever want to say hi.
BlueZero4 is offline   Reply With Quote
Old 09-02-2007   #34
Pepe
 
Pepe's Avatar
Default

Quote:
Originally Posted by cueball61
Quote:
Originally Posted by Pepe
Learn C++.
SRB2 isn't written in C++, it's written in C.
Same difference. D:
Pepe 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
Custom FOF Sky Ninja Editing Help 1 03-01-2008 05:26 AM
Custom Music .hack Editing Help 13 04-09-2007 11:25 PM
Custom textures Espyo Help 1 07-01-2006 06:37 PM
character creation variables Darkon Editing 18 09-25-2004 05:14 PM
Custom DarkCity act 3. SSC Editing 8 01-26-2004 01:51 AM


All times are GMT. The time now is 03:29 AM.


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