def __init__(self, map, players, factions): self.map = map self.seed = random.randint(0, 10000) self.me = DirectClient(config.login, self) self.players = [self.me] + [DummyClient(x) for x in players[1:]] for p, f in zip(self.players, factions): p.faction = f
def __init__(self, map): self.map = map self.seed = random.randint(0, 10000) self.me = DirectClient(config.login, self) self.players = [self.me] if self.map.campaign_rules: # missions with custom rules can't be replayed yet self.record_replay = False
def __init__(self, map): self.map = map self.seed = random.randint(0, 10000) self.me = DirectClient(config.login, self) self.players = [self.me]