Garry's Mod

Garry's Mod

[vFire] Simfphys Support
Showing 1-10 of 11 entries
< 1  2 >
Update: Aug 20, 2020 @ 1:15pm

Added a compatibility mode that litterally just adds a 0.5 second delay before replacing the functions on vehicles... I will clean this up later.

Update: Jun 29, 2020 @ 5:39pm

"dont fix what is not broken"

wack

i fixed the repair bug

Update: Jun 26, 2020 @ 5:24am

Removed Think hook, overwriting functions instead.

This sadly removed the two convars in the description. May add them back later.

Update: Apr 14, 2020 @ 6:56pm

Fixed previous bug. The compatibility convar is now able to be hotswapped without a restart and only overrides any currently spawned Simfphys vehicles function.

Respawn a vehicle to allow the clientside fire to work again once the convar is set to 1.
It won't be needed unless something causes issues later down the line. A failsafe.

Update: Apr 14, 2020 @ 6:09pm

Luna implemented a new fire system that made the vehicle constantly backfire and stall when toggling their clientside fire.

Working on a fix. Atm the clientside fire will appear and the simfphys compatibility convar is disabled.

Update: Apr 10, 2020 @ 5:53pm

Crowbar crashed uploading this three times.

Pushing again just in case. Don't want a currupted addon uploaded.


Update: Apr 10, 2020 @ 5:32pm

Changed the new convar so it can be disabled entirly if needed.

Fixed the help text when placing the convar in console with no value.
(displayed the first 80 char of the text set)

Update: Apr 10, 2020 @ 4:59pm

Fixed the default duplicator causing vehicles to catch on fire after dupe. Possibly affected saves.

Added new server convar: "vfire_simfphys_firebeforeboom 0-9999"
This changes the timer when the vehicles health hits 0 from fire to explode. A 0.5 second delay is added on top due to the dupe fix.

Update: Apr 9, 2020 @ 3:50am

Updated the warning when vFire is not installed. Before it would try and output into chat too quick and not display.

Update: Apr 9, 2020 @ 2:54am

Fixed the addon. It was loading in before it should have.

Added "vfire_simfphys_compatibilitymode" as a console command.
Setting it to 1 and restarting the game will not overwrite the SetOnFire() function. Use this if you get errors with anything to do with fire in an addon!
You can set it back to 0 without a restart however.

The overwritten function is only there to remove the flash of the old Simfphys fire completly. With the console command toggled though it will just disable the client fire right after Simfphys calls it.