Browsing StarfallEx's section
← Back to ACE

πŸ“š Developer Docs

API reference for StarfallEx β€” 1,139 functions across 1 namespace Β· 99% verified

Recently Updated

SFEX.Material:downloadTexture

StarfallEx

CVerified

Given a texture key, reloads file-based textures from disk, or clears render target textures.

Material:downloadTexture(key)
1 params🏷️ Material0 views

SFEX.hook.ShouldDrawPlayer

StarfallEx

CVerified

Return false to prevent rendering a player

hook.add("ShouldDrawPlayer", "name", function(ply, flags) end)
2 paramsβ†’ 1 return🏷️ Hooks0 views

SFEX.hook.PreDrawPlayer

StarfallEx

CVerified

Called before drawing the player. (Only works with HUD) (3D Context) Rendering using this hook may cause other effects or colors on the player to not work

hook.add("PreDrawPlayer", "name", function(ply, flags) end)
2 paramsβ†’ 1 return🏷️ Hooks0 views

SFEX.ProjectedTexture:setTextureRenderTarget

StarfallEx

CVerified

Sets the Projected Texture's texture from a render target. Will not take effect until ProjectedTexture:update() is called.

ProjectedTexture:setTextureRenderTarget(name)
1 params🏷️ ProjectedTexture0 views

SFEX.render.createRenderTarget

StarfallEx

CVerified

Creates a new render target to draw onto. The dimensions will always be 1024x1024

render.createRenderTarget(name)
1 params🏷️ Render1 views

SFEX.effect.create

StarfallEx

SVerified

Creates an effect data structure angles - Angle angle of the effect attachment - number Entity attachment id to attach to color - number The color to set the effect (This is an 8 bit color integer specific to the effect implementation) damagetype - number The damage type of the effect entindex - number The entity index to set the effect to (SERVER only) entity - Entity entity to set the effect to flags - number Flags to add to the effect hitbox - number The hitbox id of the effect magnitude - number A magnitude value of the effect materialindex - number The material index of the effect normal - Vector A normal vector of the effect origin - Vector The origin vector of the effect radius - number The radius value of the effect scale - number The scale value of the effect start - Vector the start vector of the effect surfaceprop - number The surfaceprop id of the effect

effect.create(name, data, nofilter)
3 params🏷️ Effect0 views

Browse by Namespace