Charas-Project

Game Creation => Requests => Tutorials => Topic started by: AsakuraHao2004 on June 02, 2005, 08:40:58 PM

Title: Alternative way of random encounters!
Post by: AsakuraHao2004 on June 02, 2005, 08:40:58 PM
There should be a "Tidbits" sticky.....

Anyways, for me, a lot of times the regualr way of randomly encountering enemies is boring. With this, you can even customize things a bit.

Note: Must be using DBS for this tut, but some aspects could be applied to a CBS.

Make a new event, don't give it a graphic. Make it below hero. Set it's movement to "Random", and set the speed to 8. Also set the movement frequency to "4 times normal". Make sure it's set to "On collision with hero"!

In the event commands box, put in "Start combat" and specifiy all that you want to. Thats it. Now copy and paste this event all over where you can fight monsters, but dont put too many.

Random Monster Method 1 (no variables):
Copy and paste the above event one more time, then change the monster you fight. Now copy and paste that event all over. You can repeat as my times as you want. Just make sure you space them proprly.

Random Monster Method 2 (VARAIBALES!! ^__^)
Because I aboslutly LOVE variables... When you first make the event, make a new variable "Monster Randomizer", then, insert a variable operation: Set variable [Monster Randomizer] to Random number between 1-5 (or however many monsters you could fight). Now, a conditional branch: "If variable [Monster Randomizer] is equal to 1" no else case. Inside, put "Enter Combat" and fill out all that. After that, before the end case, put in a wait for 0.1 seconds, then a variable operation: "Set [Monster Randomizer] to 0". Uner that, put the same conditional branch with all the same stuff, except change the monster. Under that, continue, untill you have a monster assigned to each number between the ones you selected.

Copy and paste that event all over.

Hope this helps. :)
Title:
Post by: Sephiroth rocks on June 02, 2005, 08:46:25 PM
That sounds totaly similar to the unbuild random encounter system exept that you still can get into a battle when you doesn't walk.

Maybe it's just me but I can't see how it's really any different...
Title:
Post by: AsakuraHao2004 on June 02, 2005, 08:49:04 PM
Well, you could add effects becuse it's an event that leads to the battle. Like before entering, you could tint the screen white, or show a picture to add effects. Or if you have a CBS that teleports you to the battle area, you could start the battle music right there.
Title:
Post by: Dragonium on June 02, 2005, 08:49:56 PM
Actually, this is nice. I'm definetely gonna use this, just to make the game a bit more fun.

I don't think it deserves its own sticky, but if you added a few more little extras like this, it would do in my book. ;)

Thanks Asakura. :D
Title:
Post by: Sephiroth rocks on June 02, 2005, 08:56:24 PM
Oh now I get it. Kewl! I don't think I'll use it, but it's a very easy way to make fancy battle transitions.
Title:
Post by: Dragonium on June 03, 2005, 09:32:21 AM
There's only one problem. Of course, you have to create some way of moving the event away from the hero after the battle, otherwise you're stuck battling monsters for all eternity. Meh.
Title:
Post by: Wishmaster on June 03, 2005, 09:36:23 AM
Quote
Originally posted by Dragonium
There's only one problem. Of course, you have to create some way of moving the event away from the hero after the battle, otherwise you're stuck battling monsters for all eternity. Meh.


Lol
Yeah he's right, but thats easy. Just make it replace itself at its original loacation after battle.
Title:
Post by: SaiKar on June 03, 2005, 06:58:54 PM
This works with things other then battles too. Like if you are in a lightning storm, having a few of these fast-moving events to trigger lightnng flashes can make the storm look more natural and random.
Title:
Post by: Moosetroop11 on June 03, 2005, 07:46:29 PM
Actually at parts of my game I replace random monsters with charsets which you can choose to fight, like in SO3. Sometimes it's just not convenient to have mosters popping up from no-where.
Title:
Post by: Wishmaster on June 03, 2005, 08:30:48 PM
Quote
Originally posted by Moosetroop11
Actually at parts of my game I replace random monsters with charsets which you can choose to fight, like in SO3. Sometimes it's just not convenient to have mosters popping up from no-where.

Yeah, but the problem about that, is that it may be pretty hard to find charsets for that amount of monsters!

Edit by Sai'Kar: make sure you spell "quote" right or you'll blow up for the forum
Title:
Post by: shinotebasiiackh on June 04, 2005, 07:17:16 PM
Quote
Originally posted by SaiKar
This works with things other then battles too. Like if you are in a lightning storm, having a few of these fast-moving events to trigger lightnng flashes can make the storm look more natural and random.


Ooh, I want to try that.
Title:
Post by: Chaotic_Death on June 04, 2005, 07:29:19 PM
Quote
Originally posted by shinotebasiiackh
quote:
Originally posted by SaiKar
This works with things other then battles too. Like if you are in a lightning storm, having a few of these fast-moving events to trigger lightnng flashes can make the storm look more natural and random.


Ooh, I want to try that.


I just did.  It's awesome, just as long as you have different thunder sounds/tones for the different events.