Login

russian armor

Schwerer panzer HQ flak gun upgrade

5 Aug 2021, 04:59 AM
#21
avatar of Rigwaz

Posts: 57

Im having some issues of my own with the Flak truck. It seems recent changes have broken my mod and the OKW are unplayable without the truck working.

I don't suppose anyone has the old code for how the truck used to work? (deploy and it would shoot ground and air - no upgrade required other than one truck deployed).
5 Aug 2021, 05:23 AM
#22
avatar of SneakEye
Senior Modmaker Badge

Posts: 817 | Subs: 5

jump backJump back to quoted post5 Aug 2021, 04:59 AMRigwaz
Im having some issues of my own with the Flak truck. It seems recent changes have broken my mod and the OKW are unplayable without the truck working.

I don't suppose anyone has the old code for how the truck used to work? (deploy and it would shoot ground and air - no upgrade required other than one truck deployed).

In ebps\races\west_german\buildings\base_building\infantry_support_mp,
In ebps\construction_ext\on_construction_actions:
remove apply_modifier_action\3. enable_weapon_modifier (value -1 disables the gun).
Als remove the two remove_crew_actions from the on_construction_actions.

In ebps\action_apply\actions remove 6. and 7. requirement actions. These activate the gun and crew when the upgrade is bought.

If you want it to fire on planes by default:
Set in weapon\west_german\small_arms\tank_gun\base_building_flak_20mm_flak38, behaviour\aa_weapon to true.

p.s. Next time please make a new topic for a new question, that makes it easier to find and differentiate topics.
5 Aug 2021, 06:48 AM
#23
avatar of Rigwaz

Posts: 57

Sorry my bad - was trying to reduce clutter. Thanks again for saving my mod.
1 user is browsing this thread: 1 guest

Livestreams

United Kingdom 234
unknown 6
unknown 5
Brazil 4

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

782 users are online: 782 guests
0 post in the last 24h
8 posts in the last week
38 posts in the last month
Registered members: 49084
Welcome our newest member, sunwingamescom1
Most online: 2043 users on 29 Oct 2023, 01:04 AM