mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-07-04 18:21:52 +00:00
Compare commits
5 Commits
v2.3.0
...
a705a925a1
Author | SHA1 | Date | |
---|---|---|---|
a705a925a1 | |||
44fa37f005 | |||
c73a8d7c37 | |||
a3c3fd8af4 | |||
fa9796f3ee |
@ -85,7 +85,7 @@ You can find the ModDB release post [here](https://www.moddb.com/mods/bot-warfar
|
||||
| bots_main_chat | The rate bots will chat at, set to 0 to disable. | 1.0 |
|
||||
| bots_manage_add | Amount of bots to add to the game, once bots are added, resets back to `0`. | 0 |
|
||||
| bots_manage_fill | Amount of players/bots (look at `bots_manage_fill_mode`) to maintain in the match. | 0 |
|
||||
| bots_manage_fill_mode | `bots_manage_fill` players/bots counting method.<ul><li>`0` - counts both players and bots.</li><li>`1` - only counts bots.</li><li>`2` - exactly `0` but auto adjusts `bots_manage_fill` to map.</li><li>`3` - exactly `1` but auto adjusts `bots_manage_fill` to map.</li><li>`4` - bots are used for balancing teams.</ul> | 0 |
|
||||
| bots_manage_fill_mode | `bots_manage_fill` players/bots counting method.<ul><li>`0` - counts both players and bots.</li><li>`1` - only counts bots.</li><li>`2` - exactly `0` but auto adjusts `bots_manage_fill` to map.</li><li>`3` - exactly `1` but auto adjusts `bots_manage_fill` to map.</li><li>`4` - bots are used for balancing teams.</li><li>`5` - exactly `4` but auto adjusts `bots_manage_fill` to map.</li></ul> | 0 |
|
||||
| bots_manage_fill_watchplayers | Bots will not be added until one player is in the game | 0 |
|
||||
| bots_manage_fill_kick | If the amount of players/bots in the match exceeds `bots_manage_fill`, kick bots until no longer exceeds. | 0 |
|
||||
| bots_manage_fill_spec | If when counting players for `bots_manage_fill` should include spectators. | 1 |
|
||||
@ -93,7 +93,7 @@ You can find the ModDB release post [here](https://www.moddb.com/mods/bot-warfar
|
||||
| bots_team_amount | When `bots_team` is set to `custom`. The amount of bots to be placed on the axis team. The remainder will be placed on the allies team. | 0 |
|
||||
| bots_team_force | If the server should force bots' teams according to the `bots_team` value. When `bots_team` is `autoassign`, unbalanced teams will be balanced. This dvar is ignored when `bots_team` is `custom`. | 0 |
|
||||
| bots_team_mode | When `bots_team_force` is `1` and `bots_team` is `autoassign`, players/bots counting method. <ul><li>`0` - counts both players and bots.</li><li>`1` - only counts bots</li></ul> | 0 |
|
||||
| bots_skill | Bots' difficulty.<ul><li>`0` - Random difficulty for each bot.</li><li>`1` - Easiest difficulty for all bots.</li><li>`2` to `6` - Between easy and hard difficulty for all bots.</li><li>`7` - The hardest difficulty for all bots.</li><li>`8` - custom (look at the `bots_skill_<team>_<difficulty>` dvars)</li><li>`9` - Every difficulty parameter is randomized</ul> | 0 |
|
||||
| bots_skill | Bots' difficulty.<ul><li>`0` - Random difficulty for each bot.</li><li>`1` - Easiest difficulty for all bots.</li><li>`2` to `6` - Between easy and hard difficulty for all bots.</li><li>`7` - The hardest difficulty for all bots.</li><li>`8` - custom (look at the `bots_skill_<team>_<difficulty>` dvars)</li><li>`9` - Every difficulty parameter is randomized</li></ul> | 0 |
|
||||
| bots_skill_axis_hard | When `bots_skill` is set to `8`, the amount of hard difficulty bots to set on the axis team. | 0 |
|
||||
| bots_skill_axis_med | When `bots_skill` is set to `8`, the amount of medium difficulty bots to set on the axis team. The remaining bots on the team will be set to easy difficulty. | 0 |
|
||||
| bots_skill_allies_hard | When `bots_skill` is set to `8`, the amount of hard difficulty bots to set on the allies team. | 0 |
|
||||
@ -184,7 +184,7 @@ You can find the ModDB release post [here](https://www.moddb.com/mods/bot-warfar
|
||||
- INeedGames - http://www.moddb.com/mods/bot-warfare
|
||||
- tinkie101 - https://web.archive.org/web/20120326060712/http://alteriw.net/viewtopic.php?f=72&t=4869
|
||||
- PeZBot team - http://www.moddb.com/mods/pezbot
|
||||
- apdonato - http://rsebots.blogspot.ca/
|
||||
- apdonato - https://web.archive.org/web/20240516065610/http://rsebots.blogspot.com/
|
||||
- Ability
|
||||
- Salvation
|
||||
- VicRattlehead - https://www.moddb.com/members/vicrattlehead
|
||||
|
@ -1097,7 +1097,7 @@ addBots_loop()
|
||||
|
||||
fillMode = getdvarint( "bots_manage_fill_mode" );
|
||||
|
||||
if ( fillMode == 2 || fillMode == 3 )
|
||||
if ( fillMode == 2 || fillMode == 3 || fillMode == 5 )
|
||||
{
|
||||
setdvar( "bots_manage_fill", getGoodMapAmount() );
|
||||
}
|
||||
@ -1160,7 +1160,7 @@ addBots_loop()
|
||||
}
|
||||
|
||||
// use bots as balance
|
||||
if ( fillMode == 4 )
|
||||
if ( fillMode == 4 || fillMode == 5 )
|
||||
{
|
||||
diffPlayers = abs( alliesplayers - axisplayers );
|
||||
amount = fillAmount - ( diffPlayers - bots );
|
||||
|
@ -1738,6 +1738,10 @@ getGoodMapAmount()
|
||||
case "trainer":
|
||||
case "dc_whitehouse":
|
||||
case "mp_shipment":
|
||||
case "mp_countdown":
|
||||
case "mp_showdown":
|
||||
case "mp_farm":
|
||||
case "mp_pipeline":
|
||||
if ( level.teambased )
|
||||
{
|
||||
return 8;
|
||||
@ -1758,6 +1762,15 @@ getGoodMapAmount()
|
||||
case "mp_fav_tropical":
|
||||
case "mp_shipment_long":
|
||||
case "mp_rust_long":
|
||||
case "mp_backlot":
|
||||
case "mp_carentan":
|
||||
case "mp_citystreets":
|
||||
case "mp_hardhat":
|
||||
case "mp_seatown":
|
||||
case "mp_bravo":
|
||||
case "mp_plaza2":
|
||||
case "mp_alpha":
|
||||
case "mp_dome":
|
||||
if ( level.teambased )
|
||||
{
|
||||
return 12;
|
||||
@ -1793,6 +1806,11 @@ getGoodMapAmount()
|
||||
case "mp_crash_tropical":
|
||||
case "mp_estate_tropical":
|
||||
case "mp_bloc_sh":
|
||||
case "mp_broadcast":
|
||||
case "mp_convoy":
|
||||
case "mp_crash_snow":
|
||||
case "mp_paris":
|
||||
case "mp_village":
|
||||
if ( level.teambased )
|
||||
{
|
||||
return 14;
|
||||
@ -1805,6 +1823,7 @@ getGoodMapAmount()
|
||||
case "mp_fuel2":
|
||||
case "mp_invasion":
|
||||
case "mp_derail":
|
||||
case "mp_underground":
|
||||
if ( level.teambased )
|
||||
{
|
||||
return 16;
|
||||
@ -1815,7 +1834,7 @@ getGoodMapAmount()
|
||||
}
|
||||
|
||||
default:
|
||||
return 2;
|
||||
return 8;
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -771,6 +771,10 @@ addOptions()
|
||||
_temp = "bots used as team balance";
|
||||
break;
|
||||
|
||||
case 5:
|
||||
_temp = "bots used as team balance, adjust to map";
|
||||
break;
|
||||
|
||||
default:
|
||||
_temp = "out of range";
|
||||
break;
|
||||
@ -1363,6 +1367,11 @@ man_bots( a, b )
|
||||
self iprintln( "bot_fill will now use bots as team balance." );
|
||||
break;
|
||||
|
||||
case 4:
|
||||
setdvar( "bots_manage_fill_mode", 5 );
|
||||
self iprintln( "bot_fill will now use bots as team balance, adjusting to map." );
|
||||
break;
|
||||
|
||||
default:
|
||||
setdvar( "bots_manage_fill_mode", 0 );
|
||||
self iprintln( "bot_fill will now count everyone." );
|
||||
|
Reference in New Issue
Block a user