Page 1 of 1

"Valley Crossing"

Posted: Sun Aug 04, 2013 4:17 pm
by Lelue
A map for the league... I colored the towers in the teamcolors and used three tree models. in the middle are four hills with big trees, near the tower are lower trees. The map has much space to sneak. Enough about the map, you will see it :P

Picture:
Image

Downloadlink:
http://www.mediafire.com/download/us7nc ... ossing.vxl

TXT file:
http://www.mediafire.com/download/4gkps ... ossing.txt

Re: "Valley Crossing"

Posted: Mon Aug 05, 2013 12:55 am
by Handles
I like it, it might be a bit large for a 5v5 match but there seems to be a fair few attack routes so yeah.
Good job once again :P

Re: "Valley Crossing"

Posted: Mon Aug 05, 2013 9:06 am
by Lelue
<33

Re: "Valley Crossing"

Posted: Mon Aug 05, 2013 8:17 pm
by Lostmotel
Good map, I really like the color gradient on this one.
The only problem I see are the spawns. There is a high chance for both teams to spawn in the middle of the map (B3, B4, B5 / G3, G4, G5,). I tried to solve that problem by setting a few spawnpoints for both teams in the map extension file which force a spawn on the smaller parts of the island in the corners:
Code: Select all
from pyspades.constants import *
from pyspades.server import ServerConnection
from random import choice

def get_entity_location(team, entity_id):
    if entity_id == BLUE_FLAG:
        z = team.protocol.map.get_z(168, 420)
        return (168, 420, z)
    if entity_id == BLUE_BASE:
        z = team.protocol.map.get_z(134, 479)
        return (134, 479, z)
    if entity_id == GREEN_FLAG:
        z = team.protocol.map.get_z(389, 93)
        return (389, 93, z)
    if entity_id == GREEN_BASE:
        z = team.protocol.map.get_z(399, 50)
        return (399, 50, z)

spawn_locations_blue = [
(98, 359),
(229, 444),
(241, 405),
(206, 470),
(239, 455),
(150, 415),
(172, 437),
(187, 391),
(137, 353),
(81, 395),
(102, 437)
]

spawn_locations_green = [

(335, 112),
(316, 62),
(353, 51),
(395, 59),
(427, 81),
(442, 117),
(426, 159),
(390, 158),
(385, 133),
(392, 107),
(381, 77)
]

def get_spawn_location(connection):
    if connection.team is connection.protocol.blue_team:
        x, y = choice(spawn_locations_blue)
        z = connection.protocol.map.get_z(x, y)
        return x, y, z
    if connection.team is connection.protocol.green_team:
        x, y = choice(spawn_locations_green)
        z = connection.protocol.map.get_z(x, y)
        return x, y, z