About The Proving Ground - E2 & Starfall Team Functions
From Steam Workshophttps://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 dataFootprint
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
| Loader | Game versions | Newest |
|---|---|---|
| Workshop |
From 2 recorded builds of The Proving Ground - E2 & Starfall Team Functions.
Recent builds
| Build | Released | Game versions | Loaders |
|---|---|---|---|
| 2026-10-23 | 2026-10-23 | n/a | Workshop |
| 2026-10-22 | 2026-10-22 | n/a | Workshop |
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 catalogQuality 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
