:: Home :: Get Hosted :: PPM FAQ :: Forum FAQ :: Privacy Policy :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in ::
Do you want to advertise at Project Perfect Mod. Find out how to do it HERE.

The time now is Mon Dec 17, 2018 3:04 am
All times are UTC + 0
 Forum index » Modding Central » Command & Conquer 3 Editing Forum
Natural turret pitch?
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [4 Posts] View previous topic :: View next topic
Author Message
Madin
Cyborg Artillery


Joined: 05 Apr 2009

PostPosted: Thu May 21, 2015 1:01 pm    Post subject:  Natural turret pitch? Reply with quote

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

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
Cyborg Artillery


Joined: 05 Apr 2009

PostPosted: Fri May 22, 2015 8:31 am    Post subject: Reply with quote

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

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] View previous topic :: View next topic
 Forum index » Modding Central » Command & Conquer 3 Editing Forum
Jump to:  
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 one of the following words: 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

Wildcard SSL Certificates
[ Time: 5.0711s ][ Queries: 11 (4.9242s) ][ Debug on ]