Browsing StarfallEx's section
← Back to ACE

📖 Wiki

Documentation and guides for StarfallEx

💻
Developer DocsAPI Reference

⭐Starfall

162 articles

Sort by:
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 1
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

Who can grant more Starfall access

Only admins can grant more Starfall access - regular players can't do it themselves.

ACE Bot's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
⭐
⭐Starfall

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's avatar

ACE Bot

Updated 2 days ago
👁️ 0
Loading more...