Walkthrough brushes - why?

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Walkthrough brushes - why?

Postby Clueless Newbie » Sun Nov 04, 2007 8:15 pm

I'm working on a new map, and I've discoverd that some of the brushes are not solid - as in the player can walk straight through them. But I don't want that. These are supposed to be boulders. I can see two potential causes for this behaviour (but I'm only guessing here):

1: The boulders are intersected by a mesh (the ground they're sitting on).

2: The boulders/brushes have lots of sides. (in which case I can solve this by splitting the brushes in two).

Any other ideas?
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby Strahlemann » Sun Nov 04, 2007 11:32 pm

If you use models (md3's) in your map, they won't block the player. (don't know about .ase. I think .ase will block the player)

Well whatever, as i don't know exactly how you build your boulders, there's always one way to clip it for player movement: use player-clips.
Just make a brush where you want to clip the player and give it the textures/common/clip texture. It's the red one with player-clip written onto it.This'll do it.
bleach->aneurysm->straledm5->dieselpower->space-fun->o-fun->runningman->runningman1on1->aggressor(conversion)->soylent->bloodprison->bluesky->ruiner->reslimed->strength
Strahlemann
Keyboard killer
 
Posts: 676
Joined: Wed Mar 01, 2006 12:11 am
Location: Ulm/Germany

Postby torus » Sun Nov 04, 2007 11:40 pm

I don't know about .md3, but .ase models will only be solid if you set spawnflags to 6. Presumably .md3 is the same.
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby Clueless Newbie » Sun Nov 04, 2007 11:55 pm

Strahlemann wrote:Well whatever, as i don't know exactly how you build your boulders, there's always one way to clip it for player movement: use player-clips.
Just make a brush where you want to clip the player and give it the textures/common/clip texture. It's the red one with player-clip written onto it.This'll do it.

The boulders are just regular structural brushes - not models or .ases or .md3s or anything. The player can walk through some of them - not through others, even though they're all made the same way. I suppose I could use a player clip texture, but that would mean using two brushes where I would normally use one. How would that affect framerates?

Another oddity about these walkthrough boulders - once the player has walked through a boulder, the player also drops through the mesh that intersects the boulder. The mesh is waklthrough in the area occupied by the boulder, but not elsewhere.
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby TVR » Mon Nov 05, 2007 12:36 am

Instead of using player clips, It is recommend to use full clips instead; they block everything else in addition to players.

Assuming that it is a brush, [not a mesh, entity, or model] if an entity's origin in located inside a solid brush, the brush will automatically become nonsolid during the compile.
TVR
Alien trapper
 
Posts: 404
Joined: Fri Jun 01, 2007 12:56 am

Postby tZork » Mon Nov 05, 2007 7:47 pm

If the boulders are made by carving up a brush in some complex way it sometimes gets unsolid. im not sure why, presumebaly brushworks are designed to be simple shapes and singular complex ones seem to cause problems. You could try spliting it in many smaller brushes OR make a model from it and use spawnflags=6
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby torus » Mon Nov 05, 2007 8:03 pm

I would say make a model and import it. It will not only look better, but solve that problem.
Image
torus
Forum addon
 
Posts: 1341
Joined: Sun Dec 24, 2006 6:59 am
Location: USA

Postby Clueless Newbie » Mon Nov 05, 2007 10:34 pm

tZork wrote:If the boulders are made by carving up a brush in some complex way it sometimes gets unsolid. im not sure why, presumebaly brushworks are designed to be simple shapes and singular complex ones seem to cause problems. You could try spliting it in many smaller brushes OR make a model from it and use spawnflags=6

Well, the boulders/brushes were carved up hither and thither. I guess that answers the why. I solved the problem by deleting them. Making rocks isn't hard to do.

BTW: How does one make models? Can one do that with Radiant?
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby Clueless Newbie » Mon Nov 05, 2007 10:35 pm

torus wrote:I would say make a model and import it. It will not only look better, but solve that problem.


Well, the problem with that is that the walls, floors, and most of the ceiling are made of these boulders... ;)
2 GHz Mac Pro
Mac OS X 10.6.2
nvidia GeForce 8800 GT
Clueless Newbie
Keyboard killer
 
Posts: 518
Joined: Wed Jan 03, 2007 1:01 pm

Postby Revenant » Tue Nov 06, 2007 12:22 am

You can convert your brushwork to an ase model using q3map2 and then use that.
http://en.wikibooks.org/wiki/Q3Map2#Creating_an_.ase_model_out_of_brushwork
Revenant
Alien
 
Posts: 122
Joined: Sat Mar 04, 2006 9:38 pm
Location: Canada

Next

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron