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: 1

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

Ladders Top 10

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

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

845 users are online: 845 guests
0 post in the last 24h
7 posts in the last week
34 posts in the last month
Registered members: 49120
Welcome our newest member, truvioll94
Most online: 2043 users on 29 Oct 2023, 01:04 AM