Usage:
ObjectTemplate.SetFireCameraShakeAnimationState
name
Argument values:
argument 1: |
FireMachineGunShake; most commonly FireMachineGunShake
|
Related properties: MagSize, NumOfMag,
ProjectilePosition, RoundOfFire
Used in object types (and how often in each type): FireArms (14%)
Used in a total of 18 .con files: Objects.con,
Weapons.con
Parent directories of these .con files: objects/Vehicles, objects/Stationary_Weapons, Bf1942/Levels
Example: (from objects/Vehicles/Air/SBD-T/Weapons.con)
rem *** SBD-6_guns ***
ObjectTemplate.Create FireArms SBD-T6_guns
ObjectTemplate.SetNetworkableInfo PlaneFireArmInfo
ObjectTemplate.LoadSoundScript Sounds/SBDRearGuns.ssc
ObjectTemplate.Geometry 1p_SBD-6_guns_m1
rem -------------------------------------
ObjectTemplate.AddTemplate e_MuzzHeavy
ObjectTemplate.SetPosition 0.1/0.05/0.6
ObjectTemplate.AddTemplate e_MuzzHeavy
ObjectTemplate.SetPosition -0.099/0.05/0.6
rem -------------------------------------
ObjectTemplate.ProjectileTemplate SBD-T_Gun_Projectile
ObjectTemplate.SetTracerTemplate Tracer_Projectile CRD_NONE/2/0/0
ObjectTemplate.ProjectilePosition 0/0/2
ObjectTemplate.MagSize 600
ObjectTemplate.NumOfMag 1
ObjectTemplate.Velocity 400
ObjectTemplate.Reloadtime 0.1
ObjectTemplate.RoundOfFire 10
ObjectTemplate.AmmoType 10
ObjectTemplate.SetFireCameraShakeAnimationState FireMachineGunShake
ObjectTemplate.AddSkeletonIK Bip01_R_Hand 0.22/0.0/-0.95 -30/80/90
ObjectTemplate.AddSkeletonIK Bip01_L_Hand -0.05/0.0/-0.95 30/-100/-90
Go to the ObjectTemplate properties
list page, ObjectTemplate page,
All Properties list,
or Main scripting page.