Questions tagged [source-engine]
The Source Engine is an engine used by Valve in their games. Questions with this tag relate to creating mods using the Source Engine.
36
questions
1
vote
1
answer
109
views
How to hide things from noclipping players?
I am specifically working in Garry's Mod, and I am wondering if there might be a way to hide things from players using noclip to travel outside the bounds of the ...
0
votes
1
answer
63
views
Custom Executable for Source engine games?
I'm just wondering how source games have their own executables?
For example, Portal 2 has portal2.exe, LF42 has left4dead2.exe, Garry's Mod has a hl2.exe that displays gmod icon and has Facepunch ...
0
votes
1
answer
57
views
Why does GetSoundDuration() always return the same wrong value in my Portal 2 Vscript?
I am trying to write a Vscript for an instance in Portal 2; the goal of which is to play ambient_generic entities directly after one-another in sequence.
To do this,...
1
vote
0
answers
119
views
Source Engine - Strange factors in acceleration equation
I was going through the player movement code for the source engine when I stumbled upon the following function:
...
0
votes
0
answers
582
views
How can I import a model from a Source Engine game into Unreal Engine 4?
I am currently developing a game in Unreal Engine 4. This project is for personal use, and will not be exhibited or sold.
Because I have no talent, I need to snatch some models from some Source ...
0
votes
2
answers
389
views
Extracting individual components of a vector in the Source Shader Editor
I'm using the Source Shader editor and would like to mask a vector output to one or two values, yet there is no existing mask node, as far as I can see.
What HLSL code should I use to output what I ...
1
vote
0
answers
404
views
How to fix a crowbar mesh deformation problem
I am having a problem exporting my model to Garry's Mod.
Every time i compile the model in crowbar it comes out deformed like this
when the model is really suppose to look like this
how do I fix ...
0
votes
1
answer
2k
views
Multiplayer networking and understanding snapshots between client and server
Please note: Although this question involves a link to the Source Engine, its really a generic question about client-server interactions in multi-player games, and I think can be answered by anyone ...
0
votes
1
answer
82
views
How do you create an outdoor map without letting in leaks?
With the Source engine, I want to make a map in the outdoors (similar to something like Dust2 or Inferno) but not let in leaks due to the open top part of the map. Is there a way I can do it without ...
2
votes
1
answer
146
views
Meaning of errors when compiling Source animated assets
This question will be composed of 3 somewhat separate questions regarding the creation of animated assets in Source. The documentation is quite poor and I am having a hard time understanding the ...
2
votes
0
answers
45
views
Source Engine - Getting team score
How can i get teamscore in code?in hl2mp_gamerules.cpp i found this:
...
0
votes
1
answer
102
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
1
answer
82
views
Portal 2 Authoring Tools: func_instance_io_proxy not working?
I have a func_instance (which I made myself) of a door in my map. It is supposed to open when a cube is fizzled. I also put a checkmark indicator to make sure I had the cube's logic correct. When the ...
4
votes
1
answer
91
views
How do I control texture appearance based on game play events?
In an FPS I am developing, I am procedurally altering the appearance of textures based on game play events, and would like to know if the way I have implemented this was a good idea.
Right now, on ...
0
votes
2
answers
79
views
What mistake did I make? Source engine reskin issues
Here is a reskin of the Half Life 2 Wallace Breen model that I made for a mod I am developing, but the checkerboard on the suit is very odd. All my other skins have no issue, but this skin has ...
2
votes
1
answer
576
views
How do I ensure my custom TF2 model shows its texture?
I'm trying to make a new model for the Pyro's default Flamethrower, and I've run into a problem. When I load the new flamethrower model in HLMV or the game, I can't see the texture I made for it, all ...
1
vote
0
answers
89
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
votes
1
answer
771
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:...
-2
votes
2
answers
339
views
What does this code mean in the source engine [closed]
I am working on a project in which I analyze acceleration in the Source engine. Being that I have very basic knowledge of computer science, I am not very proficient in understanding the syntax.
The ...
0
votes
1
answer
432
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 ...
8
votes
1
answer
2k
views
How do I convert a Source engine NPC model to a player model?
The Source engine's NPC and player models differ: An NPC model applied to the player has no animations. It cannot walk and holds its arms out to the side by about a foot. The weapon is held in the ...
0
votes
1
answer
6k
views
Turn .obj files in to .mdl for Gmod
want to import models that i made in to garrys mod but i cant figure out how to convert them in to .mdl files. I dont have any moding experience with the source engine. I tried to find a program to ...
1
vote
1
answer
1k
views
Can't Use Hammer Editor Grid or 3d Camera [closed]
I can't place anything (tried Shift + R) and it shows two white lines making a right angle when I open a map. I can't edit my maps currently. Can anyone help? An alternative to editing maps?
Only ray-...
0
votes
0
answers
232
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 ...
0
votes
1
answer
445
views
Is it legal to use the Source Engine out of Steam?
I would like to create a game that uses the Source Engine on Desura, the problem is that I am afraid that it is illegal to use the Source Engine in other platforms are not managed by Valve
0
votes
1
answer
455
views
Why doesn't the Source engine clear the back buffer?
In the Source engine, when the map does not have a sky box, I see that typical artifact from the back buffer not being cleared. Why does the Source engine do that? Is it a performance reason, or ...
0
votes
1
answer
400
views
Where is linked_portal_door in the Source SDK?
I just made a new mod in the Source SDK. I saw online that there is an entity that allows portals to be created (linked_portal_door). However, I cannot find or ...
2
votes
1
answer
205
views
Does the base game I choose for a steam mod matter?
Me and a couple of my friends are planning on trying to make a source mod, but we can't figure out how to tell what game to use as a base. We hope to make a totally different game with it, and aren't ...
2
votes
0
answers
239
views
How do I calculate the points of a brush from a Source engine VMF? [closed]
I'm trying to render the brushes from a Source engine .vmf file in C++, using OpenGL.
The .vmf stores solid brushes as a series ...
2
votes
0
answers
206
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 - ...
3
votes
2
answers
204
views
source development kit tutorials [closed]
I'm looking to create a demo using the source development kit.
Because i want it to have a similar style to portal, but one I'm wondering can i get the portal 2 authoring tools without owning the game,...
4
votes
1
answer
768
views
Valve Source Engine / UDK and CUDA
Do any games use the GPU for more game tasks than just rendering, as a way to reduce the game's load on the CPU? I'm most interested in games which use either Valve's Source engine or the UDK.
Is ...
1
vote
0
answers
1k
views
How do I get a list of all available entities in a Source engine game?
How do I get a list of all available entities in a Source engine game?
There is only one exported function in the server DLL - CreateInterface - so it's not an ...
7
votes
1
answer
6k
views
Are there any open source Source engine VTX/VVD viewers?
I've been playing with loading and displaying Source Engine models (TF2, specifically) and have had mild success, but there are some aspects of it that are eluding me still. I've been primarily ...
9
votes
4
answers
3k
views
How does an Engine like Source process entities?
On the Source engine (and it's antecessor, goldsrc, quake's) the game objects are divided in two types, world and entities. The world is the map geometry and the entities are players, particles, ...
6
votes
4
answers
28k
views
Why should I consider using the Source Engine? [closed]
I've always been a Valve fan, but now that I have the opportuninty to choose a game engine for a project I'm not sure I want to choose the Source Engine after watching this wikipedia entry. My options ...