Holdfast: Nations At War

Holdfast: Nations At War

73 ratings
Commander Battles
6
5
2
3
2
   
Award
Favorite
Favorited
Unfavorite
Type: Script
File Size
Posted
Updated
1.323 MB
14 Nov, 2021 @ 7:17am
9 Sep, 2024 @ 1:44pm
43 Change Notes ( view )

Subscribe to download
Commander Battles

Description
Take charge of your own line of musketeers into battle. Battle against other experienced Commanders and their men.




Commander Battles 1.7

Based on CoreDumper's original mod, Commander Battles features Holdfast's officer line controls, allowing your men to benefit from the full range of buffs and gameplay mechanics the line commands have to offer. Subscribe/follow to get updates!


» » How to Play « «

- In case you don't have it like this, make sure the Player Information card set to be in the top right or bottom right (from the Game Settings). This is to ensure you see the extra line orders bar.
- Find a 'Commander Battle' supported server (use the mod discord to join in on the fun, see the end of this page for link).
- Once in, you can use the !addBots command to spawn yourself a line (do it on even ground if possible), like so:

!addBots <Amount> [NamePrefix] [ClassName] [UniformID] (elements in [ ] brackets are optional but previous optional elements are mandatory)

Examples:
!addBots 20 (Spawns 20 line infantry bots)
!addBots 20 [AGS] (Spawns 20 line infantry bots with prefix "[AGS]" in their name)
!addBots 20 [AGS] guard (Spawns 20 guard bots with prefix "[AGS]" in their name)
!addBots 20 [AGS] Guard 1 (Spawns 20 Guard bots with uniform id 1 and prefixed by the "[AGS]" tag)

All possible [className] values can be found here: https://wiki.holdfastgame.com/Server_Configuration_Enums#Class

» » Orders Available « «

Form up Line (Keyboard shortcut Q then 1)

This will form your men into a line facing forward.

Aim (Keyboard shortcut Q then 2)

Tell your line to aim in the direction you are aiming at the time the command is issued. Note: Aiming at a ground point will make your line aim straight at that point, while if you aim in the air (for long-range shot calls for example), your men will mirror your aim direction and pitch. Take that into account when engaging at long distances!

Fire (Keyboard shortcut Q then 3)

Your line will fire their muskets and be reloading.

Charge(Keyboard shortcut Q then 6)

Orders your line to charge at the enemy line or commander that you are directly looking at.

Toggle Double Rank (Alt+2 or Keyboard shortcut N)

Next time your line forms or follows you, it will form into a single/double rank.

Break Line (Keyboard shortcut Q then 7)

Orders your men to stop aiming (if they are), and removes the officer line.

Follow Commander (Alt+1 or Keyboard shortcut B)

Orders your line to follow you. Starting from the closest end of the line, your men will proceed to follow you on the battlefield in a single line. If the man in front reaches the Commander's position, the entire line will stop, forming a column behind the Commander.

Crouch Line (Alt+3)

Orders your line to crouch or stand up.

Toggle Bayonets for Line (Alt+4)

Orders your line to remove or re-attach their bayonets.

Toggle Walk/Run for Line (Alt+5)

Orders your line to switch to walking or running.


» » Server Setup « «

Have the mod defined as such outside the rotations:

mods_installed 2654672970 # Commander Battles mod

Then, inside each rotation, in between the !map_rotation start/end, have the mod defined as such:

game_mode ArmyAssault
#Mods
load_mod 2654672970 # Commander Battles mod
#Commander Battles Config
class_system_orders_formline_cooldown 1
class_system_orders_breakrankandfollow_cooldown 1
class_system_orders_fireatwill_cooldown 1
class_system_orders_makeready_cooldown 1
class_system_orders_fireorder_cooldown 1
class_system_orders_ceasefire_cooldown 1
class_system_orders_charge_cooldown 10
#End of Commander Battles Config


Make sure you have flag bearers and musicians enabled on your server, otherwise your line will not have auxiliary members.

» » List of Config Mod Variables « «

- mod_variable CB:maxbots:20 (Sets a new maximum amount of bots)
- mod_variable CB:allowAnyBotClass:true (Enable spawning bots of any class type)
- mod_variable CB:defaultbotclass:Guard (Sets a default class for bots, use the ones here (with allowAnyBotClass mod var above if needed) https://wiki.holdfastgame.com/Server_Configuration_Enums#Class)
- mod_variable CB:disableaux:true (Disables the spawn of aux units.)
- mod_variable CB:disableSlapHealthBalance:true (Disable extra health for commanders, no more slaps)
- mod_variable CB:customHealthBalance:X (Sets a custom health balance value for commanders. Default value is 100 (as in,100 extra HP for commanders). You can use negative values, but no smaller than -99)
- mod_variable CB:disableshortcutbotspawn:true (Disables the Alt+S UI shortcut, and it will no longer render. You should not need this however, reach out to me if you think you do.)

» » List of Admin Chat Commands « «

- Type !setmax X in admin chat (requires you to be logged in as an admin on the respective server). Sets a new maximum amount of bots.
- To enable spawning bots of any class type (still restricted by map rotation config) use !allowAnyBotClass true / false in admin chat



For more info, bug reporting, feedback etc join us on the fan-made Commander Battles discord: https://discord.gg/Fn9QpDQvcT





- Credits

Original version of this mod was made by CoreDumper. Adaptation, rework and subsequent updates by Alexaroth, with initial contributions from Elf and help from Wrexial. Special thanks to ApexPhantom for providing bot names for various factions!

Official Wiki Page: https://wiki.holdfastgame.com/Commander_Battles



» » Check out my other mods! « «

Commander Battles: https://steamproxy.com/sharedfiles/filedetails/?id=2654672970
CSHO: https://steamproxy.com/sharedfiles/filedetails/?id=3051582660
Battle Royale https://steamproxy.com/sharedfiles/filedetails/?id=2795281854
Holdfast Weapon Menu: https://steamproxy.com/sharedfiles/filedetails/?id=2935155767
Holdfast FC: https://steamproxy.com/sharedfiles/filedetails/?id=2869847453
Passive Killer: https://steamproxy.com/sharedfiles/filedetails/?id=2837448770




Latest Patch Notes:

Version 1.7
- Added the first musician, the drummer!
- The drummer now spawns automatically for lines of 20 or more. They will follow the line next to the flag bearer, and will automatically provide buffs for the line when firing.
- Adjusted order panel location for the new Holdfast update.
- In case you don't have it like this, make sure the Player Information card set to be in the top right or bottom right (from the Game Settings). This is to ensure you see the extra line orders bar.
Popular Discussions View All (1)
0
2 Jun, 2022 @ 6:39am
Epic mod
Cenabet Savaşçı
31 Comments
Stubborn Positivity 14 Aug, 2024 @ 6:15am 
Miss this mod so much
TheRedBaron1918 7 Apr, 2024 @ 1:15pm 
thank you
Amit 6 Apr, 2024 @ 1:46pm 
@TheRedBaron1918: Yeah, you might have to play around with it a couple of times to make sure you get the right one, but the following example command will allow you to select the uniform ID:

!addBots 15 [TAG] ArmyLineInfantry 1

Where you see the "1" in the command above, that's the uniform ID. From my basic testing, 1 is the uniform farthest to the left, 2 is the second from left and so on. I've gone up to ID "4" to test a custom uniform on my server and it's worked that way for me, but maybe I just got lucky.

Full list of classes are here: https://wiki.holdfastgame.com/Server_Configuration_Enums#Class

I've set my server to Commander Battle mode if you just want to try it out.

Server: No. 16 Official | Commander Battles
Password: testing

Add me on Steam if you need any help.
TheRedBaron1918 6 Apr, 2024 @ 1:33pm 
Is there a way you can change the uniforms? because i want to change mine to, say, the highlanders, but i can't
simcunningham62 19 Feb, 2024 @ 12:39pm 
please add a single player mod i have been dying for it
Alexaroth  [author] 22 Nov, 2023 @ 8:18am 
@Amit Not at this time but I have considered it. Maybe will add something after the next mod content update
Amit 21 Nov, 2023 @ 7:15pm 
Are there any plans to add a function to cancel the reload of bots? That's the thing that's frustrating me the most right now.
Blondi 11 Sep, 2023 @ 7:36am 
There's discord for this Commander Battles mod, you can send me the link, thanks!
Zeozzz 23 Jun, 2023 @ 5:23am 
Bots do not go into melee mode.
Nihon teikoku 31 Dec, 2022 @ 1:00pm 
This is a great mod! I like this the most over the line battles. I wished there where more servers though. And I would also like to have more bots in my company. I managed to find a nice trick to use in Commander Battles :) We need more servers about this mod