Men of War: Assault Squad 2

Men of War: Assault Squad 2

Ammoboxes
37 Comments
Bambr  [author] 17 Mar @ 12:49pm 
Привет. Наверно это лучше к авторам valour обратиться. Потому что даже если бы я и написал такой мод, я бы не стал заниматься его поддержкой. А это необходимо, если valour будет обновляться. Модом valour давно не пользуюсь, не в курсе как там сейчас вообще дела.
Blotto 16 Mar @ 12:52pm 
Привет если не сложно сможешь сделать мод где в каждом грузовике будет снабжения для стройки или укреплений лопаты для постройки окопов больших нужно для мода valour
Bambr  [author] 28 May, 2022 @ 1:41pm 
Thanks for the answer :)
sbeowulf 28 May, 2022 @ 1:14pm 
It works now, thanks!
Bambr  [author] 28 May, 2022 @ 2:40am 
It's for all so called supply trucks that available to order in skirmish missions.
sbeowulf 23 May, 2022 @ 3:08am 
@Bambr, I'll try again, and let you know! It's for all the supplie trucks right? Not a particular one? Or did you add new ones?
Bambr  [author] 21 May, 2022 @ 12:26am 
Looks like the problem is on your side because I use this mod actually to play skirmish with my friend vs AI. Try to disable all other mods but this one.
sbeowulf 20 May, 2022 @ 12:33pm 
It doesn't seem to work in skirmish vs AI, is that normal? Or did I do something wrong?
Bambr  [author] 8 Oct, 2021 @ 1:55pm 
For example, this is standard ZiS-5 ammo truck inventory code:

{extender "inventory"
{box
{size 6 10}
{clear}
{item "f1" "grenade" 20}
{item "rpg40" "grenade" 10}
{item "smoke" "grenade" 10}
{item "dynamite"}
{item "can"}
{item "repair_kit"}
{item "antipersonnel" "mine" 15}
}
}
Bambr  [author] 8 Oct, 2021 @ 1:48pm 
I don't have any experience with mission making with gem editor, so I don't know how to change inventory of a unit via this program. But I think you can open up your mission file with some text editor, find there your truck which looks like that:

{Entity "zis5art" 0x1
{Position 56.91 312.13 0}
{xform y 0.03}
{Extender "enumerator"
{number 336}
}
{Extender "supply_zone"
{current 0}
}
{Player 0}
{MID 10001}
}

And add there something like that:

{Extender "inventory"
{box
{clear}
}
}

Maybe it will work.
Pigolek 8 Oct, 2021 @ 1:21pm 
You add to standard truck inventory some extra stuf, licke a sandbags, and youre ammobox. And truck is spawned with it in gem editor. Im starting work with it, and I dont know how to cheange vechicle inventory.
Bambr  [author] 8 Oct, 2021 @ 12:55pm 
Sorry, Pigolek, what do you mean?
Pigolek 5 Oct, 2021 @ 2:13pm 
How do you put it on wechicle? Txk for answer.
Alexio 10 May, 2021 @ 1:57am 
it dosen´t work for robz :( but great mod
Owl 22 Apr, 2021 @ 2:56am 
Ok. Thank you
Bambr  [author] 21 Apr, 2021 @ 11:28am 
If you want to discuss this then create a topic in the discussion section please. I think you will be able to post any message there.
Owl 21 Apr, 2021 @ 7:39am 
Having merged both mods and working well in single player mode have found that even though files are identical on both machines. The game runs until you inventory the supply truck and then the game crashes. I have the error message but I'm unable to post it.
Bambr  [author] 6 Apr, 2021 @ 12:07pm 
It's standalone.
mrcoolize 6 Apr, 2021 @ 8:53am 
do you need valor or it is stand alone?
Owl 5 Apr, 2021 @ 10:15am 
That's ok. You've already done great.
Bambr  [author] 5 Apr, 2021 @ 8:43am 
Well... This time I cannot answer your question. I'm not that good with modding, sorry.
Owl 5 Apr, 2021 @ 8:30am 
Thanks for the assist have now got both mods working together seamlessly.
What would i have to change to temporarily turn off and on the resupply radius as can be done with the supply trucks.
Bambr  [author] 4 Apr, 2021 @ 12:50pm 
Merge folders of these mods in some directory. There will be a conflict for "\resource\set\interaction_entity\dummy.inc" and "mod.info" files. So you need to deal with it using text editor:
1). Change "Name" parameter in "mod.info" to what ever name you want your mod would be named. The same is for "Desc" parameter.
2). Open "\resource\set\interaction_entity\dummy.inc" of Foxhole_mod and search for "inventory_box" block. Add the following code after that block:


{"ammo_box"
{on spawn
{ani_play "land_on"}
}}



Save your changes. Have fun.
Owl 4 Apr, 2021 @ 11:45am 
Yes please.
Bambr  [author] 4 Apr, 2021 @ 5:34am 
You can apply Foxhole_mod after ammoboxes and you will get a minor bug (ammo boxes will be placed a bit lower than they shoud be).

Another way is to create your own mod (because you need to merge 2 files). I can tell you what you need to do if you are interested :)
Owl 4 Apr, 2021 @ 4:54am 
Thank you. I have very little knowledge of editing mods so do appreciate the explanation.
The clash with the foxhole mod is something extra.
Would your skills allow you to work out a reason why and a possible work round.
Bambr  [author] 4 Apr, 2021 @ 4:44am 
You are right, auto regeneration is on for all ammo boxes. But I haven't found the way to make it optional. Anyway you can edit the mod yourself as you wish. Just modify "Men of War Assault Squad 2\mods\ammoboxes\resource\properties\resupply_generic.inc" file in some text editor. Set "regenerationPeriod" option to "0" for "para_ammo", "box_ammo" and "box_ammo_art".
Owl 3 Apr, 2021 @ 3:25am 
Have found that with Ammo boxes installed, Foxhole_mod does not work.
Owl 3 Apr, 2021 @ 1:21am 
Sorry. Don't know if the other ammo crates auto generate as well. If they do can we please have the option to turn them off as well.
Owl 3 Apr, 2021 @ 1:08am 
Thanks for the prompt reply Bambr.
I know with the supply trucks you can set auto resupply to on or off during the game. But with the para crate drops can we have the option for them to not auto regenerate . In other words when their supplies are exhausted that's it their out, just like the other ammo crates.
Thanks.
Bambr  [author] 3 Apr, 2021 @ 12:24am 
Thanks. @Owl, do you mean the switch which you could use during a mission or something like the game option which is set on/off before a mission?
Owl 2 Apr, 2021 @ 3:12pm 
Great mod. Adding ammo crates really adds to the game, but could you put an on or off choice for the auto regeneration of a paradrop crate for those of us that would rather not have it.
Thanks again.
drainbxtch 2 Apr, 2021 @ 12:01am 
Wow cool mod!:steamthumbsup:
Bambr  [author] 24 Mar, 2021 @ 7:31am 
I don't know, give it a try.
SachiDomainsNaomi 20 Mar, 2021 @ 2:02pm 
Does th9is work with Terminator Mod?
blackpower41320 19 Mar, 2021 @ 9:16pm 
dose it work with ever mod?
sdrafw 8 Jan, 2021 @ 5:48am 
GOOD~~~