Comments (6)
To auto-add bots every time you start a private match after launching the game open your C:\Users\<username>\AppData\Local\Plutonium\storage\iw5\mods\bots\z_svr_bots.iwd
file using 7-zip and open the \maps\mp\bots\_bot.gsc
file inside the archive and edit the following code as desired. I would highly recommend to install Notepad++ to edit the file although not necessary. Don't forget to 'Save' after editing the file.
if ( getDvar( "bots_manage_add" ) == "" )
setDvar( "bots_manage_add", 11 ); //amount of bots to add to the game
This would add 6 bots to the enemy team and 5 to your team to make a total of 12 including you, 6 per side.
I have created startgame.bat file inside my Plutonium IW5x folder with the following to auto-login into Plutonium.
@echo off
set gamepath=%cd%
cd /D %LOCALAPPDATA%\Plutonium
start /wait /abovenormal bin\plutonium-bootstrapper-win32.exe iw5mp %gamepath% -lan +name <username>
Replace with your own username on Plutonium.
from iw5_bot_warfare.
@GhendraNova I'm late to this but yes you can do that, just like with any script/mod that uses dvars you can simply create a script that sets dvars on launch
Create a script in %localappdata%\Plutonium\storage\iw5\scripts
called whatever you want, for example bot_warfare_dvars
.
Make sure it's saved with the .gsc extension and is actually a GSC file.
Then open it with the notepad or any text editor and paste this.
You can then copy/paste this line and edit it to your liking.
First param is the dvar name, second is the value.
Init()
{
SetDvar("bots_main_chat", 0);
}
from iw5_bot_warfare.
Thanks a lot for the answer and small thingy ! I'm sure it will come in handy and i'll keep it so i can test it out.
Unfortunately, this wasn't quite what i had in mind. I'm mostly just saving around settings like
"bots_loadout_rank 0
bots_loadout_prestige -2"
Or other kind of settings which are not all purely visual, and i was wondering if that could be saved and auto-loaded every time i launch the game.
from iw5_bot_warfare.
@Resxt Thank you tons, now i only have to run the "set fs_game mods/bots" command as everything else is set by default, it really helps me by taking much less time to set it up !
from iw5_bot_warfare.
@Resxt Thank you tons, now i only have to run the "set fs_game mods/bots" command as everything else is set by default, it really helps me by taking much less time to set it up !
I'm late again but I'm pretty sure you can do the same for mods. SetDvar("fs_game", "mods/bots");
Also Bot Warfare works as a .iwd file too which can be placed at the root of the iw5 storage folder, it doesn't need to be loaded as a mod. Loading it this way would always load it when you start your game, without needing to do any extra action and would also allow you to use another mod on top of Bot Warfare
from iw5_bot_warfare.
If you are running a dedicated server, you can also put the commands inside your server.cfg
file. I have it near the end of the file, before the set sv_maprotation
:
set bots_manage_add "14"
set bots_manage_fill "14"
set bots_manage_fill_kick "1"
set bots_manage_fill_spec "0"
set bots_manage_fill_mode "1"
set bots_team_force "1"
set bots_team_mode "0"
set bots_team "autoassign"
set bots_main_waitforhosttime "10"
set bots_loadout_allow_op "0"
set bots_main_menu "1"
set bots_main_chat 1.0
set bots_main_debug "true"
set bots_main_GUIDs ""
set bots_loadout_prestige "-2"
set bots_skill "8"
set bots_skill_axis_med "3"
from iw5_bot_warfare.
Related Issues (20)
- The bots doesnt work anymore HOT 4
- Game crashes when navigating the Create a Class screen. HOT 3
- Error upon trying to start match. HOT 1
- Bots using Killstreaks. HOT 3
- Failed to load some scripts (which makes it not work) HOT 2
- Can't rename bots HOT 2
- Game Crash after calling in MOAB HOT 3
- Bot Chat Not Working HOT 2
- Set bots difficulty based on the bots name.
- Loading game HOT 4
- Compile Error (screenshot) HOT 3
- MW3 plutonium scr_xpscale not working
- Script runtime error when client disconnects at the wrong time. (1/2) HOT 1
- Script runtime error when client disconnects at the wrong time. (2/2) HOT 1
- Bot warfare HOT 1
- Game gets Laggy and cant kill them HOT 3
- not being able to change bot names with new update? HOT 1
- Can it be configured so that bots use a specific weapon class? HOT 1
- Bot AI is pretty broken after latest Plutonium update r4043 HOT 7
- updating mod poblem HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iw5_bot_warfare.