Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Simomarchi

Map thing counter

Question

Hello everyone,

Like the title suggests, is there a tool that counts the number of things that i've placed in a map? 

I mean, something that tells me that in this map there are x Imps, y stimpacks etc...

I think it could be a nice resource in balacing health and monster for example.  

Doom wiki has this kind of information for some levels and I hope that there's something simpler than counting every thing to do this task

Share this post


Link to post

10 answers to this question

Recommended Posts

  • 0

In Doom Builder (I am using DBBF, so I don't know if it is in all versions.), press F3 to enter Find and Replace mode, or select it in the Mode menu.  In the Search Type drop-down menu, select Thing Type, and then choose what thing.  It will select all things of that type, and tell you how many were found.

Share this post


Link to post
  • 0

Thumbs up for wadspy1.1

Make a batch file, for example spy.bat

 

Quote

ws.exe %1 > report.txt

 

Copy the pwad into the wadspy folder and drag the pwad on top of the batch file to get the report.

For example

 

Spoiler
Quote

WADSpy v1.1 (2012-07-01)             (c) by Oliver Brakmann <obrakmann@gmx.net>

===============================================================================
PWAD FILE D:\PWAD_EDITING\WADSPY\DOOM2-the_devil_cometh.wad:
-------------------------------------------------------------------------------
MAP01                            S1    S2    S3   S45 |    M1    M2    M3   M45
-------------------------------------------------------------------------------
    Play modes:
    Single player
    Cooperative (4 player)
    Monsters:
    Trooper                  23    23    33    43 |    23    23    33    43
    Sergeant                 27    27    34    40 |    27    27    34    40
    Imp                      17    17    20    24 |    17    17    20    24
    Lost Soul                 1     1     1     1 |     1     1     1     1
    Weapons:
    Shotgun                   2     2     2     2 |     2     2     2     2
    Chaingun                  1     1     1     1 |     1     1     1     1
    Rocket launcher           1     1     1     1 |     1     1     1     1
    Equipment:
    Backpack                  1     1     1     1 |     1     1     1     1
    Invisibility              1     1     1     1 |     1     1     1     1
    Computer map              1     1     1     1 |     1     1     1     1
    Expendibles:
    Bullets                 260   260   360   460 |   260   260   360   460
    Shells                  228   228   256   280 |   228   228   256   280
    Rockets                  50    50    50    50 |    50    50    50    50
    Cells                    40    40    40    40 |    40    40    40    40
    Armor points            144   144   144   144 |   144   144   144   144
    Health points           166   166   166   166 |   166   166   166   166
    Barrels                  36    36    36    36 |    36    36    36    36
Difficulty:
    Total monster hp        239   239   298   360 |   239   239   298   360
    Max weapon damage      2936  2936  3232  3500 |  2936  2936  3232  3500
    RATIO                 0.041 0.081 0.092 0.103 | 0.041 0.081 0.092 0.103
    Other info:
    Average brightness             168 (0=dark, 255=bright)
    Secrets                          8
    Nukeage / sectors         0 / 1637
    Triggers / linedefs      48 / 8359
    Reject resource                YES
-------------------------------------------------------------------------------
MAP02                            S1    S2    S3   S45 |    M1    M2    M3   M45
-------------------------------------------------------------------------------
    Play modes:
    Single player
    Cooperative (4 player)
    Monsters:
    Trooper                  18    18    32    45 |    18    18    32    45
    Sergeant                 33    33    45    55 |    33    33    45    55
    Chaingunner               1     1     2     4 |     1     1     2     4
    Imp                       8     8    11    13 |     8     8    11    13
    Demon                     3     3     5     6 |     3     3     5     6
    Lost Soul                 0     0     0     1 |     0     0     0     1
    Cacodemon                 4     4     6     8 |     4     4     6     8
    Weapons:
    Shotgun                   1     1     1     1 |     1     1     1     1
    Chaingun                  1     1     1     1 |     1     1     1     1
    Rocket launcher           1     1     1     1 |     1     1     1     1
    Equipment:
    Backpack                  2     2     2     2 |     2     2     2     2
    Invisibility              3     3     3     3 |     3     3     3     3
    Expendibles:
    Bullets                 280   280   430   580 |   280   280   430   580
    Shells                  168   168   216   256 |   168   168   216   256
    Rockets                  29    29    29    29 |    29    29    29    29
    Cells                    80    80    80    80 |    80    80    80    80
    Armor points            118   118   118   118 |   118   118   118   118
    Health points           335   335   335   335 |   335   335   335   335
    Barrels                  16    16    16    16 |    16    16    16    16
Difficulty:
    Total monster hp        395   395   594   781 |   395   395   594   781
    Max weapon damage      2196  2196  2682  3112 |  2196  2196  2682  3112
    RATIO                 0.090 0.180 0.221 0.251 | 0.090 0.180 0.221 0.251
    Other info:
    Average brightness             162 (0=dark, 255=bright)
    Secrets                          8
    Nukeage / sectors       134 / 1674
    Triggers / linedefs      84 / 9229
    Reject resource                YES
-------------------------------------------------------------------------------
MAP03                            S1    S2    S3   S45 |    M1    M2    M3   M45
-------------------------------------------------------------------------------
    Play modes:
    Single player
    Cooperative (4 player)
    Monsters:
    Trooper                  37    37    57    68 |    37    37    57    68
    Sergeant                 33    33    39    52 |    33    33    39    52
    Imp                      28    28    40    47 |    28    28    40    47
    Demon                    10    10    13    16 |    10    10    13    16
    Lost Soul                 1     1     1     1 |     1     1     1     1
    Weapons:
    Shotgun                   1     1     1     1 |     1     1     1     1
    Super shotgun             1     1     1     1 |     1     1     1     1
    Chaingun                  1     1     1     1 |     1     1     1     1
    Rocket launcher           1     1     1     1 |     1     1     1     1
    Plasma rifle              1     1     1     1 |     1     1     1     1
    Equipment:
    Backpack                  3     3     3     3 |     3     3     3     3
    Invulnerability           1     1     1     1 |     1     1     1     1
    Invisibility              4     4     4     4 |     4     4     4     4
    Computer map              1     1     1     1 |     1     1     1     1
    Expendibles:
    Bullets                 470   470   670   780 |   470   470   670   780
    Shells                  184   184   208   260 |   184   184   208   260
    Rockets                  70    70    70    70 |    70    70    70    70
    Cells                   340   340   340   340 |   340   340   340   340
    Armor points            232   232   232   232 |   232   232   232   232
    Health points           162   162   162   162 |   162   162   162   162
    Barrels                  26    26    26    26 |    26    26    26    26
Difficulty:
    Total monster hp        501   501   676   824 |   501   501   676   824
    Max weapon damage      3838  3838  4206  4680 |  3838  3838  4206  4680
    RATIO                 0.065 0.131 0.161 0.176 | 0.065 0.131 0.161 0.176
    Other info:
    Average brightness             174 (0=dark, 255=bright)
    Secrets                         22
    Nukeage / sectors         0 / 3010
    Triggers / linedefs     258 / 15855
    Reject resource                YES
-------------------------------------------------------------------------------
MAP04                            S1    S2    S3   S45 |    M1    M2    M3   M45
-------------------------------------------------------------------------------
    Play modes:
    Single player
    Cooperative (4 player)
    Monsters:
    Trooper                  36    36    55    66 |    36    36    55    66
    Sergeant                 91    91   117   151 |    91    91   117   151
    Imp                       9     9    16    17 |     9     9    16    17
    Demon                     2     2     3     3 |     2     2     3     3
    Cacodemon                 6     6     9    12 |     6     6     9    12
    Weapons:
    Chainsaw                  1     1     1     1 |     1     1     1     1
    Shotgun                   1     1     1     1 |     1     1     1     1
    Super shotgun             1     1     1     1 |     1     1     1     1
    Chaingun                  1     1     1     1 |     1     1     1     1
    Rocket launcher           1     1     1     1 |     1     1     1     1
    Plasma rifle              1     1     1     1 |     1     1     1     1
    Equipment:
    Backpack                  1     1     1     1 |     1     1     1     1
    Invulnerability           2     2     2     2 |     2     2     2     2
    Berserk                   2     2     2     2 |     2     2     2     2
    Invisibility              3     3     3     3 |     3     3     3     3
    Expendibles:
    Bullets                 390   390   580   690 |   390   390   580   690
    Shells                  412   412   516   652 |   412   412   516   652
    Rockets                  48    48    48    48 |    48    48    48    48
    Cells                   180   180   180   180 |   180   180   180   180
    Armor points            232   232   232   232 |   232   232   232   232
    Health points           659   659   659   659 |   659   659   659   659
    Barrels                 173   173   173   173 |   173   173   173   173
Difficulty:
    Total monster hp        669   669   962  1212 |   669   669   962  1212
    Max weapon damage      4594  4594  5512  6574 |  4594  4594  5512  6574
    RATIO                 0.073 0.146 0.175 0.184 | 0.073 0.146 0.175 0.184
    Other info:
    Average brightness             185 (0=dark, 255=bright)
    Secrets                         19
    Nukeage / sectors         0 / 3769
    Triggers / linedefs     137 / 19727
    Reject resource                YES

 

 

Share this post


Link to post
  • 0

I'm actually really interested in this tool but it seems to not work on my wad...

It's a doom-in-hexen map with custom stuff and high enemy count. Is that a problem?

Share this post


Link to post
  • 0

From the text file

 

Quote

May Not Run With        : WADs that use custom monsters (DEH, BEX, or DECORATE)

 

So, it seems to work only with vanilla maps.

 

A fix could be to convert the doom-in-hexen map to vanilla with GZDB/GZDBBF (F2) and save with a new wad name and run that through wadspy.

Edited by Kappes Buur

Share this post


Link to post
  • 0

It doesn't work, at least for me. Wadspy shows the table properly but full of 0.

Wadwhat (that seems to be a wadspy-like program) shows all the infos but only if I drag my wad file on the wadwhat.exe file and only for a couple of seconds (like if you simply doubleclick on the .exe file without any wad). So I don't know.

 

Both are however interesting tools if you're going to analize a vanilla wad

 

Edit: how can I delete this double post? :)

Share this post


Link to post
  • 0
4 hours ago, Simomarchi said:

Edit: how can I delete this double post? :)

 

DWforum does not allow post deletion.

All you can do is replace the text with the word deleted or some other comment.

 

4 hours ago, Simomarchi said:

It doesn't work, at least for me. Wadspy shows the table properly but full of 0.

Wadwhat (that seems to be a wadspy-like program) shows all the infos but only if I drag my wad file on the wadwhat.exe file and only for a couple of seconds (like if you simply doubleclick on the .exe file without any wad). So I don't know.

 

 

That would be most peculiar. 

The important word here is vanilla format.

 

Convert the GZDoom Hexen format first to GZDoom Doom format

and then to DOOM DOOM format. While the line specials do not translate

all the other info is retained. Then run it through wadspy.

Edited by Kappes Buur

Share this post


Link to post
  • 0
3 hours ago, Kappes Buur said:

Convert the GZDoom Hexen format first to GZDoom Doom format

and then to DOOM DOOM format. While the line specials do not translate

all the other info is retained. Then run it through wadspy.

This solution actually worked well, but the correct converstion order was 

 

Doom-in-hexen 

hexen 

doom2

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×