Xonotic Forums
[SOLVED] [SOLVED] destroyable brushes? - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Help & Troubleshooting (https://forums.xonotic.org/forumdisplay.php?fid=4)
+--- Thread: [SOLVED] [SOLVED] destroyable brushes? (/showthread.php?tid=713)



[SOLVED] destroyable brushes? - Slup - 07-14-2010

At the moment i try to make a map and I want to make a brush that can be destroyed by shooting.

Furthermore it should leave fragments if it gets destroyed.

I found func_breakable but if i use it the brush only disappears when i shoot on it.

There are some keys which could work but i dont know how to use them :o.

Is it even possible to make fragments in n....z (with netradiant)?

Can someone help me Smile?

Sry for my failenglisch ^^


RE: destroyable brushes? - Slup - 07-14-2010

no ideas? Sad


RE: destroyable brushes? - Cuinnton - 07-14-2010

hmmm I wish I knew also Smile


RE: destroyable brushes? - Slup - 07-15-2010

hmmm
if i use the key debris
a colored cube falls down :o

then i made some func_walls and named them piece... (with targetname)

key: debris
value: piece

but its still only a cube... <_<


fail D:


RE: destroyable brushes? - Mr. Bougo - 07-15-2010

Uh, don't you need to use a model path in the .debris key?


RE: destroyable brushes? - Slup - 07-15-2010

(07-15-2010, 04:10 AM)Mr. Bougo Wrote: Uh, don't you need to use a model path in the .debris key?

Idk xD im a noob Smile
what is a model path and where can i get it o.o?
but yes a path seems to be better instead of only "piece" ^^


RE: destroyable brushes? - Mr. Bougo - 07-15-2010

models/rocket.md3 for example... I don't know, read the documentation for the .debris key.


RE: destroyable brushes? - Slup - 07-15-2010

I read it about 20 times yesterday...
I dont understand it :o.
but thanks for your help.


RE: destroyable brushes? - Slup - 07-16-2010

debris: names of debris models to show when destroyed, separated by spaces

<_<
i did that :o


RE: destroyable brushes? - Mr. Bougo - 07-17-2010

Well, use full paths obviously, it can't know where to find the model if you don't tell him. Tongue

So, my example is correct, models/rocket.md3 will make the debris rocket models. Don't use that example in your map though, that's an awful idea Tongue


RE: destroyable brushes? - Roanoke - 07-17-2010

Is models/rocket.md3 a proper path? Isn't this relative to xonotic root? Or is it relative to the data pk3dir?


RE: destroyable brushes? - Mr. Bougo - 07-18-2010

Relative to data. QC can't access anything outside of the data directory.


RE: destroyable brushes? - Slup - 07-18-2010

k ty =D