Build server: moving intel and bases

The level/layout/play area.
2 posts Page 1 of 1
PanzerShrek
Deuce
Posts: 1
Joined: Sat Feb 13, 2016 11:20 pm


How do I move the bases and intel on a build server?
Amatt
Winter Celebration 2013
Winter Celebration 2013
Posts: 21
Joined: Tue Apr 09, 2013 12:44 am


PanzerShrek wrote:
How do I move the bases and intel on a build server?
You have to do it in the map's .txt file. Here's an example:
Code: Select all
name='cool map'
version = '1.0'
author = 'someone'
description = 'wut'

# script
from pyspades.constants import *
import random

def get_entity_location(team, entity_id):
    if entity_id == BLUE_FLAG:
        return (10, 34, 59)
    if entity_id == GREEN_FLAG:
        return (239, 49, 54)
    if entity_id == BLUE_BASE:
        return (x, y, z)
    if entity_id == GREEN_BASE:
        return (x, y, z)
2 posts Page 1 of 1
Return to “Maps”

Who is online

Users browsing this forum: No registered users and 1 guest