Max weapon speed - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: General Help (/Forum-General-Help) +--- Thread: Max weapon speed (/Thread-Max-weapon-speed) |
Max weapon speed - Leonidas - 09-18-2013 07:45 PM Hey i'm trying to figure out how I can make it so once a player reaches 100 dex or so, the speed of weapons or wrestling does not increase? RE: Max weapon speed - darksun84 - 09-18-2013 09:08 PM - added SPEEDSCALEFACTOR to INI (defaul value is 15000), used in weapon delay calcultions, now formula looks like DELAY = SPEEDSCALEFACTOR / ( ( DEX + 100 ) * SPEED ) - ARGN1 in @HitTry now is the delay (in tenths of second) left before the hit, can be changed so try this in an @HitTry trigger (while argn1 is in tenths of second, i think that the result in the above formula is in seconds) so : PHP Code: ON=@Hittry I don't know the fist speed(argo.speed with wrestling give 0 ofcourse), the above code cover just weapons RE: Max weapon speed - Leonidas - 09-19-2013 05:13 PM Thanks man, i really appreciate it! Now i just need to figure out how to fix wrestling haha RE: Max weapon speed - Alaric - 09-19-2013 05:17 PM (09-19-2013 05:13 PM)Leonidas Wrote: Thanks man, i really appreciate it! Now i just need to figure out how to fix wrestling haha one "If" statement won't solve that?_ |