Hosting and domain costs until October 2024 have been generously sponsored by dumptruck_ds. Thank you!

Difference between revisions of "air bubbles"

From Quake Wiki

m
m (Spawnflags)
Line 26: Line 26:
  
 
===Spawnflags===
 
===Spawnflags===
The entity_name entity supports the standard spawnflags for difficulty and deathmatch presence.
+
The '''air_bubbles''' entity supports the standard spawnflags for difficulty and deathmatch presence (although in deathmatch it will be always removed).
 
{{Template:Mode_spawnflags
 
{{Template:Mode_spawnflags
 
| entity = The Entity
 
| entity = The Entity

Revision as of 16:26, 1 June 2022

air_bubbles
(Air Bubbles)
Entity type point
Entity class misc
Dimensions 16 x 16 x 16
Quake-C misc.qc
Precaches progs/s_bubble.spr

air_bubbles is a static non-solid point entity that continuously creates small blue air bubbles that slowly rise up.

Usage

Simply put air_bubbles in the map. The bubbles travel upwards a distance of around 200 units and disappear. If placed in shallow water, they don't disappear on the surface and will continue floating in the air. These air bubbles do not appear in Deathmatch, regardless of spawnflags. Can be killtarget'ed.

The first use of it in the game is in E1M4, grabbing player's attention to swim down to the underwater building with Super Nailgun. Another (and last) use of it is in E2M3.

Attributes

Keys

targetname The targetname of the Entity.

Spawnflags

The air_bubbles entity supports the standard spawnflags for difficulty and deathmatch presence (although in deathmatch it will be always removed).

Flag Common Name Description
256 Not on Easy The Entity will not spawn on Easy difficulty.
512 Not on Normal The Entity will not spawn on Normal difficulty.
1024 Not on Hard The Entity will not spawn on Hard difficulty.
2048 Not in Deathmatch The Entity will not spawn in Deathmatch mode.

Definitions

FGD Definition

This is the format used by TrenchBroom and Worldcraft. Note that the model(...) parameter is not supported by Worldcraft. This does not include the base class definition, which may also be required.

@PointClass base(Appearflags) color(0 150 220) model( { path: "progs/s_bubble.spr" } ) = air_bubbles : "Air bubbles" []

DEF Definition

This is the definition format used for most old Quake editors, including the original QuakeEd.

/*QUAKED air_bubbles (0 .5 .8) (-8 -8 -8) (8 8 8)
Air bubbles. They disappear in Deathmatch.
*/