Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

Click here to join us on IRC (#charas on irc.freenode.net)!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Chance?
« previous next »
  • Print
Pages: [1]

Author Topic: Chance?  (Read 2436 times)

Offline imthewalrus

  • today i put....JELLY on this hot god
  • Initiate
  • *
  • Posts: 29
  • Likes the Beatles, obviously.
Chance?
« 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.
Logged
I am the walrus, Koo Koo Kachoo!

Offline Hoshimo

  • Level 1 Newbie
  • Initiate
  • *
  • Posts: 12
(No subject)
« Reply #1 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.
Logged

Offline HobomasterXXX

  • Your eyes. Are an ocean. Your breasts. Are also an ocean.
  • Leader
  • *
  • Posts: 2,700
(No subject)
« Reply #2 on: February 10, 2008, 02:32:44 AM »
Use the random dungeon generator in map settings.
Logged

1:24 PM - [Razor]: I think
1:24 PM - [Razor]: I almost fell off my chair
1:24 PM - [Razor]: in anticipation for DICK

Offline imthewalrus

  • today i put....JELLY on this hot god
  • Initiate
  • *
  • Posts: 29
  • Likes the Beatles, obviously.
(No subject)
« Reply #3 on: February 10, 2008, 03:52:27 PM »
That won't make a random map in the game, though. Just the editor.
Logged
I am the walrus, Koo Koo Kachoo!

Offline cherko

  • Fullmetalhead
  • Associate
  • *
  • Posts: 193
  • Crappy game maker
(No subject)
« Reply #4 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.
Logged

Offline Red Giant

  • Leader
  • *
  • Posts: 2,608
  • The best damn bio in the whole damn world. YEAH!!
(No subject)
« Reply #5 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.
Logged

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #6 on: February 11, 2008, 12:21:48 AM »
*double takes*
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline imthewalrus

  • today i put....JELLY on this hot god
  • Initiate
  • *
  • Posts: 29
  • Likes the Beatles, obviously.
(No subject)
« Reply #7 on: February 11, 2008, 08:25:40 PM »
Okay, so that works...this is going to make placing events difficult...
Logged
I am the walrus, Koo Koo Kachoo!

Offline Grandy

  • Zombie
  • Royal
  • *
  • Posts: 4,989
  • Not actually dead
(No subject)
« Reply #8 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.
Logged
Quote from: Alex
I general I'd say I agree 98% with Grandy's post above.

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Chance?
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum