1
0
mirror of https://github.com/ineedbots/iw5_bot_warfare.git synced 2025-10-27 18:56:56 +00:00

Compare commits

6 Commits

Author SHA1 Message Date
ineed bots
1ca1cab3de fix this logic error 2025-01-23 23:44:24 -06:00
ineed bots
78435888b8 wait for notifies 2024-10-22 10:04:52 -06:00
ineed bots
d76bff04a6 Merge branch 'master' of https://github.com/ineedbots/piw5_bot_warfare 2024-09-21 20:25:50 -06:00
ineed bots
02ffc62730 import old camp changes 2024-09-21 20:25:47 -06:00
INeedGames
ab7979f9d1 Update README.md
rip rsebots.blogspot
2024-08-13 11:31:14 -06:00
ineed bots
3325405f08 missing tag 2024-05-17 07:52:49 -06:00
4 changed files with 17 additions and 10 deletions

View File

@@ -88,7 +88,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 |
@@ -137,7 +137,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
- Xensik - https://github.com/xensik/gsc-tool

View File

@@ -945,10 +945,10 @@ connected()
level.bots[ level.bots.size ] = self;
self thread onDisconnect();
level notify( "bot_connected", self );
self thread watchBotDebugEvent();
waittillframeend; // wait for waittills to process
level notify( "bot_connected", self );
}
/*

View File

@@ -2455,7 +2455,7 @@ bot_think_camp_loop()
self SetScriptGoal( campSpot.origin, 16 );
time = randomintrange( 10, 20 );
time = randomintrange( 30, 90 );
self BotNotifyBotEvent( "camp", "go", campSpot, time );
@@ -2514,7 +2514,17 @@ killCampAfterTime( time )
self endon( "disconnect" );
self endon( "kill_camp_bot" );
wait time + 0.05;
timeleft = maps\mp\gametypes\_gamelogic::gettimeremaining() / 1000;
while ( time > 0 && timeleft >= 60 )
{
wait 1;
timeleft = maps\mp\gametypes\_gamelogic::gettimeremaining() / 1000;
time--;
}
wait 0.05;
self ClearScriptGoal();
self ClearScriptAimPos();

View File

@@ -79,9 +79,6 @@ removeChildFixed( element )
}
self.children = temp;
element.index = undefined;
element.parent = undefined;
}
destroyElemFixed()