マップと一緒に入ってるテキスト見てみたけど適当にやったらできそうだな 誰か地形をペイントかなんかで書いてくれよ def get_entity_location(team, entity_id): if entity_id == GREEN_FLAG: x = random.randrange(380,409) y = random.randrange(192,260) return (x, y, 57) if entity_id == GREEN_BASE: return (382, 233, 57) if entity_id == BLUE_FLAG: x = random.randrange(112,144) y = random.randrange(192,260) return (x, y, 57) if entity_id == BLUE_BASE: return (145, 233, 57)
def get_spawn_location(connection): if connection.team is connection.protocol.green_team: x = random.randrange(345,430) y = random.randrange(168,280) return (x, y, 54) if connection.team is connection.protocol.blue_team: x = random.randrange(90,180) y = random.randrange(168,280) return (x, y, 54)
name = 'Goonassault' version = '9.9' author = 'XXX' description = 'XXX test'
# script from pyspades.constants import * import random
def get_entity_location(team, entity_id): if entity_id == GREEN_FLAG: return (416, 286, 57) if entity_id == GREEN_BASE: return (380, 234, 57) if entity_id == BLUE_FLAG: return (96, 286, 57) if entity_id == BLUE_BASE: return (144, 234, 57)
def get_spawn_location(connection): if connection.team is connection.protocol.green_team: x = random.randrange(56,76) y = random.randrange(266,306) return (x, y, 59) if connection.team is connection.protocol.blue_team: x = random.randrange(436,456) y = random.randrange(266,306) return (x, y, 59)
name = 'lastsav' version = '1.0' author = 'VIPkensetu' description = 'VIP'
def get_entity_location(team, entity_id): if entity_id == GREEN_FLAG: x = random.randrange(380,409) y = random.randrange(192,260) return (x, y, 3) if entity_id == GREEN_BASE: return (382, 233, 3) if entity_id == BLUE_FLAG: x = random.randrange(80,80) y = random.randrange(180,180) return (x, y, 6) if entity_id == BLUE_BASE: return (80, 180, 6)