Login

russian armor

Veterancy: Reduced scatter on a mortar

2 Jan 2016, 18:41 PM
#1
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

I've been experimenting with veterancy modifiers on mortars, looking to reduce scatter. How these things work is still a bit unclear to me, though. For example, the vanilla GrW 34 entity has six different weapons: Auto-attack, barrage, smoke, incendiary, counter-barrage, victor target. At Vet 2, the squad gets reduced scatter through:

change_target_action (change_target_type: entities)
apply_modifiers_action
weapon_scatter (application_type: apply_to_weapon, target_type_name: hardpoint_01)

Does this mean that only hardpoint 1 gets reduced scatter? Or would it need application_type: apply_to_weapon_type for that? Additionally, are only the mortar entity's hardpoints or also the crew entities' hardpoints affected?

Assuming this does just reduce the scatter for the mortar's hardpoint 1 (auto-attack) - If I want to reduce scatter for all of the mortar entity's weapons, is there a more elegant way than basically just repeating this six times?

Any help is appreciated!
2 Jan 2016, 21:26 PM
#2
avatar of Contrivance

Posts: 165 | Subs: 2

It's applying the scatter modifier to every entity in the squad, but that's fine since small arms weapons from the crew members don't use scatter for anything other than visuals.

It's also only affecting weapons on hardpoint_01, you'd need to duplicate that modifier accordingly for the others.
3 Jan 2016, 12:22 PM
#3
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

Thanks a lot! I think I can get it to work as intended now. I put a requirement_action for unit_type above the apply_modifiers_action, because I eventually want to change reload time and weapon range as well.

If the apply_modifiers_action has permanent: True, does that mean the mortar will keep the modifiers even if it gets decrewed and then crewed again?

Also, do you know the difference between apply_to_weapon and apply_to_weapon_type for application_type (for example in a weapon_scatter modifier)?

Sorry about all those questions. Just trying to learn :D
3 Jan 2016, 14:40 PM
#4
avatar of Contrivance

Posts: 165 | Subs: 2

Not sure, you'll have to test those yourself.

My recommendation is to give it a very large multiplier to something that is easy to spot, like x2 weapon range, and then it will be easy to notice if it's getting stacked (suddenly x4) when recrewed.

Not sure about the two types, those are new in CoH2.
5 Jan 2016, 13:12 PM
#5
avatar of Planet Smasher
Senior Modmaker Badge

Posts: 632 | Subs: 1

permanent: False with duration: 0 seems to be working fine, so it's really not important. I'll test it when I get the chance, though. Thanks for your help!
1 user is browsing this thread: 1 guest

SHOUT IT OUT!

No ProfanityNumber of ShoutsRefresh Shout Box
Osinyagov: Suddenly, coh2 is slowly dying, but you can play it, playerbase still big enough
09 Apr 2025, 17:00 PM
Osinyagov: Wow, i remember you from zansi and vali videos, good old memories
09 Apr 2025, 16:58 PM
Beinhard: o7 miss this game and zansi
09 Apr 2025, 14:09 PM
Lady Xenarra: @Willy Pete The lack of April Fools this year is odd lol
02 Apr 2025, 01:34 AM
Willy Pete: @Rosbone not dead yet. when that happens the font will switch to Papyrus :*(
02 Apr 2025, 00:16 AM
dasheepeh: it was an honor guys :guyokay:
01 Apr 2025, 20:34 PM
aerafield: yeah I already prepared my "Can't believe there's comic mode for the 10 daily visitors even on this April 1st" :guyokay:
01 Apr 2025, 20:29 PM
Rosbone: @dasheepeh I guess that means this site is officially dead :guyokay:
01 Apr 2025, 20:19 PM
dasheepeh: no comic sans font for april 1st this year?
01 Apr 2025, 19:56 PM
Willy Pete: @Lady Xenarra this you? https://i.imgflip.com/3e4thi.jpg
01 Apr 2025, 02:53 AM
Lady Xenarra: Does anyone else think that USF needs buffs? It feels like they’re on life support sometimes
01 Apr 2025, 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
27 Mar 2025, 15:46 PM
Rosbone: It is also good they left it free until after the free to play weekend. Points for that.
27 Mar 2025, 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.
27 Mar 2025, 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.
27 Mar 2025, 09:30 AM
Willy Pete: Re-releasing free DLC so they can charge new players money for it. Brilliant marketing strategy :clap:
27 Mar 2025, 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

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

330 users are online: 330 guests
0 post in the last 24h
3 posts in the last week
45 posts in the last month
Registered members: 53743
Welcome our newest member, hb88fishing
Most online: 2043 users on 29 Oct 2023, 01:04 AM