- To do this, either turn the brush(work) into a ASE model, that by default is nonsolid.
- Or create special shaders for that brush that all have the surfaceparm nonsolid, though even one caulked face might mess this up.
Turn brushes nonsolid - on the fly?
Turn brushes nonsolid - on the fly?
Alas, it does not seem to be possible to turn a brush nonsolid, on the fly, or is it?
Re: Turn brushes nonsolid - on the fly?
I really wished I knew a way to do this if there was one for my noghost map...I had hope func_statics could be flagged but doesn't seem you can. If I'm not mistaken you can in Q4
Re: Turn brushes nonsolid - on the fly?
you could hide a func_plat or func_door made of caulk inside a non-solid object and toggle the plat/door
Re: Turn brushes nonsolid - on the fly?
I don't think he means toggle as in toggled in-game but some editor entity key that will make Q3Map2 compile certain brushes as non-solid.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Re: Turn brushes nonsolid - on the fly?
Right...
Though the idea to have a fragment on the floor (broken out piece of a tile), disappear into the floor just when the player is about to run over it, does have a certain hardcore mapper char
Presently the "shards" are only a few (2u or so) units high... I think the player now barely notices running over them. I'll probably have to get off my lazy butt, and create ASE models for them... that would also let me better rotate them, without texture alignment issues.
non-solid & texture rotation fixed in one step.
Though the idea to have a fragment on the floor (broken out piece of a tile), disappear into the floor just when the player is about to run over it, does have a certain hardcore mapper char

Presently the "shards" are only a few (2u or so) units high... I think the player now barely notices running over them. I'll probably have to get off my lazy butt, and create ASE models for them... that would also let me better rotate them, without texture alignment issues.

-
- Posts: 2237
- Joined: Sat Mar 12, 2005 10:49 pm
Re: Turn brushes nonsolid - on the fly?
ugly but couldn't you just cover the entire room in a 2 unit high full-clip brush so the shards end up being "flush" with the rest of the floor?
Re: Turn brushes nonsolid - on the fly?
Indeed... that using flat playerclip is the third way to "fix" the issue... though in some areas that would be kinda ugly, plus potential make the player "float" about the ground ever so slightly.
Re: Turn brushes nonsolid - on the fly?
Bottom line I guess is not to be lazy, either func_static stuff so you don't get texture rotation issues when you rotate them, and make a non-solid shader, or just ase the details
Much to my annoyance good level design always involves taking the long slow route, what ever the problem 


Re: Turn brushes nonsolid - on the fly?
func_static actually helps? Hmm... that is new to me... how come this does anything at all?dONKEY wrote:Bottom line I guess is not to be lazy, either func_static stuff so you don't get texture rotation issues when you rotate them...
Re: Turn brushes nonsolid - on the fly?
Just wondering what does a default lightmapped texture shader look like, i.e. what shader does q3map2 apply to texture without any explicit shader?
Something like this?
Thinking of using that for non-solid floor tiles.
Something like this?
Code: Select all
textures/ae/tile_nonsolid
{
qer_editorimage textures/ae/tile.tga
surfaceparm nonsolid
{
map $lightmap
rgbGen identity
}
{
map textures/ae/tile.tga
blendFunc GL_DST_COLOR GL_ZERO
}
}
Re: Turn brushes nonsolid - on the fly?
Yes it does...rotate away till your heart's content.AEon wrote: func_static actually helps? Hmm... that is new to me... how come this does anything at all?
The way I've seen noclip shaders done before is:
Code: Select all
textures/mymap/mytexture_noclip
{
qer_editorimage textures/mymap/mytexture_noclip.tga
surfaceparm nonsolid
{
map textures/mymap/mytexture_noclip.tga
rgbGen identity
}
{
map $lightmap
blendFunc GL_DST_COLOR GL_ZERO
rgbGen identity
}
}
Re: Turn brushes nonsolid - on the fly?
Sometimes, it may be easier to do this:
http://www.robotrenegade.com/q3map2/doc ... tml#:q3map
Otherwise, either shader above is perfectly acceptable.
Code: Select all
textures/mymap/mytexture:q3map
{
surfaceparm noclip
}
Otherwise, either shader above is perfectly acceptable.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Re: Turn brushes nonsolid - on the fly?
obsidian,
awesome tip... I read up the manual, and remembered another thing to add:
Some of the eX textures should actually give off a metal sound... but have no shader presently... this way I can very elegantly add those. Neat!
awesome tip... I read up the manual, and remembered another thing to add:
Code: Select all
textures/q3map2_sm/floor:q3map
{
surfaceparm metalsteps
}
Re: Turn brushes nonsolid - on the fly?
:q3map...doh! I didn't know about that, ty!
Re: Turn brushes nonsolid - on the fly?
This is something I want to implement into netradiant's q3map2, if I ever have time. This, and ability to deny filtering the lightmap of the brushes in a func_froup (yes, I do like -filter. I know I'm the only one in the world :P), or at least, skip shadeangled surfaces from filtering.AEon wrote:I had hoped you could func_group the brushes and turn them nonsolid. Am I overlooking something?
Re: Turn brushes nonsolid - on the fly?
Hmm... this works fine, and gives the map a very interesting "sound patchwork" now.AEon wrote:Some of the eX textures should actually give off a metal sound... but have no shader presently... this way I can very elegantly add those. Neat!
I noted though that playerclip "muffles" (silences) the surfaceparm metalsteps texture brush surfaces... strange.
Re: Turn brushes nonsolid - on the fly?
Use metalclip if you need playerclip but with the metal sound.
If you put playerclip on top of something, the player walks on the clip brush with the default sound instead of the metal shader underneath.
If you put playerclip on top of something, the player walks on the clip brush with the default sound instead of the metal shader underneath.
[size=85][url=http://gtkradiant.com]GtkRadiant[/url] | [url=http://q3map2.robotrenegade.com]Q3Map2[/url] | [url=http://q3map2.robotrenegade.com/docs/shader_manual/]Shader Manual[/url][/size]
Re: Turn brushes nonsolid - on the fly?
Good tip... first time I heard of that shader.
Re: Turn brushes nonsolid - on the fly?
Looking through the list of common clip textures made me wonder if other sounds can be assigned to brush faces via shader? I am guessing this is not possible.
Were there other sounds for footsteps than normal, metal, water, lava?
Were there other sounds for footsteps than normal, metal, water, lava?
Re: Turn brushes nonsolid - on the fly?
iirc not in vanilla
woodsteps would be nice
woodsteps would be nice
Re: Turn brushes nonsolid - on the fly?
I have these square tubes that player can walk on... I'd have used the typical Half-Life sounds of crawling in metal air ducts on them, i.e. relatively tin metal "warping" under the player's mass sounds.
Re: Turn brushes nonsolid - on the fly?
triggers connected to speakers