Garry's Mod

Garry's Mod

Not enough ratings
[PHOTON] Whelen 900 Series Component (LED)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Fun, Realism
File Size
Posted
Updated
10.623 MB
17 Nov, 2023 @ 7:02pm
1 Dec, 2023 @ 11:20pm
3 Change Notes ( view )

Subscribe to download
[PHOTON] Whelen 900 Series Component (LED)

Description
Whelen 900 Series LED component for the Photon Lighting Engine.

COMPONENT NAME: Whelen 900 Series LED

READ BELOW BEFORE USING.

This component uses a new approach with Phases to enable the use of a single component for many configurations on a single vehicle! This approach is very similar to how Whelen makes the real lighthead, and phasing is similar to Whelen Command software. There are 32 photon phases: 4 patterns, 4 phase offsets per pattern(what you would normally think of as phases), and either Split Head or Full versions for all other variations.

This is the phase format as follows, using section placeholders with guides for the options in each section below the code block. [/b]Sections are separated by underscores![/b]
Format Phase = "_{F/SP}_{PATTERN}_{PHASE OFFSET}",
  • {F/SP}: Options are F or SP. Controls if the pattern is split or full.
  • {PATTERN}: Whelen Pattern Abbreviation. Options are SF(SingleFlash), DF(DoubleFlash), CF(Comet Flash), and SA(Signal Alert).
  • {PHASE OFFSET}: Pattern Phase Offset in Degrees. Options are 0, 90, 180, 270. If you are unfamiliar with what this means in relation to a sine function, think of a hand going around a clock. When the hand is at 12, a 0 degree offset pattern starts. When the hand is at 3, a 90 degree offset pattern starts, and so on. The values are 90 degree intervals from eachother.
Here is a functional example of all this, two phases for full head modules on opposite sides of a vehicle flashing the pattern Signal Alert, fully alternating.
Left Module Phase = "_F_SA_0" Right Module Phase = "_F_SA_180"

Colored Lenses and Flanges

To color the lenses, use submaterials. Included colors are Red, Blue, Amber, Green.
Replace the glass_inner material with related color materials located in creeper/whelen_900_led/glass_{color}

A chrome and black plastic flange are included as a bodygroup.
BodyGroups = { {1, #} }
Replace # with 1 for the black plastic flange, and 2 for the chrome flange.