Problems Valley Created 15 years ago2009-05-14 08:46:10 UTC by Striker Striker

Created 15 years ago2009-05-14 08:46:10 UTC by Striker Striker

Posted 15 years ago2009-05-14 08:47:15 UTC Post #266926
Ok. Short : I'm making a garry's mod map using only hl2 resources. That means I can test it in hl2. So I'm making it. I'm compiling it. It has light. But again that stupid effect ... Light is dissapearing and appearing randomly in a building.

And the water doesn't render in game( you can't even "feel" it ! ) and I applied water texture only on the upper face of the solid. The rest of the faces are nodraw textured.

Here's the log. I won't be able to respond until maybe this evening, tomorrow evening or saturday.

Compile log removed

I don't know how this could be a leak when I have lighting ...
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-05-14 11:11:00 UTC Post #266930
Source allows lighting (although poor) even if there's a leak. The reason why its acting weird in your map is probably because of that leak.

Fix the leak first, then see if there's still weird lighting in your map.
Posted 15 years ago2009-05-14 12:23:33 UTC Post #266932
The water is caused by the leak, the lighting is caused by using model/prop/decal textures on brushes. Most model wall textures have a regular texture equivelant, so just swap with that.

edit: took a screenie to help make the point
User posted image
note that displacements do not block the world from the void.
Archie ArchieGoodbye Moonmen
Posted 15 years ago2009-05-14 13:44:10 UTC Post #266934
Ok, I'll discuss more about this problem when I get home again. That's saturday. I just hope I don't have to "bump" the thread lol.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-05-15 09:04:21 UTC Post #266936
Wow, i was way off.
Posted 15 years ago2009-05-17 05:10:06 UTC Post #267087
Lol , I loaded the pointfile and I discovered I accidently made some stairs func_detail.
User posted image
[EDIT] WTF, I eliminated the leak and the water still sucks. And that lighting bug still exists :nuts:

wadsart323redsg(water) :
User posted image
[EDIT] Anyone ? :(
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-05-17 07:09:49 UTC Post #267130
Try a different water texture (not a dev one), add a water_lod_control and add at least one env_cubemaps above the water surface (at eye height).
Posted 15 years ago2009-05-17 07:11:50 UTC Post #267131
It worked ! I love you !

But the stupid light effect persists.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-01 09:12:16 UTC Post #267739
Here I am again , with another problem ( in the mean time, my map got big).

I let it to compile, and it arrived at "Final light face" or something like that.

1
1...
2..
......nothing ...
The compiler stopped working, I checked it in the task manager. Wtf ?

And what's with this ultra-strange errors I've never seen before that takes my mind back to the old leaf-saw-into-leaf ???

Compile log removed

[EDIT] Ok it was a leak(a damn small one, thank pointfile !) but what about the other errors ?
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-01 09:29:33 UTC Post #267740
Fix the leak and the CONTENTS_SOLID errors should go away.
Water found with no water_lod_control entity, creating a default one.
I though you'd already placed one. Make sure its not in an invisible VIS group. Entities in invisible VIS groups are ignored.

Also, don't make the water out of multiple brushes. Use one big brush to cover the area's where you want to have water. The brush's edges and corners may stick out of your level, but that's ok, this won't cause leak.
Posted 15 years ago2009-06-01 10:09:29 UTC Post #267741
I added a water_lod_control , fixed the leak and now it compiled.

But, 2 new problems now :

"WARNING: Cluster portals saw into cluster"

And the sky randomly transforms itself in "hall of mirrors" from specific positions in the map ( even though I made a tall skybox ! )

[EDIT] I fixed the problems :) .

Just a question , can you tell me a good blues sky ? ( not totally blue, but with fewer clouds than the default one)
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-01 10:14:31 UTC Post #267742
Just a question , can you tell me a good blues sky ? ( not totally blue, but with fewer clouds than the default one)
I'd say make your own using Terragen. I once made a custom sky with it myself for HL2.
Posted 15 years ago2009-06-01 21:31:34 UTC Post #267776
how do you get the sky after you terragrn'd
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-02 06:49:24 UTC Post #267803
I tried that once, the script I found did'nt tell me what pictures to name what side of the skybox, and when I tried to put it ingame after converting to the right file format, HL crashed... But maybe that was just the script I used.
Notewell NotewellGIASFELFEBREHBER
Posted 15 years ago2009-06-02 12:13:42 UTC Post #267820
No , no no no, no no, no no no ! This is impossible !!
After Staying around for 1 hour and a half for the compiling(it's a gm map, it's huge) , the FINAL FUCKING STEP vrad had to do crashed and I went in with full-bright ...

Compile log removed

Wtf is this ?! No explanation.... at "9.." . WTF ! WTF ! I almost broke my keyboard !

P.S. Sorry I'm furious ( I mean WHAT THE FUCK ?! )
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-02 13:32:13 UTC Post #267824
I use multiple brushes, well, 3 of them to make up the water in a level I have created. Is this bad for some reason? Seems to work just fine and I get the water to show up just fine.

I do have a question that I hope somebody can answer.

With this water I get alot of lines across the surface of the water. I don't get this when I load an actual game level from the HL series so I know it's not a graphic card problem or a video setting of some sort. What causes this and what the heck am I doing wrong. Is this where its not fully rendered or is it a cubemap thing?
Posted 15 years ago2009-06-02 13:34:30 UTC Post #267825
I found an explanation :
Error trying to allocate [number] bytes

Description:
Vrad.exe did not have enough memory to finish it's task. There are two causes: 1) You are running low on memory (ram + pagefile). 2) Vrad.exe is chocking on some very complicated bit of your map, causing it to ask a lot of memory which doesn't exist (like infinite sizes).

Solution:
If you are running low on free memory (ctr+alt+del to see that) try increasing the pagefile if you aren't letting Windows take care of it. If not, use cordon tools to isolate the problemarea in your map (might be a broken brush, or simply too complex geometry) and see what you can do to fix it.
Dan Prati informed me that is mostly a problem with very large, open maps, or particularly detailed ones (or as part of an engine limitation to the total amount of lightmaps).

Reducing the lightmap resolution on larger surfaces, or particularly complex objects, can fix this problem. If this is not acceptable, or does not fix the error, reducing lightmap resolution across the entire map may be necessary. This provides a solution when there is no single map element that is causing the error, and simply deleting map objects won't fix the problem.
But wait a sec, I have 4 gb of ram, how can it run low on RAM ?!
I'll try reducing the lightmap scale on some surfaces and come back with an answer.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-02 13:43:21 UTC Post #267826
But wait a sec, I have 4 gb of ram, how can it run low on RAM ?!
That Description gave you two possible causes. Read the second one:
Vrad.exe is chocking on some very complicated bit of your map
There's your problem. I think your map is simply too complex for RAD. To make RAD's live easier, func_detail detail objects and brushes, don't just leave them as solids.

The last time i saw a map (the vmf) of yours, everything was made of solids, there's were no func_details.

Optimize, you must!
Posted 15 years ago2009-06-02 14:16:19 UTC Post #267827
The func_walling was actualy an obsession for me, and the maps worked well in hl1.
But I've lost the obsession. Maybe because now it's func_detail ? lol

Optimize I must !
[EDIT] Maybe the problem was that I had a displacement with a lightmap scale of 83 ? :D
Don't know, I set that to 16. I'm continuing to optimze the map before a new compile.

[EDIT2] Ultra-optimized the outer area of the map. A new compiling on the run.

[EDIT3] Ok this is .. not good. I decided to delete the displacement and just make a "pool" for the water, it's a gm map anyway and gm maps need to be as fast as possible, desinged for multiplayer.

So now vrad won't crash when it's finally complete, it crashes right from the start !
zero area child patch
I read about this on the interlopers. A face with no area ? This is stupid, almost any error during a hl1 compiling used to point you at some coordinates, this thing show me nothing :|
ALT+P , of course, indicates that all is ok.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-02 14:19:25 UTC Post #267829
Geez, you're map is really screwed up!

Send me your map. Ill check it in HL2 ( don't own Gmod, but its practically the same engine).
Posted 15 years ago2009-06-04 14:23:24 UTC Post #267830
I have an architecture problem this time. So anybody who knows well architecture concepts, please help me.

I have to make a train track system in my map, but the problem is I don't know how to keep the same distance between the lines ( 79) in the curves or the S-bends.

I'll take a screenshot from gm_wireconstruct_rc , a popular gmod map that has train tracks.
User posted image
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-04 14:34:27 UTC Post #267948
here's what you do.
1) intersect the 2 legs of the track to make a 90deg angle
2)choose what radius you want for the track
3)create a cylinder with edges on the inside rail make a large amount of sides (48 should do). You're only dealing with 1/4 section of track so make it 4x how many links you want (in this case 12)
4)make a rail following the radius of that cylinder
5)delete the cylinder and follow step 3 and 4 with the outside rail.
6) delete the 90deg angle part of the track, tie into the curve and you're done.

Idk if that's how it's really done, but that's what i would do.

PS you want your 2 cylinders to have the same center point, else you're screwed.
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-05 09:35:45 UTC Post #267975
I'm back , thank you very much Tetsu0, it works ! The train doesn't derail now.
My thank you :
User posted image
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-05 12:20:52 UTC Post #267978
coolbeans. thanks for the award!
any other problems you're encountering?
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-05 12:36:15 UTC Post #267984
Yes. The s-bends.
User posted image
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-05 17:47:37 UTC Post #267994
I have a question for you before i answer that
actually 2
1) can the rails be displacements
2) have you tried making a spacer 80 units wide, and rotating it on every bend so that you know the track is always 80 units away?

And i know you can do S-bends using 2 circles and a tangent between them. I just have to figure that out in hammer.
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-05 18:19:28 UTC Post #267998
1)Displacements ? I don't know what displacements have to do with the rails ... the rails aren't there for the eye, they serve as a real support for the train wheels in garry's mod. So the answer is no.
2)Yes. Actualy, I even test the curves in gmod so it works :P ( just have to reduce the speed to max 70 km/h)
And i know you can do S-bends using 2 circles and a tangent between them. I just have to figure that out in hammer.
I would like some images :D
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-05 20:15:22 UTC Post #268003
Posted 15 years ago2009-06-16 08:31:32 UTC Post #268296
IT's just a little bit to complicated for me. Anyway, I'll have time to learn about S-bends. I decided I won't include them in my map.

But I have a hammer related problem now. It seems the objects I'm creating&modifying in the 2D views won't snap to the grid. It's like I see 8-unit grid but it works at 1-unit grid. And it only does this in my map.
What the fudge ?
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-16 10:02:29 UTC Post #268301
Try copying the whole thing, opening a new map, and pasting it.
If not see if you can modify any of the 2-d window options. Maybe you hit a hotkey on accident..
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-16 14:19:30 UTC Post #268309
It's related only on this map. Other maps don't give me this bug. Anyway I succesfully compiled the last version.
Or could I say, a half-beta half-complete version :P ?
Doesn't matter, I'm releasing it. I may do a 2nd version which would be optimized not only for the textures, but also for the portals and stuff.

I'll post it in this map vault too, but first I want to ask you a question. Where are the cubemaps kept after I build them ? Because I want to include them in the rar. with the map, so the user won't have to type in buildcubemaps.
[EDIT] Doesn't matter. I found they're integrated into the bsp.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-16 22:04:03 UTC Post #268322
yeah, just make sure you run a map before you release it. Run cubemaps, let the nodes do their thing. you know.
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-22 19:23:28 UTC Post #268697
Why they don't want to sew ?!??!?!?!
They have the same properties, and btw after reading the tutorial I saw you can sew even displacements with the same power of displacement,but with different sizes for the triangles.
User posted image
[EDIT] Btw I'm working on another title, GM_SuperBeach.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-23 06:16:44 UTC Post #268707
you have to make sure that the original faces (before displacement) match up with eachother.
Try just modifying the brushes (not the displacement) and aligning them.
If all else fails, start-over.
Displacements arent too bad to re-work. Trust me, i've been doing it all week.
You could also try to smooth the 2 displacements together before sewing?
I've never tried it but it could be worth a shot.
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-23 08:10:10 UTC Post #268712
Nah, I resolved it in an nother way. I pushed the sand displacement into the mountain one so it seems they're sewed.
But now I have a stupid problem that gives me headaches. When I want to spawn a jeep, it just falls through the displacements :| . I have no fucking error in the compile log, just the hdr sky thingy , which is not important anyway.

[EDIT] ARGHHHH !! Hammer is ultra-fucking-stupid. 5 minutes ago it compiled, now vbsp crashed !! FUCK THE TOOLS.

[EDIT2] I'm trying to compile with -novirtualmesh enabled.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-23 08:12:30 UTC Post #268713
Ok.. well.. when you just push the displacements into one another, the lighting goes beserk.
And as for the displacements not being solid, did you texture all the non-displaced faces with nodraw, and then apply the blend texture to the displaced surface?

If that does not work, just get a bunch of nodraw brushes and follow the displacement terrain..

Yeah, and i'd reccomend actually sewing those displacements, Or if you want to start over, subdivide them first, and make sure you have auto-sew on, so they don't seperate on ya.

Also remember, displacements don't seal from the void. You need some form of backing. Again, regular brushes textured w/ nodraw works perfectly for this.
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-23 09:39:51 UTC Post #268714
Also remember, displacements don't seal from the void. You need some form of backing. Again, regular brushes textured w/ nodraw works perfectly for this.
I know this. I've read the tutorials.

The problem was this : -novirtualmesh, because it's hl2's fault. In gmod it will work. Btw, I'm posting a topic somebody should sticky.

[EDIT] First result(ignore the error message, it's because I didn't made a jeep correctly) :
User posted image
Compile time: 16 minutes( iddn't try fast yet, but I'll have too when I'll add some small building and little detail here and there).

Btw, displacements don't afffect vis information do they ?
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-23 10:04:39 UTC Post #268718
Btw, displacements don't afffect vis information do they ?
I believe vis sees thru them to the enclosing brush on the outside, but the faces do get lit and cast shadows.
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-23 10:18:20 UTC Post #268719
I mean, they don't affect the vis portal and things like these ?
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-27 16:04:22 UTC Post #268879
I've got some WIP screenshot from gm_superbeach, which will not be named like that anymore. It's too generic. I'll make it Gm_BeachPlay.
User posted image
User posted image
User posted image
User posted image
User posted image
I could also take some in-game pictures but I'm lazy now and I made some progress anyway. Last time I compiled it took 24 minutes, but the map was, from VIS's point of view... empty.
I added some "world" elements ( I like to call them, "lag-free rooms". even though I only added one room like this in the whole map... it's a beach anyway). I think it will take up to 40 minutes now ...
And I'm keeping the skybox low right now, in the final version it will be tall. That'll make the compile take even more time.

[EDIT] I feel the need for an i7 =))

[EDIT] I really need some good tree models for hl2 and I can't find. The hl2 tree models are designed for autumn ends ...

[EDIT] I worked hard at my map and it doubled in size, and it ... tripled in compile time.Just Vvis took 1 hour and 47 minutes + Vrad which took 34 minutes ( and heh, I was monitoring the activity with task manager, when I saw vrad.exe appearing I've estimated half an hour remaining, I was right ! )
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-28 10:57:26 UTC Post #269035
In your last screenie, what's that matrix of dots over the water?
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-06-29 18:58:07 UTC Post #269145
I am sorry but I don't know what you mean through matrix :( . I'm not really used to programming terms yet.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-06-30 08:55:24 UTC Post #269169
Ok what are those things floating over the water. To the left of the last screenshot.
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-07-02 13:00:59 UTC Post #269291
Air nodes.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-07-02 13:06:08 UTC Post #269293
lol what for? birds?
Tetsu0 Tetsu0Positive Chaos
Posted 15 years ago2009-07-02 14:00:03 UTC Post #269296
npc_helicopters, birds ... :D
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-08-30 17:00:45 UTC Post #272729
How can I make a monitor that displays the view of a camera ? I tried this and it didn't work. I thought first that I must use some special texture for the func_monitor, but I didn't found any tool texture for that.
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-08-30 17:41:14 UTC Post #272736
Posted 15 years ago2009-09-03 07:58:25 UTC Post #272907
Wait, but how can I use the props to render camera images on them ? ( like the monitor at the beginning of hl2:ep2 )
Striker StrikerI forgot to check the oil pressure
Posted 15 years ago2009-09-03 16:23:57 UTC Post #272918
props? just make the TV screen and parent it to whatever prop you want. You don't even need any wires.
Tetsu0 Tetsu0Positive Chaos
You must be logged in to post a response.