elhermoso
Recruit
(for warband multiplayer)
I've made a multiplayer faction and everything, with archers, horsemen, infantry (ai and human classes) etc. I want to add in another AI troop called "The King" or something, and I want only one of them to spawn (ie. at any time). So when I choose to go up against 50 or 100 bots in battle mode, I want only one "King" and say 49 or 99 regular troops.
I've tried using the flag tf_hero, but I don't know what it does as far as bots go - multiple "heroes" will still spawn like regular troops. The other thing I've tried is just increasing the ratio of the regular AI troops to the "King" troop. For example, have 10 lots of archers defined (in module_troops), 15 lots of infantry, 10 lots of horsemen, and only 1 lot of "King". This way, in a battle against 100, sometimes none will spawn (which is fine), sometimes only 1 will spawn (which is desired), but other times 6 or 7 will spawn, which is not fine.
So is there any way to actually achieve a "unique" or individual bot?
I've made a multiplayer faction and everything, with archers, horsemen, infantry (ai and human classes) etc. I want to add in another AI troop called "The King" or something, and I want only one of them to spawn (ie. at any time). So when I choose to go up against 50 or 100 bots in battle mode, I want only one "King" and say 49 or 99 regular troops.
I've tried using the flag tf_hero, but I don't know what it does as far as bots go - multiple "heroes" will still spawn like regular troops. The other thing I've tried is just increasing the ratio of the regular AI troops to the "King" troop. For example, have 10 lots of archers defined (in module_troops), 15 lots of infantry, 10 lots of horsemen, and only 1 lot of "King". This way, in a battle against 100, sometimes none will spawn (which is fine), sometimes only 1 will spawn (which is desired), but other times 6 or 7 will spawn, which is not fine.
So is there any way to actually achieve a "unique" or individual bot?