Window health

If you're looking for mapping help or you reckon you're a mapping guru, post your questions / solutions here

Moderator: Moderators

[KreatoR]
Sergeant Major
Posts: 104
Joined: Wed Oct 23, 2002 12:43 am
Location: MN

Post by [KreatoR] »

I just deleted them all and started over, now they work... :?

But now when they break... they dont look broken... anyone know why?

thnx
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

You must target a script_object brush!

Make a new brush that will fit in the window hole, texture it with a broken window texture (window textures usual come with one ordinary and one broken). Select the new brush, right click and make it a scritpt object.

When it's selected hit "N" and give it "targetname" "broken1" (without quotes).

After that select the brush that has "func_window", hit "N" and give it "target" "broken1", fit both brushes in the window hole (should overlap each other). The script_object brush will spawn when the other one is destroyed.
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

No, you need to use the common/nodraw texture on all except for two sides.

[edit] Hmm didn't even notice the 2nd page :oops: [/edit]
Last edited by jv_map on Tue Jan 14, 2003 11:31 am, edited 1 time in total.
Image
Angex
Major
Posts: 293
Joined: Mon Dec 30, 2002 1:23 pm
Contact:

Post by Angex »

[KreatoR]
Sergeant Major
Posts: 104
Joined: Wed Oct 23, 2002 12:43 am
Location: MN

Post by [KreatoR] »

Thnx Storm, but i already did all that, they doo break now... but the texture stays the same when broken, i think i didnt give the scrpit_objecy a "broken" texture
[KreatoR]
Sergeant Major
Posts: 104
Joined: Wed Oct 23, 2002 12:43 am
Location: MN

Post by [KreatoR] »

OK, the texture im using is called "window32_frame" and the broken one next to it called "window32_broken" isnt the same texture.... its one of those blue and black textures
(CG) Bob III
Lance Corporal
Posts: 24
Joined: Sun Jan 12, 2003 9:04 pm

Post by (CG) Bob III »

nodraw? why not use caulk?
[KreatoR]
Sergeant Major
Posts: 104
Joined: Wed Oct 23, 2002 12:43 am
Location: MN

Post by [KreatoR] »

ok, i textured the func_window with the unbroken window texture, then I texture the script_object with the broken window texture. Now when i compile and play, the wondow breaks, but the broken window texture is way up in scale.

I did fit the broken window texture to the window, along with the unbroken texture. But in the texture viewer, the unbroken texture is all blurry black and blue and smaller in size (but is the right texture ingame)... why is that? and is that why the broken texture isnt aligned in the game?
TheStorm
Captain
Posts: 233
Joined: Mon Oct 07, 2002 7:45 am
Location: Gavle, Sweden
Contact:

Post by TheStorm »

If the texture is black&blue in radiant, try an other set of window textures instead! One that you can see that both the regular and broken are OK
TMT admin, visit www.modtheater.com
HITP Lead Mapper
Member of Electronic Arts MOHteam
Post Reply