Ulysses Stuff > Ulysses Release Archives

SuperPowers - Set run speed and jump power of players. Update! (v1.1, SVN only)

(1/5) > >>

RynO-SauruS:
SuperPowers is an addon for ULX that adds two commands, 'ulx runspeed', and 'ulx jumppower'.
'ulx runspeed' sets the run speed of the specified players to the specified number.

Usage:
ulx runspeed <player(s)> <run speed>
('ulx runspeed ^ 2000' would make you run extremely fast.)


'ulx jumppower' sets the jump power of the specified players to the specified number.

Usage:
ulx jumppower <player(s)> <jump power>
('ulx jumppower ^ 2000' would make you jump like The Incredible Hulk.)


I've attached versions for both non-SVN and SVN versions of ULX/ULib.

Installation:
Extract to addons.


Thanks to JamminR for the name.

EDIT:
Update! Version 1.1, added ability to set runspeed/jumppower based on usergroup of players.
This version is for ULX SVN only, because the old 'release' version of ULib is missing a function I need. (This is still being looked into)
I attached the new one and kept the old one incase you don't need this.

To set the runspeed for a certain group, put ulx_runspeed_<groupname> <speed> in your server.cfg file. (Works for custom groups too.  ;))
Do the same for jumppower, only put jumppower instead of runspeed.
Here are examples of how this is done, including all default groups (Zero or less disables auto-set):

ulx_runspeed_superadmin "1000"
ulx_runspeed_admin "1000"
ulx_runspeed_user "0"
ulx_runspeed_operator "0"

ulx_jumppower_superadmin "500"
ulx_jumppower_admin "500"
ulx_jumppower_user "0"
ulx_jumppower_operator "0"

Gmods:
I really like your releases RynO. Simple ideas but very handy. I'll be adding this to both my servers, thanks!

RynO-SauruS:
Thank you!

JamminR:
Ha! I only gave some suggestions as to the name. No credit necessary. ;P
Ryno-Saurus's releases have been T-rex-iffic
(Sorry, couldn't resist)

RynO-SauruS:
Thanks!  ;D

Navigation

[0] Message Index

[#] Next page

Go to full version