theMall version 1.0
  • description

    Battle for the capitol

  • authors

    andr3w 6

  • downloads
    voxlap .vxl 2.16 MiB
    Download
    pyspades .txt 704 bytes
    Download
  • tags

    Water damage 🌊

  • text file
    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)