name = 'Battle s Bourg' version = '1.1' author = 'Gibbs3333' description = ('Team R3S') protected = ['D4','D5', 'E4', 'E5'] extensions = { 'water_damage' : 20 } # scripting from pyspades.constants import * from pyspades.server import ServerConnection def get_entity_location(team, entity_id): if entity_id == BLUE_FLAG: return (256, 173, 59) if entity_id == BLUE_BASE: return (209, 267, 59) if entity_id == GREEN_FLAG: return (257, 173, 59) if entity_id == GREEN_BASE: return (302, 243, 59) def get_spawn_location(connection): if connection.team is connection.protocol.blue_team: # sets a static spawn for just the blue team, but you could use "green_team" too. return (209, 267, 59) if connection.team is connection.protocol.green_team: # sets a static spawn for just the green team, but you could use "blue_team" too. return (302, 243, 59)