Garry's Mod

Garry's Mod

PAC3 [develop version]
Visar 201–210 av 263 poster
< 1 ... 19  20  21  22  23 ... 27 >
Uppdatering: 27 dec, 2023 @ 13:35

reworked settings menu

modular design to avoid code repetition, the basic information is kept in some category tables instead and run through a loop to populate the vgui elements

networking with the pac settings manager instead of PANEL:SetConVar (removing the need to create cvar copies) to avoid issues with the client-server realm fracture

menu gets a copy of each cvar's values from the server when opening, the changes are kept in memory, the menu has a prompt on close to ask whether to send the changes to the server

added the reveal outfits on +use cvar

Uppdatering: 27 dec, 2023 @ 13:12

Update pac_settings_manager.lua

include some of the main server cvars' general description and information

new net message will send data to the client realm for the reworked settings.lua menu

Uppdatering: 26 dec, 2023 @ 17:55

validity check

Uppdatering: 26 dec, 2023 @ 14:19

Update health_modifier.lua

quick fix

Uppdatering: 25 dec, 2023 @ 22:48

remaining healthbars proxy, aliases

new function to read a health modifier's remaining number of bars

function aliases named like the corresponding events for uniformity

Uppdatering: 25 dec, 2023 @ 21:56

Update health_modifier.lua

when health modifier gets an update, SetInfo to indicate the hp left and write data for the hp equivalent as a number of intact healthbars

Uppdatering: 25 dec, 2023 @ 18:39

fix popups' info_string for events

Uppdatering: 25 dec, 2023 @ 18:37

event copilot tweaks

function to get the tutorial text
remove unneeded checks
change damage_zone_hit to number operator
fix enum builder for some uid arguments
auto remove quotes from uid for some events

Uppdatering: 21 dec, 2023 @ 15:50

remove local debug prints

Uppdatering: 21 dec, 2023 @ 15:16

use pac hooks when possible
should help prevent showing stuff when pac is disabled