12p Posted January 27, 2012 Share Posted January 27, 2012 Solution: DELTA TIMING Option here's Wikipedia link Make an option in the Advanced Tab to toggle Delta Timing. Why to NOT force Delta timing? Okay, let's take myself as example... My PC sucks when playing highly-decorated maps like Rafinha v10; the car slows down to the point it's-never-using-nitro-speed. This feature may fix the problem related to the speed. BUT with players that have good PCs (like Mondim^^ or FFS members), this feature will be just useless and could be disabled. Also, some players may still not want to use Delta Timing, so they would want to disable it, too. Link to comment
12p Posted January 29, 2012 Author Share Posted January 29, 2012 So nobody really cares about this. Interesting. Link to comment
diegofkda Posted January 29, 2012 Share Posted January 29, 2012 I do. I experienced a 2001 PC during years playing MTA. Now, yeah, I have a superepic PC compared to my old one, but still saying that players who play 640xblablabla resolution need to be considered in servers. Also, the MTA team need to implement an option to toggle shaders. Link to comment
Wojak Posted January 30, 2012 Share Posted January 30, 2012 Its not hard to do, all You need is a mathematical function that describes exact correlation between FPS and game speed (witch unfortunately I don’t have)… But we use this on 2paq Race Server anyway (but only on special occasions like championships, where equal chances are important) Link to comment
karlis Posted January 31, 2012 Share Posted January 31, 2012 this is mayor rewrite that would most likely require source code to be done properly. also, delta timing is in all games(otherwise me with 100fps would be 4times faster than someone with 25fps), just its FAR from perfect. also as a side note: nos only increases acceleration, not max speed(maybe only about +/-2 km/h) Link to comment
LooooP Posted February 6, 2012 Share Posted February 6, 2012 This is really needed indeed. Link to comment
karlis Posted February 6, 2012 Share Posted February 6, 2012 read post above^ not only that this kind of engine changes are impossible without sourcecode(unless using inefficient loopholes, in what case you could use scripting as well), ANY game has delta timing(maybe only not consoles locked at 30fps)without delta timing me at 100fps would be 4times faster than one with 25fps. Link to comment
12p Posted February 6, 2012 Author Share Posted February 6, 2012 Nope. Delta time is used for some games only (although in most cases it sucks, just look at Super Meat Boy, when you are playing at 10 FPS). But in this case, it is FUNDAMENTAL. Also, it's not a HUGE rewrite. From what I read, this would need to change around 50 lines and add 200. Link to comment
karlis Posted February 6, 2012 Share Posted February 6, 2012 You do it by calling a timer every frame per second that holds the time between now and last call in milliseconds. You thereafter use the resulting number (Delta Time) to calculate how much faster that e.g. a game character has to move to make up for the lag spike caused in the first place. that exactly what every game does(3d and not ancient at least) all velocity>position and etc is based on this: velocity*delta time = travel units to add up to position(might need some unit conversion) unless this explaination in wiki is terrible its all done already. Link to comment
12p Posted February 6, 2012 Author Share Posted February 6, 2012 Well, it may not be that simple, it may lead to bugs. "velocity*delta time = travel units to add up to position" It should be done inside a FOR loop, to check collisions. Got what I mean? Link to comment
karlis Posted February 6, 2012 Share Posted February 6, 2012 once it gets the projection vector, it can check collison using that vector. EDIT: btw, fps will always have influence in things like parabolic projectiles(less fps=more bulky collison check) and delays, etc, but this one is not causing the slow down.I think the slowdown is caused by invalid acceleration/deacceleration depending on fps. Link to comment
Baseplate Posted February 24, 2012 Share Posted February 24, 2012 So what should i do now? sorry for bumping the topic Link to comment
12p Posted February 24, 2012 Author Share Posted February 24, 2012 So what should i do now? Wait what Like you are a Dev. Link to comment
sora+ Posted February 25, 2012 Share Posted February 25, 2012 this is really needed >. Link to comment
Pwned Posted March 9, 2012 Share Posted March 9, 2012 mta really need this , it will be the best thing ever. just like trackmania you can play at any fps you want whitout causing trouble Link to comment
Recommended Posts