Garry's Mod

Garry's Mod

Onvoldoende beoordelingen
Glide Siren and submat headlight test
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Content Type: Addon
Addon Type: Vehicle
Addon Tags: Fun, Scenic, Water
Bestandsgrootte
Geplaatst op
Bijgewerkt op
13.457 KB
11 jan om 16:13
12 jan om 10:20
4 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Glide Siren and submat headlight test

Omschrijving
examples of two highly requested features for glide

this is the culmination of around 2-3 days of effort total

the siren is prolly the most bootlegged out of the bunch, but basically just reuses slightly modified strobelight logic from the aircraft base script available in glide, hitting the changeweapons bind for glide will toggle the police sirens

official support for sirens/submat headlights isn't available in glide yet, but this example using the Gauntlet Classic should help get your foot off the ground until styledstrike adds support for either one

turning the headlights on will change the submaterial of index 0 (which is the bodypaint texture on the gauntlet), when attempting to apply this to your own vehicle, you'll have to change the 0 to whatever material index your headlight material is set to

• added seatindex check for sirens
• fixed major bug for the sirens that caused sirens on each every vehicle to be controlled clientside by any other car as long as they were toggled once
• fleshed out the sirensystem further with more parameters and functionality