hlvis: Error: Portal file 'TEST.prt' does not exist, cannot vis

hlvis: Error: Portal file 'TEST.prt' does not exist, cannot vis

Hammer Mapping — Page [1]
xDarKen
2010 Feb 2 • 14
Im on the step where i run the batch file.

The "err" file says :
hlvis: Error: Portal file 'TEST.prt' does not exist, cannot vis the map

My map is called "TEST.map"

i dont even know where is TEST.prt .....

By the way im playing non-steam, this is my counter-strike location : C:\Program Files\Counter-Strike 1.6 V40

And i have no idea why my "hl" the half-life launcher is not working. But i can run half-life with the batch file - the one in counter strike folder.

One more question, why does the script in the "TEST.bat" says

@echo off
hlcsg -nowadtextures TEST
hlbsp TEST
hlvis TEST
hlrad TEST
copy TEST.bsp "C:\Program Files\Counter-Strike 1.6 V40\cstrike\maps"
cd "C:\Program Files\Counter-Strike 1.6 V40"
pause
hl -dev -console -game cstrike +sv_cheats 1 +map TEST

i dont understand the last "hl" part. and it doesnt work for me since that my "hl launcher" doesnt work.

so i changed to :

@echo off
hlcsg -nowadtextures TEST
hlbsp TEST
hlvis TEST
hlrad TEST
copy TEST.bsp "C:\Program Files\Counter-Strike 1.6 V40\cstrike\maps"
cd "C:\Program Files\Counter-Strike 1.6 V40"
pause
half-life -dev -console -game cstrike +sv_cheats 1 +map TEST

it runs half life but doesnt do anything more. (And im trying to use my map on counter-strike 1.6)

so i tried replacing the half-life part as "counter-strike", and it runs cs 1.6, but doesnt do anything more...

and i try to create my own game, with 1 bot and i change the map to "TEST" , it loads like half way then "Not Responding" .

hope that someone could help me~

Thanks for reading.

 
 
 
2010 Feb 2 at 20:51 PST
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
hlvis: Error: Portal file 'TEST.prt' does not exist, cannot vis the map

The was an error in the compile problem (I think, if I remember correctly, that the .prt file is made by rad).
Post your entire compile log to find the problem

hl -dev -console -game cstrike +sv_cheats 1 +map TEST

hl is the name of the Half Life executable (hl.exe) so it starts Half Life (changing shouldn't work).

-dev is the 'developer' flag (i.e. it starts Half Life in developer mode -boolean value)

-console is the 'console' flag (i.e. it starts Half Life and allows access to the console -boolean value)

-game is the 'game' flag (i.e. it starts Half Life then switches to the Counter Strike mod -string value)

sv_cheats is the 'sv_cheats' flag (i.e. it allows god mode, and such - boolean value)

map is the 'map' flag (i.e. it specifies witch map to run -string value)
 
 
 
2010 Feb 3 at 15:39 PST — Ed. 2010 Feb 3 at 15:40 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2010 Feb 3 at 16:06 PST
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
How'd you get in here?
 
 
 
2010 Feb 3 at 16:08 PST
Down Rodeo
Cap'n Moth of the Firehouse

Find the Hole II Participation Medal
2007 Oct 19 • 5486
57,583 ₧
 
 
 
2010 Feb 3 at 16:11 PST
sprinkles

Chrome Whore
2009 Sep 6 • 2547
10 ₧
Down Rodeo said:
You should try resisting.


How can I resist an irresistible urge?
 
 
 
2010 Feb 3 at 16:31 PST
Page [1]