Page 1 of 1
What is the limitation of this method?
Posted: Sat Apr 22, 2006 8:56 am
by a13n
When trying to quickly manipulate(find/replace) map file with script languages, what is the limitation?
For example, is it possible to extract each brush from func_group and merge them to worldspawn?
Posted: Sat Apr 22, 2006 12:22 pm
by Foo
You can do whatever you like given enough skill and knowledge of the .map format/3d programming.
After all, Radiant is just a massive script operating on your .map file
Posted: Sat Apr 22, 2006 10:02 pm
by Silicone_Milk
What Foo said.
Take a look at the .map file in notepad. It's just text. [EDIT](im sure that's pretty common knowledge by now though heh)[/EDIT]
You can have a script do anything with that text if you wanted too.
I had to go in to the file and delete some brushes with notepad because Radiant couldn't find them to delete it but said they existed and refused to compile.
Posted: Sat Apr 22, 2006 10:32 pm
by a13n
*sigh*
Posted: Sun Apr 23, 2006 1:35 am
by pjw
a13n wrote:*sigh*
What script language or languages are you trying to use? Why are you trying to script a method to translate func_groups to worldspawn on a mass scale, rather than just ungrouping them via the editor? From reading the original post, I'm not quite sure I understand what you're talking about.
Maybe instead of sighing, you might try being a bit more specific.
Posted: Sun Apr 23, 2006 2:32 am
by a13n
Right.
Posted: Sun Apr 23, 2006 3:06 am
by Kaz
Posted: Sun Apr 23, 2006 3:10 am
by Foo
yep.
Posted: Sun Apr 23, 2006 3:56 am
by seremtan
sounds to me like someone would like hammer, with its visgroups. doing this would be easy peasy
Posted: Sun Apr 23, 2006 7:13 am
by a13n
I don't know what seretaman says but oddyly his post reminds me of what I've been forgetting to mention.
"Merging another map file which contains hint brushes, clip brushes or anything no longer necessary to edit into the target map file just before compiling"
Posted: Sun Apr 23, 2006 11:06 am
by 4days
Kaz wrote:
quality icon :icon14:
if i'm understanding the question - why not just save a version of the map with no clipping/hinting - or set the clipping/hinting to be hidden.
Posted: Sun Apr 23, 2006 12:39 pm
by a13n
4days wrote:Kaz wrote:
quality icon :icon14:
Oh, yeah!
He is walking.

Shotgun plz!!!
if i'm understanding the question - why not just save a version of the map with no clipping/hinting - or set the clipping/hinting to be hidden.
Seems like out of point.
Posted: Sun Apr 23, 2006 1:32 pm
by Fjoggs
You might want to start telling people what you're actually wanting to do, if you want any help at all. It sounds like we have to drag every tiny bit of information out of you.
Posted: Mon Apr 24, 2006 1:42 am
by wattro
Sounds like he wants to isolate all the 'finished' stuff in his level into a separate map file... so that it doesn't clutter his 'unfinished' portions of the level. And then merge these things through an external process.
Though i think the visgroups that seremtan is talking about would be pretty sweet in radiant. Unfortunately i'm not much of a coder.
On another note, you can just filter some of the different common textures (like hints, clips, translucents, etc) from inside radiant.