Re: How Can I make a box breakable?
Posted by WillC on
Sun Aug 20th 2006 at 8:42pm
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
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 Naklajat on
Mon Aug 21st 2006 at 2:59am
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