Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I get a list of all available entities in a Source engine game?

There is only one exported function in server DLL - CreateInterface, so it's not an option. In GoldSrc games server DLL features all entities as exported functions.

share|improve this question
Do you mean all available entity classes, or all available entity instances in a level? – Tim Holt Mar 5 '12 at 18:56
Entity classes. – Triangel Mar 6 '12 at 6:18

The Valve Developer Wiki has lists, functions, parameters, flags, etc. for all the Source Engine game entities.

share|improve this answer
It only features entities from some Valve games, not from mods. – Triangel Mar 6 '12 at 6:19
True, as mods may implement their own entities. – Tim Holt Mar 6 '12 at 7:00
This is true! I'll do a little poking and see if I can't figure out a more direct way of finding the entities. – theRayDog Mar 6 '12 at 16:29

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.