Login

russian armor

M21 mortar ability replacing problem, pls help

19 Feb 2019, 07:02 AM
#1
avatar of bigben266

Posts: 39

Dear Modder,

Good day!

I replaced the ability of M21 mortar in ebps as below:

Original ability: "abilities\aef\modal_ability\artillery\mortar_barrage_ability\m21_heavy_he_short_delay_mortar_barrage_mp"

New ability:
"abilities\soviet\modal_ability\mortar_fire_flares_ability_120mm_mp"

I want to get the fire flares effect, but I found the M21 mortar is fire these two abilities in the same time, but I just want the mortar_fire_flares_ability only, pls advise how to fix?



Best regards.
Ben
19 Feb 2019, 10:11 AM
#2
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 2

Clone this weapon with a different name:
weapon\soviet\explosive_weapons\mortar\pm41_82mm_mortar_flare_mp
Then add it to the M21 entity in a new hardpoint.

Then clone this ability with a different name:
abilities\soviet\modal_ability\mortar_fire_flares_ability_mp
Somewhere in its action_list/start_target_actions, there is an artillery_attack. Change its hardpoint to the one where you put the flare weapon on the M21 entity. Then add the ability to the M21 entity.

I didn't test this solution, so let me know if it works.

When working with mortar and artillery barrage abilities, it's important to pay attention to the hardpoints they use. Most units have several hardpoints and each one has a different weapon!
20 Feb 2019, 07:15 AM
#3
avatar of bigben266

Posts: 39

Clone this weapon with a different name:
weapon\soviet\explosive_weapons\mortar\pm41_82mm_mortar_flare_mp
Then add it to the M21 entity in a new hardpoint.

Then clone this ability with a different name:
abilities\soviet\modal_ability\mortar_fire_flares_ability_mp
Somewhere in its action_list/start_target_actions, there is an artillery_attack. Change its hardpoint to the one where you put the flare weapon on the M21 entity. Then add the ability to the M21 entity.

I didn't test this solution, so let me know if it works.

When working with mortar and artillery barrage abilities, it's important to pay attention to the hardpoints they use. Most units have several hardpoints and each one has a different weapon!



Dear Planet Smasher,

Thank you for the reply. I tried but would't work, it is say this ability can not be use~~ and I don't know how to fixed.




Best regards.
Ben
1 user is browsing this thread: 1 guest
World Champ '19 - Semi-finals

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • Soviets flag Lucky - Cable Sup-port
  • Soviets flag T.R. Olvadi
  • Ostheer flag ZodiAK!
  • Oberkommando West flag CrossFire
uploaded by Olvadi

Board Info

277 users are online: 5 members and 272 guests
mrgame2, blvckdream, MugCostanza, Aphyria, Riedese6
245 posts in the last 24h
1583 posts in the last week
7438 posts in the last month
Registered members: 64621
Welcome our newest member, Riedese6
Most online: 918 users on 27 Oct 2019, 01:03 AM