Results 1 to 26 of 26

[How to] Editing Doctrines.

  1. #1
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania

    [How to] Editing Doctrines.

    Hey all, this is a tutorial for a good friend of mine, because he couldn't find anything usefull on how to edit doctrines.

    Now the hardest part, how to make new call ins/ upgrades for your doctrines.

    I will add the us airborne paradrop below the Pershing in a different doctrine.

    • Copy the „allied_airborne_00.rgd“ and rename it to „allied_airborne_03.rgd“
    • Open up the new rgd. Open its requirements\required1 and change the upgrade_name to „allied_armor_02.lua“
    ( we change to that, because this will apear below the pershing call in in armor doctrine so it needs to require the one that is above it.)
    • Goto Attrib\attrib\commander_tree\alied_armor_tree.rgd
    • In there add upgrade\allied_airborne_03.lua below upgrade\allied_armor_02.lua
    ( This is to make the paradrop appear below the pershing. ( allied_armor_02.lua is the pershing call in. ))
    • Now goto Attrib\attrib\abilities\ally_paradrop_ability.rgd . Copy it and name it like this ally_paradrop_ability_armor.rgd
    • Open it up open requirements\required1\requirement_table_1\required_1 and in upgrade_name replace upgrade\allied_airborne_00.lua wtih upgrade\allied_airborne_03.lua
    (This is to tie the ability to the upgrade.)
    • Now open up Attrib\attrib\racebps\allied_rifle_company.
    • Open up abilities in it and add the ally_paradrop_ability_armor.lua to any of the empty spaces.
    ( This is to add the ability to your army ).
    • After that change widget_suffix to 2 in the commander tree.

    You can use any number from 1 to 4, It's the column number. If you add more than 2 colums you need to add a new ability to any of the columns, otherwise it will look messed up ingame.


    Done!


    Don't mind the Ui or the norange errors, it's just my own little mod.

  2. #2
    Member WangTangManPro's Avatar
    Join Date
    Dec 2009
    Location
    Deutschland
    nice! very helpful. btw is possible to make a tree like:

    01 10
    +
    02
    +
    03
    +
    04
    +
    05

    ?
    That there are like 5 Skills in one row and only 1 in the second
    In einer dunklen Ecke still und heimlich einen Mod am basteln... oO

    My Icon-Packs http://forums.relicnews.com/showthre...ate-19.06.2011

  3. #3
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania
    Yes, easy. In commander_tree of your choise. Add the 5 upgrades to Upgrade_row00_col00 - Upgrade_row05_col00 and then the one to Upgrade_row01_col00
    Upgrade_row00_col00 - Upgrade_row05_col00 Is the first column. And then so on. Just make sure the upgrades are linked to the correct upgrades.

  4. #4
    Member WangTangManPro's Avatar
    Join Date
    Dec 2009
    Location
    Deutschland
    danke schön THX

  5. #5
    Member Frehelias's Avatar
    Join Date
    Jun 2010
    Location
    Electric Ladyland
    Perhaps this can be mixed with this doctrine editing thread: http://forums.relicnews.com/showthre...heir-Abilities

  6. Technical Help Senior Member  #6
    Moving this to How To's. I will post a link in the other thread pointing peeps this way.

  7. #7
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania
    Thx Kapp'n.

  8. #8

  9. #9
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania
    Yea and so? A friend wanted to learn and didn't quite understand your tutorial, so I made a quick straight to the point tutorial. So why not put it up here? Some might find your, more in depth tutorial better and some might not want to read all that and just know how to do it. See no problem in having 2 tutorials, you know 2 is better than one :P

  10. Modding Senior Member Company of Heroes Senior Member  #10
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    If I recall correctly, only 4 x 4 commander trees are possible as a maximum size.

  11. #11
    <3 Philadelphia mandead's Avatar
    Join Date
    Jul 2009
    Location
    The cold, bitter North
    Sorry to bump this, but how do you edit the arrows between unlocks?

    I have the King Tiger for the Scorched Earth doctrine but I want to extend the arrow down so it matches the five points I have for the Tiger Ace for the Terror Doctrine.

    I know I can change the points anyway and it'd work fine, but I like to be consistent and so I have my points and arrows at the same ratio (if that makes sense).
    "Pink Floyd and Keith Floyd made me who I am today."

  12. #12
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania
    Not sure about that.

  13. Company of Heroes Senior Member  #13
    Moderator Lethal Dosage's Avatar
    Join Date
    Sep 2007
    Location
    In the back of my mind.
    I think (but unconfirmed) that the arrows automatically point from one upgrade to the one that comes after it. ie. an arrow points from upgrade 1 to upgrade 2 because upgrade 2 requires upgrade 1 first.

  14. Modding Senior Member Company of Heroes Senior Member  #14
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    Yes, it goes automatically, as LD said.

  15. #15
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania
    I think he wants arrow on one side to be the same lenght as the one on the other side.

  16. #16
    <3 Philadelphia mandead's Avatar
    Join Date
    Jul 2009
    Location
    The cold, bitter North
    I want to know how to move one of the upgrade boxes down, so there's more of a gap between it and the previous one - to denote a larger number of command points required. If the arrow automatically stretches down then that's fine, but I still don't know how to edit the spacing on these things.

  17. #17
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania
    Maybe try skipping 1 free slot and add the 3rd ability to the 4th slot? Dunno if this will work. Not sure how relic did so, maybe someone more experienced than me will know.

  18. #18
    <3 Philadelphia mandead's Avatar
    Join Date
    Jul 2009
    Location
    The cold, bitter North
    I could try that, but it's not the case with any of the other doctrines is it? Look in commander_tree and you'll notice that nothing is spaced out as you suggest; I'm not saying it won't work, simply that it's not something Relic appear to have done.

  19. #19
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania
    Yea, as I said, dunno how they made it work. Maybe some setting in the commander tree or the upgrades.

  20. #20
    im having trouble finding this widget_suffix. I did find it but its not a number value, its text. do i still chagne it?

  21. #21
    For give me for been blind here lol were do i find the folowing please?

    Copy the „allied_airborne_00.rgd“ and rename it to „allied_airborne_03.rgd“
    • Open up the new rgd. Open its requirements\required1 and change the upgrade_name to „allied_armor_02.lua“
    ( we change to that, because this will apear below the pershing call in in armor doctrine so it needs to require the one that is above it.)


    I have looaded in command tree and abilties

    thank you

    ----------

    ----------

    no worries found it thanks any way

  22. #22
    Member Aidas2's Avatar
    Join Date
    Jun 2009
    Location
    Vilnius, Lithuania
    @Topher8668 Yes, you can add from 1 to 4, it defines the numbers of columns.

  23. #23
    Member ManuGod's Avatar
    Join Date
    Aug 2009
    Location
    Canada,Quebec
    I just copy a abilities and modify it to add to the doctrine tree.

    But when I'm in game I get this message when I put my nouse on the ability I read "Unable to perform actions".

    Any I dea why ?

  24. #24
    unable to perform actions mean there is an error somewere so just check all of the lines you have edited that involve the ability and check requirments

  25. #25
    Member ManuGod's Avatar
    Join Date
    Aug 2009
    Location
    Canada,Quebec
    Ok so I have to check , the ability,the weapon and the projectile -.-

    Still thanks


    It works ! Just change a file to it's original and now everything works. Actually I have touch a file who dindt need to be touch.
    Last edited by ManuGod; 28th Jul 11 at 6:09 PM. Reason: Solve

  26. #26
    Maybe ,the most complicated part of CoH moddinf for me ((
    Want to change stormtrooper from blitzkrieg doctrine (coz,I have them in wehrmacht barracks)) to falschirmjager squad.Dont know how ?

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
  •