Usage:
ObjectTemplate.SetRecoilForceUp
CRD
Argument values:
argument 1: | CRD, e.g. CRD_UNIFORM/0.21/0.24/0, CRD_UNIFORM/0.21/0.25/0, CRD_UNIFORM/0.28/0.32/0, CRD_UNIFORM/0.3/0.6/0, CRD_UNIFORM/0.35/0.43/0, CRD_UNIFORM/0.4/0.2/0, CRD_UNIFORM/0.4/0.6/0, CRD_UNIFORM/0.45/0.25/0, CRD_UNIFORM/0.6/0.25/0, ... |
Description: Argument 1 is a CRD type.
Related properties: FireInCameraDof, SetFireDev, SetGoBackOnRecoil, SetHasRecoilForce, SetMinDev, SetMiscDev, SetRecoilForceLeftRight, SetSpeedDev, SetTurnDev
Used in object types (and how often in each type): HandFireArms (46%)
Used in a total of 44 .con files: Objects.con
Parent directory of these .con files: objects/HandWeapons
Example: (from objects/HandWeapons/WalterP38/Objects.con)
ObjectTemplate.Create HandFireArms WalterP38
ObjectTemplate.ItemIndex 2
ObjectTemplate.NetworkableInfo HandFireArmsInfo
ObjectTemplate.ProjectileTemplate p38Projectile
ObjectTemplate.ProjectilePosition 0/0/0
ObjectTemplate.HasDynamicShadow 1
ObjectTemplate.MagSize 8
ObjectTemplate.NumOfMag 4
ObjectTemplate.MagType 0
ObjectTemplate.Reloadtime 4
ObjectTemplate.RoundOfFire 6
ObjectTemplate.FireOnce 1
ObjectTemplate.AiTemplate P38AI
ObjectTemplate.ZoomFov 0.7
ObjectTemplate.AltFireOnce 1
ObjectTemplate.SoldierZoomFov 0.5
ObjectTemplate.SoldierZoomPosition -0.01/-0.01/0.1
ObjectTemplate.SoldierCameraPosition 0.02/-0.05/0.2
ObjectTemplate.AmmoType 1
ObjectTemplate.AddRootSpeed 0
ObjectTemplate.MinDamage 0.5
ObjectTemplate.DistToStartLoseDamage 20
ObjectTemplate.DistToMinDamage 40
rem ObjectTemplate.autoReload 1
Rem *** Deviation Begin *****
ObjectTemplate.Velocity 400
ObjectTemplate.SetRecoilForceUp CRD_UNIFORM/0.4/0.6/0
ObjectTemplate.SetRecoilForceLeftRight CRD_UNIFORM/-0.2/-0.2/0
ObjectTemplate.SetHasRecoilForce 1
ObjectTemplate.SetGoBackOnRecoil 1
ObjectTemplate.SetFireDev 2.5 1.5 0.07
ObjectTemplate.SetMinDev 0.2
ObjectTemplate.SetTurnDev 0 0 0 0
ObjectTemplate.SetSpeedDev 1.5 0.2 0.2 0.1
ObjectTemplate.SetMiscDev 2.5 2.5 0.1
Rem *** Deviation End *****
ObjectTemplate.FireInCameraDof 1
ObjectTemplate.LoadSoundScript Sounds/WalterP38.ssc
ObjectTemplate.GUIIndex 1
ObjectTemplate.SetHudAmmoType ATAmmoBar
ObjectTemplate.SetAmmoBar "Ingame/Magbar_Pistol_empty_32x64.tga"
ObjectTemplate.SetAmmoBarFill "Ingame/Magbar_Pistol_full_32x64.tga"
ObjectTemplate.SetAmmoBarSize 41
ObjectTemplate.SetAmomBarPosX 5
ObjectTemplate.SetAmomBarPosY -11
ObjectTemplate.SetAmomBarTextPosX 6
ObjectTemplate.SetAmomBarTextPosY 4
ObjectTemplate.SetCrossHairType CHTCrossHair
ObjectTemplate.CreateSkeleton animations/WalterP38.ske
ObjectTemplate.UseSkeletonPartAsMain WalterP38
ObjectTemplate.AddTemplate WalterP38Lod
ObjectTemplate.AddTemplate e_MuzzGun
ObjectTemplate.SetInputId -1
ObjectTemplate.Startoneffects 0
ObjectTemplate.SetPosition 0.005/0.03/0.165
ObjectTemplate.SetRotation 0/0/0
ObjectTemplate.AddTemplate e_Shell9mm
ObjectTemplate.SetInputId -1
ObjectTemplate.Startoneffects 0
ObjectTemplate.SetPosition 0.01/0.02/0.28
ObjectTemplate.SetRotation 0/0/0
Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.