LoathsomesBotPack - Now available

Search, find and discuss about Mutators!
Post Reply
MrLoathsome
Inhuman
Posts: 958
Joined: Wed Mar 31, 2010 9:02 pm
Personal rank: I am quite rank.
Location: MrLoathsome fell out of the world!

LoathsomesBotPack - Now available

Post by MrLoathsome »

See attached file. Look at the README.txt file for instructions and more info.
File includes 3 mutators.


Features:

XBots9b:

- Expands the XBots lists to 9 for a maximum of 320 individual bots.

- Includes built-in version of the AdjustoBots mutator.


AdjustoBots:

- Fixes broken UT Auto Adjust Bot Skill option.

- Allows setting of Initial & Maximum Bot Skill levels. Max by 10ths.

- Increases UT limit of 16 bots in game to 32.

- Checkboxes for Bot vs Bot adjusting and Human vs Bot adjusting.

- Faster Adjust option. When on and Bot vs Bot adjusting is enabled
bots will adjust skill on each kill/death. Default Off.
With Faster Adjust off there is a 20% chance of adjusting both, a 20%
chance of adjusting loser, 20% chance of adjusting winner and 40% of
the encounters will not call the AdjustSkill function.

- Silent Mode option. Enable or disable on screen messages when bot
skills are adjusted or capped.


BSInfo:

- Realtime display of current bot skill level on Scoreboard (F1)

- Debug mode shows current internal bot Skill, Novice and ThreePlus
values. Default On.

- Works independent of AdjustoBots. See how broke default AdjustSKill is.

Full source for each included in the Classes folder(s).
Attachments
LoathsomesBotPack.zip
(79.54 KiB) Downloaded 693 times
blarg
User avatar
[did]Madis
Adept
Posts: 297
Joined: Tue Jun 03, 2008 2:48 pm
Personal rank: カニはとても美味しい

Re: LoathsomesBotPack - Now available

Post by [did]Madis »

This looks useful for weapons training.
Support Nuclear Races by visiting our ModDB profile
Image
Image
MrLoathsome
Inhuman
Posts: 958
Joined: Wed Mar 31, 2010 9:02 pm
Personal rank: I am quite rank.
Location: MrLoathsome fell out of the world!

Re: LoathsomesBotPack - Now available

Post by MrLoathsome »

I got bored today and was getting tired of the bots being so stupid in team games
unless you specifically ordered them to attack or defend.

So I wrote this bit:

Code: Select all

var int BotID[32];

function ModifyPlayer(Pawn Other)
{
	local Bot B;
	local int RV;

	if ((Other.IsA('Bot')) && (BotID[Other.PlayerReplicationInfo.PlayerID] != Other.PlayerReplicationInfo.PlayerID))
	{
		BotID[Other.PlayerReplicationInfo.PlayerID]=Other.PlayerReplicationInfo.PlayerID;
		B=Bot(Other);

	if ( Level.Game.GameName == "Assault" )
		{
		B.bLeading = False;
		if ( TeamGamePlus(Level.Game).IsOnTeam(B,0) )
			B.SetOrders('Defend', None, true);
		else
			B.SetOrders('Attack', None, true);
		}
		else
		{
		if ( DeathMatchPlus(Level.Game).bTeamGame )
			{
				B.bLeading = False;
				RV = Rand(2);
				if (RV == 1)
					B.SetOrders('Attack', None, true);
				else
					B.SetOrders('Defend', None, true);
			}
			else
			{
				B.SetOrders('Freelance', None, true);
			}
		}
		log(RV$"   Orders set for "$B.PlayerReplicationInfo.PlayerName$"  "$B.PlayerReplicationInfo.PlayerID$"  "$B.Orders);
	}

	// called by GameInfo.RestartPlayer()
	if ( NextMutator != None )
		NextMutator.ModifyPlayer(Other);
}
Got that running in a custom version of the XBots9b on my servers now.
blarg
User avatar
papercoffee
Godlike
Posts: 10447
Joined: Wed Jul 15, 2009 11:36 am
Personal rank: coffee addicted !!!
Location: Cologne, the city with the big cathedral.
Contact:

Re: LoathsomesBotPack - Now available

Post by papercoffee »

And what is it doing?
Darkness
Experienced
Posts: 81
Joined: Mon Mar 01, 2010 10:12 pm
Location: Brazil

Re: LoathsomesBotPack - Now available

Post by Darkness »

papercoffee wrote:And what is it doing?
Everytime they bot respawn, it'll make sure their current actions are "the best" for that mode.
MrLoathsome
Inhuman
Posts: 958
Joined: Wed Mar 31, 2010 9:02 pm
Personal rank: I am quite rank.
Location: MrLoathsome fell out of the world!

Re: LoathsomesBotPack - Now available

Post by MrLoathsome »

Darkness wrote:
papercoffee wrote:And what is it doing?
Everytime they bot respawn, it'll make sure their current actions are "the best" for that mode.
Actually it only does that at the start of each level. So you can still order the bots to
do something else in-game if you wish.

See the BotOrders thread in this section for more info and mutator download.
blarg
Darkness
Experienced
Posts: 81
Joined: Mon Mar 01, 2010 10:12 pm
Location: Brazil

Re: LoathsomesBotPack - Now available

Post by Darkness »

MrLoathsome wrote:Actually it only does that at the start of each level. So you can still order the bots to do something else in-game if you wish.
Nvm I just ignored the first condition there :mrgreen:
Muff_N
Novice
Posts: 19
Joined: Mon Mar 30, 2009 11:33 pm
Personal rank: UT Stimulus Package!

Re: LoathsomesBotPack - Now available

Post by Muff_N »

Thank you thank you thank you!!!!! :rock: I can only play with bots due to my lack of decent internet, and this is flippin' AWESOME!!
Image
Pikawil
Novice
Posts: 3
Joined: Mon Sep 08, 2008 1:10 am
Personal rank: Mah boi.

Re: LoathsomesBotPack - Now available

Post by Pikawil »

Would it be possible to intergrate Marginally Enhanced UT into Xbots' bot configuration UI in the future?
Post Reply