Using glview: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (missed a spot)
(redir)
 
Line 1: Line 1:
Go to expert compile mode, and make a new configuration (called it ''glview'').
#redirect [[glview]]
 
Then click new, and enter in this:
 
'''Command:''' ''$bsp_exe''
 
'''Parameters:''' ''-glview $path\$file.$ext''
 
Check the box "''Use Long Filenames''"
 
Check "''Ensure post-file exists''" and in the box type in: ''$path\$file.gl''
 
Check "''Use Process Window''"
 
That one is done.
 
 
{{note|To make glview work under windows vista you can change the parameters to: ''-game [path to [http://www.valve-erc.com/srcsdk/general/game_directory.html game directory]] -glview $path\$file.$ext'' , And make separate configurations for eatch game/mod youre working on
:'''Example1''': ''-game c:/steam/steamapps/sourcemods/insurgency -glview $path\$file.$ext''
:'''Example2''': ''-game c:/steam/steamapps/counter-strike source/cstrike -glview $path\$file.$ext''}}
 
{{note|If you have spaces in your game directory path, you must use quotation marks around the game directory path
:'''Example''': ''-game "c:/program files/steam/steamapps/sourcemods/insurgency" -glview $path\$file.$ext''}}
 
----
 
Now click ''new'', and click "''Cmds''" and then "''Executeable''" and find '''glview.exe'''
 
It's located at either ''\YourSteamUserDirectory\sourcesdk\bin\ep1\bin\glview.exe'' or ''\YourSteamUserDirectory\sourcesdk\bin\organgebox\bin\glview.exe'', depending on if you're working on a Half-Life2: Episode 1 mod or Orange Box mod.
 
 
'''Parameters:''' ''-portals $path\$file.gl''
 
'''Check''' the box for "''Long File Names''"
 
'''Check''' the box for "''Use Process Window''"
 
 
{{note|To make glview work under windows vista you can change the parameters to: ''-game [path to game directory] -portals $path\$file.gl'' , And make separate configurations for eatch game/mod youre working on
:'''Example1''': ''-game c:/steam/steamapps/sourcemods/insurgency -portals $path\$file.gl''
:'''Example2''': ''-game c:/steam/steamapps/counter-strike source/cstrike -portals $path\$file.gl''}}
 
{{note|If you have spaces in your game directory path, you must use quotation marks around the game directory path
:'''Example''': ''-game "c:/program files/steam/steamapps/sourcemods/insurgency" -portals $path\$file.gl''}}
 
 
[[Image:Opt_glview_expertcompile.jpg]]
[[Category:Level Design]]

Latest revision as of 08:12, 16 September 2008

Redirect to: