Results 1 to 4 of 4

Mortarpit smoke barrage problem

  1. #1

    Mortarpit smoke barrage problem

    Hi,

    I tried to give the british Mortarpit the ability to fire a smokebarrage but don´t get it to work.
    I thougt I just change the supercharge ability so it fires "supercharged smokeshells" but not
    even my new created ability icon shows up.....

    Need help
    Last edited by Sh0ckw4v3; 26th Jul 12 at 5:08 PM.

  2. #2
    what did you do?

    PM me if you like, I should be able to get it going.

    Did you get the UI group position right (I don't really play british, not sure if there mortar can do any other special abilities)?

    You added the ability to the mortar pit, and made sure the REQUIREMENTS for the special ability aren't from a different faction?

    For example, if the special ability was copied from a german one (I don't really play germany either), it may require a german building/upgrade to work. You will need to change the requirements of your copied power to get it to work.

  3. Modding Senior Member Company of Heroes Senior Member  #3
    Celéstial by heart Celution's Avatar
    Join Date
    Apr 2008
    Location
    Sweden
    If you used the commonwealth supercharge mortar barrage as a base, then you need to do several things to get it working:

    1. set a new ui_group_position, as it is most likely still overlapping with the normal mortar barrage. I know from head that positions 9-11 are all used for the special mortar barrages from the RCA commander tree, so set your smoke barrage to 12.

    2. Remove the any requirements in the ability (GameData\ability_bag\requirements), by copy pasting a required_none over any other existing ones.

    3. Make sure that GameData\ability_bag\enable_in_hold is set to true.

    4. Give the new smoke barrage ability to the actual mortar in Attrib\attrib\ebps\gameplay\props, it is called cw_3inch_mortar_emplacement.rgd. Basically you open that file up, go to GameData\ability_ext\abilities and find an empty line and add your new ability to it, in the same form all others are set there. (this means you have to write it like this: abilities\name_of_the_ability.lua)

  4. #4
    Thanks guys,

    great help

    It was the cw_3inch_mortar_emplacement.rgd from Attrib\attrib\ebps\gameplay\props that I missed to give the ability to.

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
  •