Forum posts

Posted 7 years ago2015-02-25 18:32:27 UTC
in Coding/ Programming help. Post #324412
Ninja's example should have just included "using namespace std" to simplify the cout instruction.
That's a matter of preference. I much prefer Ninja's style. You shouldn't use "using namespace std" in header files and so it's more consistent if you also don't use "using namespace std" in the regular code files.
cout is short for Console out, it just prints information to the console.
The "c" stands for "character" according to Stroustrup. And while it can print to a CLI console, that's not always the case. It all depends on what system you're on and how the program is used. It's the "standard output stream".
Posted 7 years ago2015-02-16 05:37:20 UTC
in Sledge (Hammer Alternative) Alpha Build Post #324157
I'm also getting a lot of errors where clipping a brush will reverse the normals on it, so all the faces render inside out.
I've had this happen several times when clipping very simple brushes.
Posted 7 years ago2015-02-12 12:16:29 UTC
in TWHL Tower Post #324041
Could also use the calc_ entities and a motion_manager/trigger_motion, to limit the velocity of the player.
Posted 7 years ago2015-02-12 11:30:10 UTC
in TWHL Tower Post #324038
There is, actually. See trigger_changecvar and trigger_command.
Posted 7 years ago2015-02-09 09:40:24 UTC
in TWHL Tower Post #323811
I'm definitely probably in.
Posted 7 years ago2015-02-08 04:28:24 UTC
in TWHL Tower Post #323747
Will you map the outdoors so we can have windows?
Posted 7 years ago2015-02-08 02:04:56 UTC
in TWHL Tower Post #323743
What Birdman said.
This post was made on a thread that has been deleted.
Posted 7 years ago2014-12-25 01:22:43 UTC
in More Albums That Never Existed (game) Post #322991
Posted 7 years ago2014-12-17 14:21:08 UTC
in Xmas tournament ? Post #322816
Need 1 more map quick :)
I suggest de_racetownz. It's very different from the other maps on the list and it was voted MotM.
Posted 7 years ago2014-12-16 17:59:34 UTC
in Xmas tournament ? Post #322804
19th or 20th?

Please say 20th... :)
Posted 7 years ago2014-12-15 23:28:09 UTC
in Xmas tournament ? Post #322792
Wouldn't hosting it in Britain give most of the North Americans tolerable ping?
Posted 7 years ago2014-12-15 02:15:35 UTC
in Xmas tournament ? Post #322784
de_racetownz
I would love to play a car map.
Posted 7 years ago2014-12-12 14:22:00 UTC
in Xmas tournament ? Post #322755
3 or 1
Posted 7 years ago2014-12-08 17:16:43 UTC
in Xmas tournament ? Post #322693
The people who have posted in this thread are in:

Scotland, UK
Scotland, UK
England, UK
Ireland
Poland
Romania
Lithuania
Lithuania
Sweden

Canada
N-E USA (Maine)
N-E USA (Connecticut)
S-E USA (Florida)
S USA (Texas)
USA
USA
USA

Excluding SecretSanta, AJ and Trempler.
Posted 7 years ago2014-12-06 20:27:55 UTC
in Xmas tournament ? Post #322681
I'd love to play some HL and CS (but not CSDM)
Posted 8 years ago2014-06-18 17:19:33 UTC
in HLDM Server! Post #319862
The server has been down for weeks. How come?

And fourthed. Plus I'll pay the difference if you increase the number of slots to 12.
Posted 8 years ago2014-06-16 13:54:10 UTC
in Top 5s Post #319815
0: Game of Thrones
1: Firefly
2: Dark Angel
3: Dollhouse
4: Terminator: The Sarah Connor Chronicles
................................. I hate Fox.
Posted 8 years ago2014-05-11 10:18:35 UTC
in Sledge (Hammer Alternative) Alpha Build Post #319363
The automatic inclusion of WAD files in the same folder as the build tools isn't working. My build tools are located in "E:z" and that folder contains these files:
hlbsp.exe
hlcsg.exe
hlrad.exe
hlvis.exe
lights.rad
ripent.exe
settings.txt
thecompilator.bat
wad.cfg
zhlt.fgd
zhlt.wad
"zhlt" does not show up in the texture browser. If I add it manually in the game's configuration, it does.
Posted 8 years ago2014-05-02 20:45:02 UTC
in HLDM Server! Post #319159
Joe ;)
Posted 8 years ago2014-05-02 18:22:33 UTC
in HLDM Server! Post #319153
You'll need to upload .res files for the downloads to work.
You can use a program called Resgen to generate them.
Posted 8 years ago2014-05-02 18:11:01 UTC
in Problem with additive textures on .mdl f Post #319152
It's one the graphics DLLs. It comes with Steam Half-Life. If you're running WON HL you can copy it from someone who has Half-Life on Steam. I think one of the WON versions of Day of Defeat has it as well, but I'm not completely sure.
Posted 8 years ago2014-04-30 13:21:12 UTC
in HLDM Server! Post #319057
Anyone interested in playing should join the TWHL Steam group, it's useful for scheduling games.
Posted 8 years ago2013-10-06 01:55:52 UTC
in Guess game, Quote game Post #316099
Warcraft 3.
I'm sorry, I didn't realize you wanted him to shoot you. I can call in some more guards if you like.
Posted 9 years ago2013-08-16 22:45:25 UTC
in The give-away THREAD Post #315006
The Sims 3 Origin Key: 6Y8Y-BNRW-DQBF-TUDU-99CQ
The Sims 3 High End Loft Stuff Origin Key: 2999-QE4S-9A7T-WTE2-EENK
The Sims 3 Late Night Origin Key: 7MDV-LKYK-8RGP-6H5Y-R7SJ
Posted 9 years ago2013-08-16 07:14:21 UTC
in The give-away THREAD Post #314979
https://www.humblebundle.com/
Burnout Paradise: The Ultimate Box
Crysis 2 Maximum Edition
Dead Space
Dead Space 3 (Origin only, no Steam key)
Medal of Honor
Mirror's Edge

for $1 (or more - your money goes to charities)
You'll also get
Battlefield 3 (Origin only, no Steam key)
The Sims 3 + Starter Pack (Origin only, no Steam key)

if you pay more than the average amount. ($4.79 at the time of writing.)

I'll post my Sims 3 key when I get home.
Posted 9 years ago2013-08-10 17:56:26 UTC
in Sledge (Hammer Alternative) Alpha Build Post #314831
I recently submitted an error report. It appears that ViewportBase::OnResize is called in one of Viewport3D's base class constructors, when Viewport3D::Camera is still null.

This error does not occur when Window's DPI (GUI scale) setting is 100%. It does occur when it's 125%.
Posted 9 years ago2013-08-04 14:39:25 UTC
in Warning: Ambiguous leafnode content Post #314707
Posted 9 years ago2013-07-16 15:24:03 UTC
in TWHL Planet! Post #314209
*Pies

@Lajron: And vice versa. Here's an image with both nations:
User posted image
Posted 9 years ago2013-07-16 15:07:35 UTC
in TWHL Planet! Post #314206
Sanßkals
User posted image
User posted image User posted image
Posted 9 years ago2013-06-17 06:32:07 UTC
in Plugin triggering entity Post #313991
I noticed two mistakes. Use this instead:
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

#define ADMIN_LEVEL ADMIN_LEVEL_A

public plugin_init() {
register_plugin("Use Entity", "1.0", "potatis_invalido");
register_clcmd("amx_use", "cmdUse", ADMIN_LEVEL, "TARGETNAME");
}

public cmdUse(id, level, cid) {
if(cmd_access(id, level, cid, 2)) {
new nameArgumentValue[33];
if(read_argc() != 2 || read_argv(1, nameArgumentValue, (sizeof nameArgumentValue) - 1) < 1) {
console_print(id, "[amx_use] - Invalid number of arguments.");
} else {
new entityId = engfunc(EngFunc_FindEntityByString, -1, "targetname", nameArgumentValue);
if(!pev_valid(entityId)) {
console_print(id, "[amx_use] - Entity not found");
} else {
console_print(id, "[amx_use] - Using entity with ID number %i", entityId);
dllfunc(DLLFunc_Use, entityId, id);
}
}
}
return PLUGIN_HANDLED;
}
Posted 9 years ago2013-06-16 00:15:10 UTC
in Plugin triggering entity Post #313989
100% untested!

This plugin should allow you to "use" any entity (for example a button or a hostage) with the command amx_use TARGETNAME where TARGETNAME is the name of the entity.
Example use: amx_use doorbellbtn
#include <amxmodx>
#include <amxmisc>
#include <fakemeta>

#define ADMIN_LEVEL ADMIN_LEVEL_A

public plugin_init() {
	register_plugin("Use Entity", "1.0", "potatis_invalido");
	register_clcmd("amx_use", "cmdUse", ADMIN_LEVEL, "amx_use TARGETNAME");
}

public cmdUse(id, level, cid) {
	if(cmd_access(id, level, id, 1)) {
		new nameArgumentValue[33];
		if(read_argc() != 2 || read_argv(1, nameArgumentValue, (sizeof nameArgumentValue) - 1) < 1) {
			console_print(id, "[amx_use] - Invalid number of arguments.");
		} else {
			new entityId = engfunc(EngFunc_FindEntityByString, -1, "targetname", nameArgumentValue);
			if(!pev_valid(entityId)) {
				console_print(id, "[amx_use] - Entity not found");
			} else {
				console_print(id, "[amx_use] - Using entity with ID number %i", entityId);
				dllfunc(DLLFunc_Use, entityId, id);
			}
		}
	}
	return PLUGIN_HANDLED;
}
I don't have the time to install AMX Mod X right now. I hope it works!
Posted 9 years ago2013-06-07 18:34:00 UTC
in Entity help triggering breakable glass Post #313866
Do you want it to break at the beginning of each round? If so, make a part of it invisible and have the invisible part cover both teams' entire spawn areas. Then set "strength" to 0 and flag "Touch" and "Pressure".
Posted 9 years ago2013-06-05 20:16:25 UTC
in Post your screenshots! WIP thread Post #313833
Or SVG. Perhaps the rule should be: compress your images.
Posted 9 years ago2013-05-26 13:06:58 UTC
in TWHL Coop Ideas? Post #313693
WAIT,

THERE'S A SHE AMONG US?!?!

You said his/her, so I kinda got excited... :3

But really, who ever it is, WOMAN UP! xD
I don't think there is. And comments like yours is probably one of the reasons for that.
Posted 9 years ago2013-03-26 22:35:04 UTC
in Sound card problims Post #313167
Have you tried the unofficial drivers?

Download link: http://www.mediafire.com/download.php?7lmswbsv7gnvdsc

When installing, choose Low DPC latency, and don't disable driver certification signatures.
Posted 9 years ago2013-03-24 20:24:15 UTC
in Chance of winning free copy of Battlefie Post #313126
Can I get a boat?
Posted 9 years ago2013-01-19 14:44:54 UTC
in The Core Post #312263
Same here. I really look forward to The Core. That's pretty much all I have to say about it.
Posted 9 years ago2013-01-11 04:48:28 UTC
in Post your screenshots! WIP thread Post #312151
CS 1.6? func_breakables respawn at the beginning of each round and can be set to trigger something else when they're destroyed. All you have to do is make sure it takes damage.

Sorry if I'm not making sense, it's 05:40.
Posted 9 years ago2013-01-09 20:35:50 UTC
in Half Life alpha 0.52 Post #312137
http://speedy.sh/jWsmM/HLAlphabyJayzer.7z if you can't download it from Google. Click the text which says "HLAlphabyJayzer.7z"
Posted 9 years ago2013-01-06 23:16:34 UTC
in The Great Debate Post #312073
Vanilla ice cream with strawberries or cloudberries, or chocolate ice cream with banana slices.
Posted 9 years ago2013-01-02 14:32:44 UTC
in Masks Post #312000
What The_(c)Striker said. Best of luck.
Posted 9 years ago2012-12-31 03:17:08 UTC
in Hammer 3.5< problems with Windows 7 Post #311948
Run "Control Panel>System and Security>Administrative Tools>Windows Memory Diagnostic". See if it finds any errors.
Posted 9 years ago2012-12-27 17:33:40 UTC
in Don't use Gamefront/Filefront Post #311885
Probably old news to some of you, but Gamefront has choosen to block downloads from these countries:
Argentina
Brazil
Chile
Colombia
Costa Rica
Ecuador
France
Honduras
Hungary
India
Indonesia
Italy
Japan
Malaysia
Mexico
Peru
Philippines
Poland
Portugal
Romania
Russian Federation
Serbia
Singapore
Spain
Sweden
Thailand
Turkey
Uruguay
Venezuela
So if you're uploading a map or a mod, please do a Swede a favour and don't use Gamefront. Thanks in advance.
Posted 9 years ago2012-12-23 17:47:59 UTC
in Competition 33 Post #311828
Thanks Rim, that gave me a good laugh.
Posted 9 years ago2012-12-22 23:41:04 UTC
in Ideas for TWHL's x-mas special Post #311811
So since someone decided to screw with the poll
In what way and how? The polls look fine to me.

I think we all knew which two games were going to get the most votes anyway; Half-Life and CS: GO.
Posted 9 years ago2012-12-21 21:24:34 UTC
in Complete bullshit new law passed in US Post #311752
How about everyone gets a gun when they get their drivers licence. That would ensure everyone, rich or poor, can defend themselves when the situation arises. Yeah.
That's assuming everyone carry them around everywhere they go. I for one, would not do that, unless I lived in Congo or someplace similar.
Mass shootings are going to happen whether or not we have gun control.
Gun control could reduce them, at least in theory.
Besides, taking away guns from normal people is entirely stupid because what people do not get is that criminals are criminals and they will get their hands on weapons illegal or not. All this does is take away weapons normal people could use to defend themselves.
What about shootings committed by people who wouldn't know how to get ahold of one illegaly? Because they only know decent people or because they're socially awkard?
Posted 9 years ago2012-12-19 20:16:35 UTC
in Ideas for TWHL's x-mas special Post #311666
I would definitely play any of Valve's games.
Posted 9 years ago2012-12-19 14:31:49 UTC
in Ideas for TWHL's x-mas special Post #311652
Will this happen or not?
Posted 9 years ago2012-12-03 16:09:33 UTC
in Any enthusiastic mappers still out there Post #311324
Hello and welcome!

You should ask Bruce. He's into that sort of stuff and he's a good mapper.