Repository navigation
glowpoints.tbl
github-actions[bot] edited this page Oct 28, 2026
·
4 revisions
Revision information OFP Revision: #120 Set the revision to your PR when your PR changes what this page documents. Leave it alone for edits that only fix or improve the documentation.
The glowpoints.tbl defines glowpoint presets: how a model's glowpoints blink, pulse and light their surroundings. A ship uses a preset with $Glowpoint overrides: in ships.tbl.
This table is one of the Modular Tables and can be extended with xxx-gpo.tbm.
Code: /model/modelread.cpp. See Tables for every table.
Badges show the version a field or behavior was added in.
Field index (every field, one per line in table order; click one to jump to it)
- glowpoints.tbl currently has only one section: #Glowpoint overrides.
- Optional entries, if omitted, leave it as it was defined in the model (if applicable) or use the specified default value.
- The end of the section is indicated with #End.
- Without a
#Glowpoint overridessection the file is ignored. - Each entry's fields must be in the order listed here; one out of order is not read.
- Specifies the name of the glowpoint override (to be referenced in the $Glowpoint overrides: entry of a ship).
- Syntax: String
- (optional) In a modular table, +nocreate after the name replaces an existing entry with this one. If no entry has that name yet, the entry is ignored. In glowpoints.tbl itself it's ignored, with a note in the log.
- Unlike most tables, an entry without
+nocreatecan't change an existing one: a name already in use logs a warning and the new entry is thrown away.- Important note: At present, if an existing preset is overwritten, everything will be reset to default values and must be specified again.
- (optional) Ignored if standard blinking is used.
- Syntax: Boolean
- (optional) Defaults the glowpoint as being OFF on mission start or model load.
- Syntax: Boolean
- (optional) Displacement time for blinking (e.g. for Orion runway lights).
- Syntax: Integer
- (optional) Amount of time the glowpoint stays on.
- Syntax: Integer
- (optional) Amount of time the glowpoint stays off.
- Syntax: Integer
- (optional) Specifies the name of the texture to use, or "none" for glowpoints that should only be light sources.
- In nebula missions, a texture with
-nebadded to its name is used instead if it exists (glow-nebforglow). - A texture that fails to load logs a warning.
- Syntax: String
- (optional) Defines what type of glowpoint this is (generally always 0).
- Syntax: Integer
- (optional) Specifies an interpolation of the glowpoint brightness with the given interpolation function. Not case-sensitive; an unknown type is ignored.
- Syntax: one of Sine, Cosine, Triangle, or ShiftedTriangle
- (optional) The period of the selected interpolation function. The lower the value the faster the pulsing.
- Syntax: Integer, milliseconds
- Default Value: Two times the “On time” from the model or table.
- (optional) Amplitude of the pulse function (unused with ShiftedTriangle).
- Syntax: Float
- Default Value: 0.5
- (optional) This is added to the function so one can control the minimum and maximum value (unused with ShiftedTriangle).
- Syntax: Float
- Default Value: 0.5
- (optional) This raises the function to the given power to modify the look of the function (unused with ShiftedTriangle).
- Syntax: Float
- Default Value: 1.0
- (optional) Makes this glowpoint emit light. Further defined via additional sub-entries
- If +light is used, $Light color: is required
- (optional) The intensity of the light (brightness).
- Syntax: Float
- Default Value: 1.0
- (optional) Multiplied by the radius of the glowpoint to get the radius of the light.
- Syntax: Float
- Default Value: 15.0
- Specifies the RGB values for the light.
- Syntax: Int, Int, Int (0 - 255)
- (optional) Requires $Pulse type:. Instead of dimming the light by the glowpoint intensity, linearly interpolates between $Light color: and $Light mix color: (cross-fade).
- Syntax: Int, Int, Int (0 - 255)
- Default Value: 0, 0, 0
- (optional) Makes this light a cone. Further defined via additional sub-entries
- If +lightcone is used, $Cone direction: is required
- (optional) Defines how wide this lightcone is. The light fades out over the outer 20 degrees of the cone (or the outer half, for cones narrower than 20 degrees).
- Syntax: Float (0 - 180), degrees
- Default Value: 90.0
- The direction the cone points in, in submodel space. A zero vector logs a warning, and the whole entry is discarded.
- Syntax: (Float, Float, Float)
- (optional) Allows the light cone to shine in both the direction specified and in the opposite direction.
- (optional) Makes this light cone rotate. Further defined via additional sub-entries, both required.
- The axis of rotation, in submodel space. A zero vector logs a warning, and the whole entry is discarded.
- Syntax: (Float, Float, Float)
- Speed of rotation, specified as the number of rotations per minute.
- Syntax: Float
Getting Started
Features
SEXPs
Lua Scripting
Tables
-
Tables
- ai.tbl
- Animation (-anim.tbm)
- armor.tbl
- asteroid.tbl
- autopilot.tbl
- cheats.tbl
- colors.tbl
- controlconfigdefaults.tbl
- coordinate_points.tbl
- credits.tbl
- curves.tbl
- cutscenes.tbl
- Decals (-dcl.tbm)
- default_settings.tbl
- Dynamic SEXPs (-sexp.tbm)
- editor.tbl
- fireball.tbl
- fonts.tbl
- game_settings.tbl
- generated_nebula.tbl
- glowpoints.tbl
- help.tbl
- hud_gauges.tbl
- icons.tbl
- iff_defs.tbl
- intel.tbl
- lighting_profiles.tbl
- lightning.tbl
- mainhall.tbl
- medals.tbl
- messages.tbl
- mflash.tbl
- mission_profiles.tbl
- music.tbl
- nebula.tbl
- objecttypes.tbl
- Particle Effects (-part.tbm)
- post_processing.tbl
- props.tbl
- rank.tbl
- scripting.tbl
- ships.tbl
- sounds.tbl
- species_defs.tbl
- ssm.tbl
- stars.tbl
- strings.tbl
- tips.tbl
- traitor.tbl
- tstrings.tbl
- virtual_pofs.tbl
- weapons.tbl