That'll work, I'm just used to keeping it simple and putting them above main. In the context here it also seems like an unnecessary complication unless death evader already knows about forward declaration.
Seeing as you have to define a function before calling it, placing the function after main() will simply not work. Besides that, where you define your function does not influence its internal workings. The ampersand is indeed required as it denotes a parameter as being a reference.
It's weird...
I'm assuming you mean call-by-value? It's the "standard" way of passing objects to a function.
It copies the given argument to a newly allocated, local object. This means that if you change its value in the function, this change will not be reflected in the original object.
Example:
void...
(Note: I haven't tested the following)
You can do the origin deal by recompiling the player animations with the .qc command:
$origin 0 0 -36
Assuming you're using HL2DM as base, the .qc would be accountname/sourcesdk_content/hl2mp/modelsrc/Player/player_male_anims.qc (and player_female_anims.qc...
Come on, you know it's going to be early in the fiscal year 2007, in other words: april 2007 at the earliest. That's directly from Wright himself. Getting your hopes up seems like a bad idea.
This seems a decent thread listing all the different releasedates from old ones to the most recently...
It is not dead. We're not going to say this every week, or answer to your every whim (regarding zombie closeups), so I suggest you get used to that. The world is an evil place.
PS. On your pre-edit notion that this mod is not being made for people:
This is completely true. Zombie Master is...
Who cares? Unlike Valve's code + 'beta' leak, this does zero actual damage to them, seeing as no code was leaked and the mod is not commercial. So people get to walk around their unfinished stuff, and oh my they might even show other people screens! They'll have to close down now D: D: D:
"We...
Err, you really shouldn't declare variables without initialising them. It's bad programming practice. C++ does not automatically initialise your variables with 0, unlike other languages. Therefore, you cannot assume anything about a declared variable's value unless you explicitly set it...
There are indeed no HDR-enabled maps in HLDM Source (I went and checked them all after seeing the 'full HDR' shots here). You can still set it to Full HDR but, as in all Source games, it will only actually use HDR if the map specifies it.
HLDM:S does have the standard skybox bloom (eg. you...
Let's take the yes/no test.
Well, it seems like a bad idea to do it in public (I don't think they'd appreciate), so yes.
Seeing as I'm not married, this has to be a no. I have a bad feeling about the way this is going.
I'm not in a relationship either! Another no! I'M SLIPPING...
You should be able to at least approximate that using the environmental reflection mapping, ie. the envmap vmt commands.
First thing I'd try is increasing the $envmaptint values, as that will increase the general amount of reflection. Increasing $envmapcontrast nearer to 1 should move the...
One addition:
Events kind of go the other way around. The code calls the animation, and as it plays and reaches a specified frame, the animation throws the event to the code, which catches it and takes the required action (in this case it draws a muzzleflash).
The "0" refers to the animation...
Chances are you'll need custom models to do iron sights how you want them. HL2's viewmodels are heavily optimised with all normally unseen parts removed (ie. the right side). This becomes a problem when you move the viewmodel to the center of the screen, because those removed areas will be...
I was once fined for having a broken headlight on my bicycle.
That's it really.
Although I may or may not have any amount of illegal ones and zeros on my harddrive.