Page 1 of 1

editing bot weapon priorities

Posted: Sat Jul 30, 2005 8:58 pm
by happy
how do you edit a bot script so that they use whatever weapons you want them to have? ive tried to edit the bot script for the map "russia" and all i did was change the numbers in the wep priorities so that the bots had a more realistic use of weapons (most bots had m1 garand or thompsons, rarely a bazooka; jerry's used kar more than mp40, and no shotgun). the bots ended up using nothing but bazookas and p38's. am i missing something? what else do i need to change for it to work? :?

Posted: Sun Jul 31, 2005 8:40 am
by jv_map
Uhh sounds like it worked :)

What numbers did you use for the weapon priorities?

Posted: Sun Jul 31, 2005 5:05 pm
by happy
level.jvbot_weapon_priority["m1 garand"] = 30
level.jvbot_weapon_priority["springfield '03 sniper"] = 10
level.jvbot_weapon_priority["thompson"] = 40
level.jvbot_weapon_priority["bar"] = 20
level.jvbot_weapon_priority["shotgun"] = 5
level.jvbot_weapon_priority["high standard"] = 0
level.jvbot_weapon_priority["colt 45"] = 5
level.jvbot_weapon_priority["bazooka"] = 10
level.jvbot_weapon_priority["mauser kar 98k"] = 30
level.jvbot_weapon_priority["mauser kar 98d sniper"] = 10
level.jvbot_weapon_priority["mp40"] = 25
level.jvbot_weapon_priority["stg44"] = 20
level.jvbot_weapon_priority["walter p38"] = 5
level.jvbot_weapon_priority["panzerschrek"] = 10