Garry's Mod

Garry's Mod

PAC3 [develop version]
Viser 181-190 af 263 forekomster
< 1 ... 17  18  19  20  21 ... 27 >
Opdatering: 17. feb. 2024 kl. 19:57

new shorthand proxy functions

-nsin makes a normalized sine ranging from 0 to 1, similar to what easy setup needs to do
-nsin2 is the same as nsin but half a pi radians less, so that the cycle's output starts at 0 (assuming 0, the starting value for timeex-based expressions) instead of 0.5
-ncos makes a normalized cosine
-ncos2 is ncos with pi radians less to start output at 0

shortened standard timeex-based fades to replace dual clamp fade-in-fade-out setups. they are normalized (0-1 range).
-ezfade(speed, starttime, endtime) resolves the fade equations by using a desired speed and the extrema. if not enough speed, it might not make the full transition and it'll crossfade before reaching 1
-ezfade_4pt(in_starttime, in_endtime, out_starttime, out_endtime) resolves the fade equations by using the four crossing points

new aliases to save a little bit of text space or perhaps be more meaningful to some:
-if_else = number_operator_alternative
-if_event = if_else_event = event_alternative

event_alternative now defaults the 2nd and 3rd args to 0 and 1. reflecting the event's state, if they are not specified

and server population-related inputs

Opdatering: 17. feb. 2024 kl. 14:41

text part chat support

ChatTyping updates when typing (outgoing networking is stopped when the part is removed and no more text parts requiring ChatTyping are present)

ChatSent reuses say event's existing data

Opdatering: 5. feb. 2024 kl. 18:09

improve hitscan precision

use uints instead of vector, but it'll cost some more as the tradeoff

Opdatering: 27. jan. 2024 kl. 15:36

net_combat: some server stuff moved to serverside

Opdatering: 21. jan. 2024 kl. 11:50

replace D enums with their numbers

apparently they don't exist before pac loads when we need them

Opdatering: 20. jan. 2024 kl. 15:49

implement volume setting, drawable part limiters, NPC friendliness

pac_stopsound works for websound too, unlike console stopsound

clients can choose their own distance limits for sounds, shakes, sunbeams and 2D texts they see
shake also has duration and amplitude limits

new consent cvar for clients to exclude friendly or neutral NPCs from being damaged by hitscan and damage zone

added killicon for pac_bullet_emitter

combat parts reinitialize: from a spawnmenu options button, remotely request the refresh via a net message on multiplayer to make it work on dedicated servers

Opdatering: 10. jan. 2024 kl. 7:45

move combat parts info prints

the requesting of pac combat parts is now silent on join, verbose on the concommand

Opdatering: 10. jan. 2024 kl. 7:35

Remove trailing whitespaces

Opdatering: 6. jan. 2024 kl. 12:58

small correction for shortcut preset

Opdatering: 6. jan. 2024 kl. 12:55

is_touching events initialization fix

and some exit conditions for apply auto setup command events