I'm working on a pull request to allow setting the TICRATE via (Z)MAPINFO's GAMEINFO section. This would be useful for TCs that want to run at a different tic rate than Doom (PS1/N64 Doom TCs would benefit from 30 tics, Wolfenstein TCs would benefit from 70 tics, and I can imagine 60 tics being a popular choice for certain mods). I'd like to avoid the end user having to change everything's speed and gravity, only their states. I was going to wait until I finished it before posting here, but I'm having issues getting movement to feel correct at ticrates other than 35. I've been testing with tic rates 10, 35, 70, and 700. Sliding against the wall is currently the wrong speed. Jumping and gravity are close, but aren't *quite* perfect (at 700 tics, DoomGuy will grunt from this own jumps). Friction is absolutely busted. At a ticrate of 10, you slide much futher, and at a ticrate of 700, you stop on a dime. I've tried various methods to counteract the friction, but they've been fruitless. I'd appreciate any advice.
To test this, create a ZMAPINFO with the following contents:
Code: Select all
gameinfo
{
TICRATE = 70
}