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
Line 1: Line 1:
An entity that creates rising bubbles. Can be used under water in example.
+
{{Infobox_entity
 +
| classname = air_bubbles
 +
| commonname = Air Bubbles
 +
| type = point
 +
| dimensions = 16 x 16 x 16
 +
| quakec = [[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|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 ===
 +
{| class="wikitable" width="100%"
 +
|-
 +
| ! bgcolor="#eeeeee" width="100px" | ''targetname''
 +
| The targetname of the Entity.
 +
|}
 +
 
 +
===Spawnflags===
 +
The entity_name entity supports the standard spawnflags for difficulty and deathmatch presence.
 +
{{Template:Mode_spawnflags
 +
| entity = The Entity
 +
}}
 +
 
 +
==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.
 +
<pre>
 +
@PointClass base(Appearflags) color(0 150 220) model( { path: "progs/s_bubble.spr" } ) = air_bubbles : "Air bubbles" []
 +
</pre>
 +
===DEF Definition===
 +
This is the definition format used for most old Quake editors, including the original [[QuakeEd]].
 +
<pre>
 +
/*QUAKED air_bubbles (0 .5 .8) (-8 -8 -8) (8 8 8)
 +
Air bubbles. They disappear in Deathmatch.
 +
*/
 +
</pre>
 +
 
 +
[[Category:Quake entities]]
 +
 
 +
----

Revision as of 00:01, 29 May 2022

air_bubbles
(Air Bubbles)
Entity type point
Entity class {{{class}}}
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 entity_name entity supports the standard spawnflags for difficulty and deathmatch presence.

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.
*/