COH2 Modding: Getting started with the official tools
Posts: 2
I need help I don't know how to fix this!
Posts: 139
Posts: 1
players the same 3 commander abillities? And I would like to change the cost of german enginiers Teller mines,
AT mines.
Thank you very much
Posts: 1
Posts: 1
Posts: 13
Help! I fear I may not be able to update my long-worked mod pack ever D:
I tried restarting Steam, but no go, same problem.
=====UPDATE UPDATE UPDATE=====
Nevermind, it fixed itself! Just had to wait for a day. Sorry ^-^
Posts: 2
Posts: 3421 | Subs: 11
I followed all the instructions to the letter, hit Build, and had no error messages. My mod does not show up in the mod list when creating a custom game. I can see other mods with no problem, but mine is nowhere to be found. Anyone have any ideas? My mod was very simple, creating a clone of a ranger squad with 2 more entities in the squad, just to see if everthing would work.
Check warnings.log (My Documents/My Games/Company of Heroes 2/warnings.log, open with notepad) for errors. Search for the title of your mod (Control+F) and see if you can find something like "invalid file structure". If that's the case, then you haven't followed the instructions correctly.
Posts: 2
Check warnings.log (My Documents/My Games/Company of Heroes 2/warnings.log, open with notepad) for errors. Search for the title of your mod (Control+F) and see if you can find something like "invalid file structure". If that's the case, then you haven't followed the instructions correctly.
I did follow the instructions correctly. It turns out, the mod preview image I added was a 340KB JPEG of a helmet - the game would not load my mod with it.
Posts: 3421 | Subs: 11
I did follow the instructions correctly. It turns out, the mod preview image I added was a 340KB JPEG of a helmet - the game would not load my mod with it.
Yep, the preview image has to be in .tga format. If it's not mentioned in the tutorial, I'll make sure to add it to avoid any future confusion. Thanks.
Posts: 1
Your text..
Posts: 1
Posts: 139
So I've made a 4man squad with two different entities. 1 Has a flamethrower, the others have MP-40s. I have an upgrade that gives 3 MP-44s (to replace the MP-40s). How do I ensure the flamethrower doesn't get overwritten?If you don't get a better answer, see if you can do it by defining the upgrade for the entity type rather than the squad. IIRC it will still show up in the menu when you select the squad. Not sure whether that will automagically catch all three of the matching entities - you'll have to experiment and see.
Posts: 521
So I've made a 4man squad with two different entities. 1 Has a flamethrower, the others have MP-40s. I have an upgrade that gives 3 MP-44s (to replace the MP-40s). How do I ensure the flamethrower doesn't get overwritten?
Hello, sorry for the late reply.
There are two ways you could go about in doing this.
1. Make your Flamethrower a slot item with a size of 0 and give it to the squad. This will make sure that it won't ever get overwritten in place of MP40 and that it will carry over to other squad members until you do the MP-44 upgrade which will also be slot items, so everyone who dies will take their weapon with them. The squad will of course keep the weapons so once you reinforce, the members will spawn with those weapons. If you've made the flamethrower a droppable item, it will work accordingly to that.
2. The order in which you place entities in your squad loadout determines who gets a slot item first. If the flamethrower entity is below them all, it will not get the MP44s while the squad has 4 members. However the moment anyone dies, the FT will be replaced, so you probably don't want to do this in that manner.
Hope this helps.
Posts: 8
i put the crew units as drivers of the vehicles and now i get this message after every build and the mod doesnt work, it shows up and all and the game works fine but the changes are not in the game.
so this is what i get.
modbuilder.exe Information: 0 : Building Units and Numbers.mod...
modbuilder.exe Information: 0 : Writing C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\Units and Numbers Intermediate Cache\Intermediate Files\source\6aa0dde0f55549668ab81ebad2bbdb5e.tar...
modbuilder.exe Information: 0 : C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe --operation ModBinaryBurn --root "C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\attrib.xml" --burn_path "C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\Units and Numbers Intermediate Cache\Intermediate Files\attrib\attrib"
modbuilder.exe Error: 0 : Error building Units and Numbers.mod: C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe failed with exit code -1.
modbuilder.exe Information: 0 : Built Units and Numbers.mod.
Posts: 3421 | Subs: 11
It would seem you are building the mod in "curated" mode. Try selecting "release" from the menu instead before building.
Posts: 1
Posts: 8
6aa0dde0f55549668ab81ebad2bbdb5e.tar
It would seem you are building the mod in "curated" mode. Try selecting "release" from the menu instead before building.
thanks, i swithed to curated to see if that fixed the problem but it didnt, forgot to switch back, now i used release mode again and get this one.
modbuilder.exe Information: 0 : Building Units and Numbers.mod...
modbuilder.exe Information: 0 : C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe --operation ModBinaryBurn --root "C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\attrib.xml" --burn_path "C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\Units and Numbers Intermediate Cache\Intermediate Files\attrib\attrib"
modbuilder.exe Error: 0 : Error building Units and Numbers.mod: C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe failed with exit code -1.
modbuilder.exe Information: 0 : Built Units and Numbers.mod.
thanks for the help man, if i cant get it to work like this then there is no real reason to continue with it
cheers
Posts: 3421 | Subs: 11
thanks, i swithed to curated to see if that fixed the problem but it didnt, forgot to switch back, now i used release mode again and get this one.
modbuilder.exe Information: 0 : Building Units and Numbers.mod...
modbuilder.exe Information: 0 : C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe --operation ModBinaryBurn --root "C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\attrib.xml" --burn_path "C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\Units and Numbers Intermediate Cache\Intermediate Files\attrib\attrib"
modbuilder.exe Error: 0 : Error building Units and Numbers.mod: C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe failed with exit code -1.
modbuilder.exe Information: 0 : Built Units and Numbers.mod.
thanks for the help man, if i cant get it to work like this then there is no real reason to continue with it
cheers
Try moving your mod to a shorter filepath, e.g. c:\coh2_mods\Units and Numbers
Posts: 8
thanks, i swithed to curated to see if that fixed the problem but it didnt, forgot to switch back, now i used release mode again and get this one.
modbuilder.exe Information: 0 : Building Units and Numbers.mod...
modbuilder.exe Information: 0 : C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe --operation ModBinaryBurn --root "C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\assets\data\attributes\attributes.xml" --mod "C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\attrib.xml" --burn_path "C:\Users\Jasper\Documents\My Games\Company of Heroes 2\Mod projects\Units and Numbers\Units and Numbers Intermediate Cache\Intermediate Files\attrib\attrib"
modbuilder.exe Error: 0 : Error building Units and Numbers.mod: C:\Program Files\steam program\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe failed with exit code -1.
modbuilder.exe Information: 0 : Built Units and Numbers.mod.
thanks for the help man, if i cant get it to work like this then there is no real reason to continue with it
cheers
i fixed, it, the name was too long, just gave the mod a short name and now it has no error.