Hammer randomly deletes brushes.

Any aspects of level design for the Source engine.

Hammer randomly deletes brushes.

Postby smashballs on Wed Jun 18, 2014 11:14 pm

I haven't ran into this issue in a long time especially sense I figured out that solids can't touch the sides of the map limits! The first time it happened was with a skybox 3 days ago, I had displacements by the power of 4 scaled to 0.0625 and for some reason Hammer decided to delete them after a couple times of saving. Now this is happening with my latest project, I have a spike that stand 125 units tall and has a poly count of 15 so I copied and pasted it several times around some walls I made and after I saved I began to work on a door then suddenly Hammer closes. I went to start it up and it shot me the message saying 21 solids were deleted, I fixed it then it said 5 solids were deleted, same thing after i fixed it, then it said 2 solids were deleted and I eventually got it to work.

I wan't to know what causes the issue though, I have done some hardcore looking (I probably suck and Googeling) I didn't find anything on how to solve these faces from being deleted, I kind of fixed it although I wan't to know the proper way to address this issue rather then play a short game of Jenga blocks with Hammer.
smashballs
Member
Member
 
Joined: Wed May 29, 2013 2:39 am

Re: Hammer randomly deletes brushes.

Postby [KIRBY] on Thu Jun 19, 2014 1:16 am

my first guess was invalid solids, but then again, you did use spikes, and you cant have invalid faces on them until you make them concave or turn them inside-out. do you have any screenshot or maybe a map file that we could take a look at here?
User avatar
[KIRBY]
Regular
Regular
 
Joined: Tue Dec 17, 2013 1:59 pm
Location: Manchester

Re: Hammer randomly deletes brushes.

Postby smashballs on Thu Jun 19, 2014 2:19 am

[KIRBY] wrote:my first guess was invalid solids, but then again, you did use spikes, and you cant have invalid faces on them until you make them concave or turn them inside-out. do you have any screenshot or maybe a map file that we could take a look at here?

Image
This is the set up, I don't know how it would cause problems.

I also have another question because I would rather stay away form making to many threads about things I can't find.
Is there an easy way to add lighting to a func_door or at least make the func_door not have pitch black textures from touching faces?
smashballs
Member
Member
 
Joined: Wed May 29, 2013 2:39 am

Re: Hammer randomly deletes brushes.

Postby [KIRBY] on Thu Jun 19, 2014 8:01 am

alright here is explanation to your problem
you have too many faces touching eachother, this makes source go crazy and can remove faces from brushes, also if you have too many faces with the same texture, everything will break too.

as for func_door, it uses lightmaps, so if door is dark on one side, it will stay like that even if you move it to a very bright room, use normal doors instead

or just learn to model, blender is free, 3ds max can be acquired under student license
User avatar
[KIRBY]
Regular
Regular
 
Joined: Tue Dec 17, 2013 1:59 pm
Location: Manchester

Re: Hammer randomly deletes brushes.

Postby ErikKiller on Thu Jun 19, 2014 9:33 am

The spikes aren't func_detail? How does that affect the compile time?
Image
Image
First rodeo? Use the Source SDK Documentation for reference!
User avatar
ErikKiller
May Contain Skills
May Contain Skills
 
Joined: Sun Sep 09, 2007 4:05 pm
Location: Estonia

Re: Hammer randomly deletes brushes.

Postby smashballs on Thu Jun 19, 2014 3:13 pm

ErikKiller wrote:The spikes aren't func_detail? How does that affect the compile time?

It doesn't really affect it that much surprisingly, speaking that the map is fairly simple right now (I just started) the vrad takes a long time but it always does on maps this size especially that optimization will come last after each part, when the fort will for sure maintain its walls, I will turn the spikes into one big func_detail.
smashballs
Member
Member
 
Joined: Wed May 29, 2013 2:39 am

Re: Hammer randomly deletes brushes.

Postby smashballs on Thu Jun 19, 2014 3:19 pm

[KIRBY] wrote:alright here is explanation to your problem
you have too many faces touching eachother, this makes source go crazy and can remove faces from brushes, also if you have too many faces with the same texture, everything will break too.

as for func_door, it uses lightmaps, so if door is dark on one side, it will stay like that even if you move it to a very bright room, use normal doors instead

or just learn to model, blender is free, 3ds max can be acquired under student license

Thank you for the heads up, i wasn't sure why Hammer didn't like my spikes.

Well I could do that or possibly try something else, possibly spawning the door outside then putting its origin to match it as if it were in the door frame then parent the door to a func_movelinear so the door will move back into the door frame and it will have a descent light map cast on it.

Maybe I could just make the door a func_physbox (I don't know if it will set a specific light map) then parent that to a tiny invisible block that will be the door.
smashballs
Member
Member
 
Joined: Wed May 29, 2013 2:39 am

Re: Hammer randomly deletes brushes.

Postby beach on Thu Jun 19, 2014 3:44 pm

Maybe I could just make the door a func_physbox (I don't know if it will set a specific light map) then parent that to a tiny invisible block that will be the door.

No, this will not work but the first guess may work but anyway it's not the good way.
You must use a modeling software and make a mdl, if you don't want to learn a new software you can use propper instead.
Image
beach
Member
Member
 
Joined: Mon May 19, 2014 7:17 pm

Re: Hammer randomly deletes brushes.

Postby smashballs on Thu Jun 19, 2014 4:58 pm

beach wrote:
Maybe I could just make the door a func_physbox (I don't know if it will set a specific light map) then parent that to a tiny invisible block that will be the door.

No, this will not work but the first guess may work but anyway it's not the good way.
You must use a modeling software and make a mdl, if you don't want to learn a new software you can use propper instead.

Thank you very much! I had no idea I could do that! I could never figure out things like blender but Hammer had always been simple for me to make cool objects.

And my PC almost broke during a compile just now! It just turned off and went to a blue screen saying Dual Bios at the top then booted again and now its fine :shock:

I guess my PC does that when the processors overload? Hammer loves to cook all the Process power it can... even on a 8 core processor AMD FX-8350 4.00GHz.

That never happened before...
smashballs
Member
Member
 
Joined: Wed May 29, 2013 2:39 am

Re: Hammer randomly deletes brushes.

Postby LordDz on Thu Jun 19, 2014 7:07 pm

By looking at that screenshot, I'm guessing none of those pillars are func_detailed?
Anything that isn't a block or a wall meant to block vision: func_detail it.
User avatar
LordDz
May Contain Skills
May Contain Skills
 
Joined: Mon Sep 01, 2008 12:28 pm
Location: Hammer Crash Logs

Re: Hammer randomly deletes brushes.

Postby smashballs on Thu Jun 19, 2014 10:52 pm

LordDz wrote:By looking at that screenshot, I'm guessing none of those pillars are func_detailed?
Anything that isn't a block or a wall meant to block vision: func_detail it.

I know, I got that already... I am not going to func_detail it till i am ready and I am sure I don't have any modifications on the mind. I am going to make all the spikes one big func_detail because it would be easier (I didn't know about that funky leaf ambient problem before I made them)
smashballs
Member
Member
 
Joined: Wed May 29, 2013 2:39 am

Return to Hammer Editor Help

Who is online

Users browsing this forum: No registered users