Some Hows?

genocide604

Newbie
Joined
Aug 28, 2003
Messages
1,017
Reaction score
0
How do you make a breakable grate for a vent, i toyed around with it for a while making a brush and tieing to entity and giving it breakable properties.. but then it doesnt show up in game.. and there is no model for a vent thru entities..
I am also looking for the same thing for wood pieces..
??


Also, the 3d skybox is kinda confusing to get grasp on.. im creating a level where both teams are in a small trashy old eurpean apartment, and you are very limited in going outside, so i wanna make it look like there is more buildings around them without killing my performance..?

Thanks in advance for any help i recieve. :thumbs:
 
for the grate thing, try making a prop_dynamic and setting the flag to break on pressure.

go here for more info on the 3d skybox.
 
There is no model of a grate to attach to the prop_dynamic.. and you cant make a brush turn into a propdynamic..?
 
look for the vent001 in the props_junk folder.
 
Cool i got that, now i set it to break under pressure.. and when i compiled, it wasnt there..? Does it have to be attached to the geometry? i premade my vents a bit to big.. but still it should be ther shouldnt it? i also went thru snark tut on decals, and i get them on the walls etc.. but the start to flash when i move around, when i actually compile.. nothing is there!!
 
PS-HOW DO YOU FIND MEMORY LEAKS AND FIX EM!?
-i tried load and unload pointfile, and nothing happens, not that i know what im doin..
-also random shit dissapears when i compile, like sounds in my vents and on one compile it didnt even show the next set of geometry i built as if i never saved it..

both times it had a memory leak, which i think is the culprit... :flame:
 
I have a memleak question also.

Memory leak: mempool blocks left in memory: 48
Memory leak: mempool blocks left in memory: 3

I get that in every single map, even if I make a square room with an info_player_start and a light_environment. It always happens.

Any idea why? After about 2 hours of mapping, it'll start slowing down (running a good system here too...), only fixable with a restart.
 
Those memory leaks are harmless.

Make sure you close Source SDK when mapping - after a while it will chomp up your memory.
 
Memory leaks are just part of the process...pity they are named nearly the same as the dreaded leaks...

To make a grate it may be better to make a brush into a func_breakable...wood is the same - make the brush of wood and turn it into a func_breakable.
 
Cool i got the breakable surfs to work, i think i had the sdk on too long, stuff started to glitch.. anyways,

I have gone thru 3 tutorials on ladders incuding valves.. and i still cannot get them to work.. i go step by step.. making sure the entities arent touching any geometry.. still nothing.. why doesnt my ladder work? any other reasons?
 
Anyone have any tips, i cannot complete my level without a working ladder, it is essential for gameplay reasons...

I have made sure my useable ladder entity isnt touching anything i created it at the bottom of the ladder, went in 2d view dragged the circle to the top of the ladder..named it ladder01.. went on to create info_ladder_dismount points 3 at the top and 3 at the bottom, also making sure they touch none of the geometry.. and then in ladder name for each of them i give them the "useableladders" name ladder01.. so everything should be ok right?.. i compile, try the ladder.. doesnt work, so i turn on sv_showladders and there isnt anything there.. just the model of the ladder..

Please help, it is essential that i figure out ladders..
 
I recommend going into the map Valve put out for you to see with CSS. You can open up this .VMF and look at how they do their maps.

In the .VMF they have ladders and the func_useableladder...just copy and past those into your map. Works like a charm :).

Good luck
Timech
 
Back
Top