How do you make it in a map, so that you randomly, or set, get into a battle with different monsters each time.
Say you go into the wilderness in a map, and you dont want monsters just normall roaming around, you want random battles as in the Final Fantasy series and other big RPGs. This feature was used in Faith and Destiny RPG but I don't know how to use it...
Well, have a bunch of locations, 3x3 or something, that cover the area you want random battles in. Have a location that centers on the hero everytime he's on a new location. Also have a randomized switch setup(or use the wandering unit trick, look under tutorials att the front page of SENET), so that random battles occur when he touches another tile. They only occur when the location is centered on him, the one that centers everytime he enters a new tile. Of course, it needs to be a 1x1 locations...
I was going to make a Legend of Legaia RPG with random battles, but too lazy. Here's another of my many unused ideas. Unused by me, and many others, that is.
Anyway, for random monsters...
Either use the random switch setup, the wandering unit, or use this idea(or one of your own):
There's 2 locations where Zerglings(first location) and Inf. Terrans(Location 2), or whatever units spawn. When they reach so many, they die. How many there are determines enemy spawn.
Hope this helps.
I think I might use your idea, perfect, but I want it so that when you get larger HP and go to different areas different monsters spawn, not just the ones from a different area, or the first one, I coul do this by using the ling and infested terran, but then when you reach a different area a different couple of units, such as rine and fbat...would this work?
An easier way is making one location for the specific area of monsters, and one location for the player.
The location for the area is how big the area is, and the player location is a 1x1 or 2x2, whatever size you want it.
Then you have a trigger that states:
Current player brings exactly 0 men to location 'Player'.
Current player brings at least 1 men to location 'Area 1'.
Center location labled 'Player' on men owned by current player.
Randomize 'Switch 1'.
Randomize 'Switch 2'.
Preserve trigger.
That way every time they leave the location, it centers on them and it randomizes switches for a possible battle. In this situation, the player has a 25% chance of getting into battles.
Additionally, you could add up to 3 to 5 or more switches and instead of making only 1 switch combination enter a battle, you could make several. And then you can make different units in every random battle.
So like a 3 switch combo with a 38% chance of getting into battle would look like this:
1 clear, 2 clear, 3 clear = 3 lings and 1 hydra battle
1 clear, 2 clear, 3 set = 5 ling battle
1 clear, 2 set, 3 clear = 1 ling 2 hydra battle
1 clear, 2 set, 3 set = no battle
1 set, 2 clear, 3 clear = no battle
1 set, 2 clear, 3 set = no battle
1 set, 2 set, 3 clear = no battle
1 set, 2 set, 3 set = no battle
QUOTE(Chu @ Jan 1 2004, 09:51 PM)
An easier way is making one location for the specific area of monsters, and one location for the player.
The location for the area is how big the area is, and the player location is a 1x1 or 2x2, whatever size you want it.
Then you have a trigger that states:
Current player brings exactly 0 men to location 'Player'.
Current player brings at least 1 men to location 'Area 1'.
Center location labled 'Player' on men owned by current player.
Randomize 'Switch 1'.
Randomize 'Switch 2'.
Preserve trigger.
That way every time they leave the location, it centers on them and it randomizes switches for a possible battle. In this situation, the player has a 25% chance of getting into battles.
Additionally, you could add up to 3 to 5 or more switches and instead of making only 1 switch combination enter a battle, you could make several. And then you can make different units in every random battle.
So like a 3 switch combo with a 38% chance of getting into battle would look like this:
1 clear, 2 clear, 3 clear = 3 lings and 1 hydra battle
1 clear, 2 clear, 3 set = 5 ling battle
1 clear, 2 set, 3 clear = 1 ling 2 hydra battle
1 clear, 2 set, 3 set = no battle
1 set, 2 clear, 3 clear = no battle
1 set, 2 clear, 3 set = no battle
1 set, 2 set, 3 clear = no battle
1 set, 2 set, 3 set = no battle
I don't see how that would be easier.
In fact, I never said what TRIGGERS, just how to do it, and from what I can see yours and mine are basically... the SAME thing.
Yes, what you could do is just use different units for different level ups of character. I guess.
QUOTE
An easier way is making one location for the specific area of monsters, and one location for the player.
The location for the area is how big the area is, and the player location is a 1x1 or 2x2, whatever size you want it.
Then you have a trigger that states:
Current player brings exactly 0 men to location 'Player'.
Current player brings at least 1 men to location 'Area 1'.
Center location labled 'Player' on men owned by current player.
Randomize 'Switch 1'.
Randomize 'Switch 2'.
Preserve trigger.
I don't get this...What specific area of monsters?And are you talking about one locations always centred on the player for spells etc?Sorry but this isnt specific enough for me, call me dumb, but I dont know, feel free not to try and tell me, noone ever does.
Or you could use a wait trigger randomize each monster
Just have the hero wander through a closed off area with enemies running around on JYD. When the enemy brings a unit to the hero's location, it starts a battle. Have the monsters vary for each enemy that can run into the hero.
Oh god. Ok...
Uknown_whatever, it is very different from what you said because my techique only requires 2 locations. Yours requires multiple ones.
Orc, you said you wanted people to be able to go to different areas and have different monsters spawn (for when characters get stronger). The 'Area 1' location is just a place on the map where they will be certain types of monsters at certain levels, etc.
The location centered on the player whenever he leaves it is ONLY for random battles. Though I suppose you could use it in different places for recycling purposes or whatever.
I'll call you dumb if you reply again not being able to understand what I said.
Or you could do what Moose said, its been used in maps before. But thats not exactly "random" because people can just avoid or move into them.
Actually I just re-read Chu's technique and his way is easier
edit: (besides mm's)
QUOTE(Rune_Scape @ Jan 1 2004, 10:20 PM)
Or you could use a wait trigger randomize each monster
Then, if you stood on the same location long enough, you'd still get into a battle. He might want this, but I'm guessing not.
As for yours requiring only 2 locations...
I couldn't understand it well, sorry.
QUOTE
Then, if you stood on the same location long enough, you'd still get into a battle. He might want this, but I'm guessing not.
As for yours requiring only 2 locations...
I couldn't understand it well, sorry.
No, thats not what he said. He said use waits to randomize the monsters, not the battles. So you would have something for random monsters running always, and something for random battles run when you move. His would work something like this:
Always
Clear 'Switch 4'.
Set 'Switch 1'. (for 1 group of monsters)
Wait 1000 miliseconds.
Clear 'Switch 1'.
Set 'Switch 2'. (next group)
Wait 1000 miliseconds.
Clear 'Switch 2'.
Set 'Switch 3'. (next group)
Wait 1000 miliseconds.
Clear 'Switch 3'.
Set 'Switch 4'. (final group)
Preserve trigger. (using this instead of wait because in non-0 wait maps this takes about 1 second)
Additionally you could increase the chances of running into monsters by increasing the waits on some of the switches.
Ohh, that.
I would rather use the Spawns-units-number-of-units-determines-monsters one. Why would it be easier to use switches and wait triggers? And I don't understand how you could do it with 2 locations... and I'm getting confused as to who is posting what. MAybe I'll actualy look back and CHECk whgo powsted what...
Yeah, you usually want to read stuff before you post. It helps out most of the time. -_-
How do you pass any classes at school? Here, a physical example. A replay and the map used to make the replay.
So Chu, your saying I do that trigger, then some other saying
'Switch 1' is clear
Move all any unit owned by current player at location 'player' to 'battle area'
create 1 zergling at location 'spawn enemies'
create 2 hydralisks at location 'spawn enemies'
play wav 'battle mode'
preserve trigger
comment '1 ling 2 hydra battle'
something like that?
Yes, that works. But you want to watch you conditions. Right now it looks like you need a new condition that prevents the player form constantly being in battle. You'll need to make a new trigger that randomizes battles for this. And use the actions from that trigger as conditions for your current one. So using my 2 location method, it would look like this:
Switch "Monster Group 1" is set.
Switch "Battle" is set. (after being switched on from walking around)
Clear those switches + Actions.
Randomize triggers.
All Players
CONDITION:
- Always
ACTION:
- Set Switch Random 1 to Randomize.
- Preserve Trigger
Players
CONDITION:
- If switch Battle is cleared
- Random 1 is set
ACTION:
- Set Battle
- Wait 60 000 milliseconds
- Clear Battle
- Preserve Trigger
CONDITION:
- If switch Battle is cleared
- Random 1 is cleared
ACTION:
- Set Battle
- Move location labeled memory on unit owned by player at anywhere
- Move units owned by current player at anywhere to location
- Create zergling at location for player computer
- Wait 60 000 milliseconds
- Preserve Trigger
CONDITION:
- If switch Battle is set
- computer brings 0 units to location
- player brings at least 1 unit to location
ACTION:
- Move units owned by player at location to memory
- Clear Battle
- Preserve Trigger
Thats how to have one simple random battle Final Fantasy style. For more variety add more random triggers.
^BUMP^
^-------^
^------^
Anyway, I think enough people have told him how.