Battle for the capitol
voxlap .vxl | 2.16 MiB | |
pyspades .txt | 704 bytes |
Water damage 🌊
name = 'theMall'
version = '1.0'
author = 'andr3w'
description = 'Battle for the capitol'
extensions = { 'water_damage' : 25}
# script
from pyspades.constants import *
import random
def get_entity_location(team, entity_id):
if entity_id == BLUE_FLAG:
return (35, 261, 15)
if entity_id == GREEN_FLAG:
return (480, 253, 53)
if entity_id == BLUE_BASE:
return (20, 261, 15)
if entity_id == GREEN_BASE:
return (495, 253, 53)
def get_spawn_location(connection):
if connection.team is connection.protocol.blue_team:
return (20, 261, 60)
if connection.team is connection.protocol.green_team:
return (495, 253, 53)