compile error when making room with rotating door.

compile error when making room with rotating door.

Re: compile error when making room with rotating door. Posted by Irenicis on Sun Aug 22nd 2004 at 8:54am
Irenicis
55 posts
Posted 2004-08-22 8:54am
Irenicis
member
55 posts 6 snarkmarks Registered: Aug 9th 2004
this is the compile log:

** Executing...
** Command: C:\VALVE\STEAM\STEAM.EXE
** Parameters: "C:\Valve\Steam"

** Executing...
** Command: C:\PROGRA~1\VALVEH~1\ZHLT\HLCSG.EXE
** Parameters: "c:\program files\valve hammer editor\rmf\door"

hlcsg v2.5.3 rel (May 2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to (zoner@gearboxsoftware.com)
----- BEGIN hlcsg -----
Command line: C:\PROGRA~1\VALVEH~1\ZHLT\HLCSG.EXE "c:\program files\valve hammer editor\rmf\door"

-= Current hlcsg Settings =-
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 1 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Wadinclude list :
[zhlt.wad]

entering c:\program files\valve hammer editor\rmf\door.map
Error: Entity 0, Brush 8: ORIGIN brushes not allowed in world
Error: Brush type not allowed in world
Description: The map has a problem which must be fixed
Howto Fix: Check the file ZHLTProblems.html for a detailed explanation of this problem

----- END hlcsg -----

** Executing...
** Command: C:\PROGRA~1\VALVEH~1\ZHLT\HLBSP.EXE
** Parameters: "c:\program files\valve hammer editor\rmf\door"

hlbsp v2.5.3 rel (May 2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to (zoner@gearboxsoftware.com)
----- BEGIN hlbsp -----
Command line: C:\PROGRA~1\VALVEH~1\ZHLT\HLBSP.EXE "c:\program files\valve hammer editor\rmf\door"
There was a problem compiling the map.
Check the file c:\program files\valve hammer editor\rmf\door.log for the cause.
----- END hlbsp -----

** Executing...
** Command: C:\PROGRA~1\VALVEH~1\ZHLT\HLVIS.EXE
** Parameters: "c:\program files\valve hammer editor\rmf\door"

hlvis v2.5.3 rel (May 2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to (zoner@gearboxsoftware.com)
----- BEGIN hlvis -----
Command line: C:\PROGRA~1\VALVEH~1\ZHLT\HLVIS.EXE "c:\program files\valve hammer editor\rmf\door"
There was a problem compiling the map.
Check the file c:\program files\valve hammer editor\rmf\door.log for the cause.
----- END hlvis -----

** Executing...
** Command: C:\PROGRA~1\VALVEH~1\ZHLT\HLRAD.EXE
** Parameters: "c:\program files\valve hammer editor\rmf\door"

hlrad v2.5.3 rel (May 2 2001)
Based on Valve's version, modified with permission.
Submit detailed bug reports to (zoner@gearboxsoftware.com)
----- BEGIN hlrad -----
Command line: C:\PROGRA~1\VALVEH~1\ZHLT\HLRAD.EXE "c:\program files\valve hammer editor\rmf\door"
There was a problem compiling the map.
Check the file c:\program files\valve hammer editor\rmf\door.log for the cause.
----- END hlrad -----

** Executing...
** Command: Copy File
** Parameters: "c:\program files\valve hammer editor\rmf\door.bsp" "C:\Valve\Steam\SteamApps\mayday1_2@hotmail.com\counter-strike\cstrike\maps\door.bsp"

The command failed. Windows reported the error:
"The system cannot find the file specified."

** Executing...
** Command: Copy File
** Parameters: "c:\program files\valve hammer editor\rmf\door.pts" "C:\Valve\Steam\SteamApps\mayday1_2@hotmail.com\counter-strike\cstrike\maps\door.pts"

The command failed. Windows reported the error:
"The system cannot find the file specified."

** Executing...
** Command: C:\VALVE\STEAM\STEAM.EXE
** Parameters: +map "door" -dev -console
Re: compile error when making room with rotating door. Posted by Crono on Sun Aug 22nd 2004 at 8:59am
Crono
6628 posts
Posted 2004-08-22 8:59am
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
"Error: Entity 0, Brush 8: ORIGIN brushes not allowed in world
Error: Brush type not allowed in world"

Looks like when you made your door into an entity you didn't select the orgin as well.

Basically when you made that 'door' brush into an entity you had to select the brush as well then make the combination into a door_rotating entity.

Also, you're missing "-applaunch 10" from you steam.exe command.
Re: compile error when making room with rotating door. Posted by Irenicis on Sun Aug 22nd 2004 at 10:12am
Irenicis
55 posts
Posted 2004-08-22 10:12am
Irenicis
member
55 posts 6 snarkmarks Registered: Aug 9th 2004
so what i have to do is that i have to change the origin brush into a func_door_rotating as well?

As for the -applaunch 10, i think it's because i used half life(full) instead of counter Strike(full) before compiling
Re: compile error when making room with rotating door. Posted by fraggard on Sun Aug 22nd 2004 at 10:14am
fraggard
1110 posts
Posted 2004-08-22 10:14am
fraggard
member
1110 posts 220 snarkmarks Registered: Jul 8th 2002 Occupation: Student Location: Bangalore, India
Irenicis said:
so what i have to do is that i have to change the origin brush into a func_door_rotating as well?

As for the -applaunch 10, i think it's because i used half life(full) instead of counter Strike(full) before compiling
Not "a" func_door_rotating, you have to bind the origin along with the rest of the func_door_rotating.

Just select your door, and your origin, and click "Tie To Entity". Then Click "Yes".
Re: compile error when making room with rotating door. Posted by Irenicis on Sun Aug 22nd 2004 at 11:16am
Irenicis
55 posts
Posted 2004-08-22 11:16am
Irenicis
member
55 posts 6 snarkmarks Registered: Aug 9th 2004
how do i get rid of the space in between the door and the wall which holds the "hinges"
Re: compile error when making room with rotating door. Posted by fraggard on Sun Aug 22nd 2004 at 11:49am
fraggard
1110 posts
Posted 2004-08-22 11:49am
fraggard
member
1110 posts 220 snarkmarks Registered: Jul 8th 2002 Occupation: Student Location: Bangalore, India
If I understand you right, you just have to place the actual door brush in the proper place.

Remember that the origin brush is not where the door itself is placed, it is actually the origin of rotation, i.e the door rotates "about" the origin brush .

Hint: If you're making a real-world door, the origin brush is WITHIN the bounds of the actual door brushes.

In case I didn't understand properly, pictures?
Re: compile error when making room with rotating door. Posted by Irenicis on Sun Aug 22nd 2004 at 12:11pm
Irenicis
55 posts
Posted 2004-08-22 12:11pm
Irenicis
member
55 posts 6 snarkmarks Registered: Aug 9th 2004
My problem is that my door is rotating on empty air:

User posted image
Re: compile error when making room with rotating door. Posted by Captain P on Sun Aug 22nd 2004 at 12:44pm
Captain P
1370 posts
Posted 2004-08-22 12:44pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
As far as I understand, your doors rotation axis isn't at the right place, e.g. the door rotates around it's middle, right?

Now the door rotates around the middle of the origin brush. So you
would place the origin brush at one side of the door, then everything
would go as planned.
Re: compile error when making room with rotating door. Posted by Irenicis on Sun Aug 22nd 2004 at 1:00pm
Irenicis
55 posts
Posted 2004-08-22 1:00pm
Irenicis
member
55 posts 6 snarkmarks Registered: Aug 9th 2004
It is already at one side of the door, The space between the door and the wall is the origin brush which has disappear.
Re: compile error when making room with rotating door. Posted by Captain P on Sun Aug 22nd 2004 at 1:07pm
Captain P
1370 posts
Posted 2004-08-22 1:07pm
1370 posts 1995 snarkmarks Registered: Nov 6th 2003 Occupation: Game-programmer Location: Netherlands
The origin brush doesn't show up in-game, it's only purpose is to
provide a rotation axis. A door brush often overlaps an origin brush,
that's no problem, as the door brush is the only thing you'll see
in-game. So in your case, make the door brush a bit wider so it fits
well within the door opening.
Re: compile error when making room with rotating door. Posted by fraggard on Sun Aug 22nd 2004 at 1:15pm
fraggard
1110 posts
Posted 2004-08-22 1:15pm
fraggard
member
1110 posts 220 snarkmarks Registered: Jul 8th 2002 Occupation: Student Location: Bangalore, India
First off, NEVER UPLOAD BMP FILES! You wasted 1MB of my bandwidth on a rubbish image no one will ever see again. User posted image

Secondly, now that It's already loaded, the problem is what I said earlier. Your door is placed wrong. Place it properly.

Your door brush should cover the entire gap in the walls. The origin brush should be INSIDE the door brush, near the edge which it turns on.

Read these and figure it out
http://collective.valve-erc.com/index.php?doc=1047431328-22271600
http://collective.valve-erc.com/index.php?go=rotating_objects
Re: compile error when making room with rotating door. Posted by fraggard on Sun Aug 22nd 2004 at 1:16pm
fraggard
1110 posts
Posted 2004-08-22 1:16pm
fraggard
member
1110 posts 220 snarkmarks Registered: Jul 8th 2002 Occupation: Student Location: Bangalore, India
Double post
Re: compile error when making room with rotating door. Posted by G.Ballblue on Sun Aug 22nd 2004 at 3:23pm
G.Ballblue
1511 posts
Posted 2004-08-22 3:23pm
1511 posts 211 snarkmarks Registered: May 16th 2004 Occupation: Student Location: A secret Nuclear Bunker on Mars
Texture lore bud -- read this over so you don't get another "this object cannot be in the level error" :smile:

origin - we've already gone over this about 500 times. :razz: You get it's purpose -- but it must always be bound to an entity, or the game considers it it's own object -- which is not alowed. Also, origin brushes must have just the origin texture all the way around the brush (covering each face).

AAATRIGGER - What most mappers use to disquinquish as what is an object based entity, or a wall. An example would be that if you didn't have this, you would cover things such as trigger_onces with a wall texture. This could confuse the mapper -- so instead, you cover the brush with this. DO NOT USE THIS TEXTURE AS SOMETHING IN THE MAP!!! The effects of using this texture on solid object in your map can be, well, mind blowing. :wink:

clip - A'la, invisible wall anyone? Clips MUST BE SOLID, or you get an error, and the map won't play. Clip brushes must be covered fully with the clip texture.

null - Null was actually invented for Quake 3, and known as "caulk". The use of this texture was then ported to HL, and can only be used if you're using Zoner's HL tools. Essentially, all it does is A. Block light (assuming the brush is solid), and B. it deletes any area of any face that the object touches (once again, assuming it is solid). The game treats this object just like any other -- so I suppose you can get face splitting with it. Unlike other textures, you don't have to cover the entire brush with null. Let's say, if you wanted to null 1 side of a 6 sided object, then apply the texture you want to your 6 sided object. Then apply null to the face you want to not exist. Presto! That face never existed. However, that doesn't mean you can just walk into the object now that that face is missing :razz:

Remember that: If you wanna use null to block some light, then please make sure it doesn't touch any other objects -- it deletes anything it touches.
Re: compile error when making room with rotating door. Posted by fizscy46 on Sun Aug 22nd 2004 at 5:40pm
fizscy46
334 posts
Posted 2004-08-22 5:40pm
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
Some images in this post have been automatically down-sized, click on them to view the full sized versions:

Refer to picture. Its not that hard to figure out what to do. This is only an overhead view:

User posted image
Re: compile error when making room with rotating door. Posted by Crono on Sun Aug 22nd 2004 at 6:30pm
Crono
6628 posts
Posted 2004-08-22 6:30pm
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
so what i have to do is that i have to change the origin brush into a func_door_rotating as well?

As for the -applaunch 10, i think it's because i used half life(full) instead of counter Strike(full) before compiling
Well the first part of the question has been answered (about four times). As for you applaunch number, if you want a game AT ALL to come up you need an applaunch number, half-life's is 70. Otherwise it will just open the default window for steam. (go command line arguments).

As for the visual fizscy gave, that's pretty much what you want ... usually, I make the orgin brush 1x1 unit inside the middle of the door (on the edge of course). But thats just a personal preference.
Re: compile error when making room with rotating door. Posted by fizscy46 on Sun Aug 22nd 2004 at 6:38pm
fizscy46
334 posts
Posted 2004-08-22 6:38pm
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
I just do it like that to visualise it as a hinge.
Re: compile error when making room with rotating door. Posted by Crono on Sun Aug 22nd 2004 at 6:58pm
Crono
6628 posts
Posted 2004-08-22 6:58pm
Crono
super admin
6628 posts 700 snarkmarks Registered: Dec 19th 2003 Location: Oregon, USA
I know. But, it works a little better in the middle if the door goes both ways (most often the case).
Re: compile error when making room with rotating door. Posted by fizscy46 on Sun Aug 22nd 2004 at 7:11pm
fizscy46
334 posts
Posted 2004-08-22 7:11pm
fizscy46
member
334 posts 72 snarkmarks Registered: Nov 16th 2003 Location: Toronto, Canada
Oh, I don't make mine go both ways.

But if you do, yes move that origin brush down one so its horizontally aligned with the door and wall
Re: compile error when making room with rotating door. Posted by Irenicis on Mon Aug 23rd 2004 at 11:25am
Irenicis
55 posts
Posted 2004-08-23 11:25am
Irenicis
member
55 posts 6 snarkmarks Registered: Aug 9th 2004
fraggard said:
First off, NEVER UPLOAD BMP FILES! You wasted 1MB of my bandwidth on a rubbish image no one will ever see again. User posted image
sorry, i won't post anymore unnessasary pictures, even if i do, i'll make it into a smaller size.
Re: compile error when making room with rotating door. Posted by wil5on on Mon Aug 23rd 2004 at 11:47am
wil5on
1733 posts
Posted 2004-08-23 11:47am
wil5on
member
1733 posts 570 snarkmarks Registered: Dec 12th 2003 Occupation: Mapper Location: Adelaide
Make it a JPG! Argh!