The Source Engine is an engine used by Valve in their games. Questions with this tag relate to creating mods using the Source Engine.

learn more… | top users | synonyms

-1
votes
1answer
72 views

Understanding some variable names in the quake engine

I am doing a bit of research for a project about air acceleration in the quake engine. I have a question about the names of the variables and their definitions. The code that I am looking at is https:...
-1
votes
1answer
115 views

Why are my brushes see-through in Hammer/CS:GO?

I'm making a map for Counter Strike: Global Offensive, but I am having this issue with a part of the map. One of my brushes is weird and see-through in game. I have no clue what is causing it or how ...
3
votes
0answers
22 views

Source Engine - Getting team score

How can i get teamscore in code?in hl2mp_gamerules.cpp i found this: CTeam *pCombine = g_Teams[TEAM_COMBINE]; CTeam *pRebels = g_Teams[TEAM_REBELS]; if ( pCombine->...
1
vote
0answers
52 views

How can I make a chronometer for an HL2: EP2 Mod?

I'm trying to make a chronometer for a mod I created. I looked on the web, but there are only countdown timers for TF2, nothing for HL2: EP2. In my case, it is an absolute necessity to use HL2: EP2. ...
1
vote
0answers
128 views

Fix broken Portal 2 Chapter Handling in my Mod

I am running again into issues where my mod and the Portal 2 base game do not like each other! In order to provide the proper menu background images and the music for each of the 5 (internal - ...
0
votes
0answers
20 views

How to place the team score in Source Engine?

I ran into a problem. I want to display the Rebel and Combine on the HUD. I successfully managed to display the Health, Team logo, and ammo. But I can't display the team score. I came with an idea, to ...
0
votes
0answers
23 views

Adding a video to a Level in a Portal 2 Mod

I'm currently working on my Portal 2 mod and I'd like to add a video to be displayed on a projector like the Dollar$ and SENSE video at the end of Portal 1. Currently what I have is a simple ...
0
votes
0answers
11 views

SourceSDK/Hammer Saferoom creation. NoDraw trigger brushes

When creating a safe room at the end of a map in SourceSDK (Left 4 Dead 2) you must surround the room with 'no draw trigger brushes'. Can anyone clarify this? Does this mean that the room must be ...
0
votes
0answers
126 views

How are the packet boundaries in the Source engine DEM format determined?

I'm trying to write a program that reads Source DEM files, and about all I can at this point is the header which is a magic string, few ints and floats and 280-long strings. The last field in the ...