Jump to content

Recommended Posts

Posted (edited)

All right first we all know everyone hates omni-bots, we've heard it since they came out. And they reaaaaallly sucked when they first came out. So the hate was justified.

<also they are called "omni-bots" not "omnibots", since omnibot was a robot toy from the 1980s. But let's just call them bots.>

 

The omni-bot forum even got hacked once and everything got deleted and hundreds of posts were lost forever. The makers did not give up, and the most recent version (0.93) is really good.  It's so good I wanted to tell people, especially server admins about it. And share the tweaks I have used on my servers for many years.

 

First off, 0.93 fixes 100s of bugs, and the bots no longer get stuck or stand in the corner jumping up and down running in place like a moron. The map waypoint files have been redone, meaning the bots actually go the right way on maps. I was able to rotate in some maps I had long taken out since I was tired of bots getting stuck or not being able to do some objective without crashing the server. So its worth upgrading right there, for better map behavior.

 

One thing to keep in mind is that if your bots look stupid it totally takes players out of the mindset of the game. They see bots running in circles or shooting the wrong way because the reaction time is too high (to compensate for the bots shooting unnaturally too far by default) so the bots shoot where you were a second previously. Or the bots run past each other without noticing the enemy, because the field of vision is too narrow by default. And the bot name is something like a five-year old kid would come up with. And it makes everything feel fake and unreal. They will leave and go look for a server with humans. And we end up with 200 empty ET servers full of bots while everyone plays on maybe ten popular servers. It's a giant waste running all these deadass servers and it makes new players hate the game when every server is an empty botfest. We can do better!

 

So, we collectively make bots better, and we retain new people and maybe extend the life of this old game we love by a few more years.

 

OK sermon is over.  Here is what you need to do.

 

1) First, download omni-bot_0_93_ET.zip.   Unzip it and put the "omni-bot" folder in your ET server, on the same folder level as etmain and your mods. Delete any other version of omni-bot you have.

 

2) Go into this folder:  "Wolfenstein - Enemy Territory\omni-bot\et\scripts".   There are a few files in the scripts we will edit to "improve" the game. Don't worry we aren't getting out the hexeditor. Just editing text files with Notepad.

 

3) In the file "def_bot.gm" make these changes (or just use the attached copy of def_bot.gm if you don't want to read all this stuff):

 

// FieldOfView is the angle(in degrees) that the bot can 'see' in front of them.
this.FieldOfView = 360;  //was 90.0;

// ReactionTime is the time delay(in seconds) from when a bot first see's a target, to when
// the bot will begin to react and target them.
this.ReactionTime = 0.75;   //setting this above 1.0 makes bots point at wrong targets and shoot behind enemies

// MemorySpan is how long it takes(in seconds) for a bot to consider his memory of someone or something
// 'out of date' and not considered for targeting and such
this.MemorySpan = 5.0;  //was 2.0;

// AimPersistance is how long the bot will aim in the direction of a target after the target has gone out of view.
// This is useful for keeping the bot aiming toward the target in the event of brief obstructions of their view.
this.AimPersistance = 0.5; //was 2.0;

 

The purpose of these changes is to make the bots more human-like and less retarded looking. Giving them more memory and react normally make them behave more like actual human players and not look fake.

 

 

4) In the file "et_autoexec.gm" make these changes at the very bottom, right before the final );  at the end of the file. Or just download my copy.

 


// override camp time settings so the game is more dynamic
    SetMapGoalProperties( "ATTACK_.*", {MinCampTime=1, MaxCampTime=3} );
    SetMapGoalProperties( "DEFEND_.*", {MinCampTime=1, MaxCampTime=3} );
    SetMapGoalProperties( "SNIPE_.*", {MinCampTime=1, MaxCampTime=5} );
    SetMapGoalProperties( "MOUNTMG42_.*", {MinCampTime=1, MaxCampTime=5} );
    SetMapGoalProperties( "MOBILEMG42_.*", {MinCampTime=1, MaxCampTime=5} );
};

 

 

The purpose of these changes is to make the bots stop standing around half the map and go fight.

 

5) Now in the file "et_botnames_ext.gm"  we are going to give them some decent names. The default names are stupid. Make the changes below, or copy my file:

 

/////////////////////////////////////////////////////////////////////

// Axis Bots

// Covert Ops


AxisBots["^eRelapse"] = { class=CLASS.COVERTOPS, weapon=WEAPON.FG42, profile="" };
AxisBots["^fRommel"] = { class=CLASS.COVERTOPS, weapon=WEAPON.STEN, profile="" };
AxisBots["^sAsbestos"] = { class=CLASS.COVERTOPS, weapon=WEAPON.FG42, profile="" };
AxisBots["^tMadMax"] = { class=CLASS.COVERTOPS, weapon=WEAPON.STEN, profile="" };

 

// Engineers
AxisBots["^1Scarface"] = { class=CLASS.ENGINEER, weapon=WEAPON.KAR98, profile="" };
AxisBots["^2Rammstein"] = { class=CLASS.ENGINEER, weapon=WEAPON.KAR98, profile="" };;
AxisBots["^3Gestapo"] = { class=CLASS.ENGINEER, weapon=WEAPON.KAR98, profile="" };
AxisBots["^5Extortion"] = { class=CLASS.ENGINEER, weapon=WEAPON.KAR98, profile="" };

 

// Field Ops
AxisBots["^aPutin"] = { class=CLASS.FIELDOPS, weapon=WEAPON.M97, profile="" };
AxisBots["^cWarCriminal"] = { class=CLASS.FIELDOPS, weapon=WEAPON.M97, profile="" };
AxisBots["^hZodiac"] = { class=CLASS.FIELDOPS, weapon=WEAPON.M97, profile="" };
AxisBots["^iTerminator"] = { class=CLASS.FIELDOPS, weapon=WEAPON.M97, profile="" };

 

// Medics
AxisBots["^aCarjacker"] = { class=CLASS.MEDIC, weapon=WEAPON.M97, profile="" };
AxisBots["^cMengele"] = { class=CLASS.MEDIC, weapon=WEAPON.M97, profile="" };
AxisBots["^hSaddam"] = { class=CLASS.MEDIC, weapon=WEAPON.M97, profile="" };
AxisBots["^iAdolph"] = { class=CLASS.MEDIC, weapon=WEAPON.M97, profile="" };

 

// Soldiers
AxisBots["^1StormTrooper"] = { class=CLASS.SOLDIER, weapon=WEAPON.MP40, profile="" };
AxisBots["^2WarCriminal"] = { class=CLASS.SOLDIER, weapon=WEAPON.MP40, profile="" };
AxisBots["^3SoupNazi"] = { class=CLASS.SOLDIER, weapon=WEAPON.MP40, profile="" };
AxisBots["^5Arson"] = { class=CLASS.SOLDIER, weapon=WEAPON.MP40, profile="" };

 

 

/////////////////////////////////////////////////////////////////////
// Allied Bots

 

// Covert Ops
AlliedBots["^eWarCriminal"] = { class=CLASS.COVERTOPS, weapon=WEAPON.FG42, profile="" };
AlliedBots["^fSlayer"] = { class=CLASS.COVERTOPS, weapon=WEAPON.STEN, profile="" };
AlliedBots["^sRabies"] = { class=CLASS.COVERTOPS, weapon=WEAPON.FG42, profile="" };
AlliedBots["^tStalin"] = { class=CLASS.COVERTOPS, weapon=WEAPON.STEN, profile="" };

 

// Engineers
AlliedBots["^1Mossad"] = { class=CLASS.ENGINEER, weapon=WEAPON.CARBINE, profile="" };
AlliedBots["^2Trump"] = { class=CLASS.ENGINEER, weapon=WEAPON.CARBINE, profile="" };
AlliedBots["^3Maximus"] = { class=CLASS.ENGINEER, weapon=WEAPON.CARBINE, profile="" };
AlliedBots["^5Manson"] = { class=CLASS.ENGINEER, weapon=WEAPON.CARBINE, profile="" };

 

// Field Ops
AlliedBots["^1Redrum"] = { class=CLASS.FIELDOPS, weapon=WEAPON.M97, profile="" };
AlliedBots["^2Dahmer"] = { class=CLASS.FIELDOPS, weapon=WEAPON.M97, profile="" };
AlliedBots["^3Arson"] = { class=CLASS.FIELDOPS, weapon=WEAPON.M97, profile="" };
AlliedBots["^5Patton"] = { class=CLASS.FIELDOPS, weapon=WEAPON.M97, profile="" };

 

// Medics
AlliedBots["^aBodybag"] = { class=CLASS.MEDIC, weapon=WEAPON.M97, profile="" };
AlliedBots["^cJigsaw"] = { class=CLASS.MEDIC, weapon=WEAPON.M97, profile="" };
AlliedBots["^hEbola"] = { class=CLASS.MEDIC, weapon=WEAPON.M97, profile="" };
AlliedBots["^iMalice"] = { class=CLASS.MEDIC, weapon=WEAPON.M97, profile="" };

 

// Soldiers
AlliedBots["^1Assailant"] = { class=CLASS.SOLDIER, weapon=WEAPON.THOMPSON, profile="" };
AlliedBots["^2Ransom"] = { class=CLASS.SOLDIER, weapon=WEAPON.THOMPSON, profile="" };
AlliedBots["^3Blackmail"] = { class=CLASS.SOLDIER, weapon=WEAPON.THOMPSON, profile="" };
AlliedBots["^5Dementia"] = { class=CLASS.SOLDIER, weapon=WEAPON.THOMPSON, profile="" };

 

/////////////////////////////////////////////////////////////////////
// Overflow bots - used if no bots left for team / class desired
global ExtraBots =
{

 

    "^eRedrum",
    "^hDahmer",
    "^iArson",
    "^eStormTrooper",
    "^cBlackmail",
    "^hPatton",
    "^iRansom",

};
 

The purpose of these changes is to give the bots better names. You can edit the names and weapons however you want. Watch out for missing quotes and semicolons and commas.

 

6) All right now we are going into this folder: omni-bot\et\scripts\goals  and opening this file: goal_difficulty.gm.  Make these changes:

 

in the code block for difficulty 3,4,5,6 make this change (don't forget the comma):

 

MaxViewPercent = 10, 

 

The purpose of this change is to restrict the bots' long range vision, so they don't kill players across the map. It is a much-needed nerf.  Note that the difficulties of 3 and below actually nerf the bots combat abilities in non-obvious ways that are not indicated in the file, but they play much stupider at 3 than at 4 with everything else being standard default setting. So use 4 or 5 for best results.

 

 

7) After you turn the server on once with the bots enabled, it will make a new file called "omni-bot.cfg"  in omni-bot\et\user

 

In this file, make these changes:

BalanceTeams                   = 1  //was 0

 

[CombatMovement]
moveskill                      = 1  //keep at 1 for less lag

 

[Difficulty]
CurrentDifficulty              = 4  //keep at 4 for most realistic

 

[HeavyWeapons]
MinPlayersForMortar            = 64  //was -1
MinPlayersForMobileMG          = 64  //was -1

 

The purpose of these changes is to make sure the bots replace players so the teams stay balanced, prevent lag by keeping the moveskill at 1, keep at the best difficulty of 4 or 5, and prevent the bots from using the mortar or MG-42 (they will kill everyone and your players will hate it and leave).

 

'8) In omni-bot\et\scripts\weapons,  open these files:  weapon_colt.gm, weapon_luger.gm, weapon_akimbo_colt.gm, weapon_akimbo_luger.gm, 

 

In each file, edit this line:

this.PrimaryFire.DefaultDesirability = 2.0;   //was 0.4 or 0.3

 

I'm not going to add all these weapon files as you can open them up yourself and make this single change and save it yourself. Too much file clutter in here already.

 

The purpose of these edits is to make the bots select the pistols as the primary weapon. The engineers, medics, soldiers, and fops will use the colts and lugers a lot more. If you want to apply this to the covies then do all the silenced pistols too (like weapon_silenced_colt.gm,  weapon_akimbo_silenced_luger.gm,  etc). Otherwise leave the covies to use the stens and FG-42 so you have one class of bots that surprises the players by being actually very lethal.  Mixes it up a bit.

 

This has an interesting effect when combined with the other changes above.  The bots become more reactive, move like humans, actually see you and try to kill you, BUT they use the pistols instead of the rifles and submachine guns and shotguns.  So they react belligerently, with aggression and hostility, but the players can still get kills most of the time. People seem to love it!

 

Obituary

 

 

 

def_bot.gm et_autoexec.gm et_botnames_ext.gm goal_difficulty.gm omni-bot.cfg

Edited by obituary
  • Thanks 1

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.