Demon
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Thing count during play
 
Author
All times are GMT. The time now is 13:06. Post New Thread    Post A Reply
sparerib1968
Junior Member


Posts: 161
Registered: 05-06


Is there a way to make EE report the number or units of any particular thing type remaining on the map during play?

For example, EE reports monsters in terms of kills / initial_count (where initial_count does not include LostSoul things.) Maps which include PainElemental things or Archvile things frequently end with kills much greater than initial_count. I want to know if any LostSoul things or resurrected things remain on the map. (Sure this has probably come up before, but I think my idea is a bit different than anything I have read on the forums so far.)

Another example is item count, where I want to know how many of a particular type of item remain on the map. EE shows how many items remain to be collected, but that count does not include:

- WeaponChainsaw things
- StimPack things and MedKit things
- AmmoClip things and AmmoBulletBox things
- AmmoShells things and AmmoShellBox things
- AmmoRocket things and AmmoRocketBox things
- AmmoCell things and AmmoCellPack things
- some other things

(You could say that these are not items, but they are things.)

So in my mind I imagine a console command to do what I want might look something like count thing_mnemonic. The result would be the quantity of that thing remaining displayed in the console or perhaps the message area of the game screen. For example, a console session with the hypothetical new command might look similar to this:

code:
$count LostSoul 12 LostSoul things remain in play $count DoomImp 25 DoomImp things remain in play $count WeaponChainsaw 0 WeaponChainsaw things remain in play


Make sense?

EDIT: I changed thing names to match the Eternity mnemonics listed on http://doomwiki.org/index.php?tit...Gez&oldid=57333, thanks to Gez. I also reworded some parts hoping to further clarify my purpose.

Last edited by sparerib1968 on 09-08-09 at 21:19

Old Post 08-30-09 22:39 #
sparerib1968 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6066
Registered: 08-00


Seems simple enough to do something like that.

Old Post 09-07-09 03:01 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
sparerib1968
Junior Member


Posts: 161
Registered: 05-06


Really? That is an encouraging response. May I reasonably hope for such a feature in the near future?

As always, thank you very much for Eternity Engine. It is my favorite port.

Old Post 09-08-09 06:04 #
sparerib1968 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11141
Registered: 07-07



sparerib1968 said:
code:
count_remaining lost_soul count_remaining imp count_remaining stimpack


Make sense?


Would be count lostsoul, count doomimp, and count stimpack. ;)

Old Post 09-08-09 11:51 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6066
Registered: 08-00


e_dumpthings is your friend :P

Old Post 09-08-09 14:41 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
printz
CRAZY DUMB ZEALOT


Posts: 8864
Registered: 06-06


Most monsters don't disappear, though. Better add a flag condition. "count doomimp shootable" is one.

Old Post 09-08-09 19:10 #
printz is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
sparerib1968
Junior Member


Posts: 161
Registered: 05-06



Gez said:Would be count lostsoul, count doomimp, and count stimpack. ;)

Of course that would be fine. I wrote count_remaining only to be unambiguous about my purpose. The name of the command would be less important than its function IMHO.


Quasar said:e_dumpthings is your friend :P


I am sorry, but I do not understand how e_dumptings will count things. It only displays mnemonics and editing numbers. Please explain what you have in mind with a little more detail. I would like to know what to do, or where to read, to accomplish the purpose outlined in my original post.


console_ref.html said:e_dumpthings

Lists all EDF thing type mnemonics along with the DeHackEd numbers and doomednums of the corresponding types.


code:
$e_dumpthings deh# ed# name 1 -1 DoomPlayer 2 3004 Zombieman 3 9 Sergeant . . .


I have spent a couple of hours reading though the documents provided with EE and have not yet found a way to do it.

Old Post 09-08-09 20:10 #
sparerib1968 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Gez
Why don't I have a custom title by now?!


Posts: 11141
Registered: 07-07



sparerib1968 said:

Of course that would be fine. I wrote count_remaining only to be unambiguous about my purpose. The name of the command would be less important than its function IMHO.



The point of my post was to say that the name of the lost soul wasn't lost_soul but lostsoul, and the imp's was doomimp.

Here's a full list of mnemonics for Doom map things, it lists their name in the original source code, the name of their spawn state in same, their class name in ZDoom and in Eternity, and their dehacked, map editor, and ACS spawn numbers. (Note: it's based on my custom build of ZDoom, don't expect to see the last three actors in official builds...)

Old Post 09-08-09 20:48 #
Gez is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
sparerib1968
Junior Member


Posts: 161
Registered: 05-06


Quasar and Gez, I am very sorry for using imprecise language. I have updated my original post with the mnemonics listed for Eternity. I hope this helps find a way to count things during play.

Old Post 09-08-09 21:23 #
sparerib1968 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Quasar
Moderator


Posts: 6066
Registered: 08-00


All I was saying is that you use e_dumpthings to find out the proper name of thingtypes as defined by EDF ;) So after I implement this counting command for you, you will use it with those names.

Old Post 09-09-09 07:08 #
Quasar is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
sparerib1968
Junior Member


Posts: 161
Registered: 05-06


I understand that now, thanks to Gez for pointing it out. Of course using Eternity's own mnemonics makes much more sense than inventing a whole new set specialized for only one command. It was just a silly mistake on my part not looking them up before posting.

Quasar, I am truly grateful that you would take the time to read and respond to my feature request. I am looking forward to it, so thank you very much and keep up the good work.

Old Post 09-09-09 18:26 #
sparerib1968 is offline Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 13:06. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Special Interest > Eternity > Thing count during play

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.