Login

russian armor

COH2 Modding: Getting started with the official tools

PAGES (14)down
14 Feb 2015, 03:15 AM
#142
avatar of redonions

Posts: 2

modbuilder.exe Error: 0 : Error building German Infantry Rework Mod.mod: C:\Program Files (x86)\Steam\steamapps\common\Company of Heroes 2 Tools\AttributeEditorXML.exe failed with exit code -1.
I need help I don't know how to fix this!
16 Feb 2015, 16:29 PM
#143
avatar of trigg

Posts: 138

Look higher up in the build's output, and at the log file in your tools installation directory, to see if they give more information.
19 Feb 2015, 23:26 PM
#144
avatar of LennoxDK

Posts: 1

Hello there. I need some help with the modding tool. Is it possible to disable commanders and maybe give all
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
21 Feb 2015, 15:01 PM
#145
avatar of Frontplayer82

Posts: 1

Hello everybody. I´ve been starting with my first mod and followed the instructions to the letter. But when I want to edit infantry I only have a fraction of the attributes showing For example all squad attributes are not listed. Does anybody know where I went wrong?
23 Feb 2015, 01:43 AM
#146
avatar of PJWILLOWNU

Posts: 1

Hey, I've started on my first mod following these instructions (but editing different units and some weapons, abilities, etc.) but it won't show up in the tuning packs in the options menu. I'm pretty sure the build went correctly, so I don't think that's the issue. After a few tries, I followed these steps again but this time only modified AEF Rear echelon troops to have one extra unit in the squad, just like how this guide did to those pioneers, but that didn't show up either. Am I missing a step? Is it just Steam's fault? What's going on?
1 Mar 2015, 17:00 PM
#147
avatar of Chadster

Posts: 13

Help! Big problem encountered! I... think it's big, but while I was updating my modpack, my internet cut off so it stopped the modpack's updating. From then on, everytime I try to update my mod pack, it stops and shows the yellow triangle, along with the message "Operation failed with error code 10: Unknown failure."

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 ^-^
7 Mar 2015, 23:11 PM
#148
avatar of the1st-onewasbetter

Posts: 2

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.
7 Mar 2015, 23:19 PM
#149
avatar of Janne252
Admin Black Badge
Patrion 15

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.
7 Mar 2015, 23:33 PM
#150
avatar of the1st-onewasbetter

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.
8 Mar 2015, 08:58 AM
#151
avatar of Janne252
Admin Black Badge
Patrion 15

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.
19 Mar 2015, 11:53 AM
#152
avatar of Ernst Y

Posts: 1

24 Mar 2015, 04:53 AM
#153
avatar of brainysmurf

Posts: 1

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?
9 Apr 2015, 07:31 AM
#154
avatar of trigg

Posts: 138

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.
9 Apr 2015, 13:32 PM
#155
avatar of FaustCostBulletin

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.
2 May 2015, 16:22 PM
#156
avatar of jasperik

Posts: 8

i made a small change which worked fine then i made more changes as is all vehicles decrewable, removed the race requirement from the decrew ability, and made new crew units for both germans and the soviet.
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.
2 May 2015, 16:24 PM
#157
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

6aa0dde0f55549668ab81ebad2bbdb5e.tar

It would seem you are building the mod in "curated" mode. Try selecting "release" from the menu instead before building.
3 May 2015, 23:49 PM
#158
avatar of ko853

Posts: 1

I can not find mod builder in the library of steam as introduction. Anyone can upload it to me or give me the link from any website to download. Thanks
4 May 2015, 14:36 PM
#159
avatar of jasperik

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
4 May 2015, 15:03 PM
#160
avatar of Janne252
Admin Black Badge
Patrion 15

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
4 May 2015, 15:58 PM
#161
avatar of jasperik

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.
PAGES (14)down
1 user is browsing this thread: 1 guest