[IMG]http://i.imgur.com/5nSyyUN.jpg[/IMG]
Thread image courtesy of [URL="https://facepunch.com/member.php?u=247505"]Grenade Man[/URL]
[quote]This thread is practically to help stop the constant fill of the mapping section with quick little questions which doesn't need a new thread, also so the questions are easier to track. Mainly because people just usually fly by the sticky and post as if it was any other section rules[/quote]
If you have any mapping-related problems, use this thread to ask them, rather than creating a whole new thread.
[B]This is not the place for requests. If you want to request a map to be found/made, create a new thread.[/B]
[B]Do not post screenshots in this thread unless they are related to an error or question.[/B]
[quote]
[B]Useful Links[/B] (will add some more goodies to this)
[B]"Source Tutorials Source"[/B]
[URL]http://facepunch.com/showthread.php?t=1419703[/URL]
[B]Valve Developer Wiki[/B]
[URL]https://developer.valvesoftware.com/wiki/[/URL]
Put /entity_name at the end to find out more about an entity (eg eveloper.valvesoftware.com/light_spot)
[U][B]Compile Error Checker - Please use it to check your compile log for errors before asking any error-related questions![/B][/U]
[URL]http://www.interlopers.net/errors[/URL]
[B]Other Tutorial Sites[/B]
[URL]http://www.tophattwaffle.com/tutorials/[/URL] - TopHattWaffle's Tutorials
[URL]http://www.worldofleveldesign.com/[/URL] - WorldofLevelDesign Tutorials
[URL]http://www.interlopers.net/[/URL] - Interlopers Tutorial Articles & Forums
[B]Articles on Level Design[/B]
[URL]https://www.mapcore.org/articles/dev...-csgo-map-r62/[/URL] - The Making of cs_agency
[URL]http://www.farcry2.cz/czech_menu/ke_...bible-mapy.pdf[/URL] - "Ben’s Small Bible of Realistic Multiplayer Level Design"
[B]Texture Resources[/B]
[URL]https://www.textures.com/[/URL] - Expansive Library of Free Textures [I](ex-CGtextures)[/I]
texturelib.com - Ditto
[URL]http://www.philipk.net/tutorials.html[/URL] - Philip K's Tutorials and Free Texture Packs for Source (see bottom of portfolio)
[B]"The Official Facepunch Mapping WiP Thread v17"[/B] - Post your WIP work here.
[URL="http://facepunch.com/showthread.php?t=1446288"]https://facepunch.com/showthread.php?t=1525789[/URL]
[B]
Popular Video Tutorials from Facepunch Users[/B]
youtube.com/user/mappingfiregod
youtube.com/user/iamasparagus
youtube.com/user/darkironphoenix
[B]Extras[/B]
[URL]http://leveldesigninspirationmachine.tumblr.com/[/URL] - "Level Design Inspiration Machine"
[URL]http://www.littlelostpoly.com/terrain-vs-source/[/URL] - Practical Displacement Terrain creation article
[URL]https://developer.valvesoftware.com/wiki/Propper[/URL] - Quick and dirty in-Hammer model creation tool
[/quote]
Figured I'd make a new one asap before questions start flooding in, since I made the old one close :(
nice thread title scrub, can a mod fix it?
Hey there!
so I've been working on my first Hammer map for my community, spending roughly 10 hours a day for a period of 1 month. I've recently completed the map and it ran flawlessly in single-player with fairly average optimization via hint brushes/farZ. Upon dropping my map on the server everything was fine, however, once my playerbase hit roughly 35-40, many players had an abrupt drop of FPS all the way down to 0 - followed by the freezing and crashing of their Garry's mod client. One user reported a prompt stating "can't load lump XXXX bytes".
I've been very frustrated in trying to fix this issue, I figured it was an optimization problem at first, and so, I've done things as i've stated above (nodrawing unseen brushes/proper skybox/skip-hints in proper locations) but the problem continues to haunt me. If anybody has any idea as to how I could go about tackling this issue, I would be extremely happy to learn.
The compile log shows no errors other than a quadruple log of "zero area child patch" which I was notified can generally be ignored. I could not determine the location of the problem.
EDIT: in the previous thread I was asked to attach a screenshot of the map. I will do so now:
[IMG]https://i.gyazo.com/d9908ac2b9d4eb1b6b5e573ec5976e71.jpg[/IMG]
Post images of the map layout. Are you using any "bad" optimization techniques? Like covering the entire map in a viscluster or using a skybox "box"??
Post images of the compiled map and also in game images with wireframe enabled. Also post the "map info" tab.
[editline]22nd August 2017[/editline]
Didnt see the edit
[IMG]https://i.gyazo.com/a41a03e4076caec187b17431c109a4fe.png[/IMG]
Sounds like a pretty bad error and not one I'd recommend ignoring, I suppose you can try using the [url=https://developer.valvesoftware.com/wiki/Cordon]cordon tool[/url] in smaller sections of the map until you find the area of brushes that cause this.
Could also (though probably not) be the gamemode the server is using?
Are those trees prop_statics? Are you using z clipping?
[editline]22nd August 2017[/editline]
My merge
doing a little google search if the actual error is [code] Can’t load lump xxxx ,allocation of xxxxx bytes failed.” [/code] then it's a client or server issue nothing map related
[QUOTE=Nut;52600890]Upon dropping my map on the server everything was fine, however, once my playerbase hit roughly 35-40, many players had an abrupt drop of FPS all the way down to 0 - followed by the freezing and crashing of their Garry's mod client. [/QUOTE]
This sounds like a map problem to me. Or a gamemode problem.
[QUOTE=Grenade Man;52600920]Post images of the map layout. Are you using any "bad" optimization techniques? Like covering the entire map in a viscluster or using a skybox "box"??
Post images of the compiled map and also in game images with wireframe enabled. Also post the "map info" tab.
[editline]22nd August 2017[/editline]
Didnt see the edit[/QUOTE]
No, I only used visclusters in the area between the top of my map and the skybox - ensuring that they do not come in touch with anything else.
Would you care to explain to me how to grab the "map info tab"? thank you!
asfar as an image of my map with wireframe enabled, I will do so first thing when I get home.
[QUOTE=VaSTinY;52600931][IMG]https://i.gyazo.com/a41a03e4076caec187b17431c109a4fe.png[/IMG]
Sounds like a pretty bad error and not one I'd recommend ignoring, I suppose you can try using the [url=https://developer.valvesoftware.com/wiki/Cordon]cordon tool[/url] in smaller sections of the map until you find the area of brushes that cause this.
Could also (though probably not) be the gamemode the server is using?[/QUOTE]
I will go ahead and try utilizing the cordon tool to pinpoint the source of that error, thank you for your suggestion. I was trying to avoid it the best I can as it seems like an incredibly tedious process, and I have no idea what to look after.
I crossed out the option of my gamemode being the issue, as I explained why in my response to taz0.
[QUOTE=Grenade Man;52600934]Are those trees prop_statics? Are you using z clipping?
[editline]22nd August 2017[/editline]
My merge[/QUOTE]
As I've stated in my thread, I am using zclipping for optimization, specifically, the value is at 5000. All the tress in the image are indeed static props.
[QUOTE=taz0;52600957]doing a little google search if the actual error is [code] Can’t load lump xxxx ,allocation of xxxxx bytes failed.” [/code] then it's a client or server issue nothing map related[/QUOTE]
While I did gather that much about the error (and yes, that is the correct error) I have been running my servers for 3-4 years, with a steady average of 40-50 users online at a time (100+ at peak times) and have never experienced such error by any user up until switching to my map. So i'd beg to argue differently.
[editline]22nd August 2017[/editline]
[QUOTE=Grenade Man;52601014]This sounds like a map problem to me. Or a gamemode problem.[/QUOTE]
Well I mean, what else could it be haha.
Post the compile log, just to be sure. What power displacements are you using. What gamemode are you running.
Why do my Normal Map Shadows look like they are from 1999 :s:
[thumb]https://steamuserimages-a.akamaihd.net/ugc/860605614882550687/CB7EAA5C8A3114B92CBA41559E8D02972F38B609/[/thumb]
Post normal map, post VTFedit texture import dialog, post image of opened .vtf
[QUOTE=Grenade Man;52601123]Post normal map, post VTFedit texture import dialog, post image of opened .vtf[/QUOTE]
Nevermind. NOT compressing the vtf fixed it.
Diffrent Question tough. Can I make only one of my blend textures use envmaps? like in this picture:
[thumb]http://static.asiawebdirect.com/m/phuket/portals/phuket-com/homepage/phuket-magazine/freedom-beach/pagePropertiesImage/freedom-beach.jpg[/thumb]
Something like the vmt below should work. The main trick here is to use normalmaps with different reflective properties. "$normalmapalphaenvmapmask" will give the texture stronger reflections the more opaque its normalmap is, and conversely almost transparent normal maps will have barely visible reflections.
[code]
WorldVertexTransition
{
$basetexture "nature/ground_mud01"
$basetexture2 "nature/ground_mud02"
$bumpmap "nature/ground_mud01_height-ssbump"
$bumpmap2 "concrete/pavement_height_low-ssbump"
$ssbump 1
$surfaceprop dirt
$surfaceprop2 mud
$blendmodulatetexture "nature/blendtexture01"
$envmap env_cubemap
$normalmapalphaenvmapmask 1
%tooltexture "nature/ground_mud01"
}
[/code]
[IMG]https://cloud.funda.nl/valentina_media/078/582/600_2160.jpg[/IMG]
What's the best way to make windows on an angle such as this?
[QUOTE=Hochi;52604648][IMG]https://cloud.funda.nl/valentina_media/078/582/600_2160.jpg[/IMG]
What's the best way to make windows on an angle such as this?[/QUOTE]
Using only brushes or along with static prop windows?
[QUOTE=highvoltage;52604788]Using only brushes or along with static prop windows?[/QUOTE]
Only with brushes
Personally, if I was just making out of brushes, I would use the clip tool to cut up the wall then use the vertex edit tool to shape the brushes. If I have time tonight I can see about making a short video clip to explain better
[IMG]http://i.imgur.com/XzQ8Q1F.jpg[/IMG]
[IMG]http://i.imgur.com/Vm2NBuU.jpg[/IMG]
how do i make a winding staircase?
[QUOTE=Hochi;52606218]
how do i make a winding staircase?[/QUOTE]
[url]https://developer.valvesoftware.com/wiki/Hammer_Arch_Properties#Add_Height[/url]
Couldnt find anything similar to my issue but for some reason I get this error when compiling now when using propper to convert brushes into props.
[IMG]https://i.gyazo.com/d35f930621af3b5fb688505d69bd1738.png[/IMG]
Yes I am using the 2013 propper. I have tried refreshing SDK content but that didnt fix it.
EDIT:Fixed it
[QUOTE=AGoose;52606695]Couldnt find anything similar to my issue but for some reason I get this error when compiling now when using propper to convert brushes into props.
[IMG]https://i.gyazo.com/d35f930621af3b5fb688505d69bd1738.png[/IMG]
Yes I am using the 2013 propper. I have tried refreshing SDK content but that didnt fix it.
EDIT:Fixed it[/QUOTE]
You fixed it, but anyway, why would you use Propper2013 in the source2007 installation ?
The main goal of Propper2013 is to be useable directly with hammer.exe of any game, just by having the .exe in the bin folder.
Without having to do the workaround that was on TopHattWaffle website.
I recently have been making a corridor in my map and have been using lights around it, but when I get in the game the walls/ceiling look really weird, with black lines appearing on the walls where it should be lit and the doors sometimes turning black on their open states. Turning on the flashlight will also make the room look pitch black. I will post a screenshot with an example.
[IMG]https://i.gyazo.com/0230fb132f703c01a372a195e6ee5827.jpg[/IMG]
Notice how there are black lines on the wall, another thing not shown is a pitch black door to the left, it leads to a large, properly lit room.
Post your compile log
[QUOTE=Moltard;52607038]You fixed it, but anyway, why would you use Propper2013 in the source2007 installation ?
The main goal of Propper2013 is to be useable directly with hammer.exe of any game, just by having the .exe in the bin folder.
Without having to do the workaround that was on TopHattWaffle website.[/QUOTE]
that was the issue :p forgot to just dump in my bin folder blame that on my morning self.
[QUOTE=UltraTechX;52608433]Alright, here is the compile log:[/QUOTE]
Can you post the VMT contents of the wall material? The screenshot makes it look like you're using VertexLitGeneric instead of LightmappedGeneric.
[QUOTE=03C0;52608595]Can you post the VMT contents of the wall material? The screenshot makes it look like you're using VertexLitGeneric instead of LightmappedGeneric.[/QUOTE]
Sure, here is the VMT file:
[CODE]"VertexLitGeneric"
{
"$basetexture" "phoenix_storms/wood_side"
"$surfaceprop" "tile"
"$envmap" "env_cubemap"
"$basealphaenvmapmask" 1
"$envmapcontrast" 1
"$envmapsaturation" 0
"$envmaptint" "[ .8 .8 .8 ]"
"$model" 1
}[/CODE]
After going through the VMT file I see what you mean about it being VertexLitGeneric, how could I change it to LightmappedGeneric without creating a custom material? Or would I have to create a custom material/find a better wall material?
You just write LightmappedGeneric instead of VertexlitGeneric in the .vmt
[editline]24th August 2017[/editline]
Also take out [I]"$model" 1
[/I]You either change the existing material or make a copy of the .vmt and rename it while still pointing it to the same .vtf basetexture
[QUOTE=VaSTinY;52608880]You just write LightmappedGeneric instead of VertexlitGeneric in the .vmt
[editline]24th August 2017[/editline]
Also take out [I]"$model" 1
[/I]You either change the existing material or make a copy of the .vmt and rename it while still pointing it to the same .vtf basetexture[/QUOTE]
Thanks, but if I put it on something like a multiplayer server, wouldn't the other players need the new materials since its not the same as the material everyone else has?
[QUOTE=UltraTechX;52608906]Thanks, but if I put it on something like a multiplayer server, wouldn't the other players need the new materials since its not the same as the material everyone else has?[/QUOTE]
Yes
I'm curious what other way would think you could edit a material and have it magically work without sending it to the players
Sorry, you need to Log In to post a reply to this thread.