How to fix dismounting mortar squad bug?
Posts: 73
Anyway, i've considered different workarounds. One involves 'killing' and spawning a new mortar squad, but since this will fuck with hotkey groups and specific xp amounts, i've dropped that one.
Another is to have a squad without a mortar, and then add the entity to the squad loadout upon dismount, but that doesn't work right either.
Yet another is to 'kill' the mortar entity itself and spawn a new one upon dismount, and then order the squad to grab it immediately. The latter part is impossible to my knowledge however.
And so i'm at a loss for what to do...any suggestions, maybe using scripts?
Posts: 327
Spawning a mortar and ordering the squad to capture it could be done through SCAR. Im not exactly sure how, but I remember it being done in a single-player script. Try asking a proper guru like Janne if you cant figure that out.
Posts: 3421 | Subs: 11
Posts: 73
Any idea why this is?
Posts: 327
1. The hold does not have "keep abandoned weapons" (or something like that) enabled. Thus, the weapon is kicked out when it spawns.
2. Its something to do with the setup of the weapon.
Posts: 73
I decided to just work around it and kill the squad that spawns inside the halftrack upon dismount, and then spawn a new one on the ground so it looks like it just dismounts.
Posts: 317
Could you please post a screenshot of the invisible circle?
I just copied vanilla half-track and mortar and the only thing I changed is in the "hold_ext" of the half-track. The mount and dismount worked just fine.
Posts: 73
Posts: 317
The way i did it is that i spawn a halftrack, and then under action_apply i make a garrison_squad action, but vanilla halftracks don't have mortars (or other team weapons) under acceptable_types, which makes them stuck when trying to dismount in the normal way...that's why i have no idea how it works for you.
Half-tracks can accept mortars and machine guns if you edit the "hold_ext". You need to go to "hold_ext" > "acceptable_types" > and here you add "hold_mortar" or "hold_whateveryyouwant".
I hope this solves your problem.
Posts: 73
Posts: 317
Posts: 73
Posts: 327
Posts: 317
Lugie it was the MP version but that doesn't matter. We all were looking in the wrong place. The problem is not the mortar team or the weapon but its the vehicle transporting the mortar. If you garrison the Russian mortar to a German Sd.Kfz 250 it will work normally but if you garrison it to the M5 half-track the problem will appear.
I think that this is might be an unsolvable problem. If you garrison mortar into an Sd.Kfz 250 the mortar WILL set up but when it is in M5 the mortar WILL NOT set up (and its not a problem of how many models are in the squad).
Posts: 73
Posts: 317
Posts: 327
Posts: 73
Posts: 317
I just checked the 250's apb, i couldn't find anything about a sync point, can you elaborate?
In the abp file of the 250 is something called "..\\..\\..\\common\\vehicles\\syncpoint\\syncpoint" try to add this to the M5 half-track.
Posts: 73
In the abp file of the 250 is something called "..\\..\\..\\common\\vehicles\\syncpoint\\syncpoint" try to add this to the M5 half-track.
Ah, windows was fucked and showed me the wrong thing. Anyway, i added the line but it didn't make any difference with either the soviet truck or halftrack
Livestreams
2 | |||||
167 | |||||
10 | |||||
5 |
Ladders Top 10
-
#Steam AliasWL%Streak
- 1.831222.789+37
- 2.615220.737+9
- 3.35057.860+15
- 4.1110614.644+11
- 5.276108.719+27
- 6.306114.729+2
- 7.918405.694+2
- 8.262137.657+3
- 9.722440.621+4
- 10.1041674.607-2
Replay highlight
- cblanco ★
- 보드카 중대
- VonManteuffel
- Heartless Jäger
Board Info
5 posts in the last week
33 posts in the last month
Welcome our newest member, Constant
Most online: 2043 users on 29 Oct 2023, 01:04 AM