Xonotic is a free, open source (GPL) ultra-fast, first-person shooter


Follow Xonotic on

Post Reply 
[SOLVED] destroyable brushes?
07-14-2010, 02:01 PM (This post was last modified: 07-19-2010 04:38 AM by Mr. Bougo.)
Post: #1
[SOLVED] destroyable brushes?
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 ^^

info:
This message was written with 100% recycled electrons!!! Angel
No trees were destroyed and no animals were harmed.
Find all posts by this user
Quote this message in a reply
07-14-2010, 04:59 PM
Post: #2
RE: destroyable brushes?
no ideas? Sad

info:
This message was written with 100% recycled electrons!!! Angel
No trees were destroyed and no animals were harmed.
Find all posts by this user
Quote this message in a reply
07-14-2010, 09:19 PM
Post: #3
RE: destroyable brushes?
hmmm I wish I knew also Smile

There's nothing better than getting off you butt and contributing to a community. There is no excuse when it comes to computers. Spend a little of you playing time, giving back Smile
Find all posts by this user
Quote this message in a reply
07-15-2010, 12:32 AM (This post was last modified: 07-15-2010 01:04 AM by Slup.)
Post: #4
RE: destroyable brushes?
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:

info:
This message was written with 100% recycled electrons!!! Angel
No trees were destroyed and no animals were harmed.
Find all posts by this user
Quote this message in a reply
07-15-2010, 04:10 AM
Post: #5
RE: destroyable brushes?
Uh, don't you need to use a model path in the .debris key?

[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Find all posts by this user
Quote this message in a reply
07-15-2010, 04:19 AM (This post was last modified: 07-15-2010 04:25 AM by Slup.)
Post: #6
RE: destroyable brushes?
(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" ^^

info:
This message was written with 100% recycled electrons!!! Angel
No trees were destroyed and no animals were harmed.
Find all posts by this user
Quote this message in a reply
07-15-2010, 05:38 AM
Post: #7
RE: destroyable brushes?
models/rocket.md3 for example... I don't know, read the documentation for the .debris key.

[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Find all posts by this user
Quote this message in a reply
07-15-2010, 06:49 AM
Post: #8
RE: destroyable brushes?
I read it about 20 times yesterday...
I dont understand it :o.
but thanks for your help.

info:
This message was written with 100% recycled electrons!!! Angel
No trees were destroyed and no animals were harmed.
Find all posts by this user
Quote this message in a reply
07-16-2010, 12:39 AM
Post: #9
RE: destroyable brushes?
debris: names of debris models to show when destroyed, separated by spaces

<_<
i did that :o

info:
This message was written with 100% recycled electrons!!! Angel
No trees were destroyed and no animals were harmed.
Find all posts by this user
Quote this message in a reply
07-17-2010, 02:22 AM
Post: #10
RE: destroyable brushes?
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

[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Find all posts by this user
Quote this message in a reply
07-17-2010, 12:01 PM
Post: #11
RE: destroyable brushes?
Is models/rocket.md3 a proper path? Isn't this relative to xonotic root? Or is it relative to the data pk3dir?

(07-18-2010 10:59 AM)Flying Steel Wrote:  How could anyone with ADHD tell its a high damage weapon if it wasn't a gigantic metal cock fucking the map whenever a player gets within 3 meters of a wall?

[Image: di-712770583645.png]
Find all posts by this user
Quote this message in a reply
07-18-2010, 03:22 AM
Post: #12
RE: destroyable brushes?
Relative to data. QC can't access anything outside of the data directory.

[Image:http://i.imgur.com/4XODR.png]640K ought to be enough for anybody.
     ― Linux Torvalds
Find all posts by this user
Quote this message in a reply
07-18-2010, 04:19 AM
Post: #13
RE: destroyable brushes?
k ty =D

info:
This message was written with 100% recycled electrons!!! Angel
No trees were destroyed and no animals were harmed.
Find all posts by this user
Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  [Solved] Not appearing on XonStat medimatrix 8 449 08-14-2013 07:39 AM
Last Post: Antibody
  [SOLVED] Utilise a mod within Xonotic? rocknroll237 13 2,620 07-07-2013 04:04 AM
Last Post: Mr. Bougo
  [SOLVED] Black screen and crash at launch kiro 3 822 08-11-2012 04:59 PM
Last Post: Mr. Bougo
  [SOLVED] Change bot balance on teams rocknroll237 3 1,096 01-29-2012 09:50 AM
Last Post: rocknroll237
  [solved]netradian crash when compilling a map Leeloo 4 1,064 01-24-2012 02:12 AM
Last Post: Mr. Bougo
  [solved] debian nvidia gtx 570 low frame rate/mouse lag Loafers 0 1,602 01-10-2012 05:42 AM
Last Post: Loafers
  [SOLVED] F1 and F2 problem rocknroll237 1 814 01-02-2012 05:49 PM
Last Post: Mepper
  SOLVED: triple monitor problem Eicca 3 1,342 12-15-2011 02:31 PM
Last Post: Mr. Bougo
  [Solved]changing data/dlcache dir 0ms 3 1,288 11-13-2011 08:58 AM
Last Post: 0ms
  [Solved] Can no longer bunnyhop sunnybubblegum 3 969 11-08-2011 10:20 AM
Last Post: sunnybubblegum

Forum Jump: