| Blockland Forums > Modification Help |
| Player Speeds |
| (1/2) > >> |
| Plexious:
What is the easiest way to change the speed in which a player crouches, walks, and runs without having to create a datablock for every speed? I want it so I can change the speed in which the player moves for the rest of their lifetime. What I am planning on doing is making it so when the player is more hurt they move slower. |
| Iban:
Impossible. Period. You have to use datablocks. |
| Plexious:
--- Quote from: Iban on May 27, 2011, 10:54:07 PM ---Impossible. Period. You have to use datablocks. --- End quote --- Aren't there some weapons that slow the player down without datablocks? Or is that just the knockback? |
| Chrono:
--- Quote from: Plexious on May 27, 2011, 10:55:47 PM ---Aren't there some weapons that slow the player down without datablocks? Or is that just the knockback? --- End quote --- If you mean certain miniguns, and the OSR, they do change datablocks. You know how you fall off slopes and move slow while 'scoped' with the OSR? Set the minigame's datablock to a no-jet player, and have an evented brick change you into a horse. Then try to scope with the OSR. Turn the scope off and return to 3rd person view. You are again a no-jet player. However. There is a way to change the values on a datablock and send that changed data to clients. With this, you could have a separate datablock for each player slot. I do not recommend using transmitDatablocks, as that sends all of them, and displays a message saying it happened. I'm sure there's another function to send individual datablocks to individual clients. |
| Plexious:
I got the datablocks working but for some reason they slide around a lot. What are some of the default datablock prefs? |
| Navigation |
| Message Index |
| Next page |