Staredit Network

Staredit Network -> UMS Assistance -> Random Battles.
Report, edit, etc...Posted by Kingra on 2004-08-19 at 17:57:54
I don't understand how to randomize battles and teleport them to a battlefield at the top of the map.

Please explain. smile.gif
Report, edit, etc...Posted by Revelade on 2004-08-19 at 19:18:24
Random Battles? Or do you want it to be so the player touches an enemy and both the player and the enemy get moved to a battle arena?

Here's what you do:

1) Make 2 areas, the battle arena (where the fight takes place) and the overworld (where players walk around).

2) Make a location around the hero. Now when an enemy brings any unit to this location, move the hero and the enemy to the battle arena, simple.

If you want random battles... Make several switches that randomize constantly. I would suggest maybe 3 switches that randomize. Try making 1 possibility of those 3 switches (all 3 are set), then move the player to the battle room. You can even randomize which enemies the player gets to fight.

Here's a map that uses something you might be talking about.
Report, edit, etc...Posted by Loser_Musician on 2004-08-19 at 19:30:34
I have a simple theory where, If you can't figure out the battle system on your own, (or have lil help have with it) chances are you're not ready for it.
Report, edit, etc...Posted by (U)Bolt_Head on 2004-08-19 at 20:20:01
Always helps to understand random triggers.
http://www.staredit.net/?showtopic=1885#topic71

I'm not going to write out any triggers for you because i could do it like 10+ differant ways.
Report, edit, etc...Posted by Chill on 2004-08-19 at 20:23:08
wouldent having only 3 switches through you into battle every few seconds?
Report, edit, etc...Posted by CheeZe on 2004-08-19 at 20:28:39
QUOTE(Kingra @ Aug 19 2004, 04:57 PM)
I don't understand how to randomize battles and teleport them to a battlefield at the top of the map.

Please explain.  smile.gif

have 2 locations for the world map and any other locations for the battle screen.
first, have a large location on the place where they would encounter random enemy units.
then, have another location thats pretty small centered on the unit whenever it doesn't bring the unit there. something like:

player 1 brings exactly 0 PARTY to LOCATION

randomize
randomize
randomize...(depends on how many different monsters you want)
center LOCATION on party at LOCATION2
preserve trigger

then have another few triggers with something like this:
switch 1 is set
switch 2 is set...(same as before)

give party to (any neutral player)
center view on BATTLE
set battle (or any other way you want to use this such as death counters which could actually set up as the stages for a turn based battle)
preserve trigger
Report, edit, etc...Posted by (U)Bolt_Head on 2004-08-19 at 20:30:12
depends on how often it is set. 3 switches yeilds 8 results so if only one of them moves you to battle then you have a 1/8th chance every time it is checked.

If it is based off of a movement system "ie it randomizes once you take a step" then that isn't unrealistic. If it just constantly checks every 2 seconds (no hypers) then you can expect a battle once every 16 seconds on average. If your using hyper triggers and your not using a step randomized feature then you would barely be able to move before your put into a new battle.

I would suggest to shoot for about a 1/10th chance of a battle every time you leave a 32x32 pixel location.
Report, edit, etc...Posted by illusion(SS) on 2004-08-20 at 00:32:57
hmn. i have a good idea im my head i just cant get it out of THERE!!!
rifle.gif chair.gif
Report, edit, etc...Posted by Revelade on 2004-08-20 at 00:37:56
I suggested 3 switches because you obviously don't want to constantly battle everywhere you walk, because that would get annoying.
Report, edit, etc...Posted by Stereo on 2004-08-20 at 11:15:16
With 3 switches and hyper triggers you will average 1 battle every game second. That's just a little quick for my tastes. tongue.gif
Report, edit, etc...Posted by Kingra on 2004-08-20 at 19:22:24
Ah, I understand. Thanks to all. happy.gif

Lock topic please.
Next Page (1)