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).
Schwerer panzer HQ flak gun upgrade
5 Aug 2021, 04:59 AM
#21

Posts: 57
5 Aug 2021, 05:23 AM
#22


Posts: 817 | Subs: 5
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

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
![]() |
![]() |
![]() |
34 | ||
![]() |
![]() |
![]() |
28 | ||
![]() |
![]() |
![]() |
16 | ||
![]() |
![]() |
![]() |
4 | ||
![]() |
![]() |
![]() |
29 | ||
![]() |
![]() |
![]() |
22 | ||
![]() |
![]() |
![]() |
16 | ||
![]() |
![]() |
![]() |
10 | ||
![]() |
![]() |
![]() |
8 | ||
![]() |
![]() |
![]() |
3 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.43163.872+9
- 2.58080.879+19
- 3.800454.638-1
- 4.313114.733+9
- 5.12744.743+1
- 6.17951.778+2
- 7.282161.637+1
- 8.197104.654+1
- 9.371284.566-1
- 10.17773.708+3
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger

Einhoven Country

Honor it
14

Download
1356
Board Info
501 users are online:
501 guests
2 posts in the last 24h
14 posts in the last week
75 posts in the last month
14 posts in the last week
75 posts in the last month
Registered members: 53245
Welcome our newest member, b52clubbat
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, b52clubbat
Most online: 2043 users on 29 Oct 2023, 01:04 AM