News | Forum | People | FAQ | Links | Search | Register | Log in
General Abuse
Talk about anything in here. If you've got something newsworthy, please submit it as news. If it seems borderline, submit it anyway and a mod will either approve it or move the post back to this thread.

News submissions: https://celephais.net/board/submit_news.php
First | Previous | Next | Last
Zwiffle 
Six maps like this one and your episode won't be a problem. 
 
But Vondur is in his own class when it comes to mapping :( 
And Sucking Commie Dicks 
 
Metal-leaks.zip 
Anyone have the metal-leaks wad that speedy released a long time ago? The version on quaddicted seems to be corrupted. 
Nvm, Found Them 
 
is there some kind of program that would allow me to search all entities of a common classname and either insert or replace keys on those entities?

like, <ahem> say for example, you had a map that had tons of torches and then this cool coloured version of aguirre's light compiler comes out and you wants to copy a specific '_color' key to maybe a few hundred torches, but not any other lights (nor light globes or flames, just torches). 
Yeah 
It's called Gtkradiant. Open the entity list and select all torches, then add the _color field in the entity window. 
 
Quark does it too! 
 
i tried in quark, but i couldn't figure out how to do it easily without going down the entity list and manually selecting them all one by one.

but gtkr... i'll have to try that because i had no idea you could select multiple entities that way (sikkpin's qe3 which is based on radiant which is what gtkr is based off of doesn't have that ability, you can only select individual entities that way). 
 
Hammer can do it too! 
Hehe 
looks like qe3 is firmly in the fail category in this instance. :P 
Use A Text Editor Then 
Find/replace "classname" "light_torch_small_walltorch" with "classname" "light_torch_small_walltorch"<linebreak symbol>"_color" "1 2 3"

Not sure about the linebreak thing though :P 
BspEditor Does It Too 
 
The Text Editor Would Be The Ideal Solution 
i use textpad which unfortunately, can't replace with linebreaks. :S 
 
if i could code, i'd make a little standalone app for stuff like this. it would read ents from a bsp or map and create a little database where you could sort by each attr & search for certain values. or mass-edit stuff like above 
 
Ah, are those on subsequent lines? And all of the same class?

JEdit is my favourite editor and it can easily do this. It is free, open-source and cross-platform. http://www.jedit.org/

Select the classname. Ctrl-F for the Search and Replace dialog. Copy the line to the "Replace with" form. Use Ctrl-Enter to add a linebreak. Add your new field. "Replace all".

http://s1.image.gd/o/25/258bfa3b7540f0b2484ef75076130ffa21851ee8.png

Make sure it will search in "Current Buffer". You might want to turn regular expressions off, should not be an issue here though. 
Notepad++ Can Do It Too 
Even with \n 
BspEditor 
Edit - Select - By Value - Entity Type - OK 
Worldcraft Can Do It 
map > entity report > theen you modify the filter, you can search by key/value, class, and select point ents, brush ents or both > then click "Mark", then you close the dialogue and go to the selection tool, you will find all of the marked objects are selected :D 
Regular Expressions 
ftw 
So Easy A Caveman Can Do It 
nt 
Whose Program Is The Best? 
Fap on! 
I Can Do It. 
don't Prog me RAM!

I know, just foolin'.
But these headlines
looks so stupid. 
Rj 
yeah, i was thinking of making a program that would just parse the entity list and load it up into some kind of easy to access and modify gui, but since the text editor solution works, i no longer have any reason to do that. :P :P 
Ten Years Ago 
I was planning to design a simple language that would allow all kinds of transformations on Quake maps, but it never happened because I didn't know enough about language design. Today that would be called a domain specific language and there are lots of tools that would allow generating such a language very easily... maybe I'll get back to it sometime. 
First | Previous | Next | Last
You must be logged in to post in this thread.
Website copyright © 2002-2024 John Fitzgibbons. All posts are copyright their respective authors.