Note: This forum is merely an archive. It is no longer possible to register or post. - StackOverflow
New Ace of Spades Forums: http://buildandshoot.com/

Mapmaking API

For all your hosting needs.

Mapmaking API

Postby Triplefox » Wed Feb 01, 2012 10:55 am

How to run "random.txt"

1. Download newest pyspades SVN. Don't forget to build before running.

2. Edit your config. The default "maps" entry looks like this:
Code: Select all
"maps" : ["pyspades", "bridgewars", "anticbridge"],

replace it with:
Code: Select all
"maps" : ["random"],

2a. If you want to cycle through more random maps, login as admin and type "/map random".
2b. If you want to specify a seed value you can type it in the rotation name like so:
Code: Select all
"maps" : ["random #1000","random #2","random #50"],

3. Enjoy!

How to make your own scripts (Wiki)

Some output from the "random.txt" map:
Image
Image
Image
Image
Image

Rundown of features:
    Can make own map scripts - simply add a txt file for the map in your maps folder
    Biome tilemaps, determining average height, variation, and gradient
    Heightmaps with 2D perlin noise and gradient coloring
    Fast(random.txt generates in avg. <3 seconds on my laptop, with client in background)

Random.txt features:
    Four biomes (water, grass, hill, snow)
    Major landscape features are stable - water is always present at top and bottom, snow near top, hills near bottom
    Landscape is mostly smooth, apart from the mountains

You can put "random" in your rotations right now.

Bonus, a little error from bad scaling of the HSV coloring function:
Image
pyspades contributor, sometimes mapmaker, @ player, indie dev
follow my twitter or yt: @triplefox - sctriplefox
Triplefox
Site Admin
 
Posts: 29
Joined: Sat Dec 10, 2011 10:54 am
Location: s f

Re: Mapmaking API

Postby matpow2 » Wed Feb 01, 2012 2:44 pm

Good job!
User avatar
matpow2
Site Admin
 
Posts: 47
Joined: Thu Dec 29, 2011 12:35 pm
Location: Denmark, Odense

Re: Mapmaking API

Postby izzy » Wed Feb 01, 2012 9:36 pm

Triplefox does it again!

really awesome, good going
Image
User avatar
izzy
Site Admin
 
Posts: 158
Joined: Sat Dec 10, 2011 12:04 pm

Re: Mapmaking API

Postby Triplefox » Sat Feb 04, 2012 5:11 am

I started writing documentation and got sidetracked into some improvements:

Image
Image
Image
Image

Rivers, tundra area are the most prominent changes.
pyspades contributor, sometimes mapmaker, @ player, indie dev
follow my twitter or yt: @triplefox - sctriplefox
Triplefox
Site Admin
 
Posts: 29
Joined: Sat Dec 10, 2011 10:54 am
Location: s f

Re: Mapmaking API

Postby USABxBOOYO » Sat Feb 04, 2012 5:20 am

Awesome!

Also, C-C-C-COMBRO BREAKER
User avatar
USABxBOOYO
Global Moderator
 
Posts: 2197
Joined: Sat Dec 10, 2011 12:38 pm

Re: Mapmaking API

Postby Dany0 » Mon Feb 06, 2012 5:30 pm

I saw it in the commits and wanted to check it out, glad there's even a tutorial now :P
Image
User avatar
Dany0
Member
 
Posts: 358
Joined: Mon Dec 26, 2011 7:29 pm

Re: Mapmaking API

Postby TBS » Mon Feb 06, 2012 6:17 pm

awesome job :o !
Image
User avatar
TBS
Bastion Member
 
Posts: 152
Joined: Sun Jan 01, 2012 2:42 pm

Re: Mapmaking API

Postby knifeymoloko » Thu Feb 16, 2012 3:21 pm

very nice!
User avatar
knifeymoloko
Member
 
Posts: 48
Joined: Sun Feb 05, 2012 5:39 am

Re: Mapmaking API

Postby Triplefox » Sun Feb 19, 2012 5:26 am

Added trees.

Image
Image
Image

A bug.

Image
pyspades contributor, sometimes mapmaker, @ player, indie dev
follow my twitter or yt: @triplefox - sctriplefox
Triplefox
Site Admin
 
Posts: 29
Joined: Sat Dec 10, 2011 10:54 am
Location: s f

Re: Mapmaking API

Postby izzy » Sun Feb 19, 2012 7:45 am

trees are a great idea
Image
User avatar
izzy
Site Admin
 
Posts: 158
Joined: Sat Dec 10, 2011 12:04 pm

Re: Mapmaking API

Postby SLoW » Thu Feb 23, 2012 5:23 pm

I haven't seen it in game yet (since I'm on a mac at the moment), but I've started a server running your gen maps. I'll probably run it for a week or two. It's available here:

"ldrship.org - Gen Maps" at aos://1186336328
Image
User avatar
SLoW
Global Moderator
 
Posts: 560
Joined: Sat Dec 10, 2011 4:35 pm

Re: Mapmaking API

Postby Triplefox » Fri Feb 24, 2012 9:58 am

Improved tree quality a bit(top color variation, trunk height variation, "clumping" only on diagonals, very slightly lower density)

Image
Image
pyspades contributor, sometimes mapmaker, @ player, indie dev
follow my twitter or yt: @triplefox - sctriplefox
Triplefox
Site Admin
 
Posts: 29
Joined: Sat Dec 10, 2011 10:54 am
Location: s f

Re: Mapmaking API

Postby SLoW » Fri Feb 24, 2012 3:43 pm

I've updated the server to include your new changes.

I played some last night, and I have to say that it's a job very well done. It may just be me, but it feels a LOT like Minecraft. It's sort of eerie, because you know it's not, but it feels so much like it...but with guns.

Overall though, awesome.
Image
User avatar
SLoW
Global Moderator
 
Posts: 560
Joined: Sat Dec 10, 2011 4:35 pm

Re: Mapmaking API

Postby izzy » Sat Feb 25, 2012 2:19 pm

so purty at night

Image
Image
User avatar
izzy
Site Admin
 
Posts: 158
Joined: Sat Dec 10, 2011 12:04 pm

Re: Mapmaking API

Postby TheGrandmaster » Sat Feb 25, 2012 9:13 pm

hah, also loving the chat message izzy :D
I'd look forward to full terrain smoothing - some of the transitions seem a little too harsh at the moment.
IGN: TheGrandmaster or <@tGM~wiki> | #AoS: IRC channel
<@mikuli> the bad part in this plan is that it involves an already busy tea-drinking scone chomper with a monocle
Latest AoS video: here
User avatar
TheGrandmaster
Site Admin
 
Posts: 882
Joined: Fri Dec 09, 2011 8:54 pm
Location: England

Next

Return to Server



Who is online

Users browsing this forum: No registered users and 4 guests

cron