Build server: moving intel and bases
-
Deuce - Posts: 1
- Joined: Sat Feb 13, 2016 11:20 pm
How do I move the bases and intel on a build server?
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)
Who is online
Users browsing this forum: No registered users and 21 guests