Command for recording demos automatically

Issue #32 resolved
Purkkaviritys created an issue

Is it possible to have a some kind of command that would automatically continue recording a demo even if map changes? And assign the recorded demos to be in format like "mapname_date_number.dem" like "dkq2dm1_18062014_32.dem". Such feature exists in for example in Quake Live, and is called cg_autoAction there.

Comments (7)

  1. Mike K

    TF2 has a similar feature as a plugin/mod. It works as a script in the command console that starts a demo whenever it detects the connection to server text string, and restarts recording upon seeing the map change string, and records demos like mapname_01. Perhaps something like that could work.

  2. Frank Sapone

    It's probably semi-trivial to do. I just totally forgot about it. I'll check into it soon.

    If I forget, just post something here.

  3. Purkkaviritys reporter

    Ok. I tried to record stuff with it.

    In single-player and multi-player recording works. But when trying to actually playback the demo using "demomap demo.dem" then in single-player recordings it says that it doesn't find map. And for multi-player recordings it says that missing server string or something. It's past 1AM here so I just quickly tried it out. But it's going to be the best feature ever after these quirks have been ironed out.

  4. Mike K

    have you tried the demoplay command?

    as for the singleplayer make sure you dont have conflicting maps/multiple map versions. If youre playing an updated singleplayer map, try deleting the original map file from the game and inserting the newest version of the map in its place with the same name

  5. Frank Sapone

    I fixed it, 1.2 has a different way of parsing the delta entity state. Knightmare optimized some things and I also added an optimization from Q2 ~v3.20 which broke writing. Try and download again.

  6. Log in to comment