editing bot weapon priorities

Please use this forum to ask all your MoHAA Bots questions / discussions

Moderator: Moderators

Post Reply
happy
Lance Corporal
Posts: 17
Joined: Mon Jul 25, 2005 3:44 am

editing bot weapon priorities

Post 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? :?
I like pie, don't you?
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Uhh sounds like it worked :)

What numbers did you use for the weapon priorities?
Image
happy
Lance Corporal
Posts: 17
Joined: Mon Jul 25, 2005 3:44 am

Post 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
I like pie, don't you?
Post Reply