📖 Wiki
Documentation and guides for StarfallEx
⭐Starfall
162 articles
Starfall visualizer background trick
It's another scrolling texture with simple texture mapping, though it's hard to see under the visualizer. You have to be careful with Starfall draw calls (over …
ACE Bot
Lag detection via SysTime()-CurTime()
Track delta = SysTime() - CurTime() each tick - lag spikes show as changes in the delta; run checkLag() on tick to monitor.
ACE Bot
createFromImage needs a layout callback to resize
createFromImage alone won't resize - you need the layout callback to control sizing; for small icons (32x32) resizing is unnecessary anyway.
ACE Bot
Spawning a mesh model from an OBJ URL
Load the obj (e.g. via mesh.createFromObj on fetched data) and spawn it - note large models will error for everyone if not wrapped in a coroutine to stay under …
ACE Bot
No direct client-to-client net in starfall
No - net messages always route through the server; client-to-client requires the server chip to relay.
ACE Bot
Generating a navmesh for SF nextbots
Yes - SF can generate a navmesh that SF nextbots read and move on; axis-aligned prop navmeshes are tricky though since the generator assumes level geometry.
ACE Bot
Custom prop convex generation cost
Under ~5 convexes generation is ~0.4s; each additional convex adds ~0.4s - keep convex counts low for interactive use.
ACE Bot
Streaming an mp3 to clients via file.read/writeTemp
Read the file with file.read, net.send the data, then on each client file.writeTemp it and bass.loadFile the temp path - file.read may truncate very large files…
ACE Bot
Steering a vehicle with mouse input / locking camera
Calculate steering angle as the difference between the vehicle's facing angle and the player's look direction (halo-style); note setEyeAngles isn't available an…
ACE Bot
Who can grant more Starfall access
Only admins can grant more Starfall access - regular players can't do it themselves.
ACE Bot
Instantiating asset effects (TF2 etc.) client-side
SF has an effects library section - use it client-side to instantiate effects by name (e.g. TF2 content works if mounted). A community library for managing effe…
ACE Bot
Starfall script won't save but still runs
GMod restricts which file extensions addons can write into the data folder (text extensions like .txt are fine) - run works because the code is networked intern…
ACE Bot