Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: imthewalrus on February 09, 2008, 09:12:31 PM

Title: Chance?
Post 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.
Title:
Post by: Hoshimo on February 09, 2008, 09:35:02 PM
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.
Title:
Post by: HobomasterXXX on February 10, 2008, 02:32:44 AM
Use the random dungeon generator in map settings.
Title:
Post by: imthewalrus on February 10, 2008, 03:52:27 PM
That won't make a random map in the game, though. Just the editor.
Title:
Post by: cherko on February 10, 2008, 05:19:13 PM
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.
Title:
Post by: Red Giant on February 10, 2008, 10:09:16 PM
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.
Title:
Post by: Moosetroop11 on February 11, 2008, 12:21:48 AM
*double takes*
Title:
Post by: imthewalrus on February 11, 2008, 08:25:40 PM
Okay, so that works...this is going to make placing events difficult...
Title:
Post by: Grandy on February 11, 2008, 09:08:55 PM
Quote
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.