Garry's Mod

Garry's Mod

SEXplosions
TROFY-KSA 2022 年 2 月 28 日 上午 6:34
is this a lua mod?
title
< >
正在显示第 1 - 5 条,共 5 条留言
Wasabi_Thumbs  [开发者] 2022 年 2 月 28 日 下午 7:59 
Yes? It is an addon containing lua code, as is the vast majority of functional addons on the workshop.
TROFY-KSA 2022 年 2 月 28 日 下午 8:54 
引用自 Wasabi_Thumbs
Yes? It is an addon containing lua code, as is the vast majority of functional addons on the workshop.
How the explosions are being detected
from what i remember the api doesnt have a way to detect when explosions happen
Wasabi_Thumbs  [开发者] 2022 年 3 月 1 日 下午 6:56 
引用自 TROFY-KSA
引用自 Wasabi_Thumbs
Yes? It is an addon containing lua code, as is the vast majority of functional addons on the workshop.
How the explosions are being detected
from what i remember the api doesnt have a way to detect when explosions happen
A combination of things. Here are a few:

- env_explosion receiving a Fire event, either Explode or ExplodeAndRemove (this is going to be the vast majority of explosions)
- searching for particle effects
- overriding util.Effect
shadowtheheadch0g 2022 年 5 月 8 日 下午 9:05 
literally every single gmod addon uses lua
TROFY-KSA 2022 年 5 月 9 日 上午 2:36 
引用自 shadowtheheadch0g
literally every single gmod addon uses lua
Not all
Most of them are either dupes or saves
or some model replacements
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50