erasing vis leaf group
Moderator: Moderators
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
erasing vis leaf group
Hi all
after a huge map compiling , i have noticed some strange mirror effect in my map , due to vis leaf group i guess .
My question is can whe delete them with the script thanks to the Key remove ?
TY
after a huge map compiling , i have noticed some strange mirror effect in my map , due to vis leaf group i guess .
My question is can whe delete them with the script thanks to the Key remove ?
TY
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
If I understand you correctly, you want to remove vis_leafgroup entities via scripting commands?
If so: the answer is unfortunately no.
Because those are not separate entities, like models and such... the vis_leafgroup's change the VIS compile, and because of this they are "hard coded" into the BSP file.
Why do you want to remove them?
If so: the answer is unfortunately no.
Because those are not separate entities, like models and such... the vis_leafgroup's change the VIS compile, and because of this they are "hard coded" into the BSP file.
Why do you want to remove them?
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Re: brushes
Are you sure? I don't think they are ediatble entities... they just tell the compiler how to split the BSP tree.tltrude wrote:You could remove the brushes by targetname
Or am I way off here? ( again
vis_leafgroup
A vis_leafgroup brush is an entity that can probably be removed. But, the affect the vis brush had on the world will remain, I think.
You can remove them by classname too.
removeclass ( String class_name, [Integer except] )
Removes everything in the specified class except for the specified entity (optional).
You can remove them by classname too.
removeclass ( String class_name, [Integer except] )
Removes everything in the specified class except for the specified entity (optional).
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
-
kalashnikov
- Corporal
- Posts: 34
- Joined: Tue Sep 07, 2004 9:28 pm
If you simply mean that there is a missing face in a brush that does show in radiant. I think that is a common problem with radiant. It is caused by csg substracting off the grid. It can be solved by clipping the brush so its on the grid again. But you should try to prevent these errors, because theyll keep coming back and completely mess up your map(telling from experience)
An important tool that will let you not use csg substract is clipping(select point 1 and 2) and then pressing shift enter. It will divide the brush and let you keep both sections.
An important tool that will let you not use csg substract is clipping(select point 1 and 2) and then pressing shift enter. It will divide the brush and let you keep both sections.
safe
No, it is not safe lizardkid. Vis_leafgroups are good for the performance (FPS) of the map, if done right. In this case they were done wrong and players standing in one vis brush can see one that it targets. That means players see an empty hole that may be showing caulk or the void (hall-of-mirrors effect). If there were a golden rule for vis_leafgroups, it would be this.
Players must never see a vis brush that is targeted by the vis brush they are standing in!
Players must never see a vis brush that is targeted by the vis brush they are standing in!
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
Code: Select all
$mv35 remove
$mv36 remove
$mv37 remove
$mv38 remove
I can not delete my vis leaf group ....can someone help plz ?
Do you think if i set my vis leaf group on the grid (ctrl + g ) that error wont appear ?
But the best woul be for me to avoid a final compile again , because i am lazy about.
Thats is my 5 th attempt .Retried 3 time because of the mirror effects.
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Basically: you need to go back to that basics.
What you are trying now is to put gaffa tape on your car to fix it, when the porblem is that your engine is missing
So lets go back: what is the problem? You got a "hall of mirrors" effect where you put a VIS brush, right? And you hate the time it takes to do a "-final" compile.
I suggest you skip light compiling completely, until this problem is fixed ( yes, you dont need to do it at all ).
Just do BSP and VIS compile for now.
What you are trying now is to put gaffa tape on your car to fix it, when the porblem is that your engine is missing
So lets go back: what is the problem? You got a "hall of mirrors" effect where you put a VIS brush, right? And you hate the time it takes to do a "-final" compile.
I suggest you skip light compiling completely, until this problem is fixed ( yes, you dont need to do it at all ).
Just do BSP and VIS compile for now.
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm
-
agentmad007
- Brigadier General
- Posts: 570
- Joined: Tue Feb 24, 2004 3:52 pm

