generated from the code
CON objects: every page
The CON language, templates and components, and every property a .con or .tweak file can set.
113 pages.
- The CON system: The console script language every object, weapon, vehicle and level of the three games is written in.
- Add a vehicle: A worked example - a new vehicle built from the shipped BF2 HMMWV, from files to a spawner in a level.
- Add a weapon: A worked example - a new rifle built from the shipped BF2 M16A2 - fire, ammo, deviation, recoil, zoom and the projectile.
- CON property reference: Every ObjectTemplate class and component, and every property a .con / .tweak file can set on it. Generated on each build from the tables bf2-rs is built from (re/data/template_properties.tsv, re/data/template_types.tsv) and the Rust ..
- Ability (component): A template component (class id 0x0000c4b2): its properties are set through their prefix on the active template.
- AirDraftEffectBundle (template class): Template type dice.hfe.world.ObjectTemplate.AirDraftEffectBundle (class id 0x00009485). Inheritance: 0x0000946f > SimpleObject > AirDraftEffectBundle. ObjectTemplate.create AirDraftEffectBundle my_airdrafteffectbundle Types that have ..
- AmbientEffectArea (template class): Template type dice.hfe.world.ObjectTemplate.AmbientEffectArea (class id 0x00009c44). Inheritance: 0x0000946f > Bundle > SimpleObject > AmbientEffectArea. ObjectTemplate.create AmbientEffectArea my_ambienteffectarea Types that have these ..
- AnimatedBundle (template class): Template type dice.hfe.world.ObjectTemplate.AnimatedBundle (class id 0x0000949c). Inheritance: 0x0000946f > Bundle > SimpleObject > AnimatedBundle. ObjectTemplate.create AnimatedBundle my_animatedbundle Types that have these properties: ..
- AntennaObject (template class): Template type dice.hfe.world.ObjectTemplate.AntennaObject (class id 0x0000949d). Inheritance: 0x0000946f > SimpleObject > AntennaObject. ObjectTemplate.create AntennaObject my_antennaobject Types that have these properties: AntennaObject
- AreaObject (template class): Template type dice.hfe.world.ObjectTemplate.AreaObject (class id 0x000094b3). Inheritance: 0x0000946f > Bundle > SimpleObject > AreaObject. ObjectTemplate.create AreaObject my_areaobject Types that have these properties: AreaObject
- Armor (component): A template component (class id 0x0000c4aa): its properties are set through their prefix on the active template.
- Bundle (template class): Template type dice.hfe.world.ObjectTemplate.Bundle (class id 0x00009471). Inheritance: 0x0000946f > Bundle > SimpleObject. ObjectTemplate.create Bundle my_bundle Types that have these properties: AmbientEffectArea, AnimatedBundle, ..
- Camera (template class): Template type dice.hfe.world.ObjectTemplate.Camera (class id 0x00009472). Inheritance: 0x0000946f > Bundle > Camera > RotationalBundle > SimpleObject. ObjectTemplate.create Camera my_camera Types that have these properties: Camera
- ControlPoint (template class): Template type dice.hfe.world.ObjectTemplate.ControlPoint (class id 0x000094a5). Inheritance: 0x0000946f > Bundle > SimpleObject > ControlPoint. ObjectTemplate.create ControlPoint my_controlpoint Types that have these properties: ..
- Decal (template class): Template type dice.hfe.world.ObjectTemplate.Decal (class id 0x00009487). Inheritance: 0x0000946f > Decal. ObjectTemplate.create Decal my_decal Types that have these properties: Decal
- DefaultAmmoComp (component): A template component (class id 0x000094e0): its properties are set through their prefix on the active template.
- DefaultAnimationComp (component): A template component (class id 0x000094e8): its properties are set through their prefix on the active template.
- DefaultCollisionComp (component): A template component (class id 0x0000953a): its properties are set through their prefix on the active template.
- DefaultDetonationComp (component): A template component (class id 0x0000953b): its properties are set through their prefix on the active template.
- DefaultFollowComp (component): A template component (class id 0x00009542): its properties are set through their prefix on the active template.
- DefaultPenetrateComp (component): A template component (class id 0x0000953e): its properties are set through their prefix on the active template.
- DefaultSoundComp (component): A template component (class id 0x000094e7): its properties are set through their prefix on the active template.
- DefaultZoomComp (component): A template component (class id 0x000094e5): its properties are set through their prefix on the active template.
- DestroyableObject (template class): Template type dice.hfe.world.ObjectTemplate.DestroyableObject (class id 0x0000c4d0). Inheritance: 0x0000946f > Bundle > SimpleObject > DestroyableObject. ObjectTemplate.create DestroyableObject my_destroyableobject Types that have these ..
- DestroyableWindow (template class): Template type dice.hfe.world.ObjectTemplate.DestroyableWindow (class id 0x0000c4dd). Inheritance: 0x0000946f > SimpleObject > DestroyableWindow. ObjectTemplate.create DestroyableWindow my_destroyablewindow Types that have these ..
- DestroyableWindowsBundle (template class): Template type dice.hfe.world.ObjectTemplate.DestroyableWindowsBundle (class id 0x0000c4dc). Inheritance: 0x0000946f > Bundle > SimpleObject > DestroyableWindowsBundle. ObjectTemplate.create DestroyableWindowsBundle ..
- DropVehicle (template class): Template type dice.hfe.world.ObjectTemplate.DropVehicle (class id 0x00009c54). Inheritance: 0x0000946f > SimpleObject > DropVehicle. ObjectTemplate.create DropVehicle my_dropvehicle Types that have these properties: DropVehicle
- DynamicBundle (template class): Template type dice.hfe.world.ObjectTemplate.DynamicBundle (class id 0x00009c41). Inheritance: 0x0000946f > Bundle > SimpleObject > DynamicBundle. ObjectTemplate.create DynamicBundle my_dynamicbundle Types that have these properties: ..
- EffectBundle (template class): Template type dice.hfe.world.ObjectTemplate.EffectBundle (class id 0x00009474). Inheritance: 0x0000946f > Bundle > EffectBundle > SimpleObject. ObjectTemplate.create EffectBundle my_effectbundle Types that have these properties: ..
- Emitter (template class): Template type dice.hfe.world.ObjectTemplate.Emitter (class id 0x00009475). Inheritance: 0x0000946f > Emitter > SimpleObject. ObjectTemplate.create Emitter my_emitter Types that have these properties: Emitter
- Engine (template class): Template type dice.hfe.world.ObjectTemplate.Engine (class id 0x00009476). Inheritance: 0x0000946f > Bundle > Engine > RotationalBundle > SimpleObject. ObjectTemplate.create Engine my_engine Types that have these properties: Engine
- EntryPoint (template class): Template type dice.hfe.world.ObjectTemplate.EntryPoint (class id 0x00009477). Inheritance: 0x0000946f > EntryPoint > SimpleObject. ObjectTemplate.create EntryPoint my_entrypoint Types that have these properties: EntryPoint
- EnvMap (template class): Template type dice.hfe.world.ObjectTemplate.EnvMap (class id 0x00009488). Inheritance: 0x0000946f > SimpleObject > EnvMap. ObjectTemplate.create EnvMap my_envmap Types that have these properties: EnvMap
- ExplosivesFireComp (component): A template component (class id 0x000094df): its properties are set through their prefix on the active template.
- FixedTargetComp (component): A template component (class id 0x00009541): its properties are set through their prefix on the active template.
- FloatingBundle (template class): Template type dice.hfe.world.ObjectTemplate.FloatingBundle (class id 0x00009478). Inheritance: 0x0000946f > Bundle > FloatingBundle > RotationalBundle > SimpleObject. ObjectTemplate.create FloatingBundle my_floatingbundle Types that ..
- ForceObject (template class): Template type dice.hfe.world.ObjectTemplate.ForceObject (class id 0x00009489). Inheritance: 0x0000946f > SimpleObject > ForceObject. ObjectTemplate.create ForceObject my_forceobject Types that have these properties: ForceObject
- FreeCamera (template class): Template type dice.hfe.world.ObjectTemplate.FreeCamera (class id 0x0000948b). Inheritance: 0x0000946f > Bundle > SimpleObject > FreeCamera. ObjectTemplate.create FreeCamera my_freecamera Types that have these properties: FreeCamera
- GenericFireArm (template class): Template type dice.hfe.world.ObjectTemplate.GenericFireArm (class id 0x000094d3). Inheritance: 0x0000946f > Bundle > SimpleObject > AnimatedBundle > GenericFireArm. ObjectTemplate.create GenericFireArm my_genericfirearm Types that have ..
- GenericProjectile (template class): Template type dice.hfe.world.ObjectTemplate.GenericProjectile (class id 0x00009539). Inheritance: 0x0000946f > Bundle > SimpleObject > GenericProjectile. ObjectTemplate.create GenericProjectile my_genericprojectile Types that have these ..
- GrapplingHookRope (template class): Template type dice.hfe.world.ObjectTemplate.GrapplingHookRope (class id 0x00009c4d). Inheritance: 0x0000946f > SimpleObject > GrapplingHookRope. ObjectTemplate.create GrapplingHookRope my_grapplinghookrope Types that have these ..
- GrapplingHookRopeContainer (template class): Template type dice.hfe.world.ObjectTemplate.GrapplingHookRopeContainer (class id 0x00009c4f). Inheritance: 0x0000946f > Bundle > SimpleObject > GrapplingHookRopeContainer > PlayerControlObject. ObjectTemplate.create ..
- GroundEffectBundle (template class): Template type dice.hfe.world.ObjectTemplate.GroundEffectBundle (class id 0x00009486). Inheritance: 0x0000946f > SimpleObject > GroundEffectBundle. ObjectTemplate.create GroundEffectBundle my_groundeffectbundle Types that have these ..
- HookLink (template class): Template type dice.hfe.world.ObjectTemplate.HookLink (class id 0x00009c51). Inheritance: 0x0000946f > SimpleObject > HookLink. ObjectTemplate.create HookLink my_hooklink Types that have these properties: HookLink
- Ik (component): A template component (class id 0x0000c4cc): its properties are set through their prefix on the active template.
- Item (template class): Template type dice.hfe.world.ObjectTemplate.Item (class id 0x00009492). Inheritance: 0x0000946f > Bundle > SimpleObject > Item. ObjectTemplate.create Item my_item Types that have these properties: Item, Kit
- ItemContainer (template class): Template type dice.hfe.world.ObjectTemplate.ItemContainer (class id 0x00009499). Inheritance: 0x0000946f > Bundle > SimpleObject > ItemContainer. ObjectTemplate.create ItemContainer my_itemcontainer Types that have these properties: ..
- Kit (template class): Template type dice.hfe.world.ObjectTemplate.Kit (class id 0x00009496). Inheritance: 0x0000946f > Bundle > SimpleObject > Item > Kit. ObjectTemplate.create Kit my_kit Types that have these properties: Kit
- KitPart (template class): Template type dice.hfe.world.ObjectTemplate.KitPart (class id 0x000094a3). Inheritance: 0x0000946f > Bundle > SimpleObject > KitPart. ObjectTemplate.create KitPart my_kitpart Types that have these properties: KitPart
- Ladder (template class): Template type dice.hfe.world.ObjectTemplate.Ladder (class id 0x00009c40). Inheritance: 0x0000946f > SimpleObject > Ladder. ObjectTemplate.create Ladder my_ladder Types that have these properties: Ladder
- LadderContainer (template class): Template type dice.hfe.world.ObjectTemplate.LadderContainer (class id 0x00009c46). Inheritance: 0x0000946f > Bundle > SimpleObject > LadderContainer > PlayerControlObject. ObjectTemplate.create LadderContainer my_laddercontainer Types ..
- LandingGear (template class): Template type dice.hfe.world.ObjectTemplate.LandingGear (class id 0x000094ae). Inheritance: 0x0000946f > Bundle > RotationalBundle > SimpleObject > LandingGear. ObjectTemplate.create LandingGear my_landinggear Types that have these ..
- LightSource (template class): Template type dice.hfe.world.ObjectTemplate.LightSource (class id 0x000094c7). Inheritance: 0x0000946f > LightSource. ObjectTemplate.create LightSource my_lightsource Types that have these properties: LightSource
- LPFireComp (component): A template component (class id 0x000094dd): its properties are set through their prefix on the active template.
- LPTargetComp (component): A template component (class id 0x000094eb): its properties are set through their prefix on the active template.
- MaskObject (template class): Template type dice.hfe.world.ObjectTemplate.MaskObject (class id 0x00009497). Inheritance: 0x0000946f > Bundle > SimpleObject > MaskObject > AnimatedBundle. ObjectTemplate.create MaskObject my_maskobject Types that have these ..
- MeshParticleSystem (template class): Template type dice.hfe.world.ObjectTemplate.MeshParticleSystem (class id 0x000094d0). Inheritance: 0x0000946f > MeshParticleSystem. ObjectTemplate.create MeshParticleSystem my_meshparticlesystem Types that have these properties: ..
- MultiFireArmTargetComp (component): A template component (class id 0x000094ea): its properties are set through their prefix on the active template.
- MultiFireComp (component): A template component (class id 0x000094dc): its properties are set through their prefix on the active template.
- NonScreenAlignedParticleSystem (template class): Template type dice.hfe.world.ObjectTemplate.NonScreenAlignedParticleSystem (class id 0x00009537). Inheritance: 0x0000946f > NonScreenAlignedParticleSystem. ObjectTemplate.create NonScreenAlignedParticleSystem ..
- ObjectSpawner (template class): Template type dice.hfe.world.ObjectTemplate.ObjectSpawner (class id 0x000094a1). Inheritance: 0x0000946f > SimpleObject > ObjectSpawner. ObjectTemplate.create ObjectSpawner my_objectspawner Types that have these properties: ObjectSpawner
- Obstacle (template class): Template type dice.hfe.world.ObjectTemplate.Obstacle (class id 0x000094af). Inheritance: 0x0000946f > Bundle > SimpleObject > Obstacle. ObjectTemplate.create Obstacle my_obstacle Types that have these properties: Obstacle
- OverheadCamera (template class): Template type dice.hfe.world.ObjectTemplate.OverheadCamera (class id 0x0000948c). Inheritance: 0x0000946f > Bundle > SimpleObject > OverheadCamera. ObjectTemplate.create OverheadCamera my_overheadcamera Types that have these properties: ..
- Parachute (template class): Template type dice.hfe.world.ObjectTemplate.Parachute (class id 0x0000c5a8). Inheritance: 0x0000946f > Bundle > SimpleObject > PlayerControlObject > Parachute. ObjectTemplate.create Parachute my_parachute Types that have these ..
- Particle (template class): Template type dice.hfe.world.ObjectTemplate.Particle (class id 0x0000947b). Inheritance: 0x0000946f > Particle. ObjectTemplate.create Particle my_particle Types that have these properties: Particle
- ParticleSystemEmitter (template class): Template type dice.hfe.world.ObjectTemplate.ParticleSystemEmitter (class id 0x000094d2). Inheritance: 0x0000946f > ParticleSystemEmitter. ObjectTemplate.create ParticleSystemEmitter my_particlesystememitter Types that have these ..
- PlayerControlObject (template class): Template type dice.hfe.world.ObjectTemplate.PlayerControlObject (class id 0x0000c4c2). Inheritance: 0x0000946f > Bundle > SimpleObject > PlayerControlObject. ObjectTemplate.create PlayerControlObject my_playercontrolobject Types that ..
- Radio (component): A template component (class id 0x0000c4b6): its properties are set through their prefix on the active template.
- RemoteControlledObject (template class): Template type dice.hfe.world.ObjectTemplate.RemoteControlledObject (class id 0x00009c42). Inheritance: 0x0000946f > Bundle > SimpleObject > RemoteControlledObject. ObjectTemplate.create RemoteControlledObject my_remotecontrolledobject ..
- ReplenishCollisionComp (component): A template component (class id 0x00009544): its properties are set through their prefix on the active template.
- ReplenishDetonationComp (component): A template component (class id 0x00009547): its properties are set through their prefix on the active template.
- ReplenishingAmmoComp (component): A template component (class id 0x000094ed): its properties are set through their prefix on the active template.
- ResurrectCollisionComp (component): A template component (class id 0x00009545): its properties are set through their prefix on the active template.
- RopeLink (template class): Template type dice.hfe.world.ObjectTemplate.RopeLink (class id 0x00009c4e). Inheritance: 0x0000946f > SimpleObject > RopeLink. ObjectTemplate.create RopeLink my_ropelink Types that have these properties: RopeLink
- RotationalBundle (template class): Template type dice.hfe.world.ObjectTemplate.RotationalBundle (class id 0x0000947d). Inheritance: 0x0000946f > Bundle > RotationalBundle > SimpleObject. ObjectTemplate.create RotationalBundle my_rotationalbundle Types that have these ..
- Rotor (template class): Template type dice.hfe.world.ObjectTemplate.Rotor (class id 0x000094cb). Inheritance: 0x0000946f > Bundle > SimpleObject > Rotor. ObjectTemplate.create Rotor my_rotor Types that have these properties: Rotor
- SeekClosestTargetComp (component): A template component (class id 0x00009540): its properties are set through their prefix on the active template.
- SimpleDeviationComp (component): A template component (class id 0x000094e2): its properties are set through their prefix on the active template.
- SimpleObject (template class): Template type dice.hfe.world.ObjectTemplate.SimpleObject (class id 0x0000947e). Inheritance: 0x0000946f > SimpleObject. ObjectTemplate.create SimpleObject my_simpleobject Types that have these properties: AirDraftEffectBundle, ..
- SimpleTargetComp (component): A template component (class id 0x000094ec): its properties are set through their prefix on the active template.
- SingleFireComp (component): A template component (class id 0x000094db): its properties are set through their prefix on the active template.
- Soldier (template class): Template type dice.hfe.world.ObjectTemplate.Soldier (class id 0x00009493). Inheritance: 0x0000946f > Bundle > SimpleObject > Soldier. ObjectTemplate.create Soldier my_soldier Types that have these properties: Soldier
- SoldierBasedRecoilComp (component): A template component (class id 0x000094e3): its properties are set through their prefix on the active template.
- SoldierDeviationComp (component): A template component (class id 0x000094e1): its properties are set through their prefix on the active template.
- Sound (template class): Template type dice.hfe.world.ObjectTemplate.Sound (class id 0x00985fd1). Inheritance: 0x0000946f > Sound. ObjectTemplate.create Sound my_sound Types that have these properties: Sound
- SpawnObjectFireComp (component): A template component (class id 0x000094ef): its properties are set through their prefix on the active template.
- SpawnPoint (template class): Template type dice.bf.SpawnPoint (class id 0x0000948a). Inheritance: 0x0000946f > SpawnPoint. ObjectTemplate.create SpawnPoint my_spawnpoint Types that have these properties: SpawnPoint
- Spring (template class): Template type dice.hfe.world.ObjectTemplate.Spring (class id 0x00009481). Inheritance: 0x0000946f > Bundle > SimpleObject > Spring. ObjectTemplate.create Spring my_spring Types that have these properties: Spring
- SpriteParticle (template class): Template type dice.hfe.world.ObjectTemplate.SpriteParticle (class id 0x00009480). Inheritance: 0x0000946f > SpriteParticle. ObjectTemplate.create SpriteParticle my_spriteparticle Types that have these properties: SpriteParticle
- SpriteParticleSystem (template class): Template type dice.hfe.world.ObjectTemplate.SpriteParticleSystem (class id 0x000094cf). Inheritance: 0x0000946f > SpriteParticleSystem. ObjectTemplate.create SpriteParticleSystem my_spriteparticlesystem Types that have these properties: ..
- StickyCollisionComp (component): A template component (class id 0x00009546): its properties are set through their prefix on the active template.
- SupplyDepot (template class): Template type dice.hfe.world.ObjectTemplate.SupplyDepot (class id 0x000094a4). Inheritance: 0x0000946f > SimpleObject > SupplyDepot. ObjectTemplate.create SupplyDepot my_supplydepot Types that have these properties: SupplyDepot
- SupplyObject (template class): Template type dice.hfe.world.ObjectTemplate.SupplyObject (class id 0x00009c47). Inheritance: 0x0000946f > Bundle > SimpleObject > SupplyObject. ObjectTemplate.create SupplyObject my_supplyobject Types that have these properties: ..
- TargetDeviationComp (component): A template component (class id 0x000094ee): its properties are set through their prefix on the active template.
- TargetObject (template class): Template type dice.hfe.world.ObjectTemplate.TargetObject (class id 0x000094be). Inheritance: 0x0000946f > Bundle > SimpleObject > TargetObject. ObjectTemplate.create TargetObject my_targetobject Types that have these properties: ..
- ThrownFireComp (component): A template component (class id 0x000094de): its properties are set through their prefix on the active template.
- ToggleCameraComp (component): A template component (class id 0x000094e6): its properties are set through their prefix on the active template.
- TrailSystem (template class): Template type dice.hfe.world.ObjectTemplate.TrailSystem (class id 0x000094d1). Inheritance: 0x0000946f > TrailSystem. ObjectTemplate.create TrailSystem my_trailsystem Types that have these properties: TrailSystem
- Trigger (template class): Template type dice.hfe.world.ObjectTemplate.Trigger (class id 0x00009c45). Inheritance: 0x0000946f > Bundle > SimpleObject > Trigger. ObjectTemplate.create Trigger my_trigger Types that have these properties: Trigger
- Triggerable (template class): Template type dice.hfe.world.ObjectTemplate.Triggerable (class id 0x00009c4a). Inheritance: 0x0000946f > Bundle > SimpleObject > Triggerable. ObjectTemplate.create Triggerable my_triggerable Types that have these properties: Triggerable
- TriggerableTarget (template class): Template type dice.hfe.world.ObjectTemplate.TriggerableTarget (class id 0x00009c50). Inheritance: 0x0000946f > Bundle > SimpleObject > TriggerableTarget. ObjectTemplate.create TriggerableTarget my_triggerabletarget Types that have these ..
- TurnableRemoteControlledObject (template class): Template type dice.hfe.world.ObjectTemplate.TurnableRemoteControlledObject (class id 0x00009c43). Inheritance: 0x0000946f > Bundle > SimpleObject > RemoteControlledObject > TurnableRemoteControlledObject. ObjectTemplate.create ..
- UAVVehicle (template class): Template type dice.hfe.world.ObjectTemplate.UAVVehicle (class id 0x00009c53). Inheritance: 0x0000946f > Bundle > SimpleObject > UAVVehicle. ObjectTemplate.create UAVVehicle my_uavvehicle Types that have these properties: UAVVehicle
- WeaponBasedRecoilComp (component): A template component (class id 0x000094e4): its properties are set through their prefix on the active template.
- WheelEffectBundle (template class): Template type dice.hfe.world.ObjectTemplate.WheelEffectBundle (class id 0x00009484). Inheritance: 0x0000946f > SimpleObject > WheelEffectBundle. ObjectTemplate.create WheelEffectBundle my_wheeleffectbundle Types that have these ..
- WindAffector (component): A template component (class id 0x0127bc2d): its properties are set through their prefix on the active template.
- Wing (template class): Template type dice.hfe.world.ObjectTemplate.Wing (class id 0x00009483). Inheritance: 0x0000946f > Bundle > RotationalBundle > SimpleObject > Wing. ObjectTemplate.create Wing my_wing Types that have these properties: Wing
- Zipline (template class): Template type dice.hfe.world.ObjectTemplate.Zipline (class id 0x00009c49). Inheritance: 0x0000946f > SimpleObject > Zipline. ObjectTemplate.create Zipline my_zipline Types that have these properties: Zipline
- ZiplineContainer (template class): Template type dice.hfe.world.ObjectTemplate.ZiplineContainer (class id 0x00009c48). Inheritance: 0x0000946f > Bundle > SimpleObject > ZiplineContainer > PlayerControlObject. ObjectTemplate.create ZiplineContainer my_ziplinecontainer ..
- ZiplineRope (template class): Template type dice.hfe.world.ObjectTemplate.ZiplineRope (class id 0x00009c4c). Inheritance: 0x0000946f > SimpleObject > ZiplineRope. ObjectTemplate.create ZiplineRope my_ziplinerope Types that have these properties: ZiplineRope
- CON commands across the games, with their scope: Every template command a .con, .tweak or .ai file can use, in one table per console object: the argument types each game's program registers, the template classes that own it, and who reads it (server, client or both). This page merges ..
- Server-side vs client-side mods: Which template properties and files a server-only mod can change, which need the mod on every client, and why - with worked examples and the generated scope of every property.
- Server / client scope of every property and file: Built from the code by tools/bfheroes/mod_scope.py on every wiki build (see Server-side vs client-side mods for what the scopes mean and how they are derived). 2501 template commands: 177 server, 756 client, 1568 shared. Where the ..
Source:
tools/devwiki/build.py · built from bf2-rs e3b4f05 · part of the Battlefield 2 / 2142 / Heroes reimplementation. Not affiliated with EA or DICE.