SetMiscDev Property

Usage:
   ObjectTemplate.SetMiscDev number number number

Argument values:

argument 1:    range is 0 to 4.8; most commonly 2.5
argument 2:    range is 0 to 2.5; most commonly 2.5
argument 3:    range is 0 to 1.5; most commonly 0.1

Description: Deviance due to jumping.

 x - maximum deviation due to this action
 y - how much to add per action
 z - how much to reduce per server-frame

All x-values (maximum deviation) of SetFireDev, SetMiscDev, SetSpeedDev, and SetTurnDev are added together.

Related properties: SetDevMod, SetFireDev, SetMinDev, SetSpeedDev, SetTurnDev

Used in object types (and how often in each type): HandFireArms (48%)

Used in a total of 44 .con files: Objects.con

Parent directory of these .con files: objects/HandWeapons

Example: (from objects/HandWeapons/Mp18/Objects.con)
   ObjectTemplate.Create HandFireArms Mp18
   ObjectTemplate.ItemIndex 3
   ObjectTemplate.NetworkableInfo HandFireArmsInfo
   ObjectTemplate.ProjectileTemplate Mp40Projectile
   rem ObjectTemplate.setTracerTemplate Tracer_Projectile CRD_UNIFORM/2/4/0
   ObjectTemplate.ProjectilePosition 0/0/0
   ObjectTemplate.HasDynamicShadow 1
   ObjectTemplate.MagSize 32
   ObjectTemplate.NumOfMag 5
   ObjectTemplate.MagType 0
   ObjectTemplate.Reloadtime 4.3
   ObjectTemplate.RoundOfFire 9
   ObjectTemplate.GUIIndex 7
   ObjectTemplate.SetHudAmmoType ATAmmoBar
   ObjectTemplate.SetAmmoBar "Ingame/Magbar_SMG_empty_32x64.tga"
   ObjectTemplate.SetAmmoBarFill "Ingame/Magbar_SMG_full_32x64.tga"
   ObjectTemplate.SetAmmoBarSize 46
   ObjectTemplate.SetAmomBarPosX 4
   ObjectTemplate.SetAmomBarPosY -11
   ObjectTemplate.SetAmomBarTextPosX 8
   ObjectTemplate.SetAmomBarTextPosY 4
   ObjectTemplate.SetCrossHairType CHTCrossHair
   ObjectTemplate.AiTemplate Mp18AI
   ObjectTemplate.ZoomFov 0.6
   ObjectTemplate.AltFireOnce 1
   ObjectTemplate.SoldierZoomFov 0.6
   ObjectTemplate.SoldierZoomPosition -0.05/0.02/0.06
   ObjectTemplate.SoldierCameraPosition -0.01/-0.04/0.09
   ObjectTemplate.AddRootSpeed 0
   ObjectTemplate.AmmoType 1
   ObjectTemplate.MinDamage 0.5
   ObjectTemplate.DistToStartLoseDamage 50
   ObjectTemplate.DistToMinDamage 100
   rem ObjectTemplate.autoReload 1
   Rem *** Deviation Begin *****
   ObjectTemplate.Velocity 1000
   ObjectTemplate.SetRecoilForceUp CRD_UNIFORM/0.21/0.25/0
   ObjectTemplate.SetRecoilForceLeftRight CRD_UNIFORM/-0.1/0.1/0
   ObjectTemplate.SetHasRecoilForce 1
   ObjectTemplate.SetGoBackOnRecoil 1
   ObjectTemplate.SetFireDev 2.0 0.35 0.06
   ObjectTemplate.SetDevMod 1.2 1.05 0.9
   ObjectTemplate.SetMinDev 0.4
   ObjectTemplate.SetTurnDev 0 0 0 0
   ObjectTemplate.SetSpeedDev 0.8 0.2 0.2 0.1
   ObjectTemplate.SetMiscDev 2.5 2.5 0.1
   Rem *** Deviation End *****
   ObjectTemplate.FireInCameraDof 1
   ObjectTemplate.LoadSoundScript Sounds/Mp18.ssc
   ObjectTemplate.CreateSkeleton animations/Mp18.ske
   ObjectTemplate.UseSkeletonPartAsMain Mp18
   ObjectTemplate.AddTemplate Mp18Lod
   ObjectTemplate.AddTemplate e_MuzzThomp
   ObjectTemplate.SetInputId -1
   ObjectTemplate.Startoneffects 0
   ObjectTemplate.SetPosition 0/0.058/0.3
   ObjectTemplate.SetRotation 0/0/0
   ObjectTemplate.AddTemplate e_Shell9mm
   ObjectTemplate.SetInputId -1
   ObjectTemplate.Startoneffects 0
   ObjectTemplate.SetPosition 0/0.02/0.43
   ObjectTemplate.SetRotation 0/0/0


Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.