Project Perfect Mod Forums
:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::


The time now is Thu Mar 28, 2024 11:17 pm
All times are UTC + 0
Natural turret pitch?
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Thu May 21, 2015 1:01 pm    Post subject:  Natural turret pitch? Reply with quote  Mark this post and the followings unread

I have a Flak cannon that I would like for the barrel to always be pitched up.

In Generals there was a setting in the 'TurretAI' section (NaturalPitchAngle), that could achieve this. Of course this is not present in C&C3 code (the 'NaturalTurretAngle' still is though).

Any ideas has to how I can get the desired effect?

The Slingshot in Kane's Wrath has barrels that are always pitched upwards at an angle, but the issue is that the end result is that the barrels do not line up correctly with a target, so whatever was done with the Slingshot is not an ideal solution.

Thanks for any help!


_________________

Back to top
View user's profile Send private message
Beethoven
Vehicle Driver


Joined: 05 May 2015

PostPosted: Fri May 22, 2015 8:05 am    Post subject: Reply with quote  Mark this post and the followings unread

i have never tried that but is MinimumPitch what you are looking for?
you can set MinimumPitch to something positive like 45d and it will face upwards

note that some models (like Mastodon) have fixed pitch turret witch is done inside model. not by the game engine

Back to top
View user's profile Send private message
Madin
Plasma Trooper


Joined: 05 Apr 2009

PostPosted: Fri May 22, 2015 8:31 am    Post subject: Reply with quote  Mark this post and the followings unread

MinimumPitch is only used when the actual weapon is being used.

_________________

Back to top
View user's profile Send private message
Beethoven
Vehicle Driver


Joined: 05 May 2015

PostPosted: Tue May 26, 2015 8:00 pm    Post subject: Reply with quote  Mark this post and the followings unread

Madin wrote:
MinimumPitch is only used when the actual weapon is being used.


well try ModelConditionUpgrade and set IS_AIMING or USING_WEAPON_A condition see if it works? this Module must be trigrred by Upgrade_AllFactionUpgrade. or try status upgrade.

or u must set PitchHeight?

finall choice is to set animation like i explained before.animation is in any status except attacking status. with minimum pitch set to positive. so when unit is attacking pitch will work fine and when its not attacking pitch is handled by anim,
otherwise i think its impossible due to game engine limitations.
also i find out only Modules that are used in CnC3 function correctly not all Modules in schema file.

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [4 Posts] Mark the topic unread ::  View previous topic :: View next topic
 
Share on TwitterShare on FacebookShare on Google+Share on DiggShare on RedditShare on PInterestShare on Del.icio.usShare on Stumble Upon
Quick Reply
Username:


If you are visually impaired or cannot otherwise answer the challenges below please contact the Administrator for help.


Write only two of the following words separated by a sharp: Brotherhood, unity, peace! 

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © phpBB Group

[ Time: 0.1494s ][ Queries: 11 (0.0073s) ][ Debug on ]