Bazookas picked up by Obersoldaten, Commandos, Airlanding Officer or Airborne Guards disappear. They are not added to the squad's inventory, no item slots are taken. The Bazookas simply vanish and are no longer in the game in any shape or form.
Reason: Bazookas, both from weapon rack and dropped on the ground, have 2 requirement actions in their on_pickup_actions to decide whether a squad receives regular Bazooka or the "Bazooka Experts" variant that's unique to USF elite infantry. If the squad's loadout contains an entity with "aef_paratroopers" unit type, they receive the super Bazooka. If the squad's loadout does not contain an entity with "lmg_user_fires_on_the_move" unit type, they receive the regular variant.
Problem happens when a squad doesn't have "aef_paratroopers" unit type, but DOES have the "lmg_user_fires_on_the_move" unit type. They don't fulfil either requirement, so they get nothing. The 4 squads mentioned above are in that exact situation.
Solution: the first requirement action is correct, but the second one should check whether the squad does not have "aef_paratroopers" unit type, not "lmg_user_fires_on_the_move". Simple fix, I can provide mod solution if needed.
Fun fact: the new Assault Officer squad from the Winter Balance Preview is not affected by this bug, because it no longer has commandos entities in its loadout, which possess "lmg_user_fires_on_the_move" unit type.
Bazookas disappear when picked up by specific elite infantry
22 Mar 2020, 21:39 PM
#1
![avatar of Olekman](/uploads/avatar/13453.png?updated=1611589379)
![Modmaker Badge](/images/badges/badge_MODMAKER.png)
Posts: 208
22 Mar 2020, 21:51 PM
#2
![avatar of adamírcz](/images/avatars/conscript.png?updated=1394378846)
Posts: 957
well, thats quite a good catch ![:clap: :clap:](/images/Smileys/clap.gif)
![:clap: :clap:](/images/Smileys/clap.gif)
22 Mar 2020, 22:08 PM
#3
![avatar of Vipper](/images/no_av.png)
Posts: 13496 | Subs: 1
well done
22 Mar 2020, 23:15 PM
#4
![avatar of WAAAGH2000](/images/no_av.png)
Posts: 732
Good job!
23 Mar 2020, 07:10 AM
#5
![avatar of Osinyagov](/uploads/avatar/18206.png?updated=1660237242)
![Senior Modmaker Badge](/images/badges/badge_SENIOR_MODMAKER.png)
Posts: 1389 | Subs: 1
Good catch! That's an important bug
PAGES (1)![down](/images/buttons/down_arrow.png)
![down](/images/buttons/down_arrow.png)
1 user is browsing this thread:
1 guest
Livestreams
![]() |
![]() |
![]() |
101 | ||
![]() |
![]() |
![]() |
28 | ||
![]() |
![]() |
![]() |
17 | ||
![]() |
![]() |
![]() |
5 | ||
![]() |
![]() |
![]() |
3 | ||
![]() |
![]() |
![]() |
81 | ||
![]() |
![]() |
![]() |
33 | ||
![]() |
![]() |
![]() |
22 | ||
![]() |
![]() |
![]() |
13 | ||
![]() |
![]() |
![]() |
8 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.41062.869+8
- 2.855.944+26
- 3.843223.791+6
- 4.659233.739+2
- 5.294157.652+2
- 6.286110.722-2
- 7.12243.739-1
- 8.309114.730+5
- 9.193100.659+3
- 10.10829.788+9
Replay highlight
VS
-
cblanco ★
-
보드카 중대
-
VonManteuffel
-
Heartless Jäger
![Einhoven Country](/images/maps/4p_enhoven_country.jpg)
Einhoven Country
![Honor](/images/buttons/HONOR_icon.png)
Honor it
13
![Download](/images/buttons/DOWNLOAD_icon.png)
Download
1306
Board Info
258 users are online:
258 guests
0 post in the last 24h
11 posts in the last week
40 posts in the last month
11 posts in the last week
40 posts in the last month
Registered members: 51440
Welcome our newest member, r99okcom
Most online: 2043 users on 29 Oct 2023, 01:04 AM
Welcome our newest member, r99okcom
Most online: 2043 users on 29 Oct 2023, 01:04 AM