Garry's Mod

Garry's Mod

241 ratings
Photon 2: Emergency Systems Platform (Beta)
3
5
2
2
2
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Roleplay, Scenic, Realism
File Size
Posted
Updated
522.107 MB
Dec 31, 2023 @ 11:33pm
May 15 @ 9:47am
24 Change Notes ( view )

Subscribe to download
Photon 2: Emergency Systems Platform (Beta)

In 1 collection by schmal
Photon 2: Starter Package
17 items
Description
Photon 2 is the most capable and advanced emergency vehicle system available in Garry's Mod. To ensure Photon 2 works correctly, install the Photon 2 Starter Package collection using the link below.

This addon is currently in beta and remains under heavy development. Please excuse the mess and report any issues.

CLICK HERE to learn more about Photon 2[photon.lighting]

For more comprehensive information on features, key-bindings/controls, and developer information, visit the Photon 2 Wiki using the link above.



Problems? Something not working? CLICK HERE for Help & Troubleshooting.
[github.com]




CLICK HERE to download the Starter Package


As Photon 2 is merely a platform, the Starter Pack is required for all of Photon 2's demonstrator vehicles to work correctly. If you continue to see error models, verify that you don't have any of the addons disabled.

Demonstrator Vehicles

To showcase Photon 2's features and capabilities, several demonstrator vehicles are included and available when the Starter Package collection is subscribed to. Most demonstrators are highly-detailed recreations of real-world emergency vehicles. They feature 4K liveries (skins) and use accurate equipment, sirens, and flash patterns as much as possible.

The code for each vehicle is easily browsable[github.com] on the Photon 2 Github repository. You are free to reuse and implement any code included in these demonstrators.

Current Demonstrator Vehicles:

  • Boulder Police Department - 2020 Ford Police Interceptor Utility with a Federal Signal Valor lightbar and PathFinder Unitrol siren tones.

  • Boulder County Sheriff's Office - 2020 Ford Police Interceptor Utility with a SoundOff Signal nForce Lightbar and SoundOff siren tones.

  • Colorado State Patrol - 2021 Dodge Durango Pursuit with a Whelen Liberty II lightbar and Whelen Epsilon siren tones.

  • Fort Collins Police Department - 1996 Ford Crown Victoria with a Code 3 MX7000 with Motorola Astro Spectra siren tones.

  • Fort Collins Community Service Officer - 2013 Chevrolet Caprice PPV with a Whelen Liberty lightbar and Whelen Epsilon siren tones.

  • Fort Collins Police - 2013 Chevrolet Caprice PPV with Whelen Liberty lightbar and Whelen Epsilon siren tones.

  • Loveland Police Department - 2013 Chevrolet Caprice PPV with a Whelen Liberty II lightbar and Whelen Epsilon siren tones.

  • Washington, D.C. Metropolitan Police - 2020 Ford Police Interceptor Utility with a SoundOff Signal nForce Lightbar and SoundOff dual-tone sirens.

  • Seattle Police Department - 2013 Ford Police Interceptor Utility with a Federal Signal Legend lightbar, Motorola Astro Spectra siren tones and three livery variants (classic light-blue, refreshed dark-blue, and the 2015 redesign).

  • Las Vegas Metropolitan Police - 2016 Ford Police Interceptor Utility with a Federal Signal Vision SLR lightbar and Federal Signal and PathFinder SSP siren tones.

  • United States Capitol Police - 2020 Ford Police Interceptor Utility with a standard Ford "Ready for the Road" package, which includes a Whelen Legacy, front interior lightbar and Ford 96T rear spoiler lights.

  • Washington State Patrol - 2013 Chevrolet Caprice PPV with a Whelen Liberty lightbar and Whelen Epsilon siren tones.



Note: if you wish to use a demonstrator livery with a fictional state/county/city name (Evo City, Rockford, etc.), feel free to create a support post on the Photon Discord server. These can typically be created on request.





Important Links
FAQ
  • Do I need delete/uninstall Photon LE (Legacy)?
    No, Photon 2 is fully independent and can be safely run alongside Photon LE.

  • Will old components/vehicles/sirens work in Photon 2?
    Not at the moment, but it is planned (but probably not for a while).

  • Why am I seeing ERROR models on cars?
    You're missing required content or you have one or more required addons disabled. Because it is not possible for addons to automatically subscribe to other required addons, it is important to read addon descriptions so you know the prerequisites.






Major Features/Changes
  • Written from the ground-up to resolve Photon LE's problematic structure and code patterns.

  • Incredibly modular framework unifies functionality of all different lighting types (primary, auxiliary, traffic, basic lighting, etc.)

  • Dedicated Photon entities are now used instead of actual vehicle entities, allowing Photon to be used on any type of entity when configured, and drastically reducing the chance of conflict with other addons.

  • Robust component inheritance support allows you to easily construct new components based on existing ones without redundant copying and pasting.

  • Edit nearly every aspect of any component when adding it to a vehicle in the vehicle file itself, including flash patterns and inputs. No more needing to create dedicated component files every time you want custom behavior.

  • User-friendly menus and windows make the addon much more approachable for non-enthusiast users.

  • Highly responsive developer workflow allows for vehicle and component creation/editing with minimal need to ever respawn or restart. Simply save the file and immediately see changes take effect.

  • Error-intolerant operations pipeline exposes errors when they occur instead of silently failing, allowing for rapid debugging and a much more stable code base.

  • Support for different types of engine lighting (2D sprites, 3D meshes, dynamic lights, projected textures and sub-materials)

  • Extremely customizable control configuration, allowing for any type of hardware button to be bound (as long as the game itself recognizes it), the ability to have multi-button combination commands, and even multiple input profiles that can be created, swapped, and assigned to individual vehicles as desired.

  • New, high-fidelity siren sounds (made by me for Photon 2) including modern tones from SoundOff Signal, Federal Signal, Whelen and Code 3. Many new sirens are planned and in progress.



Tasks in Progress
For information about features and bugs being worked on, visit the Photon 2 Project[github.com] on Github.




Credits
Photon 2 would not be possible without generous community contributions and available assets. Special thanks to Roegen, Tyler Designs, Twurtleee, and OfficerFive0 for making their content available.
105 Comments
Nick William 2 hours ago 
Can't wait for the future. Just imagine the police lights through the window of your house

(This demo of this "Photon 2" has great lighting and new system) 10/100 It's Perfect
schmal  [author] 6 hours ago 
@Celtic I have a few ideas that I'll eventually get to

@elcartucho they're civilian police employees who handle non-criminal matters like car accidents or general public service duties
elcartucho5566 23 hours ago 
what a community service officer is for?
Celtic Viking May 16 @ 5:47pm 
we need more retro photon 2 demo vehicles
CrispyChicken May 15 @ 10:42pm 
someone please make a 1998 crown vic lapd
schmal  [author] May 15 @ 8:19am 
@deffesiii it will ultimately be integrated with the main addon. The reason it isn't is because fire-rescue assets tend to be considerably more complex and expensive to acquire/make

@ shawnphil not exactly, but you can see them if you open the Component Browser using the Photon 2 menu at the top of the Sandbox screen

@Sosed make sure you're subscribed to the "Starter Package" collection and don't have any of those addons disabled

@DeaNo it is being worked on, it's just that VGUI is incredibly archaic and time-consuming to code

@Celtic eventually, yes

@catbederp given my extreme bias in favor of anything relating to the Great State of Colorado, I will look into it. The only concern I have with Clear Creek is that good reference photos tend to be extremely difficult to find for smaller agencies
catbederp May 13 @ 7:15pm 
If you could make a 2023 Chevy tahoe with a clear creek county sheriff livery, that would be pretty neat
Celtic Viking May 12 @ 8:07pm 
is reflections coming?
[SMG] DeaNo May 3 @ 8:22pm 
this is cool, but a ingame editor or something would be the best!
justno May 2 @ 4:16pm 
ooooo nice