# appendParticles
function appendParticles(current, spawned)
Add state for append particles.
| Parameter | Type | Default | Description |
|---|
current | dynamic | — | The current input consumed by `appendParticles`. |
spawned | dynamic | — | The spawned input consumed by `appendParticles`. |
View source
# precacheTemporarySounds
function precacheTemporarySounds(mixer)
Load the client-owned temporary-entity sounds that are not necessarily named by a mod's QuakeC sound precache list.
| Parameter | Type | Default | Description |
|---|
mixer | dynamic | — | The mixer input consumed by `precacheTemporarySounds`. |
View source
# process
function process(events, client, player, mixer, viewState, consoleState, commandSystem, currentParticles, currentTemporary, currentTime, registry)
Execute the requested value.
| Parameter | Type | Default | Description |
|---|
events | dynamic | — | The events input consumed by `process`. |
client | dynamic | — | Client state participating in the operation. |
player | dynamic | — | The player input consumed by `process`. |
mixer | dynamic | — | The mixer input consumed by `process`. |
viewState | dynamic | — | Mutable state used by `process`. |
consoleState | dynamic | — | Mutable state used by `process`. |
commandSystem | dynamic | — | The command system input consumed by `process`. |
currentParticles | dynamic | — | The current particles input consumed by `process`. |
currentTemporary | dynamic | — | The current temporary input consumed by `process`. |
currentTime | dynamic | — | Time value used by the operation. |
registry | dynamic | — | The registry input consumed by `process`. |
View source
# processTemporary
function processTemporary(value, mixer, currentParticles, currentTemporary, currentTime)
Execute temporary.
| Parameter | Type | Default | Description |
|---|
value | dynamic | — | Value consumed by `processTemporary`. |
mixer | dynamic | — | The mixer input consumed by `processTemporary`. |
currentParticles | dynamic | — | The current particles input consumed by `processTemporary`. |
currentTemporary | dynamic | — | The current temporary input consumed by `processTemporary`. |
currentTime | dynamic | — | Time value used by the operation. |
View source
# pruneTemporary
function pruneTemporary(currentTemporary, currentTime)
Active view mirrors CL_UpdateTEnts: an expired beam is not rendered or exposed to callers, while the retained state above still remembers its slot.
| Parameter | Type | Default | Description |
|---|
currentTemporary | dynamic | — | The current temporary input consumed by `pruneTemporary`. |
currentTime | dynamic | — | Time value used by the operation. |
View source
# retainTemporarySlots
function retainTemporarySlots(currentTemporary)
Retained state mirrors the original fixed cl_beams[MAX_BEAMS] array. Expired entries are kept because CL_ParseBeam first searches by entity before it searches for a free or expired slot.
| Parameter | Type | Default | Description |
|---|
currentTemporary | dynamic | — | The current temporary input consumed by `retainTemporarySlots`. |
View source
# safeSound
function safeSound(mixer, entityNumber, channelNumber, name, origin, volume, attenuation)
Return a validated safe sound value.
| Parameter | Type | Default | Description |
|---|
mixer | dynamic | — | The mixer input consumed by `safeSound`. |
entityNumber | dynamic | — | The entity number input consumed by `safeSound`. |
channelNumber | dynamic | — | The channel number input consumed by `safeSound`. |
name | dynamic | — | Stable name that identifies the requested object or option. |
origin | dynamic | — | World-space origin of the operation. |
volume | dynamic | — | The volume input consumed by `safeSound`. |
attenuation | dynamic | — | The attenuation input consumed by `safeSound`. |
View source
# serverInfoLevelText
function serverInfoLevelText(levelName)
Implements the `serverInfoLevelText` operation for `miniquake.client_effects` (server info level text).
| Parameter | Type | Default | Description |
|---|
levelName | dynamic | — | Name that identifies the requested value or resource. |
View source
# serverInfoRuleText
function serverInfoRuleText()
Implements the `serverInfoRuleText` operation for `miniquake.client_effects` (server info rule text).
View source
# spikeImpactSound
function spikeImpactSound()
TE_SPIKE and TE_SUPERSPIKE share the engine-wide C rand() stream with the particle and entity-effect code. Four out of five impacts use tink1; the fifth consumes a second random value to select one of the three ricochets (with the original 0/3 fall-through both selecting ric3).
View source