
MF Boom
Joined: Mar 5, 2007
I am the bone of my sword...
|
Posted: Apr 13, 2009 11:14 AM
Msg. 1 of 12
Alright; one of the things I was hoping to implement into my map was glass capable of being destroyed. I've managed to build my map well enough that the glass looked beautiful, despite that you can see the gap between the window-frame and the glass.
However, you can shoot the glass, melee it, throw grenades at it, it refuses to break. The glass is named "glass-", the - is, according to nikon.bungie.org's HEK tutorial, the flag to indicate it's destructible. Yet, it's not working. Do I need specific things in the shaders, bitmaps, or something in order for it to be able to be destroyed?
Also, how close, in units, can one face be to another? I want my glass as close to the window-frame as possible, without getting "Couldn't update edge" errors.
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Apr 13, 2009 01:40 PM
Msg. 2 of 12
Make it double sided then attach it, it should work.
|
|
|

MF Boom
Joined: Mar 5, 2007
I am the bone of my sword...
|
Posted: Apr 13, 2009 01:42 PM
Msg. 3 of 12
Quote: --- Original message by: chrisk123999 Make it double sided then attach it, it should work. It is attached to the model; But they are boxes within the model. Do I add the % tag to the material name to make it render both sides, or what..?
|
|
|

stennett
Joined: Dec 4, 2008
|
Posted: Apr 14, 2009 09:11 AM
Msg. 4 of 12
"Make it double sided" i presume so, try it.. :P since i dont htink you can have one sided glass, thats also breakable.. but meh.
|
|
|

MF Boom
Joined: Mar 5, 2007
I am the bone of my sword...
|
Posted: Apr 15, 2009 12:50 PM
Msg. 5 of 12
Quote: --- Original message by: mastur cheef
do you have a "shader_transparent_glass" shader for ur glass bitmap?
E: NVM thats for ubreakable glass Edited by mastur cheef on Apr 14, 2009 at 02:03 PM Yes, I do, actually.
|
|
|

stennett
Joined: Dec 4, 2008
|
Posted: Apr 15, 2009 01:22 PM
Msg. 6 of 12
and, i figure that is the problem. maybe. :P
|
|
|

Doug
Joined: Feb 10, 2009
Former =CE= Member
|
Posted: Apr 16, 2009 08:05 PM
Msg. 7 of 12
I thought it was "-glass" not "glass-"
|
|
|

Mythril
- Screenshot Guru -
Joined: Mar 29, 2008
Jeffrey Albert Waldo
|
Posted: Apr 17, 2009 12:07 AM
Msg. 8 of 12
Quote: --- Original message by: MF BoomQuote: --- Original message by: mastur cheef
do you have a "shader_transparent_glass" shader for ur glass bitmap?
E: NVM thats for ubreakable glass Edited by mastur cheef on Apr 14, 2009 at 02:03 PM Yes, I do, actually. Is the shader type set to glass?
|
|
|

MF Boom
Joined: Mar 5, 2007
I am the bone of my sword...
|
Posted: Apr 19, 2009 01:26 AM
Msg. 9 of 12
Quote: --- Original message by: MythrilQuote: --- Original message by: MF BoomQuote: --- Original message by: mastur cheef
do you have a "shader_transparent_glass" shader for ur glass bitmap?
E: NVM thats for ubreakable glass Edited by mastur cheef on Apr 14, 2009 at 02:03 PM Yes, I do, actually. Is the shader type set to glass? Yes, it is. Quote: --- Original message by: Doug I thought it was "-glass" not "glass-" No. All flags go after the name except for +portal, +sky, +sound, +unused... And the .materials, which are very rare; I only know of .exactportal... Otherwise, with materials like ladder^%, water!$, all the flags go after. Glass is the same way; i.e., glass-
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Apr 19, 2009 09:56 AM
Msg. 10 of 12
it's +exactportal not .exactportal.
|
|
|

MF Boom
Joined: Mar 5, 2007
I am the bone of my sword...
|
Posted: Apr 20, 2009 09:26 AM
Msg. 11 of 12
Quote: --- Original message by: chrisk123999 it's +exactportal not .exactportal. That's oddly confusing because if you look at the HEK Tutorial: . Exact Portal property. This flag or shader symbol when applied to a material that is applied to a face or surface makes the surface able to be used to define an exact portal. But it does say this too. +exactportal Applied to faces that are used to define an exact volume or portal.&left; Such faces typically cover exactly the opening of a doorway, passage, or hallway to define a very distinct volume that can be used to occlude the rendering of other areas of the level.[/colde]
Nonetheless, I'm still wondering about the glass. Not that I can do anything about it, my computer's 300 miles away, and this laptop wouldn't run Halo if it's life depended on it.
|
|
|

chrisk123999
Joined: Aug 10, 2008
=CE= Chris [Captain] [=]
|
Posted: Apr 21, 2009 04:39 PM
Msg. 12 of 12
Makes it double sided.
|
|
|