name = 'MeatLoaf' version = '1.0' author = 'JoJoe Stinky CC 2013' description = 'Meatloaf is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs 3.0 Unported License' extensions = { 'water_damage' : 0 } # script from pyspades.constants import * from pyspades.server import ServerConnection def get_entity_location(team, entity_id): if entity_id == GREEN_FLAG: return (364, 385, 62) if entity_id == BLUE_FLAG: return (133, 385, 62) if entity_id == GREEN_BASE: return (372, 443, 60) if entity_id == BLUE_BASE: return (151, 443, 60) def get_spawn_location(connection): if connection.team is connection.protocol.blue_team: x, y, z = ServerConnection.get_spawn_location(connection) return ServerConnection.set_location_safe(connection, (375, 255, 60)) if connection.team is connection.protocol.green_team: x, y, z = ServerConnection.get_spawn_location(connection) return ServerConnection.set_location_safe(connection, (108, 255, 60))