Usage:
ObjectTemplate.SubmarineData
number number number number number number number
Argument values:
argument 1: | 0.009 |
argument 2: | 0.03 |
argument 3: | 1 1.0 |
argument 4: | 10 |
argument 5: | 12.5 19.5 |
argument 6: | 40 |
argument 7: | 5 |
Used in object types (and how often in each type): PlayerControlObject (1%)
Used in a total of 2 .con files: Objects.con
Parent directory of these .con files: objects/Vehicles
Example: (from objects/Vehicles/Sea/Sub7C/Objects.con) Go to the ObjectTemplate properties list page, ObjectTemplate page, All Properties list, or Main scripting page.
rem *** Sub7C ***
ObjectTemplate.Create PlayerControlObject Sub7C
ObjectTemplate.SetNetworkableInfo Sub7cBodyInfo
ObjectTemplate.SaveInSeparateFile 1
ObjectTemplate.HasMobilePhysics 1
ObjectTemplate.Drag 0.5
ObjectTemplate.Mass 800000
ObjectTemplate.HasCollisionPhysics 1
ObjectTemplate.HasResponsePhysics 1
ObjectTemplate.HasArmor 1
ObjectTemplate.Hitpoints 200
ObjectTemplate.Maxhitpoints 200
ObjectTemplate.Material 57
ObjectTemplate.CriticalDamage 100
ObjectTemplate.HpLostWhileCriticalDamage 1.5
ObjectTemplate.ExplosionForceMod 50
ObjectTemplate.DontClearTeamOnExit 1
ObjectTemplate.SpeedMod 0.05
ObjectTemplate.AddArmorEffect 135 em_Sub7cDamage 0/0/0
ObjectTemplate.AddArmorEffect 0 WaterExplosionSub 0/0/0
rem -------------------------------------
ObjectTemplate.AddTemplate lodSub7C
ObjectTemplate.AddTemplate Sub7C_Floater
ObjectTemplate.SetPosition 0/2/32
ObjectTemplate.AddTemplate Sub7C_Floater
ObjectTemplate.SetPosition -2.499/2/16
ObjectTemplate.AddTemplate Sub7C_Floater
ObjectTemplate.SetPosition 2.5/2/16
ObjectTemplate.AddTemplate Sub7C_Floater
ObjectTemplate.SetPosition -3.499/2/0
ObjectTemplate.AddTemplate Sub7C_Floater
ObjectTemplate.SetPosition 3.5/2/0
ObjectTemplate.AddTemplate Sub7C_Floater
ObjectTemplate.SetPosition -2.499/2/-15.999
ObjectTemplate.AddTemplate Sub7C_Floater
ObjectTemplate.SetPosition 2.5/2/-15.999
ObjectTemplate.AddTemplate Sub7C_Floater
ObjectTemplate.SetPosition 0/2/-31.999
ObjectTemplate.AddTemplate e_WaterFrontBigSub
ObjectTemplate.SetPosition 0/1/32
ObjectTemplate.AddTemplate e_Water06DiveSub7
ObjectTemplate.SetPosition 0/3/20
ObjectTemplate.AddTemplate e_Water510Dive
ObjectTemplate.SetPosition 0/1/8
ObjectTemplate.AddTemplate e_Water10BDive
ObjectTemplate.SetPosition 0/0/33
ObjectTemplate.AddTemplate e_Water10BDiveBack
ObjectTemplate.SetPosition 0/0/-29.999
ObjectTemplate.AddTemplate e_waterBoatSvallSub
ObjectTemplate.SetPosition 0/0/33
ObjectTemplate.SetRotation 90/0/0
ObjectTemplate.AddTemplate e_waterBoatSvallSub
ObjectTemplate.SetPosition 0/0/-30
ObjectTemplate.SetRotation 270/0/0
rem -------------------------------------
ObjectTemplate.SubPos 1
ObjectTemplate.SetSoldierExitLocation 0/6/15.5 0/0/0
ObjectTemplate.GUIIndex 87
ObjectTemplate.SetVehicleIcon "Vehicle/Icon_subVIIC.tga"
ObjectTemplate.SetVehicleIconPos 52/87
ObjectTemplate.SetNumberOfWeaponIcons 1
ObjectTemplate.SetPrimaryAmmoIcon "Ammo/Icon_torpedo.tga"
ObjectTemplate.SetPrimaryAmmoBar ABAmmoBarReloadBar
ObjectTemplate.SetCrossHairType CHTNone
ObjectTemplate.SetVehicleCategory VCSea
ObjectTemplate.SetVehicleType VTSubmarine
ObjectTemplate.SetToolTipType TTSubmarine
ObjectTemplate.SetMinimapIcon "Minimap/minimap_icon_submarine_32x32.tga"
ObjectTemplate.SetMinimapIconSize 32
rem ***
ObjectTemplate.SubmarineData 0.009 0.03 1.0 10 12.5 40 5
ObjectTemplate.SetSubmarineHudDepthModifier 2.2
ObjectTemplate.SetSubmarineHudDirModifier 0.00314150
ObjectTemplate.DisableSpawnPointsOnEnter 1