Talk:Half-Life Model Viewer: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
m (Manual move)
 
Line 1: Line 1:
'''Agree''' - The two should be merged togather. They're the same topic anyway. Don't see why they should be put in seperate articles if they're the same thing. --[[User:Amirali|Amirali]] 07:40, 4 Jun 2008 (PDT)
the image is not from the latest version so i guess version 1.22 (added 06:39, 22 Jun 2006) is nolonger the latest version number either. --[[User:Wolf|Wolf]] 06:00, 4 Oct 2007 (PDT)


'''Seconded''' - They are on the same topic, why have them on different pages, especially since the less-used abbreviation has more information. --
== Issus in L4D2 Authoring Tools ==
[[User:Phyxius|Phyxius]] 19:17, 8 April 2009 (UTC)
Is the ability of HLMV to display specularity broken? eg adding $envmap env_cubemap in VMT has no effect. Specularity is only shown in VHE / Game. --[[User:Swot|Swot]] 09:46, 7 June 2012 (PDT)


'''Agree, Merge Them''' - theres no real argument in it, there referring to the same thing--[[User:Theharribokid|Theharribokid]] 22:46, 24 November 2009 (UTC)
== opening non-HL2 models ==
 
Whenever I run hlmv, it always gives me the models from HL2, no matter what I've specified in Source SDK as the game I want to work with. If I try to open it with the command-line option of ''-game [path of game I want to use]'', it doesn't open at all, and if I try dragging an .mdl file to it it ALWAYS says "error loading model", even when that model is from a commercial game like ''Counter Strike: Source'' or ''Portal'', or from a working mod. Is there any way to open models in hlmv that aren't the ones in the HL2 GCF? [[User:Luvcraft|Luvcraft]] 22:12, 3 Nov 2007 (PDT)
* I found the answer to the first half of my question [http://forums.steampowered.com/forums/showthread.php?t=617242&highlight=%22model+viewer%22 here]; basically, hlmv loads the models for HL2 AND the models for whatever game you have selected. Still can't view individual .mdl files, though. [[User:Luvcraft|Luvcraft]] 22:53, 3 Nov 2007 (PDT)
 
== Some answers for issues ==
 
If I recall, Valve used the 1.22 HLMV codebase as the basis for their versio of HLMV. There were some nasty bugs in 1.22 so I *hope* they fixed them all when they wrote their version. As for loading the default settings for a model, this requires removing the relevant folder for the model in the registry under HKEY_CURRENT_USER\Software\Valve\hlmv\. Doing so makes HLMV use the defauly settings next time that model is loaded --[[User:Wunderboy|Wunderboy]] 05:27, 28 Nov 2007 (PST)
 
== Editing model settings via registry ==
 
Each model's own settings are stored in their own entry in the registry (HKEY_CURRENT_USER\Software\Valve\hlmv). Inside each entry are a lot of different fields and I've documented some below.
 
* <tt>Rot</tt> &ndash; rotation (x y z).
* <tt>Trans</tt> &ndash; translation.
* <tt>lightrot</tt> &ndash; light rotation (x y z (?)).
* <tt>bgColor</tt> &ndash; background color in RGBA (unconfirmed).
 
[[User:Seb26|Seb26]] 01:23, 21 December 2010 (UTC)

Latest revision as of 16:09, 8 August 2023

the image is not from the latest version so i guess version 1.22 (added 06:39, 22 Jun 2006) is nolonger the latest version number either. --Wolf 06:00, 4 Oct 2007 (PDT)

Issus in L4D2 Authoring Tools

Is the ability of HLMV to display specularity broken? eg adding $envmap env_cubemap in VMT has no effect. Specularity is only shown in VHE / Game. --Swot 09:46, 7 June 2012 (PDT)

opening non-HL2 models

Whenever I run hlmv, it always gives me the models from HL2, no matter what I've specified in Source SDK as the game I want to work with. If I try to open it with the command-line option of -game [path of game I want to use], it doesn't open at all, and if I try dragging an .mdl file to it it ALWAYS says "error loading model", even when that model is from a commercial game like Counter Strike: Source or Portal, or from a working mod. Is there any way to open models in hlmv that aren't the ones in the HL2 GCF? Luvcraft 22:12, 3 Nov 2007 (PDT)

  • I found the answer to the first half of my question here; basically, hlmv loads the models for HL2 AND the models for whatever game you have selected. Still can't view individual .mdl files, though. Luvcraft 22:53, 3 Nov 2007 (PDT)

Some answers for issues

If I recall, Valve used the 1.22 HLMV codebase as the basis for their versio of HLMV. There were some nasty bugs in 1.22 so I *hope* they fixed them all when they wrote their version. As for loading the default settings for a model, this requires removing the relevant folder for the model in the registry under HKEY_CURRENT_USER\Software\Valve\hlmv\. Doing so makes HLMV use the defauly settings next time that model is loaded --Wunderboy 05:27, 28 Nov 2007 (PST)

Editing model settings via registry

Each model's own settings are stored in their own entry in the registry (HKEY_CURRENT_USER\Software\Valve\hlmv). Inside each entry are a lot of different fields and I've documented some below.

  • Rot – rotation (x y z).
  • Trans – translation.
  • lightrot – light rotation (x y z (?)).
  • bgColor – background color in RGBA (unconfirmed).

Seb26 01:23, 21 December 2010 (UTC)