Posted: Sun Dec 09, 2012 8:25 pm Post subject:
Helicopter
hi, I wanted to add an assault helicopter to Ra2 YR, but the helicopter refuses to attack anything that's behind it, I must preposition it so that it faces the target and then attack here's the code, did i do anything wrong
[WZ]
UIName=Name:WZ
Name=WZ10
Prerequisite=NAWEAP,NATECH
Primary=WZM
Secondary=HoverMissile2
Strength=310
Category=AirPower
JumpJet=yes
Armor=Heavy
TechLevel=7
Sight=6
RadarInvisible=no
Speed=18
PitchSpeed=1.1
JumpjetSpeed=30 ;params not defined use defaults (old globals way up top)
JumpjetClimb=25
JumpjetCrash=40 ; Climb, but down
JumpJetAccel=12
JumpJetTurnRate=8
JumpjetHeight=500
JumpjetWobbles=.01
JumpjetDeviation=1
Owner=Russians,Confederation,Africans,Arabs,Alliance
RequiredHouses=Alliance
Cost=1750
Points=30
ROT=7
Crewed=yes
ConsideredAircraft=yes
Explosion=TWLT070,S_BANG48,S_BRNL58,S_CLSN58,S_TUMU60
Maxdebris=3
IsSelectableCombatant=yes
VoiceSelect=BlackOpsSelect
VoiceMove=BlackOpsMove
VoiceAttack=BlackOpsAttackCommand
VoiceCrashing=BlackOpsVoiceDie
DieSound=
CrashingSound=GenVehicleDie
ImpactLandSound=GenAircraftCrash
Locomotor={92612C46-F71F-11d1-AC9F-006008055BB5} ;jumpjet
MovementZone=Fly
DamageParticleSystems=SparkSys,SmallGreySSys
ThreatPosed=30
VeteranAbilities=STRONGER,FIREPOWER,SIGHT,FASTER
EliteAbilities=SELF_HEAL,STRONGER,FIREPOWER,ROF
Size=7
HoverAttack=yes
SelfHealing=yes
AllowedToStartInMultiplayer=no
Crashable=yes
SpeedType=Hover
PreventAttackMove=yes
MoveSound=BlackOpsMoveLoop
ElitePrimary=WZME
EliteSecondary=HoverMissile2E
TooBigToFitUnderBridge=true
Trainable=yes
BalloonHover=yes ; ie never land QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Sun Dec 09, 2012 8:30 pm Post subject:
You didn't. Helis in YR don't try to face their target. You can either set the weapons Omnifire=yes or add in a dummy turret (as in 1x1x1 unfilled voxel as turret). QUICK_EDIT
Joined: 22 Nov 2010 Location: Iszkaszentgyorgy, Hungary
Posted: Mon Dec 10, 2012 8:26 am Post subject:
That's default. _________________ "If you didn't get angry and mad and frustrated, that means you don't care about the end result, and are doing something wrong." - Greg Kroah-Hartman
=======================
Past C&C projects: Attacque Supérior (2010-2019); Valiant Shades (2019-2021)
=======================
WeiDU mods: Random Graion Tweaks | Graion's Soundsets
Maintainance: Extra Expanded Enhanced Encounters! | BGEESpawn
Contributions: EE Fixpack | Enhanced Edition Trilogy | DSotSC (Trilogy) | UB_IWD | SotSC & a lot more... QUICK_EDIT
You cannot post new topics in this forum You cannot 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