How Can I make a box breakable?

How Can I make a box breakable?

Re: How Can I make a box breakable? Posted by WillC on Sun Aug 20th 2006 at 8:42pm
WillC
5 posts
Posted 2006-08-20 8:42pm
WillC
member
5 posts 1 snarkmarks Registered: Aug 19th 2006 Location: Canada
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 [u][b][size=13]No Errors!

[/b][/u][/size]Edit:Sorry for the huge fonts
Re: How Can I make a box breakable? Posted by Naklajat on Sun Aug 20th 2006 at 9:11pm
Naklajat
1137 posts
Posted 2006-08-20 9:11pm
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
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 :smile:

o

Re: How Can I make a box breakable? Posted by WillC on Sun Aug 20th 2006 at 9:16pm
WillC
5 posts
Posted 2006-08-20 9:16pm
WillC
member
5 posts 1 snarkmarks Registered: Aug 19th 2006 Location: Canada
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. :eek:

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" :grenade:
Re: How Can I make a box breakable? Posted by Naklajat on Mon Aug 21st 2006 at 2:59am
Naklajat
1137 posts
Posted 2006-08-21 2:59am
Naklajat
member
1137 posts 384 snarkmarks Registered: Nov 15th 2004 Occupation: Baron Location: Austin, Texas
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