What is the cmd for no weapons and HUD?

What is the cmd for no weapons and HUD?

Re: What is the cmd for no weapons and HUD? Posted by CPS on Fri Dec 10th 2004 at 6:04am
CPS
60 posts
Posted 2004-12-10 6:04am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
I thought that the cmd for this was -dev or something in the expert compile, but also is it ok to run the game after compile now? I remember in the instructions it said do not run game after compile. Thanks.
Re: What is the cmd for no weapons and HUD? Posted by Joe-Bob on Fri Dec 10th 2004 at 6:10am
Joe-Bob
180 posts
Posted 2004-12-10 6:10am
Joe-Bob
member
180 posts 77 snarkmarks Registered: Dec 3rd 2004
I'm not quite sure what you want.

Do you mean turning off the weapon model and ammo displays in the game?
Re: What is the cmd for no weapons and HUD? Posted by CPS on Fri Dec 10th 2004 at 6:16am
CPS
60 posts
Posted 2004-12-10 6:16am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
Yes, pretty much. And also is it ok to have Hammer exec the game after compiling now?
Re: What is the cmd for no weapons and HUD? Posted by ReNo on Fri Dec 10th 2004 at 6:18am
ReNo
5457 posts
Posted 2004-12-10 6:18am
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
I've got a quick tip up for this in the editing section - use
"cl_drawhud 0" and "r_drawviewmodel 0" in the console during the game,
AFTER you have turned on cheats with "sv_cheats 1". Its fine to have
hammer launch your game of choice after the compile, but if you have
512mb or RAM or more you might want to just open HL2 or whatever and
keep it minimised in the background while you are mapping since it
takes so long to load.
Re: What is the cmd for no weapons and HUD? Posted by Joe-Bob on Fri Dec 10th 2004 at 6:22am
Joe-Bob
180 posts
Posted 2004-12-10 6:22am
Joe-Bob
member
180 posts 77 snarkmarks Registered: Dec 3rd 2004
but if you have
512mb or RAM or more you might want to just open HL2 or whatever and
keep it minimised in the background while you are mapping since it
takes so long to load.
Heh, I do the opposite quite a bit. (Keep HL2 up while Hammer is running)
Re: What is the cmd for no weapons and HUD? Posted by CPS on Fri Dec 10th 2004 at 6:26am
CPS
60 posts
Posted 2004-12-10 6:26am
CPS
member
60 posts 6 snarkmarks Registered: Nov 21st 2004 Location: USA
Reno, that works, but the way I remember there was one thing you enter in expert compile and you spawn with no gun or anything. Is there another cmd that I could add to those that you told me to make it so you cannot shoot either? Thanks.
Re: What is the cmd for no weapons and HUD? Posted by ReNo on Fri Dec 10th 2004 at 6:59am
ReNo
5457 posts
Posted 2004-12-10 6:59am
ReNo
member
5457 posts 1991 snarkmarks Registered: Aug 22nd 2001 Occupation: Level Designer Location: Scotland
Errr, why? :confused:

In order to spawn with no gun or anything you would just run the game
in single player mode in HL1, but in HL2 that isn't an option given
that HL2DM is a seperate program and doesn't run using modes as such.
Not sure how you could do it in HL2DM, I've a feeling that the guns are
actually completely forced and there is no way to remove them by
default to be honest :sad:
Re: What is the cmd for no weapons and HUD? Posted by Nickelplate on Fri Dec 10th 2004 at 6:19pm
Nickelplate
2770 posts
Posted 2004-12-10 6:19pm
2770 posts 346 snarkmarks Registered: Nov 23rd 2004 Occupation: Prince of Pleasure Location: US
put a weaponstrip entity on each of your spawnpoints. Then set it to trigger whenever you spawn.