ToggleMaterialGeometry

From GECK
Jump to: navigation, search


A function included in the GECK for Fallout 3.

Description

Toggles a color-coded view of the material geometry (the wireframes that surround every object that has material-type data associated with it).

Console Functions are normally exclusively for use in the in-game Console (accessible by pressing "~").

With JIP LN NVSE Plugin, any console function can be used in scripts with the Console function.

Syntax

[help]
ToggleMaterialGeometry 

Or:

TMG 

Notes

The color of the material geometry is representative of the material type. A breakdown of most material type colors in RGB:

  • MT_STONE (Gray): NiColor(0.65f, 0.65f, 0.55f)
  • MT_CLOTH (Yellow): NiColor(1.0f, 1.00f, 0.5f)
  • MT_DIRT (Tan): NiColor(0.81f, 0.73f, 0.47f)
  • MT_GLASS (Blue Green): NiColor(0.5f, 0.86f, 0.86f)
  • MT_GRASS (Green): NiColor(0.0f, 1.0f, 0.0f)
  • MT_METAL (Dark Gray): NiColor(0.43f, 0.55f, 0.56f)
  • MT_ORGANIC (Orange): NiColor(1.0f, 0.5f, 0.0f)
  • MT_SKIN (Pink): NiColor(1.0f, 0.74f, 0.65f)
  • MT_WATER (Blue): NiColor(0.0f, 0.67f, 0.98f)
  • MT_WOOD (Brown): NiColor(0.81f, 0.60f, 0.40f)
  • MT_HEAVYSTONE (Dark Gray): NiColor(0.45f, 0.45f, 0.35f)
  • MT_HEAVYMETAL (Dark Dark Gray): NiColor(0.23f, 0.35f, 0.36f)
  • MT_HEAVYWOOD (Dark Brown): NiColor(0.61f, 0.40f, 0.20f)
  • MT_CHAIN (Light Gray): NiColor(0.82f, 0.82f, 0.82f)
  • MT_SNOW (White): NiColor(1.0f, 1.00f, 1.00f)
  • MT_ELEVATOR (Purple): NiColor(1.0f, 0.0f, 1.0f)
  • MT_METAL_HOLLOW: NiColor(0.43f, 0.55f, 0.56f)
  • MT_METAL_SHEET: NiColor(0.43f, 0.55f, 0.56f)
  • MT_SAND: NiColor(0.81f, 0.73f, 0.47f)
  • MT_CONCRETE_BROKEN: NiColor(0.45f, 0.45f, 0.35f)
  • MT_VEHICLE_BODY: NiColor(0.20f, 0.20f, 0.20f)
  • MT_VEHICLE_PART_SOLID: NiColor(0.20f, 0.30f, 0.30f)
  • MT_VEHICLE_PART_HOLLOW: NiColor(0.30f, 0.30f, 0.20f)

See Also