![]() |
SPEEDMODE - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere X (/Forum-Sphere-X) +--- Forum: Script Submissions (/Forum-Script-Submissions--61) +--- Thread: SPEEDMODE (/Thread-SPEEDMODE) |
SPEEDMODE - ISOcol - 08-28-2022 07:58 AM // Gathered from Discord //////////////////// SPEEDMODE // For players. Allows setting the speed mode that a client can use (and affects the movement throttle accordingly). There are 4 different speed modes that affect the client: // 0 - Normal speed. // 1 - Mount speed on foot, normal speed when mounted. // 2 - Always walk on foot and when mounted. // 3+ - Always run on foot, always walk when mounted. // //////////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////////// Human [FUNCTION hum1] SRC.body c_man SRC.obody c_man // SRC.MODAR=0 // adds to armor // SRC.MODAR=-0 // removes from armor SRC.SPEEDMODE=1 SRC.FIX SRC.effect 1,1,1,1 SRC.effect 1,0,10,10 SRC.effect 3,i_fx_sparkle_2,111,15 RETURN 1 [FUNCTION hum2] SRC.body c_woman SRC.obody c_woman // SRC.MODAR=0 // adds to armor // SRC.MODAR=-0 // removes from armor SRC.SPEEDMODE=1 SRC.FIX SRC.effect 1,1,1,1 SRC.effect 1,0,10,10 SRC.effect 3,i_fx_sparkle_2,111,15 RETURN 1 |