• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

DJSixthSense

Sergeant
6 Badges
Dec 6, 2009
92
1
www.facebook.com
  • Arsenal of Democracy
  • Darkest Hour
  • Hearts of Iron III
  • Victoria 2
  • 500k Club
  • Hearts of Iron IV Sign-up
Hi, I was wondering how I should edit the game files so there's a brand new brigade type, to be able to motorise my infantry.

I would like to do the following:
- use the brigade to be able to motorise INF only, so not special forces divs, etc., and give a 7 kph speed bonus
- Unlock it with the discovery of MOT '42
- Give it the same amount of fuel usage and hardness as a brigadeless '40 MOT division has
- use the AC brigade icon for it, but with a slight modification I would do in Paint or summink. Of course I can mod the image, but how can I make sure its put in properly by the graphics engine?

Been doing alot of miniature modding for myself lately, just to finetune the game exactly to my liking, but since I just have experience with modding using the game editor, and some very basic functions otherwise, I don't really know my way around this yet...

Thanks alot for your help!
 
\db\units\brigades
use one b_ux.txt files that aren't being used yet to make brigade (look at other files in this dir)
\db\units\divisions
add the name of file you used to infantry.txt at top you'll see where

And you'll have to edit some more files in /configuration adding name for brigade models and you'll have to activate it with tech in db/tech/infantry_tech.txt
 
You can and I have. I'm including a zip of the mod I'm working on, the only thing I've changed is adding a MOT and MEC brigade. You can do that by editing any of the files in db/units/brigades called b_u7 to b_u20. You also have to change the names of these units from blank to something, that information is in the config/boostertext or unit_names. Lastly you need to edit some technology to make some of those units available.
 

Attachments

  • Copy of gmod.zip
    848,9 KB · Views: 61
You can and I have. I'm including a zip of the mod I'm working on, the only thing I've changed is adding a MOT and MEC brigade. You can do that by editing any of the files in db/units/brigades called b_u7 to b_u20. You also have to change the names of these units from blank to something, that information is in the config/boostertext or unit_names. Lastly you need to edit some technology to make some of those units available.

Thnx mate, this will do the trick!
 
I was going to mod a couple of new brigades, but I have no clue on how the new brigade symbol can be modded in. I'm talking of the small square that appear at the right corner of the unit when selected, not the small picture when you read through the unit stats. I haven't found where the vanilla ones are nor how they are recalled by the game.. Have you got any idea on that?

Edit:
Ok, I've found some kind of partial answer to my question reading through HSR guy's forum (thanks a lot :) ). I must look for the auxiliary.bmp file, which I couldn't find since I was lookin' for something called "brigade.bmp" or "attachment.bmp". However, now I'm at the office and for some odd reasons my boss isn't really very confortable with the idea of me having AOD on this pc so I'll have to wai untill I get home tonight. Of course, as most of the AOD players I'm really eager to know, even if Paradox always try to teach us the worth of patience. My question is, is there already some kind of square slot where I can put the small drawing for the brigade small icon or should I add it next to the already existant ones? And if this is the case, will AOD look for it when I will use my new brigade or will I run into an amazing CTD, followed by an immediate huge amount of loud spekead courses from me against the computers pantheon which, as a consequence, will upset my girlfriend so that I won't be able to enjoy myself with the pc neither with my girlfriend, spoiling my whole night at home?
 
Last edited:
There are two files, Auxillary.bmp and something like Auxillarybig.bmp in gfx/interface. These files are just a long sequence of brigade icons, the icons for brigade type 7-20 Are just grey boxes bounded in black. It's really easy to edit them with paint brush or GIMP. I don't know how to show the pictures when you are building just the brigades, but I'd guess it involves adding the pictures to where the tech pictures are stored.