Source-checkedQuality of life & UI

The Proving Ground - E2 & Starfall Team Functions

by ACE Team · for Garry's Mod

https://raw.githubusercontent.com/ACE-Project-Team/tpg_e2sf/main/media/e2sf.gif Perfect for getting your contraption get ready for an upcoming TPG battle! TPG E2 & Starfall Team Functions Expression…

33Downloads
39d agoLast updated
Steam WorkshopSource

About The Proving Ground - E2 & Starfall Team Functions

From Steam Workshop

https://raw.githubusercontent.com/ACE-Project-Team/tpg_e2sf/main/media/e2sf.gif Perfect for getting your contraption get ready for an upcoming TPG battle! TPG E2 & Starfall Team Functions Expression…

Perfect for getting your contraption get ready for an upcoming TPG battle!

TPG E2 & Starfall Team Functions

Expression 2 and Starfall functions for The Proving Ground: who is on your team, where they are, and what they are carrying.

Everything is scoped to the chip owner's own team. Enemy names, positions and loadouts are never exposed. A chip owned by a spectator or an unassigned player gets empty results.

It needs Wiremod for the E2 functions and/or Starfall for the Starfall library. Whichever is missing is skipped.

Expression 2

[table] [tr][th]Function[/th][th]Returns[/th][/tr] [tr][td]tpgTeamCount()[/td][td]number of players on your team[/td][/tr] [tr][td]tpgTeamName()[/td][td]your team's name, "" if you aren't on one[/td][/tr] [tr][td]tpgTeammates()[/td][td]array of teammate entities[/td][/tr] [tr][td]tpgTeammateNames()[/td][td]array of teammate names[/td][/tr] [tr][td]E:tpgIsTeammate()[/td][td]1 if E is on your team, else 0[/td][/tr] [tr][td]E:tpgArmor()[/td][td]teammate's armour tier name[/td][/tr] [tr][td]E:tpgPrimary() / E:tpgSecondary() / E:tpgSpecial()[/td][td]teammate's loadout pick[/td][/tr] [/table] The per-player getters return "" for anyone who isn't your teammate.

Bot seats (E2)

For TPG's NPC bots, which have partial support. Only the owner of a seat can mark it, and only bots on the owner's team ride in it. [table] [tr][th]Function[/th][th]Does[/th][/tr] [tr][td]E:tpgSetBotSeat(N)[/td][td]1 lets bots ride in seat E, 0 stops it; returns 1 if allowed[/td][/tr] [tr][td]E:tpgSetBotExit(V)[/td][td]where bots get out, as an offset from the seat (at most 250 units)[/td][/tr] [tr][td]E:tpgIsBotSeat()[/td][td]1 if bots may ride in E[/td][/tr] [tr][td]E:tpgBotInSeat()[/td][td]the bot riding in E, or nothing[/td][/tr] [/table] A player who takes a bot's seat gets it after a few seconds; the bot gets out.

Starfall (tpg library, server)

[table] [tr][th]Function[/th][th]Returns[/th][/tr] [tr][td]tpg.getTeamCount()[/td][td]number of players on your team[/td][/tr] [tr][td]tpg.getTeamName()[/td][td]your team's name, "" if you aren't on one[/td][/tr] [tr][td]tpg.getTeammates()[/td][td]array of teammate entities[/td][/tr] [tr][td]tpg.getRoster()[/td][td]array of { player, name, pos, primary, secondary, special, armor }[/td][/tr] [tr][td]ent:tpgGetLoadout()[/td][td]{ primary, secondary, special, armor }, {} for non-teammates[/td][/tr] [tr][td]ent:tpgIsTeammate()[/td][td]true if ent is on your team[/td][/tr] [tr][td]ent:tpgSetBotSeat(enabled)[/td][td]let bots ride in seat ent, or stop it; true if allowed[/td][/tr] [tr][td]ent:tpgSetBotExit(offset)[/td][td]where bots get out, as an offset from the seat[/td][/tr] [tr][td]ent:tpgIsBotSeat()[/td][td]true if bots may ride in ent[/td][/tr] [tr][td]ent:tpgBotInSeat()[/td][td]the bot riding in ent, or nil[/td][/tr] [/table]

Building chips in sandbox

Outside TPG there are no teams, so every function would return nothing. To give you something to wire up, the addon adds two stand-in teams when TPG isn't running:


tpg_test_team green
tpg_test_team red
tpg_test_team none

Loadouts and armour come from TPG, so in sandbox they read as "" and "Unknown". When the gamemode is running, the stand-in does nothing and the real teams are used.

Source

github.com/ACE-Project-Team/tpg_e2sf - MIT licensed.

Highlights

From source data

Footprint

Rated a light load on a server.

Last update

Its author last shipped an update 39d ago.

The Proving Ground - E2 & Starfall Team Functions on Nxeon

From our catalogue
One-click install
Supported on Nxeon Garry's Mod servers. We download it from Steam Workshop, place it, and restart the server.
Server load
light
Smallest plan we suggest
Garry's Mod — 2 GB (2 GB RAM). This follows our own load rating above, not a benchmark.
Latest build
2026-10-23, released 2026-10-23

Game versions by loader

LoaderGame versionsNewest
Workshop

From 2 recorded builds of The Proving Ground - E2 & Starfall Team Functions.

Recent builds

BuildReleasedGame versionsLoaders
2026-10-232026-10-23n/aWorkshop
2026-10-222026-10-22n/aWorkshop

Run The Proving Ground - E2 & Starfall Team Functions on a Garry's Mod server

Pick a server or deploy a new one above; it is installed in one click.

What kind of mod it is

From the catalog
Listed on Steam Workshop as “QoL”

Quality of life & UI

Small conveniences, tweaks and interface improvements players notice straight away.

Compatibility

Game
Garry's Mod

Verified at the source

  • ✓Steam WorkshopOfficial listing, checked 2026-10-23Open ↗
  • ✓AuthorACE Team, as published on Steam Workshop
  • ✓LicenseNot published by the sourceFree

The Proving Ground - E2 & Starfall Team Functions, answered

Generated from the mod’s own source data.

Is it free?

Yes. The Proving Ground - E2 & Starfall Team Functions is free to download from Steam Workshop.

How do I add it to my Nxeon server?

Use “Add to a server” on this page, or open NxLabs from your dashboard. We install it, restart your server and switch it on.

NxLabs

Run The Proving Ground - E2 & Starfall Team Functions on a Garry's Mod server.

Deploy in about a minute from $3.99 a month, then add The Proving Ground - E2 & Starfall Team Functions in one click.