Charas-Project
Game Creation => Requests => RPG Maker Programming => Topic started by: imthewalrus on February 09, 2008, 09:12:31 PM
-
I'm doing a game, and I plan to have random dungeons, Diablo-style. Since I figured they can't actually be random, I was thinking of simulating it by creating several different versions of each floor, and then making it so that the teleport event to go to one of said floors would take you to a random version. Problem is, I don't know how to do random teleports. Help is appreciated.
I'm using RPGM2K3, by the way.
-
i personally would use variables, though there might be a better way but make a variable range from 1 to 7 and have conditional branch with a different teleport location, so for example, set out as shown
remember that this is just an example
<>Variable Oper: [001dungeon] set, Rnd [1-7]
<>Branch if Var [001dungeon] is 1
<>Teleport: 0001:dungeon1 (000,000), Retain Facing
<>
: End
<>
<>Branch if Var [001dungeon] is 2
<>Teleport: 0002:dungeon2 (000,000), Retain Facing
<>
: End
<>
<>Branch if Var [001dungeon] is 3
<>Teleport: 0003:dungeon3 (000,000), Retain Facing
<>
: End
<>
and of course it would go up to 7, if there is a better way than this though feel free to say.
-
Use the random dungeon generator in map settings.
-
That won't make a random map in the game, though. Just the editor.
-
No, but it might be useful to generate tons of dungeons quickly to make the random generator really appear like it's generating a dungeon.
-
Dude the random dungeon generator DOES make a random dungeon map in the game unless you're using some kind of crazy different RPG maker from mine.
-
*double takes*
-
Okay, so that works...this is going to make placing events difficult...
-
Originally posted by imthewalrus
Okay, so that works...this is going to make placing events difficult...
My toughts exactly. Events usually get stuck into walls when I use that.