FloatingBundle Type

The FloatingBundle object type is created by ObjectTemplate.Create.

A FloatingBundle is used to allow objects to float, including vehicles. Floating bundles are usually found in Phyics.con. Once a FloatingBundle is created, it can be attached to any PlayerControlObject by using the AddTemplate command.

Used in a total of 30 .con files: Physics.con, Weapons.con

Parent directories of these .con files: objects/Vehicles, Bf1942/Levels

Example: (from objects/Vehicles/Sea/Raft/Physics.con)
   rem *** Dingy_Floater ***
   ObjectTemplate.Create FloatingBundle Dingy_Floater
   ObjectTemplate.SetHullHeight 0.2
   ObjectTemplate.SetFloatMaxLift 6
   ObjectTemplate.SetFloatMinLift 6
   ObjectTemplate.SetSinkingSpeedMod 1

Properties used with this type of object:
   ObjectTemplate.Acceleration
   ObjectTemplate.AutomaticReset
   ObjectTemplate.Create
   ObjectTemplate.DragModifier
   ObjectTemplate.FloatMaxLift
   ObjectTemplate.FloatMinLift
   ObjectTemplate.HullHeight
   ObjectTemplate.InputToPitch
   ObjectTemplate.MaxRotation
   ObjectTemplate.MaxSpeed
   ObjectTemplate.MinRotation
   ObjectTemplate.SaveInSeparateFile
   ObjectTemplate.SetAcceleration
   ObjectTemplate.SetAutomaticReset
   ObjectTemplate.SetDragModifier
   ObjectTemplate.SetFloatMaxLift
   ObjectTemplate.SetFloatMinLift
   ObjectTemplate.SetHullHeight
   ObjectTemplate.SetInputToPitch
   ObjectTemplate.SetMaxRotation
   ObjectTemplate.SetMaxSpeed
   ObjectTemplate.SetMinRotation
   ObjectTemplate.SetNetworkableInfo
   ObjectTemplate.SetSinkingSpeedMod


Go to the ObjectTemplate type list page, ObjectTemplate page, All Types list, Class list, CON file list, or Main scripting page.