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 Apr 18, 2024 9:24 pm
All times are UTC + 0
artillery unit code no longer supported in c&c3?
Moderators: Global Moderators
Post new topic   Reply to topic Page 1 of 1 [3 Posts] Mark the topic unread ::  View previous topic :: View next topic
Author Message
CoolSon
Cyborg Engineer


Joined: 02 Sep 2007

PostPosted: Fri Dec 14, 2007 1:37 am    Post subject:  artillery unit code no longer supported in c&c3? Reply with quote  Mark this post and the followings unread

I tried to make an Artillery unit type (something similar to the M109 paladin howitzer and the MLRS), but the code from generals ZH for barrel pitching is no longer supported or was removed from c&c3. heres an example code from C&C Gen ZH;

Behavior = DeployStyleAIUpdate ModuleTag_03
Turret
TurretTurnRate = 15
TurretPitchRate = 15

FirePitch = 45 ; Instead of aiming pitchwise at the target, it will aim here
AllowsPitch = Yes
RecenterTime = 2500 ; how long to wait during idle before recentering
ControlledWeaponSlots = PRIMARY
InitiallyDisabled = Yes
End
AutoAcquireEnemiesWhenIdle = Yes
PackTime = 1600
UnpackTime = 1600
TurretsFunctionOnlyWhenDeployed = Yes
TurretsMustCenterBeforePacking = Yes
ManualDeployAnimations = Yes
End

Those codes in green color are still used by C&C3 but those in Red are no longer supprted. The rest of these codes may not be supported in C&C 3 anymore.

The only way you can make a deploying artillery is to animate the unit itself and have the barrel deploy in a 45 degree position.

I'm just wondering why EALA removed those nice coding in C&C3.

Back to top
View user's profile Send private message
DaFool
Defense Minister


Joined: 07 Nov 2006

PostPosted: Fri Dec 14, 2007 2:04 am    Post subject: Reply with quote  Mark this post and the followings unread

I have no experience modding c&c3, but from what I've seen fro the Kane's Wrath expansion, there is an artillery unit that posistions it's payload/barrel like in Generals. So either the tags have been renamed or they are currently removed and shall be brought back in the x-pack.

_________________
Please, read the signature rules of the forum.

Back to top
View user's profile Send private message
Golan
Flamethrower


Joined: 21 Nov 2007

PostPosted: Fri Dec 14, 2007 7:46 am    Post subject: Reply with quote  Mark this post and the followings unread

What you are looking for is now done by MinimumPitch=. Just set it to the angle you want the unit to aim to when acquiring targets.
Code:
TurretSettings
                  TurretTurnRate="60"
                  TurretPitchRate="20"
                  AllowsPitch="true"
                  MinimumPitch="15d"

Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [3 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.1401s ][ Queries: 11 (0.0079s) ][ Debug on ]