Usage:
ObjectTemplate.RegulateYaw
x/y
Argument values:
argument 1: | -0.04/0.5, -0.065/0.5; most commonly -0.065/0.5 |
Description: This property is used exclusively in Battlefield Vietnam.
Related properties: AddArmorEffect, AddTemplate, AiTemplate, DamageFromWater, GUIIndex, HpLostWhileDamageFromWater, HpLostWhileUpSideDown, MaxVertRegAngle, NoVertRegAngle, RegulatePitch, RegulatePitchInput, RegulateRoll, RegulateRollInput, RegulateVerticalPos, RegulateVerticalPosInput, RegulateYawInput, SetSoldierExitLocation
Used in object types (and how often in each type): PlayerControlObject (2%)
Used in a total of 6 .con files: Objects.con
Parent directory of these .con files: vietnamObjects/Vehicles
Example: (from vietnamObjects/Vehicles/Air/Chinook/Objects.con)
rem *** Chinook ***
ObjectTemplate.Create PlayerControlObject Chinook
ObjectTemplate.NetworkableInfo Chinookbodyinfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.TimeToLiveAfterDeath 5
ObjectTemplate.Drag 0.8
ObjectTemplate.Mass 13000
ObjectTemplate.InertiaModifier 1/1/1
ObjectTemplate.ExplosionRadius 12
ObjectTemplate.ExplosionDamage 5
ObjectTemplate.ExplosionForceMod 15
ObjectTemplate.HasArmor 1
ObjectTemplate.AngleMod 1
ObjectTemplate.SpeedMod 1
ObjectTemplate.Hitpoints 100
ObjectTemplate.Maxhitpoints 100
ObjectTemplate.Material 60
ObjectTemplate.CriticalDamage 10
ObjectTemplate.HpLostWhileCriticalDamage 1.5
ObjectTemplate.DamageFromWater 0
ObjectTemplate.HpLostWhileUpSideDown 10
ObjectTemplate.HpLostWhileDamageFromWater 10
ObjectTemplate.AddArmorEffect 50 em_StukaDamage 0/0.882/5.786
ObjectTemplate.AddArmorEffect 50 em_PlaneDamage 0/0.882/5.786
ObjectTemplate.AddArmorEffect 25 em_PlaneDamage 0/0.882/5.786
ObjectTemplate.AddArmorEffect 25 em_StukaDamage 0/2.169/-5.988
ObjectTemplate.AddArmorEffect 25 em_PlaneDamage 0/2.169/-5.988
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage 0/0.882/5.786
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage 0/2.169/-5.988
ObjectTemplate.AddArmorEffect 15 em_StukaDamage -1.46/0.118/-6.136
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage -1.46/0.118/-6.136
ObjectTemplate.AddArmorEffect 15 em_StukaDamage 1.433/0.118/-6.136
ObjectTemplate.AddArmorEffect 15 em_PlaneDamage 1.433/0.118/-6.136
ObjectTemplate.AddArmorEffect 10 e_StukaFire -1.46/0.118/-6.136
ObjectTemplate.AddArmorEffect 10 e_StukaFire 1.433/0.118/-6.136
ObjectTemplate.AddArmorEffect 0 e_ExplGas 0/-1.158/0.94
rem ObjectTemplate.addArmorEffect 0 e_scrapmetal_UH1 0/0/0
ObjectTemplate.AddArmorEffect -1 WaterWaterExplosion 0/0/0
ObjectTemplate.AiTemplate Chinook
ObjectTemplate.RegulatePitchInput c_PIPitch
ObjectTemplate.RegulateYawInput c_PIYaw
ObjectTemplate.RegulateRollInput c_PIRoll
ObjectTemplate.RegulatePitch -0.07/0.5
ObjectTemplate.RegulateYaw -0.04/0.5
ObjectTemplate.RegulateRoll 0.07/0.8
ObjectTemplate.RegulateVerticalPosInput c_PIThrottle
ObjectTemplate.RegulateVerticalPos -0.6/0.9
ObjectTemplate.MaxVertRegAngle 10
ObjectTemplate.NoVertRegAngle 14
rem -------------------------------------
ObjectTemplate.AddTemplate lodChinook
ObjectTemplate.AddTemplate Chinook_Floater
ObjectTemplate.SetPosition -1.5/-2.4/3.0
ObjectTemplate.AddTemplate Chinook_Floater
ObjectTemplate.SetPosition 1.5/-2.4/3.0
ObjectTemplate.AddTemplate Chinook_Floater
ObjectTemplate.SetPosition -1.5/-2.4/-4
ObjectTemplate.AddTemplate Chinook_Floater
ObjectTemplate.SetPosition 1.5/-2.4/-4
rem -------------------------------------
ObjectTemplate.SetSoldierExitLocation -3/-1.5/2.5 0/0/0
ObjectTemplate.GUIIndex 108
ObjectTemplate.VehicleIcon "Vehicle/icon_uh1transport.dds"
ObjectTemplate.HasGyroScope 1
ObjectTemplate.VehicleIconPos 102/98
ObjectTemplate.NumberOfWeaponIcons 0
rem ObjectTemplate.primaryAmmoIcon "Ammo/Icon_bullet.tga"
rem ObjectTemplate.primaryAmmoBar ABAmmoBar
rem ObjectTemplate.crossHairType CHTIcon
ObjectTemplate.VehicleCategory VCAir
ObjectTemplate.VehicleType VTFighter
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_huey_16x16.dds"
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.