Garry's Mod

Garry's Mod

Not enough ratings
[PHOTON 2] Whelen L31 Beacon
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
35.792 MB
21 Jun, 2024 @ 7:33pm
13 May @ 3:32pm
6 Change Notes ( view )

Subscribe to download
[PHOTON 2] Whelen L31 Beacon

Description
Whelen L31 LED Beacon component for Photon 2
[ko-fi.com]

YOU NEED TO READ THE GUIDE BELOW BEFORE USING. IF NO PHASE IS SET, THE BEACON WILL BE STEADY BURNING SPLIT COLOR!

COMPONENT NAME:
  • creeper_whelen_l31
You must subscribe to the Shared Textures for this addon to work.

This component has 41 warning flash patterns available for you to use!
Almost every pattern Whelen offers on the real thing is available on this component.
There are many patterns which have a Full or Split version, only a couple being full only or otherwise.

This is the phase format.
Phase = "_{F/SP}_{PATTERN###}:{PHASE OFFSET}",
  • {F/SP}: Options are F or SP. Controls if the beacon is split front/back or full. Some patterns do not have split head operation. See pattern list for details.
  • {PATTERN###}: Whelen pattern abbreviation. See list below for patterns.
  • {PHASE OFFSET}: Automatic Pattern Phase Offset in Degrees. If you are unfamiliar with what this means, see The Photon 2 Wiki Phasing section.[github.com]
Functional Example
--Two L31's w/Brush Guard, Opposite Sides, Full Head, Alternating, Red and Blue, Double Flash 120. { Component = "creeper_whelen_l31", Scale = 1, Position = Vector( 40, 0, 130 ), Angles = Angle( 0, 0, 0 ), SubMaterials = { ["creeper/whelen_l31/glass_inner"] = "creeper/shared/glass_red", }, States = { [1] = "R", }, Phase = "_F_DF120", -- No degree phase means Photon assumes it's the 0 degree phase. BodyGroups = { ["mount"] = 1, }, }, { Component = "creeper_whelen_l31", Scale = 1, Position = Vector( -40, 0, 130 ), Angles = Angle( 0, 0, 0 ), SubMaterials = { ["creeper/whelen_l31/glass_inner"] = "creeper/shared/glass_blue", }, States = { [1] = "B", }, Phase = "_F_DF120:180", BodyGroups = { ["mount"] = 1, }, },
SUPPORTED PATTERNS
Abbreviations for the Phase entry({PATTERN###}) are in BOLD.
The number indicates the rough Flashes Per Minute, bigger number = faster flashing.

*:This pattern is Full Head operation ONLY. Prefix with _F_.
†:This pattern supports Whelen Dynamic Variable Intensity (DVI).
  • Signal Alert 75: SA75
  • Signal Alert 150: SA150 *
  • Comet Flash 75: CF75
  • ComAlert 75: CA75
  • ComAlert 150: CA150
  • LongBurst 75: LB75
  • Single Flash 60: SF60
  • Single Flash 60 DVI: SF60_DVI
  • Single Flash 75: SF75
  • Single Flash 75 DVI: SF75_DVI
  • Single Flash 90: SF90
  • Single Flash 120: SF120
  • Single Flash 150: SF150
  • Single Flash 300: SF300
  • Double Flash 75: DF75
  • Double Flash 120: DF120
  • Double Flash 150: DF150
  • Triple Flash 75: TF75
  • Triple Flash 120: TF120
  • PingPong 75: PP75
  • PingPong 120: PP120
  • Action Scan: ACTSCAN *
  • Action Flash: ACTFLASH
  • Rotator 50 RPM: ROT50 *
  • Rotator 75 RPM: ROT75 *
  • Rotator 118 RPM: ROT118 *
  • Rotator 250 RPM: ROT250 *

Accessories
Glass SubMaterial Name
creeper/whelen_l31/glass_inner
You can find color textures in "creeper/shared/glass_{color}"

Mount BodyGroups
"mount"
0 – flat bottom mount
1 – brush guard
2 – B63 Mount for a 700 Series Lighthead
3 – chrome shelf mount

Whelen B63 Mount
To use the B63 mount, you need to have the Whelen 700 Series lighthead installed.
To use the B63 set the mount Bodygroup to 2, add a 700 Series Super-LED component and set its position to be the same as the L31 minus 4.05 on Y and 2.23 on Z. Here is an example positioned for SGM's Sutphen Ladder.
{ Name = "@rl31", Component = "creeper_whelen_l31", Position = Vector(-42.5, -280, 75.353), Angles = Angle(0, 180, 0), Scale = 1.0, SubMaterials = { ["creeper/whelen_l31/glass_inner"] = "creeper/shared/glass_amber" }, Phase = "_F_SA75:0", States = { [1] = "A", }, BodyGroups = { ["mount"] = 2, } }, { Inherit = "@rl31", Position = Vector(42.5, -280, 75.353), Phase = "_F_SA75:180", SubMaterials = { ["creeper/whelen_l31/glass_inner"] = "creeper/shared/glass_red", }, States = { [1] = "R", }, BodyGroups = { ["mount"] = 2, } }, { Component = "creeper_whelen_700_superled", Scale = 1, Position = Vector(-42.5, -280-4.06306, 75.353-2.23776), Angles = Angle( 0, 180, 0 ), SubMaterials = { ["creeper/whelen_700/glass_inner"] = "creeper/shared/glass_red", }, States = { [1] = "R", [2] = "R", }, Phase = "_F_SA75:180", BodyGroups = { ["flange"] = 5, }, }, { Component = "creeper_whelen_700_superled", Scale = 1, Position = Vector(42.5, -280-4.05, 75.353-2.23), Angles = Angle( 0, 180, 0 ), SubMaterials = { ["creeper/whelen_700/glass_inner"] = "creeper/shared/glass_amber", }, States = { [1] = "A", [2] = "A", }, Phase = "_F_SA75", BodyGroups = { ["flange"] = 5, }, },


Photon 2 Wiki[github.com]

Enjoy my high-quality components? Consider supporting future projects! :)
[ko-fi.com]
4 Comments
Jamesfrench 13 May @ 9:31am 
Hi, can you add your shared texture as a dependancy?
Savave66 29 Aug, 2024 @ 9:28pm 
Flishy Flash
Tokimune 22 Jun, 2024 @ 1:35am 
fleshy light
anemolis72 21 Jun, 2024 @ 8:02pm 
flashy flashyu