Simple fix to AI getting stuck unable to fire in a tank.
All this mod does is correct the annoying bug where a tank can get stuck aiming at two targets but never actually shoots at anything with any of its weapons until it is manually controlled again.
This should honestly be in a patch but until then a mod will have to suffice.
Compatible with MoW AS-1(tested myself), MoW AS-2(friend tested), and SHOULD work with all MoW series, but i do not own the older games or AS-2 so i cannot be 100% sure it works there.
awesome work, Thanks for this mod....
I will test this and let you know if it fixes an annoying issue in AS:2 where KV1 tank is user controlled preferring to face enemy with rear mounted turret MG... ( regardless of auto / manual movement mode )
It will not fix that, the kv-1 using mgun instead of primary cannon is a MODEL issue, i cannot fix that with a script.
i believe that the mgun in as-2's kv-1 doesnt have limits set properly (as in you can shoot behind u with the stupid coaxial)
i fixed this issue for myself, and if ur interested i could release a mod that fixes that one problem, but since i dont own as-2 non priority atm
all this mod does is fix the AI getting stuck unable to pick a target to shoot at, im unsure if as-2 even has this problem as i havent personally tested it (i dont own it myself, hate forced steam only), but based on some forums ect it still appears to be a bug there and in every mow game so i hear
thanks for the reply,
Because it is such an annoying issue with KV 1 in AS:2 i am going to use the AS:1 model in AS:2 until it is fixed by the developers.....
Just had a look at the .mdl file and i think the problem is in the following section:
Any idea what i should change ??? ( i hope it pasted here properly)
{bone revolute "mgun_rot4"
{parameters "ID=turret;"}
{limits -15 15}
{Position -31.306 -0.0939007 12.6276}
{VolumeView "mgun_rot4.ply"}
{bone revolute "mgun1"
{limits -15 15}
{Matrix34
-1 0 0
0 0 -1
0 -1 0
-0.722042 -0.0770095 -0.655392
}
{VolumeView "mgun1.ply"}
{bone "foresight4"
{Matrix34
1 0 0
0 0 1
0 -1 0
5.71575 -0.403877 -0.0782467
}
}
}
}
{bone revolute "mgun_rot4"
{parameters "ID=turret;"}
{limits -15 15}
{terminator} ;ADD THIS TO FIX ISSUE!
{Position -31.306 -0.0939007 12.6276}
{VolumeView "mgun_rot4.ply"}
{bone revolute "mgun1"
{limits -15 15}
{Matrix34
-1 0 0
0 0 -1
0 -1 0
-0.722042 -0.0770095 -0.655392
}
{VolumeView "mgun1.ply"}
{bone "foresight4"
{Matrix34
1 0 0
0 0 1
0 -1 0
5.71575 -0.403877 -0.0782467
}
}
}
}
Just add the {terminator} thing as above and it SHOULD WORK 100%!
I havent looked at the KV-1 as the one in my HD mod is so overhauled it doesnt even work like the AS-2 one, as in its using sockets instead of two separate vertical/horizontal rotators. So if foresight4 is the rear gun, it should fix the issue once and for all.
Also, feel free to give this to DMS, its such a small fix you dont even have to mention i gave you this info, if it fixes your KV-1, please inform the dev team about this!
thanks for the reply / fix..... I will test it and let you know how it goes.....
So the ; goes on the line that says {terminator} ;ADD THIS TO FIX ISSUE!
replacing all text on that line with just ;
or do i just have {terminator} on that line ????
just add {terminator}
anything after ; is a comment, similar to //commentgoeshere in many programming languages
just copy the entire thing and override the specific stuff in ur mdl file.
Thanks, fixed.... I am now happy with Kv1.....