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

SHOUT IT OUT!

No ProfanityNumber of ShoutsRefresh Shout Box
Willy Pete: @Lady Xenarra this you? https://i.imgflip.com/3e4thi.jpg
Today, 02:53 AM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
Today, 02:36 AM
Willy Pete: @Rosbone Ahh I missed that memo. I still think its a bad decision though. Adds frustration for players and isnt gonna make them that much money
Last Thursday, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
Last Thursday, 09:34 AM
Rosbone: But I agree, the cost to get a full decent Coh game pushing $115 US is not the best idea. Especially when it needs so much more work for casuals.
Last Thursday, 09:32 AM
Rosbone: To be fair, it was a thank you to early fans right? They said it was not free for long and it would become a pay DLC at some point.
Last Thursday, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy :clap:
Last Thursday, 04:31 AM
Soheil: Coh2 still broken server ?
25 Mar 2025, 18:27 PM
Rosbone: Congrats to Relic. Looks like Coh3 has finally usurped Coh2 s the popular Coh. You smell terrific. :snfQuinn:.
24 Mar 2025, 02:46 AM
Nickbn: and again someone else replies. I mean come on guys. Give @adamírcz a chance
22 Mar 2025, 14:00 PM
Willy Pete: @Nickbn you didn't ask a question, and this is a chat box...
20 Mar 2025, 13:11 PM
Nickbn: @Rosbone it's incredibly rude to speak on someone elses behalf, especially when a question is directly adressed to them. I understand your passion for the subject at hand but I want to hear from him.
20 Mar 2025, 10:16 AM
Rosbone: @Nickbn No, I am just saying people should not be using any Relic owned forum since they have proven they ban anyone who says true things about Coh3.
18 Mar 2025, 19:01 PM
Nickbn: @Rosbone do you speak on his behalf? I didn't know. In that case keep us updated please.
18 Mar 2025, 16:47 PM
Rosbone: #RelicModdedEchoChamber
16 Mar 2025, 17:54 PM
Rosbone: @Nickbn True except, the only people on the Relic Discord/Reddit/Steam are brain washed monkey zealots. They wont even understand what @adamírcz is talking about. Anyone else is banned.
16 Mar 2025, 17:54 PM
Nickbn: @adamírcz might be a better idea to voice this to relic directly than to voice it here, in a shoutbox of a nearly deade fansite #justsaying...
16 Mar 2025, 16:36 PM
webdesign-muenchen-w: @Rosbone it is sick
14 Mar 2025, 22:09 PM
aerafield: @adamírcz aren't the first two disconnects free every day?
14 Mar 2025, 19:26 PM
Rosbone: It is so unlike Relic to punish its fans and community.
14 Mar 2025, 12:07 PM

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

677 users are online: 677 guests
3 posts in the last 24h
11 posts in the last week
81 posts in the last month
Registered members: 53130
Welcome our newest member, olimishef79
Most online: 2043 users on 29 Oct 2023, 01:04 AM