Bot Spawner

V 1.3 mod for MORDHAU

0
Downloads today
1,346
Downloads total
0
Comments

description

This will spawn bots according to the settings below when there are players present. The bots will be removed at the end of a match or if there are no players left. Bots do not take up player slots, and their numbers may exceed the match maximum. However be aware that configuring a large number of bots may use up all of your server capacity.

Installation

Place the PAK file under Mordhau/Content/Paks. Then in Game.ini, add the following under the [/Script/Mordhau.MordhauGameMode] section, and restart the server:

SpawnServerActorsOnMapLoad=/Game/Mordhau/Maps/BotSpawner/BP_BotSpawner.BP_BotSpawner_C

Configuration

The following are the default settings, that can be modified by adding this section to Engine.ini. To keep the default settings, you do not need this entry in Engine.ini.

[/Game/Mordhau/Maps/BotSpawner/BP_BotSpawner.BP_BotSpawner_C]
botSpawnerInitialDelaySeconds=5.0
botSpawnerMinimumPlayers=1
botSpawnerTargetBotsPerTeam=30
botSpawnerBotBatchSize=1
botSpawnerSpawnDelaySeconds=1.0

The settings can be interpreted in this fashion:

Once a match has started, and there are at least botSpawnerMinimumPlayers players present, wait botSpawnerInitialDelaySeconds and then start adding botSpawnerBotBatchSize bots every botSpawnerSpawnDelaySeconds until there are botSpawnerTargetBotsPerTeam bots per team, minus any players present on that team.

Note that for Deathmatch, Horde and Battle Royale maps, there will be a total of botSpawnerTargetBotsPerTeam in the match since there is only one "team".

Optional Settings

It is possible to modify the individual number of bots for each team with the following optional settings. Team0 is Red and Team1 is Blue.

botSpawnerTargetBotsForTeam0=10
botSpawnerTargetBotsForTeam1=30

In this example, there would be 10 bots spawned for Team0 and 30 bots for Team1, minus any players present in those teams.

Coop Mode

The following optional setting will switch the server to Coop mode.

botSpawnerCoopTeam=1

This will force all players to the selected team, regardless of their team selection. botSpawnerCoopTeam=0 will put all players in Team 0 (Red), and botSpawnerCoopTeam=1 will put all players in Team 1 (Blue).

In combination with botSpawnerTargetBotsForTeam0 and botSpawnerTargetBotsForTeam1 you can therefore create different coop scenarios of varying difficulty.

Sources

Sources for the uSDK are available on GitHub (MIT LIcense): https://github.com/Andargor/Mordhau-BotSpawner


Credits

  • 15 Jul 00:36
    Version 1.3

    fixed Battle Royale and bot removal quantity



Files


30.04 2020
Modhoster user rating
1.0 / 1 Votes

Empfehlungsrate

-/-      
noch nicht genug Stimmen

Do you think this mod should be featured?

Mod abonnieren
Abonniere Bot Spawner
Der Mod wird automatisch beim nächsten Start von MORDHAU installiert.
MORDHAU
botspawner.3.zip
559 KB 1346

0 Comments for Bot Spawner

You have to log in for writing comments.
You can also sign up for free, id you don't have an account yet - it only takes 5 minutes.

No comments yet.

Write the first comment...

      }