Latest revision |
Your text |
Line 1: |
Line 1: |
− | {{Infobox_entity
| + | An entity that creates bubbles rising. Can be used under water in example. |
− | | 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]]
| |
− | | |
− | ----
| |