3 hull and 2 turret weapons on vehicle possible?

Post bug reports and ask for game support here.
Post Reply
Aetius2
Posts: 121
Joined: Sat Dec 11, 2010 3:56 pm

3 hull and 2 turret weapons on vehicle possible?

Post by Aetius2 »

Hi Steve,

Wer're experimenting with adding an armored railcar to the angriff mod.
The railcar has 3 hull mounted heavy MG's (2 on left side and 1 on right side of vehicle) and 1 turret with 76mm gun and coaxial MG.

It seems the game has trouble with 3 hull weapons + 2 turret weapons in 1 vehicle, i did some experimenting with several combinations and:
3 hull weapons + 1 turret weapon works
2 hull weapons + 2 turret weapons works
3 hull weapons + 2 turret weapons doesn't work

See screenshot in attach, the 3rd hull weapon isn't used in the game anymore when 2 turret weapons are used although it is correctly displayed in the pre-battle battlegroup screen.
multiple weapons.jpg
multiple weapons.jpg (286.97 KiB) Viewed 143 times
I've experimented with larger crews 8-9-10 men but the same thing happens.

Is this a known limit of the game or should this work theoretically?

Question 2, the left side of the hull has 2 MG's, is it possible to edit 2 MG fire animation spots on the hull graphic?

Thanks in advance

Aetius
User avatar
SteveMcClaire
Posts: 4322
Joined: Mon Nov 19, 2007 9:31 pm

Re: 3 hull and 2 turret weapons on vehicle possible?

Post by SteveMcClaire »

I suspect the issue is with the way crew members are allocated to man the vehicle weapons. The engine wasn't really designed for an unconventional setup like this. I'll have to look at the code and get back to you.

There's only one place where 'firing' animations are calculated from, so no you can't defne two different places for machineguns animations to fire from off the same vehicle hull.
User avatar
SteveMcClaire
Posts: 4322
Joined: Mon Nov 19, 2007 9:31 pm

Re: 3 hull and 2 turret weapons on vehicle possible?

Post by SteveMcClaire »

Hi Aetius2,

After looking at the code there are some assumptions about how the vehicle data file is expected to be set up. The three weapon values for each mount (hull and turret) are considered to be the 'main gun', 'secondary weapon', and 'tertiary weapon.' The code assumes the vehicle will have only one main gun, so by having a main gun for both the hull and the turret you end up with the gunner, loader, and commander manning the turret weapons (as turrent main gun is checked first) and the driver and assistant driver manning hull weapons.

You might be able to hack this to work the way you want by skipping a data value -- try having the two turret weapons be main gun and tertiary weapon (first and third weapon columns) with -1 for the secondary (second column) weapon. This should put the gunner manning the turret 'main gun' weapon, the loader manning the hull secondary weapon, the assistant driver manning the hull 'main gun', the driver manning then hull tertiary weapon, and the commander manning the turret tertiary weapon = three on hull weapons and two on turret weapons.
Aetius2
Posts: 121
Joined: Sat Dec 11, 2010 3:56 pm

Re: 3 hull and 2 turret weapons on vehicle possible?

Post by Aetius2 »

Hi Steve,

Thank you very much for looking into this; your continued support for my favorite game is greatly appreciated.
Your "hack" did the trick, the 3 hull MG's + 2 turret weapons are functional now.
multiple weapons-ok.jpg
multiple weapons-ok.jpg (139.78 KiB) Viewed 89 times
Another question:
Is it possible to let the turret rotate a limited number of degrees (180° instead of 360°) on it's hull?

In the example of the armored railcar (which will be static), the turret weapons shouldn't be able to fire the rearward arc, i can set the weapons of the turret to not cover that angle (set to 239, like you explained to Pete in his post about this) but this only works when the turret is set not to rotate on the hull and i want it to rotate because the main gun sticks out of the turret.

Aetius
User avatar
SteveMcClaire
Posts: 4322
Joined: Mon Nov 19, 2007 9:31 pm

Re: 3 hull and 2 turret weapons on vehicle possible?

Post by SteveMcClaire »

Glad to hear that it worked! And no, there isn't a way to limit vehicle turret rotation.

Steve
Post Reply

Return to “Tech Support”