Page 1 of 2 12 LastLast
Results 1 to 50 of 93

The Grand How-To v2 (FAQ) - [NEW TO MODDING? READ THIS!]

  1. Modding Senior Member Company of Heroes Senior Member  #1
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden

    The Grand How-To v2 (FAQ) - [NEW TO MODDING? READ THIS!]

    Welcome to this pretty lengthy FAQ/Tutorial about modding Company of Heroes. I’ll guide you through most basic questions that arise, getting started with mod creation and explain how to load and edit a mod as well as providing links to several important tutorials. In this FAQ/Tutorial you’ll learn how the files work, how they are linked together along with how to create your complete custom Infantry Squad.

    We’ll start with some basic questions and answers, but before that, here are some terms that you will need to know when reading through this:

    ModFolder: This is the folder inside your Company of Heroes directory, where all your changes are stored. Basically when you see this term I either mean the name of the folder or just the folder itself. If your mod is called TheGrandHowTo, then your ModFolder is called TheGrandHowTo.

    Module: The Module is a description file for Mods, which is created along with the ModFolder in the main Company of Heroes directory. Without this file, you cannot run the mod, as with the target command of the shortcut, it will look for this file.

    LocaleValue: This basically is a value from the .ucs file. Each of these values start with a $ followed by a series of numbers, but in the ModStudio, you only fill in the number, not the $ symbol.

    vCoH: or vanilla Company of Heroes. Originally we meant Company of Heroes without any expansions with this term, but in the world of modding, we simply use it to refer to the unmodded version of Company of Heroes; the version you play online with.

    Q: What is a mod?
    A: The word “mod” simply means modification. It’s a shorthand term which refers to people who change the basic game mechanics into something of their own creation (Although this only really applies to custom skins or other art). Mods are usually a combination of user created art (Skins, icons, and menu items) and modifications of the game statistics, like weapon accuracy, resource income, costs, unit health, and movement speed, and of course making total new squads and units, with their own specifications.

    Q: Why do people make mods?
    A: There are different reasons why people can make a mod, sometimes it’s because the creator wants to add realism or just change statistics that he thinks should be changed to balance the game.
    Often the goal is to make it more historical, but even this is a personal taste.

    Q: What can be changed in a mod and what can’t?
    A: Practically everything Company of Heroes can be edited, except for some hardcoded key parts of the game.

    Q: How can I see whether a mod is loaded when I start the game?
    A: In some mods the main menu Graphical User Interface (or GUI) is changed or with custom art, or sounds. You can also check in the multiplayer list if you can join all games. If you can, then you launched vCoH (the unmodified version of Company of Heroes). And of course when you launch a game and see the actual gameplay changes.

    Q: Can I play online ranked multiplayer games when a mod is loaded?
    A: When you load a mod, it will prevent the user from playing in ranked online multiplayer games unless another user has the exact same version of the mod loaded.

    Q: Are there any preparations I have to follow before I start installing/creating mods?
    A: Yes, before you start modifying or adding any file in your main Company of Heroes folder, it is recommended to start with making a back-up of your main Company of Heroes folder. This because if you accidentally make some mistakes during the installation of mods or creating mods in general, you will not have to reinstall and re-patch the whole game.

    Q: When I install a mod, can I still play vCoH?
    A: Yes, a mod will not affect your main Company of Heroes files, so it will not prevent you from playing normal Company of Heroes games.

    Q: Can I install multiple mods at the same time?
    A: Yes, mods will usually not be in conflict with each other, unless the ModFolder has the same name, or when custom .ucs values are in conflict with each other.

    Q: Can I load multiple mods at the same time?
    A: Two mods can’t be loaded simultaneously due to the same variables being changed in most cases. If no two files are changed in both mods you can copy the files from one mod to the other (If not packed into an .sga archive) and run it as one mod. Though, if you have multiple small mods which only made minor changes, it obviously is easier to merge them.

    Q: What tools do I use to make a mod?
    A: All modding starts with Corsix’s Mod Studio. You can download all the mod tools from this thread in the main Armoury, and tutorials for how to use the ModStudio it will be listed later on in this thread.

    Q: How can I create a new mod?
    A: When you installed and launched the ModStudio, click “New Mod”. Give your mod a name, select the Game as Company of Heroes, and select Create. The ModStudio will automatically create a ModFolder and Module inside your main Company of Heroes directory (which is usually C:\Program Files\THQ\Company of Heroes), along with the basic folders inside the ModFolder.

    Q: So my mod is created now, is it ready for use?
    A: No, unfortunately Relic had to redesign their game module file since v2.400 because of Tales of Valor, therefore the ModStudio will create an outdated module file which is incompatible with the game.

    Q: How do I create a Module file which is up to date with the current patch?
    A: Go to your main Company of Heroes directory (C:\Program Files\THQ\Company of Heroes), and find your module file, it will have the name you just gave it when creating a mod. Open it with NotePad or any text editing software.

    I will provide you with a working module, but there are some steps that you will have to follow to get it working:

    [module]

    Copy all the content from the linked paste above (by selecting it all and then pressing Ctrl + C) and replace all content in your module file with it by pressing Ctrl + A (Select All) and then Ctrl + V (Paste).

    The next step is replacing the name of my example mod file, TheGrandHowTo, with the name of your mod. You can do that by pressing Ctrl + H (Replace), setting the correct search values and pressing Replace All.

    To tidy things up, scroll all the way to the top of your module file and then set a description for the mod. Currently I set it to [My Mod Name], but you can set it to anything you want to.

    You are almost ready to launch your mod. You will just have to create a shortcut telling the game we want to launch it.

    Q: How do I create a shortcut for launching my mod?
    A: Go to your desktop, copy your Company of Heroes shortcut, and rename it to the name of your mod (just for reference). Then right click and go to Properties, and there you’ll see the target line which should look something like this (it'll look differently if you chose a custom installation directory for your game):

    "C:\Program Files\THQ\Company of Heroes\RelicCOH.exe"

    Now change the target to this:
    "C:\Program Files\THQ\Company of Heroes\RelicCOH.exe" -mod TheGrandHowTo -dev

    Obviously, the name TheGrandHowTo has to be changed to the name of your mod (the name of ModFolder/Module). Click Apply and close the Properties window, and double click the shortcut to launch your mod.

    Q: How can I see whether my empty mod is loaded when I start the game?
    A: The first thing you will notice is that all the text values are missing and give unknown LocaleValues and if you have Tales of Valor, the first thing you will notice that the three mini-campaigns are locked. If you don’t have Tales of Valor, create a skirmish game, go to the reward vehicles tab and see if there are several pink icons.

    Now if this happens, then it’s all good, we'll fix this by answering our next FAQ.

    Q: How do I unlock the campaigns and fix the unknown LocaleValues in my newly created mod?
    A: To fix the unknown values, go to your main Company of Heroes directory. Then go to CoH\Engine\Locale\[language] and copy the .ucs file to the clipboard by selecting it and pressing Ctrl + C or by right clicking on it and select Copy. Then, go to your ModFolder\Locale, and create the same [language] folder of which you just copied the .ucs file (so, create a new folder and rename it).
    Then go into that folder and Paste by either pressing Ctrl + V or by right clicking and selecting Paste.

    Then finally go back to the main Company of Heroes folder and into the folder called Engine. Create a folder called Locale and in Locale create a folder called English and paste the .ucs file here again.

    To fix the campaigns, go to your main Company of Heroes folder again and find the following modules:

    RelicDLC1.module
    RelicDLC2.module
    RelicDLC3.module
    RelicOPS.module

    Now copy all four of these modules and rename them to:

    TheGrandHowToDLC1.module
    TheGrandHowToDLC2.module
    TheGrandHowToDLC3.module
    TheGrandHowToOPS.module

    Finally, open them all up , find and replace Parent = RelicCOH to Parent = TheGrandHowTo. In the same fashion as we did with our main Module file, Again, TheGrandHowTo has to be changed with the name of your ModFolder/Module.

    Q: So, my mod is created and has working modules, now where do I start?
    A: When your mod is loaded by the ModStudio, to the left you will see three main folders: Attrib, Movies and Data. All game statistics like weapons, abilities, upgrades and unit data are in the Attrib sub-folders. All GUI, models, sounds, FX and other art is located in the Data sub-folders. The Movies folder is something you won’t touch unless you know what you are doing.

    Q: Where do I find the data of units, abilities, upgrades and weapons?
    A: General Unit data are split up between Entity files and Squad files inside the Attrib folder. Squad files are located in the sbps (Squad BluePrint Statistics) folder and the Entity files are in the ebps (Entity BluePrint Statistics).

    Abilities: Attrib\attrib\abilities
    Entity: Attrib\attrib\ebps
    Squad: Attrib\attrib\sbps
    Upgrade: Attrib\attrib\upgrade
    Weapon: Attrib\attrib\weapon

    Q: How are the files linked with each other?
    A: Attrib files (files that end with .rgd) are linked with each other in various locations inside the file, all with a different purpose. If you want to link an entity file to an ability (in other words, allow a specific entity access to a specific ability), you open up the entity file by right clicking on it, then go to GameData\ability_ext\abilities\ability_xx and fill in the line like this:

    Abilities\name_of_the_ability.lua

    Always put .lua at the end of the line, otherwise the game will not find the file, and even cause a game crash when trying to launch. The game searches for attrib files inside Attrib\attrib automatically, so you do not need to put this in front of the line.

    When referring from an attrib file to a model/texture blueprint, the game will automatically search in Data\art\models, so your line starts with the first folder inside the models folder.

    When referring from an attrib file to a GUI icon, the game will automatically search in Data\art\ui\ingame, so your line starts in the first folder inside the ingame folder.

    We will now continue with discovering the world of basic Kung-Fu Modding; also known as attribute editing. From here on, I will guide you through how to create a complete new squad with a new name, different weapons, unique construction menu, some squad upgrades and a few abilities.

    Q: How do I make a new squad?
    A: For this tutorial, we will create a Command Squad for the Americans, and we will use the Riflemen as a base; primarily because the Riflemen are a basic infantry squad, which are setup in an easy way.
    1. Go to Attrib\attrib\sbps\races\allies\soldiers\riflemen_squad.rgd, right click on it and select Copy. A small window should appear in where you can set a name of the new file. Name it command_squad.rgd and open it up by double clicking on the newly created file.
    2. Now go to Attrib\attrib\ebps\races\allies\soldiers and in this folder copy infantry_riflemen.rgd, rename it to infantry_riflemen_command.rgd. Also copy infantry_riflemen_sergeant.rgd and rename it to officer_captain.rgd. Open both new files.
    3. In command_squad.rgd, go to GameData\squad_loadout_ext\unit_list\unit_01\type. look under table_children to the right and you will see: ebps\races\allies\soldiers\infantry_rifleman.lua, change this to ebps\races\allies\soldiers\infantry_rifleman_command.lua, also change the max and num under unit_01 from 5 to 2. now go to unit_02\type and set the value to ebps\races\allies\soldiers\officer_captain.lua, also leave the max and num to 1. The new files are now linked together, having 1 Captain and 2 Riflemen forming our Command Squad.



    Q: We created a squad, now how can I set it up to my own taste?
    A: Currently, as our squad is a copy of the Riflemen, with 3 squad members, we want to make it a real Command Squad, first by giving it a name.
    1. First, we will have to create a new, so called LocaleValue (or .ucs value). To do this go to the top left corner of the ModStudio and there are three tabs: Files, Tools and Lua. Go to the Tools tab and double click the UCS Editor, and open up the Locale Folder which shows up.
    2. Then to the bottom right there is a button called New Entry, click it. Give the ID of the entry $18000000 or higher and click OK, the new LocaleValue is now created in the .ucs file and ready to be used.
    3. Enter a text for this new value: Command Squad
    4. Then create two new values, the ModStudio will automatically generate your last entry + 1, so it should be $18000001 and $18000002.
    5. To $18000001 add: Gives Increased sight to nearby Infantry and can call in small mortar barrages.
    6. To $18000002 add: Officer, supports your troops.
    7. To the bottom right you see a button called Save, click it to save the .ucs file. Unfortunately, the location of the .ucs has also been changed over the patches, so the ModStudio saves it in Engine\Locale\English, and not in the ModFolder. Therefore, after each .ucs edit, you will have to manually copy the LocaleValues over from one to the other, by opening the .ucs files in NotePad.
    8. After you did this, go back into command_squad.rgd and to GameData\squad_ui_ext\. Then you have to find screen_name, which is the actual name of the squad, help_text, which is the description and extra_text, which is the extra description.
    9. For screen_name fill in 18000000, help_text, 18000001 and extra_text 18000002.

    Secondly, we want to add some fine-tuning to its squad UI and it’s cost. We don’t want the Command Squad to be selected when double clicking on Riflemen to select all Riflemen, and we want to give it its own hotkey along with some other things like cost and health. You don’t have to do this, all of it is optional and to your own taste, but it’s very important for making your squad complete.
    1. Back in GameData\squad_ui_ext, go to selection_group and set it to command.
    2. For the hotkey, go to hotkey_name and set it to allies_upgrade_wire_cutters, this will give the Command Squad the Hotkey C. All key defaults can be found in Data\game\keydefaults.lua, by opening it up as text file in the ModStudio. Do not edit this file unless you know what you are doing.
    3. The cost of a squad is a sum of the total costs of all the entities used. As the Command Squad is going to be a pretty powerful unit, we will give it a cost of 300 manpower. To give our squad a cost, go back to infantry_rifleman_command.rgd and officer_captain.rgd. In both go to GameData\cost_ext\time_cost\cost.
    4. As we have two Riflemen and one Captain, the cost needs to be equalized, but obviously the Captain needs to cost more to reinforce, so therefore his base cost has to be higher as well.
    5. Give the infantry_rifleman_command.rgd a manpower cost of 75 and the officer_captain.rgd a manpower cost of 150.
    6. Also, as our squad contains only 3 squad members, we need to raise the time it takes to build the squad. Go to cost_ext\time_cost and increase it for the infantry_rifleman_command.rgd to 10 and for the officer_captain.rgd to 25.
    7. Our captain is a special unit, and it is normal to make special units tougher as they cost more. Just like the Commonwealth Lieutenant and Captain, we don’t want our Captain to be sniped with 1 shot, so we’ll have to change the infantry armor type it’s using. Go to officer_captain.rgd and to GameData\type_ext. Change type_target_weapon to type_target_weapon\tp_infantry_heroic.lua and type_target_critical to type_target_critical\tp_infantry_heroic.lua.
    8. We also want to increase the health of both the Captain and his bodyguards. In both officer_captain.rgd and infantry_rifleman_command.rgd, go to GameData\health_ext\hitpoints. For the Captain change it to 100 and for the Bodyguards to 80.
    9. Finally, go to both ebps files, and remove the engineer_ext from both. This prevents our Command Squad from being able to build basic defenses and such.



    Q: I want to change the looks of my unit, how can I do that?
    A: Obviously, we want our Captain to look like a real Captain and luckily, Relic already made a special infantry model and skin for it, but never used it in the release of vCoH.
    1. First, we need to know where exactly the infantry model is, so go to Data\art\models\races\allies\soldiers. In this folder are all the standard available infantry models. The ebps file is linked to the .abp file (abp stands for Animator BluePrint). However, the game will automatically search in Data\art\models\, so you don’t have to write those first three when linking.
    2. So, in the ebps file officer_captain.rgd, go to GameData\entity_blueprint\animator and fill in Races\Allies\Soldiers\Officer_Lieutenant.



    Q: I made my Command Squad, how can I make it buildable in the game?
    A: We will have to add it to the Barracks to be able to build it ingame, along with that we will have to give it its own cost as well as an unique ui_group_selection, which sets the location in which of the slots the Command Squad will appear when selecting the Barracks. There are twelve slots available in the command panel, look at the picture below:


    1. For the Barracks, the first and the second are taken by the Jeep and Riflemen Squad, therefore we need to give our Command Squad position 3.
    2. For the location of the squad, go back command_squad.rgd, to GameData\squad_ui_ext and find ui_group_selection and set it to 3.
    3. Now to add our Command Squad to the Barracks go to Attrib\attrib\ebps\allies\buildings\barracks.rgd and open it up. Go to GameData\spawner_ext\squad_table. To the right you will see the Jeep and Riflemen Squad already being there, and to squad_03 add sbps\races\allies\soldiers\command_squad.lua. When linking to a squad you want a building to produce, you always refer to the sbps file, and you when linking from .rgd to .rgd you always fill in .lua at the end instead of .rgd.



    Q: my Command Squad is now buildable, but I want to give them different weapons, how?
    A: We want our Captain to be armed with the M1911 Colt and the two bodyguards with M1 Thompsons.
    1. All the standard available weapons are located in Attrib\attrib\weapon, divided into multiple folders to keep things organized.
    2. We will first give the M1911 Colt to the Captain, so go to the ebps of the captain (officer_captain.rgd), then to GameData\combat_ext\hardpoints\hardpoint_01\weapon_table\weapon_01\weapon and change it to weapon\allies\small_arms\single_fire\pistol\colt_m1911_45_pistol.lua
    3. Now for the bodyguards, go to the ebps file (infantry_rifleman_command.rgd) and go to the same location but change the weapon to weapon\allies\small_arms\machine_gun\sub_machine_gun\m1_thompson_smg.lua.
    4. Note, that sometimes when you want to give a weapon to a unit, the weapon might become invisible ingame while the animations are still showing up and the weapon does actually work. This is because the infantry model used by the entity isn’t linked to that specific weapon. More information about this and how to fix it, can be found here.



    Q: Now, my Command squad is buildable and armed, but how do I give it new abilities?
    A: We will give our Command Squad two abilities, a small off-map mortar barrage and heroic charge to support nearby Infantry.
    1. Go to Attrib\attrib\abilities\axis_150mm_rocket_barrage.rgd, this is the Wehrmacht Officer Mortar Barrage. Copy it by right clicking on it and select Copy. Name our new ability ally_officer_mortar_barrage.rgd. First we will tune our new ability to work to our intentions, so open up our newly created ability.
    2. We will have to remove the requirements it has, go to GameData\ability_bag\requirements and copy an empty requirement (an empty requirement is one that says required_none), over any existing requirements.
    3. Next, we want to lower the cost of the ability a bit, go to GameData\ability_bag\cost and set the munition cost to 100.
    4. The ui_group_selection for this ability already is set to 9, that is the bottom left, we want this, because usually such abilities are set from 9 to 12.

    Now for the Heroic Charge Ability:
    1. Go to Attrib\attrib\commonwealth_lt_heroic_charge_ability.rgd and Copy it just like the previous ability, but rename it to ally_officer_heroic_charge_ability.rgd
    2. Same as the Mortar Barrage, remove any existing requirements by copy and pasting a required_none over it.
    3. The ui_group_position also already is set to 10, so that’s fine.

    We now have to link the ability with the squad. Obviously we only want the Captain be able to call in the abilities, so if he dies, the squad loses the abilities until he is reinforced again. However, our squad can still use all the abilities the normal Riflemen Squad can use, so we will have to remove those first.
    1. Go to the sbps of the Command Squad (command_squad.rgd) and to GameData\squad_ability_ext\abilities and remove abilities\ally_suppression_ability_rifle_squad_infantry.lua.
    2. Go to both the ebps files (officer_captain.rgd and infantry_rifleman_command.rgd), go to GameData\ability_ext\abilities and clear out all entries filled in.
    3. Now to add our abilities, go to the ebps of the Captain (officer_captain.rgd), go to GameData\ability_ext\abilities and in ability_01 fill in abilities\ally_officer_mortar_barrage.lua and in ability_02 fill in abilities\ally_officer_heroic_charge.lua

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

    That's it for now, more might be added over time and if there is a lot of demand for it, or through other tutorials that I will write in the future. I hope this sorts things out and helps you to learn Modding Company of Heroes.

    -Cel
    Last edited by Celution; 28th Jan 13 at 11:27 AM.

  2. #2
    Congrats on finally finishing this

  3. #3
    Member Gaius22's Avatar
    Join Date
    Feb 2012
    Location
    Portugal
    Well done!!! It covers all the basics

  4. #4
    Member
    Join Date
    May 2010
    Location
    Graz, Austria
    nice one celestial, much easier to read than the first one.

  5. Modding Senior Member Company of Heroes Senior Member  #5
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    Thanks all, and yes I'm still rocking. I got some other stuff planned to write as well, so stay tuned for more!

  6. #6
    Member Bugdown's Avatar
    Join Date
    Apr 2012
    Location
    Philippines
    I'm waiting for more awesome guide

  7. #7
    Does this work with steam version? I only ask because I keep getting an error about it trying to load maps. here is the error message:




    my COH folder is on my H: drive and not C: drive. Thanks guys.

    ----------

    The best and clean way was to change it so:

    ScenarioPackFolder = MODNAME\Scenarios

    *change MODNAME to the name of the mod


    This fixed it. sorry guys.

  8. #8
    What means "action points" , and how thay calculate ?

  9. #9
    Moderator Darkbladecr's Avatar
    Join Date
    Nov 2005
    Location
    CoH:Modern Combat
    About time!

    I like v2 much better

  10. Modding Senior Member Company of Heroes Senior Member  #10
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    djdouge: Unfortunately I don't use steam for CoH, and I for myself cannot help you with it. However, this question has been answered many times, so please make a search for it in the Armoury.

    YaZEK: can you be a bit more clear in what you mean?


    DB: Thanks. I didn't include the things I asked you for, but they will be included in a different How-To about other global stuff. I wanted to keep The Grand How-To v2 clear of the more complicated stuff.

  11. #11
    There are command point and action points. Number of command points you increase with expirience( used for doctrines upgrade ).So what about "action" points - what is that ?newerless,I gona find out ))
    Last edited by YaZEK; 1st May 12 at 4:02 AM.

  12. Modding Senior Member Company of Heroes Senior Member  #12
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    As far as I recall action points are not used for CoH, but don't take my word for it.

  13. #13
    Member Bugdown's Avatar
    Join Date
    Apr 2012
    Location
    Philippines
    can you make a guide to make this? pls!



  14. #14
    lol, you don't ask for much

  15. #15
    Member Bugdown's Avatar
    Join Date
    Apr 2012
    Location
    Philippines
    there's nothing wrong for asking a guide

  16. #16
    Member Zupadupadude's Avatar
    Join Date
    Apr 2011
    Location
    Holland
    Quote Originally Posted by Bugdown View Post
    there's nothing wrong for asking a guide
    There is with what you're trying to ask. That is pretty hard to do, not just changing some stuff in Corsix.

  17. #17
    I hate to be "that guy" but I would hate Celestial to have to do it too. Here's a bunch of things wrong with your request:

    - This is a FAQ and not a place for placing your requests. Ask questions about the mod studio, and not the questions of how do I make this whole freaking thing in your mod. You have no idea how long it takes to properly write a tutorial like this. And the fact that Celestial has described how to add a new full squad doesn't mean he'll keep doing it over and over again. It's only to get you started.
    - Requests (technically it's mod requests and posting your ideas) are forbidden. What you're doing is literally asking your idea to be realized into reality, and even with a guide/tutorial. Very selfish, provides no good to the community and really just annoying.
    - You're asking Celestial for a personal favor and even going off-topic, it definitely doesn't fit in this thread.
    - Even though the picture you've shown has been done through corsix mod studio, it was probably done a very long time ago. The guide wouldn't be valuable because this particular thing is most likely much easier done with object editor now and previously it would have been more of a silly hack with adding entity slot locations or whatever it's called. One way or the other, this thread is definitely not about object editor because that is a much more advanced topic and you can search the forums for tutorials and threads about it instead.
    - If you really want this thing to be done, make use of the forum's search function. Learn the mod studio yourself and research the things which are related to your question. If you have trouble with the basics, ask about it here if you like. If you still have problems, you can then post your question in a new thread. Explain where you're stuck and then people will help you.

    And in addition, posting this might cause trouble for me. What I'm doing is pretty much completely off-topic and more of a flaming post. I certainly won't do it on this thread again. My apologies go to moderators for causing this in the first place. Perhaps it will be of use to the overall discussion in this thread, however, as a good explanation of what questions are supposed to be asked here. Next time I'll simply send this as a PM.

  18. #18
    It must be done long time before - Thank You,Celestial, from all anoing nuwbies )

  19. #19
    Member Bugdown's Avatar
    Join Date
    Apr 2012
    Location
    Philippines
    OT: OKAY What EVER YOU SAY SO AGameAnx

  20. Modding Senior Member Company of Heroes Senior Member  #20
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    Ouh, but asking questions really is no problem and you should keep doing that whenever you need help. The thing about it all, what AGA tries to explain, is that there is a difference between asking for help and asking someone to create a whole specific thing. We are always ready and prepared to help you out when facing a problem, but the way and what you asked in a previous post kinda comes with an attitude where you expect from us to write tutorials and guides whenever someone is in the need for it. We aren't paid for what we do, we do a favor to everyone to make it easier for everyone, especially for people who are new to it all. Modding Knowledge is acquired by trial and error, and we who have been here for a while have put a lot of effort into learning the files and how to mod the game. We write and share our knowledge by writing tutorials and guides if there the opportunity for it.

    We are not trying to sound rude or anything and I know AGA didn't mean to sound rude either, if you felt offended by his post. We try to show 'how we roll' here.

  21. Modding Senior Member Tabletop Senior Member Boardwars Senior Member Forum Subscriber  #21
    Retired Compliance Fairy Gorb's Avatar
    Join Date
    Jul 2006
    Location
    In the past
    Quote Originally Posted by AGameAnx View Post
    - Requests (technically it's mod requests and posting your ideas) are forbidden. What you're doing is literally asking your idea to be realized into reality, and even with a guide/tutorial.
    This is absolutely correct, as per the forum rules and regulations. Furthermore, such a post in this topic counts as off-topic, which is also something you should strive to avoid.

    If you have an issue with this ruling, feel free to PM me. But please, do not drag this out any further in this thread - such posts will be deleted (irrespective of poster) to end the thread derail here!
    I am an Iron Warrior! Iron Within, Iron Without!

  22. #22

    Technical problem witx ModStudio

    Maybe,premoderation will help from nuwbie requests ?
    Last edited by YaZEK; 10th May 12 at 1:01 PM.

  23. Modding Senior Member Company of Heroes Senior Member  #23
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    And what exactly do you mean with that?

  24. #24
    I mean ,that new massages must be approved by moderator before posting.

  25. Modding Senior Member Company of Heroes Senior Member  #25
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    If everyone just reads the Rules and Guidelines, then that isn't needed .

  26. #26
    Member Jagdpanther's Avatar
    Join Date
    Dec 2008
    Location
    Berlin
    But near nobody does it. It's likewise manuals ...

  27. Technical Help Senior Member  #27
    Haa! We used a similar system a while back, where we would have to approve posts (with links) from new members in a bid to combat spambots. It was a nightmare and was shortly discarded.

    For cases like this, the report function is a god send as it allows us mods to deal with problems much faster, with the help of you guys!

  28. #28
    I have a real quiz : does accuracy changes when vehicle moving or its the same ,when its stop (the same with fire rate ) ?

  29. Modding Senior Member Company of Heroes Senior Member  #29
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    All weapons usually fire less accuracy when moving. You can see the moving multiplier in the weapon file when you opened it: GameData\weapon_bag\moving\accuracy_multiplier.

    Reload time always remains the same on the move for tanks. However for Infantry you can change this by giving it a cooldown multiplier. Cooldown for small arms which do not have a burst (so not for automatic weapons) means the time between each shot. The initial cooldown is set in GameData\cooldown\duration and the duration_multipliers are there to tune how much of an increased cooldown you get at which ranges, so these are bound to the range tables.
    Back in moving, you can then add additional multipliers if it's on the move.

    However, actual reloading of the weapon cannot be adjusted when moving.

  30. #30
    What about rate of fire ( rounds per minute) ?? As I know ( for tanks) fire rate decreases while moving.

  31. Modding Senior Member Company of Heroes Senior Member  #31
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    Rate of Fire = amount of rounds per x seconds = reload time (for tanks). As said, the reload time does not change while moving.

  32. #32
    Sorry,i dont know that.
    It can be changed some hove (or this thing is hardcoded) ?

  33. Modding Senior Member Company of Heroes Senior Member  #33
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    Dude, please try to read what I write:

    Quote Originally Posted by myself at post #29
    However, actual reloading of the weapon cannot be adjusted when moving.
    Quote Originally Posted by myself at post #31
    As said, the reload time does not change while moving.

  34. #34
    Are there any viewing tools to look at SGA maps? I have downloaded a mountain of them and want to look at their layouts to filter them down to the types of layouts that friends and I like to play. So many maps are packed in SGA format WITHOUT a preview so we dont know what we are getting into. Sometimes we find a map we like, more often than not we find a map that we hate. It would be nice to be able to drill into each file, take a look and make a decision to keep or pitch the map without having to endure a full game and the time involved.

  35. Modding Senior Member Company of Heroes Senior Member  #35
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    You'll have to extract the .sga file with the ModStudio, and then you can open it up like a normal map.

  36. #36
    Yeah, I was afraid of that. I have been using SGA2SGB. Easy enough but incredibly time consuming.

  37. Company of Heroes Senior Member  #37
    Moderator Lethal Dosage's Avatar
    Join Date
    Sep 2007
    Location
    In the back of my mind.
    Lawndartleo: I've found that as well. I generally open the .sga file with Corsix's Mod Studio, browse into the file until i find a .tga file called (mapname)_mm.tga. I extract that, and then view it with a picture viewer that can open .tga image files.

    I also find it easy to use a picture editing program like GIMP to convert it to .jpg, as not everyone has programs that can open .tga images.

  38. #38
    Guys,how to make ordinary soviet infantry tank riders - I mean make them clime tanks ?

  39. #39
    Hmm, the link for the 'fixing non-linked guns' doesnt work DX cant click it.

  40. #40
    Hello,
    Awesome tutorial, just started modding, going good, but one thing, when I add an ability to my squad, the ability dosent actually occur. It is click able, I select the target and everything, it just actually dosent happen. I bet im missing something obvious and am probably being a noob. Any ideas?
    Cheers
    Attacker

  41. #41
    Member GethHunterJ's Avatar
    Join Date
    Jun 2012
    Location
    California
    Hi, I followed this guide but my new squad is not showing up in the build menu and I can't figure out why.

  42. #42
    No worries, got it sorted, had to be applied to the entity and not the squad.

  43. #43
    Guys,there is some way hot to make tank crush anti-tank guns ?

  44. #44
    Member TheWeasel's Avatar
    Join Date
    Oct 2008
    Location
    Charleston, SC
    Note, that sometimes when you want to give a weapon to a unit, the weapon might become invisible ingame while the animations are still showing up and the weapon does actually work. This is because the infantry model used by the entity isn’t linked to that specific weapon. More information about this and how to fix it, can be found [LINK].
    There's no actual link here! Please put one in! Would really like to know how to do this.

  45. Company of Heroes Senior Member  #45
    Moderator Lethal Dosage's Avatar
    Join Date
    Sep 2007
    Location
    In the back of my mind.
    YaZEK: Open up your AT gun's ebps and the ebps of it's crew, and a tank_trap ebps file. Copy the Impass_ext from the tank traps to your AT Gun and the crew ebps. Change the fields to True for all the crush types you want to be able to crush it, and False to those you don't want to crush it. Land is a crush type used on units that can't actually crush anything, like infantry or motorbikes. Using the impass_ext from the tank traps (like the allied ones), they should already be configured to be able to be crushed by heavy_crush types only (Panther, Tiger, Pershing, Churchill, etc.).

    If you also want the vehicle to be temporarily slowed down when it crushes an at gun, also copy the tank_trap's crushee_ext to the AT Gun.

  46. #46
    iTeaback
    Guest
    Hey Celestial, thanks for the awesome guide, although I did not end up getting my squad due to the fact that pressing the [Save File] button down in the right bottomcorner after every change i make is essential.
    Also, I successfully made my own little changes in how I followed your tutorial, for example, I chose a different name for my unit, and gave them Bren_mark_2_lmg's I also gave my squad commander a Webley revolver.... Anyways thanks for the tutorial!!

    but in the end, is it required to always save after for example: changing hp of the unit, cuz when i didnt save before doing next step it would go back to the original settings, please help!
    Last edited by iTeaback; 9th Jul 12 at 6:54 AM. Reason: forgot to write my question :P

  47. Modding Senior Member Company of Heroes Senior Member  #47
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    Of course, after you are done with a file you have to save it. With certain values you'll have to save directly after changing them, because as you mentioned some swap back to their original value.

    So my tip would be if you are not sure, hit the save button! I'm glad you got everything working and that the tutorials were easy to understand.

  48. #48
    how to add more items on soldier uniform?

  49. Modding Senior Member Company of Heroes Senior Member  #49
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    That depends on if you want them to be textured on (= more detail on the uniform itself) or if you want mode accessories hanging on the uniform (like pouches, tools and other equipment). The first one is done with a 2d editing program like Photoshop and the other has to be done with a 3d editing program called 3ds Max and then added to the soldier mesh, which also requires Object Editor work iirc (= the animating program for CoH).

  50. #50
    Member striker's Avatar
    Join Date
    Jun 2012
    Location
    venezuela
    hi
    I have a problem
    I did all steps to configure the module, but when I enter the game as usual
    I go to reward and units are not in pink as they say

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •