Login

russian armor

COH2 Modding: Getting started with the official tools

PAGES (14)down
12 Nov 2014, 12:35 PM
#102
avatar of trigg

Posts: 139

Rumiak, are you using a language setting for the game that does not match the language of the .ucs file? It might be spitting out the keys because it can't find a file to translate it into the language you're using.
12 Nov 2014, 17:41 PM
#103
avatar of Rumiak

Posts: 3

jump backJump back to quoted post12 Nov 2014, 12:35 PMtrigg
Rumiak, are you using a language setting for the game that does not match the language of the .ucs file? It might be spitting out the keys because it can't find a file to translate it into the language you're using.


I wrote descriptions in english - just change another english text and that's all what I've done. Also, there is just a space instead of the title of the mod, when I chose it in the main menu.
13 Nov 2014, 18:32 PM
#104
avatar of TradeGy

Posts: 6

Is it possible someone could point me to a guide a little more "advanced" as I have mastered the art of increasing/decreasing units/muni cost/CP cost, but when I try to eg. add a weapon upgrade to a squad it all goes well untill the units get the upgrade that consist of invisible weapons.

I did try to look for other guides but I didn't find anything that helpful.

I am completely new to modding so please bear with me and my questions.
13 Nov 2014, 23:39 PM
#105
avatar of trigg

Posts: 139

jump backJump back to quoted post13 Nov 2014, 18:32 PMTradeGy
Is it possible someone could point me to a guide a little more "advanced" as I have mastered the art of increasing/decreasing units/muni cost/CP cost, but when I try to eg. add a weapon upgrade to a squad it all goes well untill the units get the upgrade that consist of invisible weapons.
You may be trying a combination that just doesn't work. I wasted 3 days trying to give Volksgrenadiers an mp44 upgrade. Ended up basing them on a different troop model, and still had to use the IR mp44 to get it to work.

I don't have any idea why some combinations won't work.
18 Nov 2014, 17:37 PM
#106
avatar of 209Icey

Posts: 1

While I have picked up (much to CaptainPMM for helping me out!) where squad loadouts are, armor/hp and the like are on the EBPS, however specific Squad interactions (Naming in the UI, abilities, experience, etc.) are in the SBPS, I have but one question:

How DO you make a custom unit? I also seem to have screwed myself up somewhere. As my unit appears in the building I want it to be built. (The infantry HQ for the US) however when I click to build it, it 'resets' like it was canceled. it shows up in the queue but disappears quickly.
(I set the squad limit to '1', but I'd like to know how to set it to a ridiculous CD/Inability to build again, as well as give the US Captain's 'rally' but set it as a passive, like the Commissar I've seen from other tune-ups.)

I'm sure that a majority of the modders here (Janne included), would say, is to really figure things out is to explore, and in my doing so I ended up breaking some things (Warnings, and big red '!'s from my fiddling) I ended up having to start from scratch multiple times in the past week. And I think that if I manage to get a handle on creating ONE custom unit, I can figure out how to tweak and work stuff out from there.
20 Nov 2014, 00:37 AM
#107
avatar of trigg

Posts: 139

I've had one unit disappear from the queue like that. It was actually a predefined unit rather than a custom unit. I never figured out what was causing it. In fact I had that build working in a different attempt at a mod. But I've never seen it happen to a custom unit.

Regarding starting over, I'm doing that a lot. I have to make myself keep going to discover more problems, or else I'd never get past the restarts.
23 Nov 2014, 00:41 AM
#108
avatar of sage1337

Posts: 87

Hi, I'm totally new to modding and this is my first attempt. I'd like to edit units' weapons loadout, for example I'd like to have Obersoldaten use 2x StG44 instead of MG-34, or Grenadiers using MG-34 etc but I can't find a category that would define what weapon does the unit use... can anyone tell me where to look for it?

PS I can't get the mod to work, I did everything as in tutorial, mod builds without errors but it doesn't show up on "tuning pack" list in game.

I'll post log from mod builder, maybe you guys can spot any error from my side
Code
modbuilder.exe Information: 0 : Building firstmod.mod...
modbuilder.exe Information: 0 : Writing C:\Users\Kuba\Documents\firstmod\firstmod Intermediate Cache\Intermediate Files\info\a90379d7584843b29fda3885b8c2feb2.info...
modbuilder.exe Information: 0 : D:\Gry\Steam\SteamApps\common\Company of Heroes 2\Archive.exe -c "C:\Users\Kuba\Documents\firstmod\firstmod Intermediate Cache\ArchiveDefinition.txt" -a "C:\Users\Kuba\Documents\firstmod\firstmod.sga" -r "C:\Users\Kuba\Documents\firstmod\firstmod Intermediate Cache\Intermediate Files"
modbuilder.exe Information: 0 : Copied C:\Users\Kuba\Documents\firstmod\firstmod.sga to C:\Users\Kuba\Documents\My Games\Company of Heroes 2\mods\tuning.
modbuilder.exe Information: 0 : Built firstmod.mod.

23 Nov 2014, 01:29 AM
#109
avatar of Chadster

Posts: 13

Darn, I seem to have forgotten how to increase the firing range (how far the units can shoot) of certain units... A lil' refreshing help here?
23 Nov 2014, 04:32 AM
#110
avatar of bergman0341

Posts: 1

Guys I have followed the instructions from the guide to the letter and yet my mod still fails to appear in the game. I have screen shots of the files and code, but i cannot seem to load them in this msg. Can anyone please help me out.
26 Nov 2014, 04:04 AM
#111
avatar of Spartan_Marine88

Posts: 2

jump backJump back to quoted post13 Nov 2014, 18:32 PMTradeGy
Is it possible someone could point me to a guide a little more "advanced" as I have mastered the art of increasing/decreasing units/muni cost/CP cost, but when I try to eg. add a weapon upgrade to a squad it all goes well untill the units get the upgrade that consist of invisible weapons.

I did try to look for other guides but I didn't find anything that helpful.

I am completely new to modding so please bear with me and my questions.


jump backJump back to quoted post13 Nov 2014, 23:39 PMtrigg
You may be trying a combination that just doesn't work. I wasted 3 days trying to give Volksgrenadiers an mp44 upgrade. Ended up basing them on a different troop model, and still had to use the IR mp44 to get it to work.

I don't have any idea why some combinations won't work.



Back in corsix with COH 1 there was the exact same issue where weapons would appear invisible. You had to open up the units blueprint with a notepad and add in the weapons the unit was allowed to use so that it would appear as an upgrade or standard weapons (ex. giving riflemen mp44's as a default weapon.)

Im sure its probably something similar, i just haven't figured it out.
26 Nov 2014, 18:06 PM
#112
avatar of trigg

Posts: 139


Back in corsix with COH 1 there was the exact same issue where weapons would appear invisible. You had to open up the units blueprint with a notepad and add in the weapons the unit was allowed to use so that it would appear as an upgrade or standard weapons (ex. giving riflemen mp44's as a default weapon.)

Im sure its probably something similar, i just haven't figured it out.

I've had better luck changing the weapon in the combat_ext for the ebp rather than using one of the predefined upgrades, e.g. giving grenadiers mp40s, which IIRC gave invisible weapons when I tried it with an upgrade earlier.

I haven't gotten around to trying again on the VG mp44.
28 Nov 2014, 18:06 PM
#113
avatar of PotisMan

Posts: 6

When i put my tuning pack on i a public game noone can download my mod through the game! I have no idea what the problem is :/
28 Nov 2014, 19:44 PM
#114
avatar of shpongle

Posts: 41 | Subs: 1

I've been trying to make a mod that removes all commanders to give players a more level playing field in matches.

I found the scar function UI_SetAbilityCardVisibility(false)

but it only seems to hide the abilities. They are still activated, and the commander portraits still appear at the start.

Anyone have an idea what to do?
29 Nov 2014, 09:45 AM
#115
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

You can disable commanders with a wincondition pack.
http://community.companyofheroes.com/forum/company-of-heroes-2/company-of-heroes-2-general-discussion/modding/118189-tutorial-win-condition-file-format

permitted_categories = intel_bulletin + skin_pack + fatality
30 Nov 2014, 11:57 AM
#116
avatar of Paid_Player

Posts: 60 | Subs: 1

Hey!

How can I make modal abilities? Like Chadster and Janne252 has done. An Ability doesn't have to be a unqiue. I would only like to know, for instance, how to make the Stuka modal ability, which does not require a commander. The ability would be above the commander abilities like in the picture.

Thanks in advance!

Chadster (c)

1 Dec 2014, 00:19 AM
#117
avatar of trigg

Posts: 139

The ability would be above the commander abilities like in the picture.

Don't know about making new abilities, but you get the positioning by setting an ability's ui_group to group_secondary.
1 Dec 2014, 08:11 AM
#118
avatar of Carnage1895

Posts: 1

Hello. Could you help me: I want to add to skirmish mode anti-tank gun "Panzerbusche-39" for a unit Grenadiers (and Osttruppen). But how to make improvements "LMG-42" and "PzB-39" have become interchangeable? In short, I want the squad after upgrading to "LMG-42" button to upgrade to "PzB-39" disappeared from the interface of the upgraded unit.

The similar problem occurs with the upgrade "LMG DP-28" for the Soviet Guards and flamethrowers for the Pioneers: "modernization is impossible, because modernization has already been done".

And... one more question: why the unit can not have LMG-42 and PzB-39 in a squad?
In the category of "upgrade" for "grenadier_mg42_lmg_mp" in the "Requirements" when you try to edit the requirements №3 (required_slot_item) and №4 (required_slot_item_size) LMG-42 disappears from the game.

Although the settings of the unit (sbps - squad_upgrade_ext - number_of_slots) indicates "-1" (Set the limit to the number of upgrades the squad can get. -1 Means unlimited upgrades.)

Thanks.

P.S. Sorry, my English is no good.
1 Dec 2014, 09:11 AM
#119
avatar of shpongle

Posts: 41 | Subs: 1

You can disable commanders with a wincondition pack.
http://community.companyofheroes.com/forum/company-of-heroes-2/company-of-heroes-2-general-discussion/modding/118189-tutorial-win-condition-file-format

permitted_categories = intel_bulletin + skin_pack + fatality


Thank you, it worked like a charm.

To everyone else, I added the aforementioned line to the .Win file in the project, like this:

4 Dec 2014, 20:56 PM
#120
avatar of sock307

Posts: 3

Great tutorial! Thanks for uploading it.

Am having some trouble letting my paratroopers get in field bazooka upgrades. I can give them Thompsons and M1919's but cant find the upgrade for Bazookas or BAR's. I've seen it done in the Warfare mod so I know it's possible but I just can't find the upgrades upgrade/item anywhere.

Any direction is appreciated.

Thanks!

EDIT: So I found the easiest way, this far is to edit an existing item upgrade. I took the 1919A6 from "upgrades", cloned it and swapped all the pertinent properties out for the BAR. I also did the same with the M9 Bazooka. Really all Ihad to change was the item and descriptions. Hope this helps someone else.
12 Dec 2014, 14:46 PM
#121
avatar of Chadster

Posts: 13

Heya'll! I seem to have bumped in to another issue again and require assistance if its fine ^-^

Ya' see, I've already created the modpack "Unit Variety Expansion Pack", and so far its going well... Though I plan to make an alternative version or a "Special edition" of it, being a separate mod pack.
So in order to create the special edition, I need to copy all the mod files, custom units, buildings and abilities from my original mod pack, to a new copy for separate editing and publishing.

The first thing I tried to do is copy the Instances and Local files of the original mod pack and place it in the same folder of the alt-version. After that, I opened up the attribute Editor and when it opens, it says that it has found errors and to check the output window.

All the errors are similar, click here to see a few examples over the like... 167 more errors.

I gave the game a try, and some custom units, along with some default units that were made build-able when they were normally aren't, of the US Army from the original modpack is missing in the alt-version, and when I gave the Soviets a try... I couldn't build any units except the conscripts! The Combat Engineers aren't even in the Soviet HQ Build list anymore. The odd thing about the Combat Engies were that the only thing edited about them, is increased 4 members to 5. That's all. Haven't tried the Ostheer and OKW, but I'm guessing they'll show similar results.

Can anyone here help me out on this one? See if there's a way to successfully transfer mod files from one pack to another for separate editing and publishing? Really need to get that alternative version going as soon as I could. Thanks a lot! ^u^
PAGES (14)down
0 user is browsing this thread: