Jump to content
Sign in to follow this  
ztz2019

Same w3x model works well in TW but error in KW

Recommended Posts

A tank model works alright in TW, but turret axis wrong in KW, totaly opposite rotate when attacking. I don't know why it happens.

 

And in TW if I set

 

MaxDeflectionClockwise="1d"
MaxDeflectionAntiClockwise="1d"
the turret will almostly don't turn so the whole vehicle will turn to enemy, but when I transplant code to KW, it don't turn and attack only face to enemy it will fire just one shot, if forced attack ground, it's regular no error.
Edited by ztz2019

Share this post


Link to post


					<Turret
						TurretNameKey="CHASSIS"
						TurretPitch="B_MAINPITCH"
						TurretID="3" />
	<TurretSettings
						TurretPitchRate="100"
						AllowsPitch="true"
						PitchHeight="80%"
						MinimumPitch="-20d"
						MaximumPitch="60d"
						MaxDeflectionAntiClockwise="1d"
						MaxDeflectionClockwise="1d">
						<TurretAITargetChooserData
							CanAcquireDynamicIfAssignedOutOfRange="true" />
					</TurretSettings>

 

 

 

 

0067u1Szjw1f55aaivuopj30m80gon4p.jpg

 

This is my remake mastodon, in TW it never come this problem.

 

So stygs, how you solute this problem? I know you remaked new mastodon, too. Which turret bone you set and the turretsetting?

Edited by ztz2019

Share this post


Link to post

So stygs, how you solute this problem? I know you remaked new mastodon, too. Which turret bone you set and the turretsetting?

Pretty much the same. No idea if it works in KW as I never modded KW.

Share this post


Link to post

Pretty much the same. No idea if it works in KW as I never modded KW.

How you did to add new weapon bone? Could you share your model and code source file? Or I give you mine, for helping me check out the reason.

Edited by ztz2019

Share this post


Link to post

Pretty much the same. No idea if it works in KW as I never modded KW.

What you did to make unit turn itself when attack target?

Share this post


Link to post

Another problem, why sometimes tank directly attack backwards without turret turn back?

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×