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 (→Keys) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | {{Infobox_entity | |
+ | | classname = air_bubbles | ||
+ | | commonname = Air Bubbles | ||
+ | | type = point | ||
+ | | class = misc | ||
+ | | 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 === | ||
+ | Originally there are none, but like many entities, this can be killtargeted, targeted by light entity or even used for a maphack. | ||
+ | {| class="wikitable" width="100%" | ||
+ | |- | ||
+ | | ! bgcolor="#eeeeee" width="100px" | ''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). | ||
+ | {{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]] | ||
+ | |||
+ | ---- |
Latest revision as of 16:29, 1 June 2022
air_bubbles | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
air_bubbles is a static non-solid point entity that continuously creates small blue air bubbles that slowly rise up.
Contents
Usage[edit]
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[edit]
Keys[edit]
Originally there are none, but like many entities, this can be killtargeted, targeted by light entity or even used for a maphack.
targetname | The targetname of the Entity. |
Spawnflags[edit]
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[edit]
FGD Definition[edit]
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[edit]
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. */