Call to Arms - Gates of Hell: Ostfront

Call to Arms - Gates of Hell: Ostfront

BM Mod - Gates of Hell
 This topic has been pinned, so it's probably important
Armpit_Sweat  [developer] 27 Dec, 2023 @ 8:36am
This thread is dedicated to tutorials on editing BM Mod files
This thread is dedicated to tutorials on editing BM Mod files.
If you want to adjust BM Mod to your personal preferences and are willing to edit files manually - this is a good place to start.

Content overview:

1. I want to customize the mod and/or make my own personal version of BM Mod - what do I need?

2. Where can I find the BM Mod's folder and files?

3. I want the blood to stay longer.

4. I want to see more blood overall.

5. I want to see more body explosions.

6. I want to see more corpses, shell holes and other objects.

7. I want to change something else, what do I do?
Last edited by Armpit_Sweat; 29 Dec, 2023 @ 7:31am
< >
Showing 1-7 of 7 comments
Armpit_Sweat  [developer] 27 Dec, 2023 @ 8:37am 
1. I want to make my own, personal version of BM Mod - what do I need?

Even if you have never done any modding and have no idea where to start - don't worry!
Editing Gates og Hell files is easy, and does not require any programming knowledge. All you need is a text editor, patience and time.
You can use the standard Windows Notepad - it works perfectly fine! If you want to make editing files even more comfortable, I suggest downloading the "Notepad++" freeware text editor - its fast, is as easy to use as the Notepad, and highlights some coding symbols by default, making the GoH modding easier.

You can either edit BM Mod files as is - in the same folder you downloaded them, or make a personal copy to ensure your work will not get lost when the mod is automatically updated.
If you are making a simple quick change, you can edit them as is. Otherwise, I suggest editing your personal copy. Read the next section to find out how its done.
Last edited by Armpit_Sweat; 27 Dec, 2023 @ 11:46am
Armpit_Sweat  [developer] 27 Dec, 2023 @ 8:37am 
2. Where to find the BM Mod's folder and files?

By default, Steam downloads all files/mods from the Workshop in the following folder:
C:\Program Files (x86)\Steam\steamapps\workshop\content

All games have their own folder for the downloaded mods. Unfortunately, Steam assigns a seemingly random numeric "name" to every game. On my PC, Gates of Hell mods are downloaded in the following folder:
C:\Program Files (x86)\Steam\steamapps\workshop\content\400750

BM Mod has the following folder number/name:
C:\Program Files (x86)\Steam\steamapps\workshop\content\400750\2922646932

You can open the "preview.jpg" picture in the folder, to make sure its BM Mod.

-----------------------------------------------

If you want to make your own, local copy of the BM Mod, copy the whole "2922646932" folder to the mods folder of the game, like this:

C:\Program Files (x86)\Steam\steamapps\common\Call to Arms - Gates of Hell\mods\2922646932

To ensure your copy is installed correctly, start the game and go to "Extras" menu, where you activate the downloaded mods. You should see another BM Mod - Gates of Hell mod on the list. Your copy has no picture and no information about the mod's version and file's size.
From here, you can activate your version of the mod and test the results of your editing.
Last edited by Armpit_Sweat; 27 Dec, 2023 @ 11:50am
Armpit_Sweat  [developer] 27 Dec, 2023 @ 8:37am 
3. I want the blood to stay longer.

Go to the following sub-folder in the mod:

\resource\entity\fx\hit

Open and edit all files starting with "bm_*****" and find the following line:
{timer {duration 600} }

Change the timer to any value you want ( f.ex. 9999 or 60 etc.) The default is set to 600 seconds ( 10 minutes ).
Save the changes and test them in the game.

*Note that not every "bm_" file contains a timer. It does not pay off to list all the files here - most of them contain "stain" or "pool" in the name.
Last edited by Armpit_Sweat; 27 Dec, 2023 @ 11:53am
Armpit_Sweat  [developer] 27 Dec, 2023 @ 8:38am 
4. I want to see more blood overall.

There are two files you can edit to increase the amount of visible blood.

Edit the human.inc file located in the following folder:

\resource\set\interaction_entity

Find all three instances of the {call "blood_small"} line, and replace it with {call "blood_big"}.
You can also replace the {if rand 0.2 {call "blood_big"}} line, with {if rand 1 {call "blood_big"}}

Find the following line:

{on "die_with_blood"

Find and edit {if rand 0.3 line, located 6 lines under {on "die_with_blood" line.
Replace the 0.3 value with a higher number, up to 1, where 1 = 100% and 0.01 = 1% chance.

Save the changes and test them in the game.

-----------------------------------------------

Edit the generic.inc file located in the following folder:

\resource\set\interaction_entity

Find and edit the following lines, located at the top of the file:

{if min_speed 5 {if rand 0.25 {call "blood_high"}} else {if min_speed 1 {if rand 0.15 {call "blood_low"}} } }

Replace 0.25 and 0.15 values with a higher number, up to 1, where 1 = 100% and 0.01 = 1% chance.
For example:

{if min_speed 5 {if rand 0.9 {call "blood_high"}} else {if min_speed 1 {if rand 0.75 {call "blood_low"}} } }

Find and replace all instances of the {call "blood_low"} line, with {call "blood_high"}.

Save the changes and test in the game.

If you do all of the above, you should see a substantial increase in blood decals on the ground.
Last edited by Armpit_Sweat; 27 Dec, 2023 @ 11:54am
Armpit_Sweat  [developer] 27 Dec, 2023 @ 8:38am 
5. I want to see more body explosions.

Edit the human.inc file located in the following folder:

\resource\set\interaction_entity

Find the following lines:

{on "explosion" {if rand 0.3 {call "bm_explosion"}

Replace 0.3 value with a higher number, up to 1, where 1 = 100% and 0.01 = 1% chance.
Last edited by Armpit_Sweat; 27 Dec, 2023 @ 11:55am
Armpit_Sweat  [developer] 27 Dec, 2023 @ 8:38am 
6. I want to see more corpses, shell holes and other objects.

Edit entitymanager.set file located in the following folder:

\resource\set

-----------------------------------------------
Maximum number of visible corpses:

{group "dead" actor dead (mod "mp" {limit 200}) (mod not "mp" {limit 200})

Change 200 to any number you want.
-----------------------------------------------
Maximum number of visible limbs:

{group "limbs" gameentity (mod "mp" {limit 500}) (mod not "mp" {limit 500})

Change 500 to any number you want.
-----------------------------------------------
Maximum number of visible shell holes:

{group "shellhole" gameentity (mod "mp" {limit 500}) (mod not "mp" {limit 500})

Change 500 to any number you want.
-----------------------------------------------
Last edited by Armpit_Sweat; 27 Dec, 2023 @ 11:55am
Armpit_Sweat  [developer] 27 Dec, 2023 @ 8:38am 
7. I want to change something else, what do I do?

Post a request in the main mod discussion and i will add instructions here, if and when possible.
Last edited by Armpit_Sweat; 27 Dec, 2023 @ 11:47am
< >
Showing 1-7 of 7 comments
Per page: 1530 50