Call_of_duty_array version 1.1
  • description

    map miro

  • authors

    onigiri 60

  • downloads
    voxlap .vxl 2.31 MiB
    Download
    pyspades .txt 658 bytes
    Download
  • tags

    Water damage 🌊

  • text file
    name = 'Call_of_duty_array'
    version = '1.1'
    author = 'onigiri'
    extensions = { 'water_damage' : 100 }
    description = 'map miro'
    
    
    from pyspades.constants import *
    from pyspades.server import ServerConnection
    
    def get_entity_location(team, entity_id):
    	if entity_id == BLUE_FLAG:
    		return (0,0,30)
    	if entity_id == GREEN_FLAG:
    		return (0,0,30)
    	if entity_id == BLUE_BASE:
    		return (143,262,54)
    	if entity_id == GREEN_BASE:
    		return (332,153,45)
    
    def get_spawn_location(connection):
    	if connection.team is connection.protocol.blue_team:
    		return (147,266,50)
    	if connection.team is connection.protocol.green_team:
    		return (336,157,41)