How Can I make a box breakable?
Post Reply
Quote
Re: How Can I make a box breakable?
Posted by WillC on Sun Aug 20th at 8:42pm 2006


Ok, so I made a static_prop and used a box model on it (which is called wood_crate001a_damaged.mdl) Then I remembered that apparently there is a way to make it breakable with func_breakable, so I changed it to that, and set some values like health, material, and prop data. However, I press Apply then exit that and it just turns into a purple dot (origin point I think it's called) and then it destroys itself after i click something else. I then tried to compile & play the map, but it exits HL2 immediately and says some line about damagedmax prop whatever... Even if I do delete every cox model shard on the level, it shuts down HL2 after compiling, and makes up some excuse but AltP shows No Errors!


Edit:Sorry for the huge fonts




Quote
Re: How Can I make a box breakable?
Posted by Naklajat on Sun Aug 20th at 9:11pm 2006


func_ entities are brush entities. Try a prop_physics with the 'motion disabled' flag set if you don't want it to move. If it still gives you an error the func_breakable is probably still lurking, so you'll have to delete it with "Map > Entity Report..."

Hope that helps <img src=" SRC="images/smiles/icon_smile.gif">



=o



Quote
Re: How Can I make a box breakable?
Posted by WillC on Sun Aug 20th at 9:16pm 2006


Yes, thanks a lot, I used the Entity Report... and I still had 4 func_breakables, so I just deleted them all. And the physics entity worked great.



Btw, I love your avatar.

Edit: Oh but now when I start the map some dialog box comes up saying
"The instructuin at "0x241f94f7" referenced memory at "0x0d8bf41c". The memory could not be "read".
"Click OK to give into Bill Gates the almighty nerd who decides all about Windows"




Quote
Re: How Can I make a box breakable?
Posted by Naklajat on Mon Aug 21st at 2:59am 2006


Glad I could help.

I love my avatar too.

As for the "The memory could not be 'read'." problem, start a new thread and post your compile log. Actually, look for anything saying ERROR in your log and search the forum, and if you don't find anything, then post a new thread with your compile log.



=o




Post Reply