Skip to content

Commit

Permalink
casing on russian weapons
Browse files Browse the repository at this point in the history
  • Loading branch information
ineed bots committed Sep 22, 2024
1 parent 1923142 commit df30894
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
12 changes: 6 additions & 6 deletions maps/mp/bots/_bot.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -233,8 +233,8 @@ init()
level.bots_weapon_clip_sizes[ "enfield_mp" ] = 10;
level.bots_weapon_clip_sizes[ "bren_mp" ] = 30;
level.bots_weapon_clip_sizes[ "enfield_scope_mp" ] = 10;
level.bots_weapon_clip_sizes[ "svt40_mp" ] = 10;
level.bots_weapon_clip_sizes[ "pps42_mp" ] = 35;
level.bots_weapon_clip_sizes[ "SVT40_mp" ] = 10;
level.bots_weapon_clip_sizes[ "PPS42_mp" ] = 35;
level.bots_weapon_clip_sizes[ "ppsh_mp" ] = 71;
level.bots_weapon_clip_sizes[ "g43_mp" ] = 10;
level.bots_weapon_clip_sizes[ "mosin_nagant_mp" ] = 5;
Expand All @@ -246,7 +246,7 @@ init()
level.bots_weapon_clip_sizes[ "colt_mp" ] = 7;
level.bots_weapon_clip_sizes[ "webley_mp" ] = 6;
level.bots_weapon_clip_sizes[ "luger_mp" ] = 8;
level.bots_weapon_clip_sizes[ "tt30_mp" ] = 8;
level.bots_weapon_clip_sizes[ "TT30_mp" ] = 8;
level.bots_weapon_clip_sizes[ "greasegun_mp" ] = 32;

level.bots_weapon_class_names = [];
Expand All @@ -260,8 +260,8 @@ init()
level.bots_weapon_class_names[ "enfield_mp" ] = "sniper";
level.bots_weapon_class_names[ "bren_mp" ] = "lmg";
level.bots_weapon_class_names[ "enfield_scope_mp" ] = "sniper";
level.bots_weapon_class_names[ "svt40_mp" ] = "rifle";
level.bots_weapon_class_names[ "pps42_mp" ] = "smg";
level.bots_weapon_class_names[ "SVT40_mp" ] = "rifle";
level.bots_weapon_class_names[ "PPS42_mp" ] = "smg";
level.bots_weapon_class_names[ "ppsh_mp" ] = "smg";
level.bots_weapon_class_names[ "g43_mp" ] = "rifle";
level.bots_weapon_class_names[ "mosin_nagant_mp" ] = "sniper";
Expand All @@ -273,7 +273,7 @@ init()
level.bots_weapon_class_names[ "colt_mp" ] = "pistol";
level.bots_weapon_class_names[ "webley_mp" ] = "pistol";
level.bots_weapon_class_names[ "luger_mp" ] = "pistol";
level.bots_weapon_class_names[ "tt30_mp" ] = "pistol";
level.bots_weapon_class_names[ "TT30_mp" ] = "pistol";
level.bots_weapon_class_names[ "greasegun_mp" ] = "smg";

level thread fixGamemodes();
Expand Down
6 changes: 3 additions & 3 deletions scripts/mp/bots_adapter_libcod.gsc
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,10 @@ setup_weaponid_map()
case "russian":
register_weaponid( "frag_grenade_russian_mp" );
register_weaponid( "smoke_grenade_russian_mp" );
register_weaponid( "tt30_mp" );
register_weaponid( "TT30_mp" );
register_weaponid( "mosin_nagant_mp" );
register_weaponid( "svt40_mp" );
register_weaponid( "pps42_mp" );
register_weaponid( "SVT40_mp" );
register_weaponid( "PPS42_mp" );
register_weaponid( "ppsh_mp" );
register_weaponid( "mosin_nagant_sniper_mp" );
register_weaponid( "shotgun_mp" );
Expand Down

0 comments on commit df30894

Please sign in to comment.