Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ITEMCOUNT not in use #375

Open
caozhenxiang-kouji opened this issue Apr 14, 2019 · 4 comments
Open

ITEMCOUNT not in use #375

caozhenxiang-kouji opened this issue Apr 14, 2019 · 4 comments

Comments

@caozhenxiang-kouji
Copy link

I added game variable ITEMCOUNT in cig, I found that whether I picked the health pick or ammo the value of the variable didn't change. Does anybody have any idea?

@Miffyli
Copy link
Collaborator

Miffyli commented Apr 14, 2019

Can confirm: Testing in deathmatch.wad with ViZDoom versions 1.1.5 (Python 3.5) and 1.1.7 (Python 3.7) on Windows, and tracking ITEMCOUNT. Ammos and medkits do not increase ITEMCOUNT, but smaller "overheal healing vials" and armour pickups do increase ITEMCOUNT.

@JackieTseng
Copy link

JackieTseng commented Apr 18, 2019

I met similar issues too. When I use cig.cfg or multi-deathmatch.cfg scenarios, ITEMCOUNT never increases even though ARMOR increases.

So what exactly is the condition of the event that ITEMCOUNT increases, as well as SECRETCOUNT.

@mwydmuch mwydmuch added this to the 1.1.8 milestone Apr 18, 2019
@mwydmuch mwydmuch added bug and removed enhancement labels Apr 18, 2019
@mwydmuch
Copy link
Member

ITEMCOUNT is a variable that should work correctly only in singleplayer mode. I will check why it doesn't work for all items in deathmatch.wad.

@JackieTseng
Copy link

@mwydmuch Are there any alternative methods to count the found and picked items in multi-player mode, like SECRETCOUNT and ITEMCOUNT in single-player mode? THX.

@mwydmuch mwydmuch modified the milestones: 1.1.8, 1.1.9 Nov 18, 2020
@mwydmuch mwydmuch modified the milestones: 1.1.9, 1.1.15 Jan 7, 2023
@mwydmuch mwydmuch modified the milestones: 1.2.0, 1.2.X Mar 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants