Need help with coding bot killstreaks.
-
If anyone could be of help with modding bots having custom killstreaks id greatly appreciate it. Ive gotten close but ran into a wall, or some kind of limitation.
Im using the bot warfare mod. Heres where im at so far trying to get bots with specific names to have specific killstreaks. And every test ive done so far (testing each bot 1 by 1) works until I do like 6v6. Any dms or help would really be a awesome. Might even pay someone to fix it.// Initialize ksType with a default value
killstreaks = ["uav_support", "deployable_vest", "stealth_airstrike"];
ksType = "streaktype_support";// Sample killstreak assignments if (self.name == "Oreo") { // Randomly choose between 2 sets of killstreaks for lower level bots. randomChoice = randomInt(2); // Randomly returns 0 or 1 if (randomChoice == 0) { // Assign a specific set of killstreaks for these bots killstreaks = ["predator_missile", "helicopter", "helicopter_flares"]; ksType = "streaktype_assault"; // Set this to the appropriate type } else if (randomChoice == 1) { killstreaks = ["uav_support", "sam_turret", "triple_uav"]; ksType = "streaktype_support"; // Set this to the appropriate type } }else if (self.name == "Ironbird") { killstreaks = ["triple_uav", "stealth_airstrike", "escort_airdrop"]; ksType = "streaktype_support"; } else if (self.name == "Slurp" || self.name == "LionHeardt" || self.name == "Death" || self.name == "Vampire Slayer") { // Assign a specific set of killstreaks for these bots killstreaks = ["uav_support", "counter_uav", "sam_turret"]; ksType = "streaktype_support"; // Set this to the appropriate type