Zwiffle
#19523 posted by negke on 2010/11/04 12:14:29
Six maps like this one and your episode won't be a problem.
#19524 posted by Zwiffle on 2010/11/04 14:16:15
But Vondur is in his own class when it comes to mapping :(
And Sucking Commie Dicks
#19525 posted by SleepwalkR on 2010/11/04 17:55:54
Metal-leaks.zip
#19526 posted by jt_ on 2010/11/04 18:14:32
Anyone have the metal-leaks wad that speedy released a long time ago? The version on quaddicted seems to be corrupted.
Nvm, Found Them
#19527 posted by jt_ on 2010/11/04 18:17:03
#19528 posted by necros on 2010/11/06 19:27:55
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
#19529 posted by negke on 2010/11/06 19:32:37
It's called Gtkradiant. Open the entity list and select all torches, then add the _color field in the entity window.
#19530 posted by Spirit on 2010/11/06 19:34:46
Quark does it too!
#19531 posted by necros on 2010/11/06 20:06:53
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).
#19532 posted by Ankh on 2010/11/06 20:08:02
Hammer can do it too!
Hehe
#19533 posted by necros on 2010/11/06 20:11:40
looks like qe3 is firmly in the fail category in this instance. :P
Use A Text Editor Then
#19534 posted by negke on 2010/11/06 20:22:07
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
#19535 posted by Mike Woodham on 2010/11/06 20:24:36
The Text Editor Would Be The Ideal Solution
#19536 posted by necros on 2010/11/06 20:28:45
i use textpad which unfortunately, can't replace with linebreaks. :S
#19537 posted by rj on 2010/11/06 20:36:33
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
#19538 posted by Spirit on 2010/11/06 20:58:41
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
#19539 posted by negke on 2010/11/06 21:01:09
Even with \n
BspEditor
#19540 posted by Mike Woodham on 2010/11/06 21:29:56
Edit - Select - By Value - Entity Type - OK
Worldcraft Can Do It
#19541 posted by RickyT33 on 2010/11/06 21:37:41
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
#19542 posted by SleepwalkR on 2010/11/06 23:55:17
ftw
So Easy A Caveman Can Do It
#19543 posted by Zwiffle on 2010/11/07 00:11:21
nt
Whose Program Is The Best?
#19544 posted by negke on 2010/11/07 09:50:29
Fap on!
I Can Do It.
#19545 posted by madfox on 2010/11/07 19:34:49
don't Prog me RAM!
I know, just foolin'.
But these headlines
looks so stupid.
Rj
#19546 posted by necros on 2010/11/07 22:36:38
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
#19547 posted by SleepwalkR on 2010/11/07 23:11:09
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.
|