Description

Simple fix to AI getting stuck unable to fire in a tank.

Preview
Gun Hang Fix for all Men of War Series.
Post comment Comments
Mopar_AUS
Mopar_AUS - - 279 comments

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 )

Reply Good karma Bad karma+1 vote
panzer1b Author
panzer1b - - 18 comments

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

Reply Good karma+2 votes
Mopar_AUS
Mopar_AUS - - 279 comments

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.....

Reply Good karma Bad karma+1 vote
Mopar_AUS
Mopar_AUS - - 279 comments

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
}
}
}
}

Reply Good karma Bad karma+2 votes
panzer1b Author
panzer1b - - 18 comments

{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!

Reply Good karma+1 vote
Mopar_AUS
Mopar_AUS - - 279 comments

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 ;

Reply Good karma Bad karma+1 vote
Mopar_AUS
Mopar_AUS - - 279 comments

or do i just have {terminator} on that line ????

Reply Good karma Bad karma+1 vote
panzer1b Author
panzer1b - - 18 comments

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.

Reply Good karma+1 vote
Mopar_AUS
Mopar_AUS - - 279 comments

Thanks, fixed.... I am now happy with Kv1.....

Reply Good karma Bad karma+2 votes
Post a comment

Your comment will be anonymous unless you join the community. Or sign in with your social account:

Tags

Gun Hang Fix for all Men of War Series. has not been tagged yet.