mirror of
				https://github.com/ineedbots/iw5_bot_warfare.git
				synced 2025-10-30 20:16:57 +00:00 
			
		
		
		
	Compare commits
	
		
			6 Commits
		
	
	
		
			b005f90e99
			...
			master
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
|  | 1ca1cab3de | ||
|  | 78435888b8 | ||
|  | d76bff04a6 | ||
|  | 02ffc62730 | ||
|  | ab7979f9d1 | ||
|  | 3325405f08 | 
| @@ -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 | ||||
|   | ||||
| @@ -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 ); | ||||
| } | ||||
|  | ||||
| /* | ||||
|   | ||||
| @@ -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(); | ||||
| 	 | ||||
|   | ||||
| @@ -79,9 +79,6 @@ removeChildFixed( element ) | ||||
| 	} | ||||
| 	 | ||||
| 	self.children = temp; | ||||
| 	 | ||||
| 	element.index = undefined; | ||||
| 	element.parent = undefined; | ||||
| } | ||||
|  | ||||
| destroyElemFixed() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user