Decals

From FreeSpace Wiki
(Redirected from Decals.tbl)
Jump to: navigation, search

Revision information.....

FSO Git Commit: Date: 2017-11-17 SHA: a3651026
Note: Please update the revision information when the page is updated. If your edit had nothing to do with new code entries then please do not edit the revision information


List of Tables and related code files
* Notes Modular Tables
** Notes tables which only use modular tables
Ai.tbl /ai/aicode.cpp
Ai_profiles.tbl* /ai/ai_profiles.cpp
Animation.tbl** /model/modelanimation.cpp
Armor.tbl* /ship/ship.cpp
Asteroid.tbl /asteroid/asteroid.cpp
Autopilot.tbl /autopilot/autopilot.cpp
Colors.tbl* /globalincs/alphacolors.cpp
Controlconfigdefaults.tbl /controlconfig/controlsconfigcommon.cpp
Credits.tbl* /menuui/credits.cpp
Cutscenes.tbl /cutscene/cutscenes.cpp
Decals.tbl** /decals/decals.cpp
Fireball.tbl* /fireball/fireballs.cpp
Fonts.tbl /graphics/font.cpp
Game_settings.tbl* /mod_table/mod_table.cpp
Glowpoints.tbl* /model/modelread.cpp
Help.tbl* /gamehelp/contexthelp.cpp
Hud_gauges.tbl* /hud/hudparse.cpp
Icons.tbl* /mission/missionbriefcommon.cpp
Iff_defs.tbl /iff_defs/iff_defs.cpp
Lighting_Profiles.tbl* /lighting/lighting_profiles.cpp
Lightning.tbl /nebula/neblightning.cpp
Mainhall.tbl* /menuui/mainhallmenu.cpp
Medals.tbl /stats/medals.cpp
Messages.tbl /mission/missionmessage.cpp
Mflash.tbl* /weapon/muzzleflash.cpp
Music.tbl* /gamesnd/eventmusic.cpp
Nebula.tbl /nebula/neb.cpp
Objecttypes.tbl* /ship/ship.cpp
Particle effects(-part.tbm)** /particle/effects...
Pixels.tbl /palman/palman.cpp
Post_processing.tbl /graphics/gropenglpostprocessing.cpp
Rank.tbl /stats/scoring.cpp
Scripting.tbl* /parse/scripting.cpp
Ships.tbl* /ship/ship.cpp
Sexps.tbl** /parse/sexp/sexp_lookup.cpp
Sounds.tbl* /gamesnd/gamesnd.cpp
Species_defs.tbl* /species_defs/species_defs.cpp
Species.tbl /menuui/techmenu.cpp
Ssm.tbl* /hud/hudartillery.cpp
Stars.tbl* /starfield/starfield.cpp
Strings.tbl* /localization/localize.cpp
Tips.tbl /menuui/playermenu.cpp
Traitor.tbl /missionui/missiondebrief.cpp
Tstrings.tbl* /localization/localize.cpp
Weapon_expl.tbl* /weapon/weapons.cpp
Weapons.tbl* /weapon/weapons.cpp

The Decal system in FreeSpaceOpen can be used to create permanent or semi-permanent effects, like impact marks for example.

This table is distributed exclusively in tbm format (as *-dcl.tbms).

Note that decals are only usable on systems that support deferred rendering and normal mapping.

General Format

  • This table consists of one section, beginning with #Decals and ending with #End.

Core Table

$Decal:

  • Starts a decal definition. The name chosen here can be referenced elsewhere and should be unique.
  • Syntax: String

+Diffuse:

  • The filename for a diffuse map. This can be an animation.
  • Syntax: String, filenames should be provided without an extension.
+Loop:
  • Whether the animation should loop.
  • Syntax: Boolean, default is True

+Glow:

  • The filename for a glow map. This can be an animation.
  • Syntax: String, filenames should be provided without an extension.
+Loop:
  • Whether the animation should loop.
  • Syntax: Boolean, default is True

+Normal:

  • The filename for a normal map. This can be an animation.
  • Syntax: String, filenames should be provided without an extension.
+Loop:
  • Whether the animation should loop.
  • Syntax: Boolean, default is True