Well that's weird. Isn't it possible to disable weapon setup while in a vehicle or garrisoned? |
I disagree, slot items are much easier to manage, since soldiers will automatically switch between them on pickup, drop, reinforcement etc. They are also easier to use as requirements.
It's an undisclosed project i'm working on, and any slot item would do, since it's the functionality itself i need. |
I just compared and made looked at the relevant entries (relating to team weapon and types), but they were already just like the german mortar, so i still don't know how you can get those results |
For a project i'm working on, i want to give slot items to weapon teams. When i tried that with the soviet light mortar squad, it totally fucked up the animation of the two crew that fired and loaded the mortar itself. Does anyone know why this happens and how to fix it? |
I know, i already did that. But that just allowed team weapons to dismount in the first place. The invisible circle bug appears when a weapon team that spawned inside a hold, has the 'carried' team_weapon_type and then dismount. |
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.
|
It doesn't seem like changing 1) made any difference, and i'm not sure what specific tinkering would be needed for 2).
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. |
Ok so i did a bit of testing and found out that the bug with the mortar squad having to set up at a specific point before being able to set up anywhere else, that only occurs when the squad spawns inside a halftrack, whereas if you spawn it normally on their feet on then enter and exit the halftrack, they work just fine.
Any idea why this is? |
Hi, i'm working on something where team-weapon squads can mount half-tracks. Problem is that when i dismount the soviet light mortar, the squad can move around fine, but they leave behind an invisible point (only indicated by a little selection ring) where the mortar has to set up first, in order to set up anywhere else. I'm pretty sure the problem stems from the 'tp_carried' team_weapon_type, since the 120mm mortar, dshk 38 and maxim all use 'tp_mobile', and they work just fine.
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? |
My mod, Make CoH Great Again, recently reached 10.000 subscribers after just 25 days, which i'm very grateful for. For this occasion i figured i'd ask you guys what feature or improvement you'd most like to see for it, so i created a reddit thread for it:
https://www.reddit.com/r/CompanyOfHeroes/comments/8m0ga4/10000_subs_in_25_days_which_feature_or/ |