Run Lua 
18 comments Good day everyone. I just thought that it's a bit unrealistic that players in CS2D are always running.
Sure, the walking makes you silent, which is a good thing in maps with fog of war, but using "walking" (shift by default) is pretty much useless in other places. So I just thought that it would be better to use cs2d walking to RUN and cs2d running to walk, making it a bit more realistic.
Now pardon me, but I can't really balance it out perfectly. Still, I believe the script does the job. There's one thing that I can't do is that "running" will also make you silent-walk, this is made by cs2d and I'm not going to add extra calculations to check players positions and make a sound to play if players are nearby.
I'd like to state that I can't give you any screenshots as the script deals with motion and you can't capture motion without making a video.
I especially want to thank
Yates as I first saw the usage of this in his server.
Sure, the walking makes you silent, which is a good thing in maps with fog of war, but using "walking" (shift by default) is pretty much useless in other places. So I just thought that it would be better to use cs2d walking to RUN and cs2d running to walk, making it a bit more realistic.
Now pardon me, but I can't really balance it out perfectly. Still, I believe the script does the job. There's one thing that I can't do is that "running" will also make you silent-walk, this is made by cs2d and I'm not going to add extra calculations to check players positions and make a sound to play if players are nearby.
I'd like to state that I can't give you any screenshots as the script deals with motion and you can't capture motion without making a video.
I especially want to thank

edited 1×, last 19.10.13 04:38:06 pm

Comments
18 comments



Log in!
You need to log in to be able to write comments!Log in
Well i won't give you a like here because in CS or CS2D walking = crouching and its good for fighting.
and for the script its nice
and for the script its nice

@
Infinite Rain: I don't quite get what you mean. I've already stated that this is not meant for normal play, but for all the other plays where shift becomes useless. I find it rather convenient and I can double
alex72super's comment.


I dislike the idea, especially because it's not intended for CS. For other games - yes, but not for CS.

I was thinking about losing energy quickly and soon stop corer Recover quickly ~> crysis 2
@
eduxd0707: Did you try it out ? I actually DID make it with energy. The default energy is 960 and it decreases by one for every pixel you ran. It means that if player ran in one direction, he'd "run" for 960/32=30 tiles. But the speed is calculated on how much energy you have. So you run quickly (well not SUPER quickly) at begining but speed eventually reaches walking speed when energy runs out.

@
Avo: I already heard it from Yates.
In my opinion, lua script file archive should be filled with either AMAZING mods or with many small but handy scripts that could help in making something everyone wants. I don't really care how it's made since I didn't make it with something that could cause additional strain on server. So since that is not a problem, I think I can write it how ever I want, as long as the whole thing does what it needs to do.
P.S. Extremely*
and thanks.

In my opinion, lua script file archive should be filled with either AMAZING mods or with many small but handy scripts that could help in making something everyone wants. I don't really care how it's made since I didn't make it with something that could cause additional strain on server. So since that is not a problem, I think I can write it how ever I want, as long as the whole thing does what it needs to do.
P.S. Extremely*




