Tool to convert items on a level to something else?

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Enjay
 
 
Posts: 27131
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Tool to convert items on a level to something else?

Post by Enjay »

Does anyone know of a tool that can be used to convert certain items on a level to something else. eg, something that would allow me to change all the zombiemen and shotgunguys to new decorate items, or all the lamps to pillars or whatever by changing their editnums within the file automatically. I know I could do it using DECORATE, but that's not what I need in this case.

I know there used to be a command line tool that could convert Doom-Doom2-Heretic (and could actually just be set up to do what I want to do). It used a text based config file to do it. That kind of thing would be ideal but I don't know of anything. Even something that allowed a command line like

changethings test.wad 3004 21000

would be fine for what I need.

Is there anything out there that can work with modern Zdoom levels?
NiGHTMARE
Posts: 3463
Joined: Sat Jul 19, 2003 8:39 am

Post by NiGHTMARE »

DeepSea can do this, via Search -> Find/Change -> Replace Thing. You can even make it only replace a certain percentage of those things, e.g. replace 50% of troopers with sergeants.
User avatar
Scientist
Posts: 60
Joined: Tue Jul 05, 2005 5:28 pm
Location: the Netherlands
Contact:

Post by Scientist »

You can do it in Doombuilder
Open your map in Doombuilder
click edit - find and replace - select thing number.
User avatar
Enjay
 
 
Posts: 27131
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Thanks, I'm aware of the options within DeePSea, and can do it that way if needs be. However, I'm going to be going through quite a few maps and on each map there are a number of different things to convert so if there were some way to do it with an external tool that I could run with a response file or using a batch or something, it would be easier.
User avatar
Kappes Buur
 
 
Posts: 4184
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Post by Kappes Buur »

I had used Patcher by Jim Flynn some years ago, but unfortunately it will not run on my newer system, to verify what I think I remember of it. :roll:

http://home.pacbell.net/jflynn/software.html

And what I seem to remember is, that it will do what you are asking, with the replacer.
User avatar
Enjay
 
 
Posts: 27131
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Thanks, I'll try it when I get home from work. If it works on my system, it looks like the repl tool from patcher should do the job. :D
User avatar
funduke
Posts: 28
Joined: Sun Nov 13, 2005 2:00 pm
Contact:

Re: Tool to convert items on a level to something else?

Post by funduke »

Enjay wrote:Does anyone know of a tool that can be used to convert certain items on a level to something else.
DM2CONV v3.2 by Vincenzo Alcamo
One of the features is
Object remapping: change existing objects into others
http://www.doomworld.com/idgames/index.php?id=3898

Greetings
Funduke
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49235
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Based on its age my guess would be that this tool can only handle Doom format maps and knowing Enjay he needs it for Hexen format.
User avatar
Kirby
Posts: 2697
Joined: Thu Aug 26, 2004 1:23 pm

Post by Kirby »

Well, if need be, you could always use a script to do that :P
User avatar
funduke
Posts: 28
Joined: Sun Nov 13, 2005 2:00 pm
Contact:

Post by funduke »

Graf Zahl wrote:Based on its age my guess would be that this tool can only handle Doom format maps and knowing Enjay he needs it for Hexen format.
I gave it a second look and you're correct: It does only doom, doom2 and heretic:
DM2CONV v3.2 has the following features:
- Converts from DOOM, ULTIMATE DOOM, DOOM II, HERETIC to
DOOM, ULTIMATE DOOM, DOOM II or HERETIC.
- Object remapping: change existing objects into others
- Configurable: use of response files
- Level remapping, music remapping, etc...
Maybe this helps:
CONV2HEX 2.0
doom/doom2/heretic to hexen converter
by SImply Silly Software
http://www.doomworld.com/idgames/index.php?id=3907

Greetings
Funduke
User avatar
Enjay
 
 
Posts: 27131
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

DM2CONV was indeed the tool that I had come across in the past (although I couldn't remember it's name) but I was also pretty sure it wasn't able to handle newer levels. I haven't had a chance to try PATCHER yet but I will, and CONV2HEX and see which one works out best for me.

Thanks again for the input.
Locked

Return to “Editing (Archive)”