Files

> > CS2D > Lua Scripts > [B2] Player Trails (1.5)
Files overviewCS2D overviewLua Scripts overview

English [B2] Player Trails (1.5) >

24 comments5 kb, 391 Downloads

old [B2] Player Trails (1.5)

BCG2000
User Off Offline

[CS2D] Player Trails (Lua)
By BCG2000
Description: Real player trails, made possible by the new sprite capabilities of CS2D images.
Version: 1.5 (September 30th, 2016)
Copyright © 2016, BCG2000

[INSTRUCTIONS]

- Just extract the file on your CS2D folder.
- You can change the amount of trails by changing the "B2PT_MaxTrails" variable in the script.
- You can enable/disable the trails by saying "!pt" in the chat (you must be logged in the RCon).

PS: Because of the Lua memory leaks in this game (as of the time I made this script), I did things like setting locals to nil and using timers instead of hooks like "always". Otherwise, the code would be a bit more clean.

[RULES]

√ You can use this script on your server.
√ You are allowed to edit the script and/or build on top of it and you can also link it to your own scripts, but if you do so then give me credit.
× You are NOT allowed to claim this script as your own.
edited 1×, last 10.11.16 03:12:55 am
Approved by Yates

Download Download

5 kb, 391 Downloads

Comments

24 comments
Page
To the start Previous 1 2 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

BCG2000
User Off Offline

@user Baloon: If you look in the code, you will see I optimized it the best I could, and that removed almost all the lag. Unfortunately, players with slow connection speed will still lag and there is nothing I can do about that.

old

Baloon
GAME BANNED Off Offline

I don't think so, it makes lag for some people.

old

BCG2000
User Off Offline

@user Jite: Not every script is useful to everyone, what is useless to you may be useful to someone else.

old

Jite
User Off Offline

I don't know which advantage it has to use this script on his server. Why I would want to have trails from the players, I don't see any sense in it.
To the start Previous 1 2 Next To the start