Check if currently in a demo playback?
- Vincent(PDP)
- Forum Regular
- Posts: 527
- Joined: Thu Mar 14, 2013 7:35 pm
- Location: Sweden
- Clan: My DOOM site
- Clan Tag: <MDS>
- Contact:
Check if currently in a demo playback?
I would like to know if there's a way to check (via ACS) if you're in a normal game or in a Demo playback. This is because some ACS functions are executed in the demo that increases the values of cvars, which should only be modified when you are actually playing the game.
RE: Check if currently in a demo playback?
Sounds like you're hitting a bug of some sort. The gamesim in demo playback should behave identically to when it was recorded in the first place. There is no way to tell if you're in demo playback and there never will be for this reason.
- Vincent(PDP)
- Forum Regular
- Posts: 527
- Joined: Thu Mar 14, 2013 7:35 pm
- Location: Sweden
- Clan: My DOOM site
- Clan Tag: <MDS>
- Contact:
RE: Check if currently in a demo playback?
Well... The cvars are incremented via a clientside script, so...
- Vincent(PDP)
- Forum Regular
- Posts: 527
- Joined: Thu Mar 14, 2013 7:35 pm
- Location: Sweden
- Clan: My DOOM site
- Clan Tag: <MDS>
- Contact:
RE: Check if currently in a demo playback?
@Dusk
This is indeed a bug. The clientside script is being activated once I kill someone, etc, in the demo and it increments the "real-time" cvars.
When checking the cvars later in a normal game they have changed. It doesn't matter which demo I look at.
I'll try to construct a demo wad and then create a ticket in the tracker.
This is indeed a bug. The clientside script is being activated once I kill someone, etc, in the demo and it increments the "real-time" cvars.
When checking the cvars later in a normal game they have changed. It doesn't matter which demo I look at.
I'll try to construct a demo wad and then create a ticket in the tracker.
Last edited by Vincent(PDP) on Sat Apr 11, 2015 5:10 pm, edited 1 time in total.