2 Questions?

Post everything from general questions, to modding questions, to map WIPs to releases. (SWBF1 only)

Moderator: Moderators

Post Reply
Hells_Magistrate_IV

2 Questions?

Post by Hells_Magistrate_IV »

1. Is there any way to increase the amount of bots in SP?
2. How do you set up a joystick?
BlackHawk549

RE: 2 Questions?

Post by BlackHawk549 »

no u cant
imp_strikeforce

RE: 2 Questions?

Post by imp_strikeforce »

thats what i thought too.
so then that would be the # in the SetUnitCount line that changes the number of bots spawning correct?

-- Alliance Stats
SetTeamName(ALL, "Alliance")
SetTeamIcon(ALL, "all_icon")
AddUnitClass(ALL, "all_inf_soldierdesert",11)
AddUnitClass(ALL, "all_inf_vanguard",3)
AddUnitClass(ALL, "all_inf_pilot",4)
AddUnitClass(ALL, "all_inf_marksman",4)
AddUnitClass(ALL, "all_inf_smuggler",1)
SetHeroClass(ALL, "all_inf_lukeskywalker")

-- Imperial Stats
SetTeamName(IMP, "Empire")
SetTeamIcon(IMP, "imp_icon")
AddUnitClass(IMP, "imp_inf_storm_trooper",5)
AddUnitClass(IMP, "imp_inf_shock_trooper",2)
AddUnitClass(IMP, "imp_inf_pilottie",3)
AddUnitClass(IMP, "imp_inf_scout_trooper",1)
AddUnitClass(IMP, "imp_inf_dark_trooper",1)
SetHeroClass(IMP, "imp_inf_darthvader")

-- Attacker Stats
SetUnitCount(ATT, 25)
SetReinforcementCount(ATT, 250)
AddBleedThreshold(ATT, 31, 0.0)
AddBleedThreshold(ATT, 21, 0.75)
AddBleedThreshold(ATT, 11, 2.25)
AddBleedThreshold(ATT, 1, 3.0)

-- Defender Stats
SetUnitCount(DEF, 25)
SetReinforcementCount(DEF, 250)
AddBleedThreshold(DEF, 31, 0.0)
AddBleedThreshold(DEF, 21, 0.75)
AddBleedThreshold(DEF, 11, 2.25)
AddBleedThreshold(DEF, 1, 3.0)

btw, 2 things.
what is the AddBleedThreshhold and what does it do?

and what are the values after the unitclass i.e. AddUnitClass(IMP, "imp_inf_storm_trooper",5). is it like the higher the number the more bots of that class spawn, and vice versa?

thanks in advance ;)
BlackHawk549

RE: 2 Questions?

Post by BlackHawk549 »

true but if ur not into modding all that stuff imp strike force just said should be gibberish and useless to u...
imp_strikeforce

RE: 2 Questions?

Post by imp_strikeforce »

actually it is very helpful, to me at least, cause then you can set the unit count specs to fit with your type of map, and make unit balances to improve the gamplay intended for that particular planet/level.

thanx fred it's clear now :)
Post Reply