Help needed for making a random level generator

Discuss N mapping theory, N maps, and other aspects of map-making.

Moderators: PALEMOON,  yahoozy

User avatar
The 700 Club
Posts: 744
Joined: 2008.10.17 (00:28)
NUMA Profile: http://nmaps.net/user/BionicCryonic
Location: Lethal Lava Land

Postby Yoshimo » 2009.09.28 (23:54)

I'm confident in my coding skill, but the task of getting fairly static variables will take way to long on my own, and will make the maps look boring. As of now, I have a couple 21 digit long string. I need about 50 21 digit long strings of tile data for this to work right. Here's an example of what I want:



Note that when in the level editor, it creates a one-tile thick wall of fairly random tiles. Think about how they would fit in with other bars like this, so it's not very up-and-down themed.

Help appreciated, this is my first big coding project.

Also: I've been experimenting with those three lines, and I can't finsd a way to join 31 strings of those size into 1 string the size of a tileset. Any Python gurus willing to help?
spoiler

Image
Image


Wizard Dentist
Posts: 604
Joined: 2008.09.26 (15:04)
NUMA Profile: http://nmaps.net/user/SkyPanda

Postby SkyPanda » 2009.09.29 (00:56)

Can't help you with python sorry, but I'm wondering whether you'd be better off using arrays for simplicity and flexibility. I think it would be much easier to generate open spaced maps with things like walls, floors and ramps. Have you checked out LV's /first/ map generator for ideas?
Last edited by SkyPanda on 2009.09.30 (01:46), edited 1 time in total.

dreams slip through our fingers like hott slut sexxx
Posts: 3896
Joined: 2009.01.14 (15:41)
NUMA Profile: http://nmaps.net/user/Tunco123
MBTI Type: INTJ
Location: Istanbul

Postby Tunco » 2009.09.29 (16:56)

spoiler

Image


User avatar
The 700 Club
Posts: 744
Joined: 2008.10.17 (00:28)
NUMA Profile: http://nmaps.net/user/BionicCryonic
Location: Lethal Lava Land

Postby Yoshimo » 2009.09.29 (19:12)

-_- I already know about that Tunco, that's part of my inpsiration. I'm just aiming for a large library of tiles to choose from.
spoiler

Image
Image


User avatar
Didn't get a name change in the middle of the TF2 thread.
Posts: 514
Joined: 2008.09.28 (04:50)
NUMA Profile: http://nmaps.net/user/heatwave21
MBTI Type: INFJ
Location: Visconsin
Contact:

Postby heatwave » 2009.12.01 (03:28)

SkyPanda wrote:Have you checked out LV's /first/ map generator for ideas?
How many generators does he have?
spoiler

Part of this community since 2007. — Play Subvein



Who is online

Users browsing this forum: No registered users and 15 guests