Pulp Fortress forum archives
Would you like to react to this message? Create an account in a few clicks or log in to continue.

i've never been this excited over a program before...

+5
DrManette
ninji
Furgus
Nicobbq
LOOK IT'S ADAM!!!
9 posters

Page 2 of 2 Previous  1, 2

Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by Epps 17/4/2010, 18:48

Eraserhead wrote:You two guys must be our top2 in nerds in this clan, good to have you with us.
^This Razz Altough nerd is a compliment in these computer based days so dont you evend are to feel bad about it.
Epps
Epps
RINGO MOGIRE BEAM!
RINGO MOGIRE BEAM!

Posts : 2052
Join date : 2009-11-16
Age : 34
Location : Oss, Netherlands

http://www.epps.nl

Back to top Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by UberLord 17/4/2010, 18:52

Sgt Pepper wrote:
Eraserhead wrote:You two guys must be our top2 in nerds in this clan, good to have you with us.
^This Razz Altough nerd is a compliment in these computer based days so dont you evend are to feel bad about it.
Nerds=main industrials
main industrials=powerful people
powerful people=badasses
Nerds=badasses
I don't think I used the proper terms, and I don't even know wtf I was typing, I just know that nerds are badasses and basicly own the industries now a days....
Also, can we stop getting off topic? I don't know too much about this computer stuff but it sounds interesting...
UberLord
UberLord

Posts : 374
Join date : 2010-04-09
Age : 28
Location : playing tf2 or gmod

Back to top Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by LOOK IT'S ADAM!!! 19/4/2010, 20:01

ok, well phase one is down. i kind of have a "pre-alpha" of this random map generator figured out.

and this is what it produces:
i've never been this excited over a program before... - Page 2 Alphaleveldesigner

i set up a very basic algorithm to generate somewhat coherent maps. 4 blocks are placed at random at the start of the process. after that, the program picks a random space, checks if there are any blocks adjacent to it. only if there is just one will another block be placed, the process then repeats 500 times. this makes continuous walls instead of just random blocks. the height of each block is determined by how many blocks are adjacent to it.




and yes, that is excell, no i have not completely figured out the .vmf format yet.

for now, the program exports a .csv file which can be read by excel
Code:
0,0,0,0,0,0,0,0,0,0,0,0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,0
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0


next steps:
  • make the concentration of blocks be determined by the user.(done)
  • somehow generate pseudo-symmetry(done)
  • get the program to export .vmf files (done)
  • improve* path creation algorithms
  • generate 2nd level of map / ramps
  • make dead-end eliminating algorithm
  • buildings
  • terrain
  • entities


* by "improve" i mean "create"


Last edited by LOOK IT'S ADAM!!! on 21/4/2010, 23:10; edited 2 times in total
LOOK IT'S ADAM!!!
LOOK IT'S ADAM!!!
Clan Member
Clan Member

Posts : 511
Join date : 2010-02-16
Age : 34
Location : Cal Poly, the real one.

Back to top Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by LOOK IT'S ADAM!!! 20/4/2010, 00:33

sweet, i figured out the .vmf format, check it out:
i've never been this excited over a program before... - Page 2 Out0000
LOOK IT'S ADAM!!!
LOOK IT'S ADAM!!!
Clan Member
Clan Member

Posts : 511
Join date : 2010-02-16
Age : 34
Location : Cal Poly, the real one.

Back to top Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by Epps 20/4/2010, 10:04

Cool! This reminds me of the custom map generator from SOF II. It was ment to be the best part of the game, having maps that change everytime you play one. Problem was that most of the maps where random and/or unplayeble because of the outlay. In fact I only remember having a decent map in it once Sad
Epps
Epps
RINGO MOGIRE BEAM!
RINGO MOGIRE BEAM!

Posts : 2052
Join date : 2009-11-16
Age : 34
Location : Oss, Netherlands

http://www.epps.nl

Back to top Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by LOOK IT'S ADAM!!! 21/4/2010, 23:20

got a bit further today.

i decided i want to make the program create two passes. the first pass generates an array of values that determine how likely an item or geographical feature is to spawn, and the second pass places them.

this is what i mean:

i've never been this excited over a program before... - Page 2 Mapgen2

this is the winding wall creation algorithm my initial program used, just scaled up a bit. it doesn't do much on it's own except creates semi-random walls.

this new process takes each point where a wall exists, mirrors it over the diagonal, and places a circular gradient around it:

i've never been this excited over a program before... - Page 2 Mapgen1


this "weight map", along with many others i will create further down the line, will determine how likely a block is to spawn in that area. other things will affect this as well. when i get spawns working, they will affect the placement weight map by creating an area in front of them in which no blocks can spawn. adding capture points will increase the possibility for blocks spawning in the blocks between it, other blocks, and spawn rooms.

I will also have weight maps for the height of each block, possible spawn points for health and ammo, terrain, and other things yet to be determined.




edit: these ones took my computer roughly 5 minutes to generate

i've never been this excited over a program before... - Page 2 Heatmap2
i've never been this excited over a program before... - Page 2 Heatmap
LOOK IT'S ADAM!!!
LOOK IT'S ADAM!!!
Clan Member
Clan Member

Posts : 511
Join date : 2010-02-16
Age : 34
Location : Cal Poly, the real one.

Back to top Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by LOOK IT'S ADAM!!! 23/4/2010, 13:17

i'm working on adding a bit more user input as well, i'm thinking images to sort of give the map a general layout.

the result? a program that turns 24-bit .bmp files into microsoft excel files!

i've never been this excited over a program before... - Page 2 Anim_c10ce3c7-7b02-e4a4-c545-17ef1e24f419

you can't see much, but that's the latest version of excel with conditional formatting on a HUGE number of cells. i just start zooming out...


edit, i tried doing the PULP banner, but it's too big and crashed excel.
LOOK IT'S ADAM!!!
LOOK IT'S ADAM!!!
Clan Member
Clan Member

Posts : 511
Join date : 2010-02-16
Age : 34
Location : Cal Poly, the real one.

Back to top Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by LOOK IT'S ADAM!!! 5/5/2010, 00:02

i'm definitely moving this over to java. object oriented programming allows for so much more, i've just gotta learn it. a neat little side effect of this is i now have a program that can generate huge mazes, like this one:

i've never been this excited over a program before... - Page 2 Java_maze_by_Macrofocus


yes, you can make it all the way through.
LOOK IT'S ADAM!!!
LOOK IT'S ADAM!!!
Clan Member
Clan Member

Posts : 511
Join date : 2010-02-16
Age : 34
Location : Cal Poly, the real one.

Back to top Go down

i've never been this excited over a program before... - Page 2 Empty Re: i've never been this excited over a program before...

Post by Sponsored content


Sponsored content


Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum