View Single Post
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 08-07-2009 , 18:43   Re: Tick 100 Mapfix
Reply With Quote #5

you can simplify that ent finding loop by using while and FindEntityByClassname. Simpler = better so people have an easier time thieving your code Just trying to show you other ways, do what you prefer
PHP Code:
new iDoor = -1;
while ((
iDoor FindEntityByClassname(iDoor"func_door")) != -1)
{
    
// do your stuff, no nees for maxents var, the classname string, or isvalidentity :D

phys_timescale 1.5 works good for the most part, but any non-door physics objects get kinda screwy.

Also, setting the verson convar's string on plugin load might give the 'convar does not exist error' when the plugin is first loaded, probably should put it OnConfigsExecuted or something.

Good idea though, much better way to fix stuff for 100 tick.

i personally see no diff between 100 and 66 tick, but others swear by it
__________________
My Pluggies If you like, consider to me.

Last edited by BrutalGoerge; 08-07-2009 at 18:48.
BrutalGoerge is offline