Welcome, Guest! Login | Register

Model-Related Console Commands [Print this Article]
Posted by: Spider
Date posted: Feb 09 2003
User Rating: 5 out of 5.0
Number of views: 2348
Number of comments: 0
Description:
To view your model in Half-Life you need to create a shortcut to hl.exe and put some commands in the Target Field. Here is a sample command line:
hl.exe -console -dev +map stalkyard +thirdperson +cam_idealyaw 180 +cam_idealdist 100
This gets you in the map called stalkyard, in Developer Mode with the chase cam in front of the model. You'll need to choose your model and if you'd like, get weapons to hold. If some of these commands are entered into the console, the + or - isn't needed.


console: Needs to be put in the command line so the console is accessible in the game.
dev: Command line that turns on Developer Mode, which accesses more functions.

model xxx: Selects which player model to view.
cl_himodels x: Enables / disables high quality models. 1 enables, 0 disables.

firstperson: Normal view.
thirdperson: Thirdperson camera view. This is different from chase_active.
cam_idealdist x: Camera distance from model. Starts at 0.
cam_idealyaw x: Camera rotation in degrees. Goes from 0 to 360.
cam_idealpitch x: Camera pitch in degrees. Goes from 0 to 360.

chase_active x: Enables / disables chase cam. 1 is on, 0 is off.
chase_back x: Chase cam distance behind the model. Starts at 0.
chase_right x: Chase cam distance to the side. Starts at 0.
chase_up x: Chase cam distance up. Starts at 0.

bind +cammousemove: Chase cam rotates while holding this key. Bind this once.

impulse 101: Gives player all weapons and some ammo.
crosshair x: Enables / disables weapon crosshairs. 1 is on, 0 is off.

F5: Press this keyboard button to take a screenshot. It's saved to the half-life/ folder.

r_drawentities x:

r_drawentities 1:
Normal model
user posted image


r_drawentities 2:
Skeleton
user posted image


r_drawentities 3:
Bounding boxes for each bone
user posted image


r_drawentities 4:
Boxes with model
user posted image


r_drawentities 5:
Single box for player which contains one for weapon
user posted image

Rate This Article
This article is currently rated: 5 out of 5.0 (1 Votes)

You have to register to rate this article.
User Comments

No User Comments

You must register to post a comment. If you have already registered, you must login.

Latest Articles
3rd person View in Multiplayer
Half-Life 2 | Coding | Client Side Tutorials
How to enable it in HL2DM

By: cct | Nov 13 2006

Making a Camera
Half-Life 2 | Level Design
This camera is good for when you join a map, it gives you a view of the map before you join a team

By: slackiller | Mar 04 2006

Making a camera , Part 2
Half-Life 2 | Level Design
these cameras are working monitors that turn on when a button is pushed.

By: slackiller | Mar 04 2006

Storing weapons on ladder
Half-Life 2 | Coding | Snippets
like Raven Sheild or BF2

By: British_Bomber | Dec 24 2005

Implementation of a string lookup table
Half-Life 2 | Coding | Snippets
A string lookup table is a set of functions that is used to convert strings to pre-defined values

By: deathz0rz | Nov 13 2005


Latest Comments
Spinning Corpses Simple Fix
Half-Life | Coding | Snippets
By: darkPhoenix | Sep 05 2008
 
Where do we go from here
General | News
By: MIFUNE | Jun 09 2008
 
The Input/Output system
Half-Life 2 | Level Design
By: nazitaco | Dec 23 2007
 
Where do we go from here
General | News
By: Rob_F | Nov 22 2007
 
Rescaling Half-Life
Half-Life | Coding | Shared Tutorials
By: christoph | Nov 12 2007
 
GameUI
Half-Life 2 | Coding | Client Side Tutorials
By: Evil_j | Oct 29 2007
 
3 State Zoom For Any Weapon
Half-Life 2 | Coding | Server Side Tutorials
By: Ennuified | Oct 18 2007
 
Storing weapons on ladder
Half-Life 2 | Coding | Snippets
By: cct | Sep 07 2007
 
CTF Gameplay Part 1
Half-Life | Coding | Shared Tutorials
By: DarkNight | Aug 28 2007
 
CTF Gameplay Part 1
Half-Life | Coding | Shared Tutorials
By: deedok | Aug 20 2007
 

Site Info
296 Approved Articless
5 Pending Articles
3940 Registered Members
0 People Online (59 guests)
About - Credits - Contact Us

Wavelength version: 3.0.0.9
Valid XHTML 1.0! Valid CSS!