Page 1 of 1

broken windows

Posted: Wed Feb 25, 2004 4:25 pm
by M&M
ok thats it,i ve been searching for almost an hour now using the search funtion.i want 2 make my window already broken .i did squeze this question b4 in another post of mine but i think it was bjarne who said that i should make a very high health value 4 it which didnt work.i want 2 make the window broken already so i can lob grenades thru it without having 2 destroy it.i already chose the texture and everything looks real nice but when i throw the grenade it bounces back in the wrong direction and AAAAAAAHHHHHHHHHH........ :shock:

i would appreciate any help plz :wink:

func_window

Posted: Wed Feb 25, 2004 4:35 pm
by tltrude
Why make it a func_window, if it is already broken? If it is not a func_window, and still solid, turn it into a script_object and set the NOT_SOLID spawnflag. And, if you don't want players jumping through, add a playerclip brush.

Posted: Wed Feb 25, 2004 4:39 pm
by echo_rancid
I found a window prefab and was messing around with it once and accidently made all my windows in this one house broken. In game they were broken, glass sticking out from the edges. Didn't try to throw a grendae through it but i assume it would go through. I got the prefab at http://www.alliedassault.us. You prolly been here its under prefabs/windows/doors/ladders...I think you can throw grenades through the window even if its not already broken, I can bash it with my gun so...Hope this helps Im new to this so...may be wrong

Posted: Wed Feb 25, 2004 4:45 pm
by M&M
damn,y didnt i think of that !!??
anyways tnx alot tltrude i think this solution should work.
and tnx echo_rancid also ,i 'll dload the prefab and i will give it a try later when im free and update u as soon as i know :wink:

Posted: Sat Feb 28, 2004 1:20 pm
by M&M
the prefab of the window didnt work as i intended it 2.i have 2 break it 1st so i can throw grenades ,otherwise it will bounce of.i think making it a nonsolid object was the correct way ,it seems i just got blinded 2 it and tltrude showed me the light :wink: