Question - Printable Version +- SphereCommunity (https://forum.spherecommunity.net) +-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d) +--- Forum: Script Help (/Forum-Script-Help) +--- Thread: Question (/Thread-Question) |
Question - rastrero - 01-13-2016 03:23 PM hi there! I want to change the run/stamina system. I want to let run even if the char got 0 stam... is it possible? Its important for me to find a way to make this. RE: Question - Criminal - 01-13-2016 04:56 PM if i remember it is clientside RE: Question - rastrero - 01-13-2016 05:17 PM (01-13-2016 04:56 PM)Criminal Wrote: if i remember it is clientside I think it too... but anyway to skip or avoid? RE: Question - pointhz - 01-13-2016 10:24 PM http://wiki.sphere.torfo.org/index.php/@PersonalSpace Personal space allows you to shove and lose no stamina (ARGN1=0), but you must have full stamina in order to shove. If you don't have full stamina, I don't know how to allow the shove to take place. As for clients, I believe there are one or two modified ones which allow you to shove regardless of your stamina, but they were considered as an hack in some servers. RE: Question - Artyk - 01-13-2016 10:52 PM You could prevent the stamina to go low (eg. if it drops under 50%) RE: Question - Criminal - 01-13-2016 11:11 PM (01-13-2016 10:24 PM)pointhz Wrote: As for clients, I believe there are one or two modified ones which allow you to shove regardless of your stamina, but they were considered as an hack in some servers. Yes, but if you have 0 stam you can't RE: Question - rastrero - 01-14-2016 02:12 AM ok. I got a solution, but i dont want to use it cos its nos fine for me... The think i want to make is to let the people walk but not run with low stam. MY solution: ON=@UserStats IF (<stam><2) stam=1 endif This way works, but this script goona execute to much times so i dont want to use it and overload pc... Is there any alternative method? if there a normal walking trigger? How can I do it? ty all RE: Question - Kanibal - 01-14-2016 02:31 AM Sphere.ini Code: // This is the percent of max weight at which stamina is lost half the time somewhere in *.scp Code: ON=@PersonalSpace Or you can modify sphere source code X_X RE: Question - zottolo - 01-14-2016 02:39 AM i would go for this... ON=@environchange if <stam> < <dex> etc etc RE: Question - rastrero - 01-14-2016 02:44 AM (01-14-2016 02:39 AM)zottolo Wrote: i would go for this... hmm I think ur knolowge is not enought to answer this question. Nice try but environchange dosnt execute the often i need. It will not work. ty for answer anyway. (01-14-2016 02:31 AM)Kanibal Wrote: Sphere.ini How can i make this? where can i get tools? ty |