Men of War: Assault Squad 2

Men of War: Assault Squad 2

#valour (# v a l o u r)
 This topic has been pinned, so it's probably important
Normand  [developer] Sep 17, 2017 @ 1:41am
How to add new unit in MP for additional submod
file "set\multiplayer\units\vehicles_rus.set"
{"t35" ("v_y" c(60) t( rus_storm_div nseacombat heavy 39 40 41 nall nfl any tst n42 n43 n44 n45 n50 one_only tb nt none) s(rus) y(39) n1(9) n2(1) g(e4) sc(25) b(v4) cw(0) cp(15)) {cost 500} {fore -10}}
"t35" - entity name
"v" - function for spawn vehicles with tank crew and tank commander
c(240) - delay for spawn of the first unit in seconds
t(nseacombat heavy 39 40 41 nall n42 n43 n44 n45 n50 nfl one_only nt) - tags for selection in different MP game modes (first "n" symbol means excluding from mode)
- "any" selection for test mode
- "fl" - selection for frontline game mode
- "seacombat" - selection for naval battle game mode
- "airborne"- selection for aircrafts spawning
- "sheavy" / "heavy" / " heavy_art" / "medium" - classification of unit
- "tank_only" - unlimited selection for tank battle game mode
- "tank_only2" - limited selection for tank battle game mode
- "tank_only3" - limited selection for tank battle game mode
- "nt" - exclude from tank battle game mode
- "tb" - selection for Unbalanced tank battle game mode
- "ntb" - exclude from Unbalanced tank battle game mode
- "tst" - selection for test war period
- "ww2" - selection for WW2 war period
- "39" - selection for 1939 war period
- "40" - selection for 1940 war period
- "41" - selection for 1941 war period
- "42" - selection for 1942 war period
- "43" - selection for 1943 war period
- "44" - selection for 1944 war period
- "45" - selection for 1945 war period
- "50" - selection for 1950 war period
- "rare", "rare2", "rare3", "rare4" are used for rare units limit
- "rus_storm_div", "rus_inf_div", "rus_tank_div" - selections for division (subfactions)
s(rus) side/army/faction of unit
n1(9) - tankcrew quantity
n2(1) - tankcom quantity
g(e4) - group of units
sc(25) - score
b(v4) - button name in MP
cw(0) - n/a
cp(15) - command points

{cost 500} - cost of unit
fore -1 - next unit selection delay
Last edited by Normand; Jun 28, 2020 @ 10:06pm
< >
Showing 1-15 of 16 comments
Hello, Normand I have question. how to add units (tanks,soldiers,vehicle) to multiplayer menu
Such as add m19 armored vehicle to 1939-1945 period in game. Thanks for your help.
Normand  [developer] May 8, 2018 @ 7:51pm 
Make submod! Use "all" tag instead of "nall".
Last edited by Normand; May 8, 2018 @ 7:53pm
How to make submod, I using "all" for m19 but it not appear
https://imgur.com/ix68JnY
Normand  [developer] May 9, 2018 @ 12:13am 
Originally posted by xneox150:
How to make submod, I using "all" for m19 but it not appear
Do you see 'template' folder in the 'mods' folder of the game?
Normand  [developer] May 9, 2018 @ 12:15am 
Please don't edit #valour mod files, create new mod that changes #valour mod.
Yes in my mods folder there template.
Normand  [developer] May 9, 2018 @ 12:19am 
Originally posted by xneox150:
Yes
1)Copy this folder and remame it like you want ('#valour_change' as example)
2)Open mod.info file by Notepad.exe
3)Instead of {name "Template"} put {name "#valour_change"}

also change in this file min and max game versions to the following values
{MinGameVersion "3.250"}
{MaxGameVersion "3.265"}


4)Save mod.info file
Last edited by Normand; May 9, 2018 @ 12:21am
Normand  [developer] May 9, 2018 @ 12:27am 
Do you see '1.pat' file in your new mod folder?
5)Open '1.pat' with archive software (like winrar)
6)Create 'set' folder in archive
7)Create 'multiplayer' subfolder of the 'set' folder in archive
8)Create 'units' subfolder of the 'multiplayer' folder in archive
9)Import your changes to '1.pat' file
Normand  [developer] May 9, 2018 @ 12:28am 
10)Attach your new mod (#valour_change) in the game option
11)Check changes in the MP game
Last edited by Normand; May 9, 2018 @ 12:30am
KV Productions Dec 18, 2018 @ 12:10pm 
Hello! I have a question! In the "rare", "rare2", "rare3", "rare4" commands, what exactly does each one do? How do they limit the unit from spawning?
Normand  [developer] Dec 18, 2018 @ 12:34pm 
1
KV Productions Dec 18, 2018 @ 1:07pm 
All of them limit the unit to 1? Isn't there a command to limit it to 2, 3 or a different number?

And if all limit it to 1, what's the difference between them?
Jacket786 Nov 9, 2019 @ 2:12pm 
I got the submod to show up on options and I am able to select it but non of the units I added are there in Multiplayer, I made the mod folders and added the .txt files

https://imgur.com/a/igYJone
< >
Showing 1-15 of 16 comments
Per page: 1530 50