CS JB - Custom Sprays on Jailbreak

Hotshot

Poster
=(e)=
Joined
Oct 23, 2019
Messages
125
So as thorgot thorgot kindly suggested. Are we going to make a seperate suggestion here for Costum sprays for Jailbreak and any other eGO server for that matter!

The currently arguement against implementing Costum sprays is that it would lag the server and make it more demanding for people to have better PCs!

How ever as thorgot kindly replied:
Custom sprays are possible and are not at all resource intensive. I programmed the sourcemod side of sprays for that previous server and they are just decals like any other. With a long cooldown there was never any issue with performance.

The web interface to allow players to upload their own sprays was someone else's work and sounded finicky so that would likely be where most of the development time went into.

If you start a new suggestion thread about sprays I'd be happy to offer my thoughts on what is required. It feels like this thread has too many conversations to really get into it here.


Then that wont be a problem! If you have anything else to add for the Costum Sprays for eGO! then ask away in here!

If not then let Thorgot enlighten us all with the requirement to make this a reality!
 
Last edited:
Upvote 0
Overall would be a great addition to the server, as long as it doesn't cause any lag for players then I'd love to see it implemented
 
this would be nice but the question is

would we be able to use pngs, and would it be transparent(in-game) if so?
 
Requirements on the web side:
1. Some sort of web interface to upload an image, limiting it to a certain size.
2. Conversion of that image to VTF. Alternatively, only allow uploading VTFs, and read the vtf properties to check its size.
3. Copying of that image to the game server.
4. Interface for leadership to view these images, delete them if they break the rules, and ban people from being able to upload new sprays

The sourcemod plugin takes those vtfs and:
1. Adds sprays of connected players to the downloadtable. In other words, when you connect you'll download the sprays of connected players.
2. If someone connects who has a spray, push that file to everybody connected. This one is optional if you're ok with people not having your spray until map change sometimes.
3. When someone inspects their weapon near a wall or uses a new !spray command, their spray is put on the wall as a decal. This is subject to the normal decal limit, so after a certain number of decals appear old ones start disappearing. This is on a cooldown so people can't spam it.

The limitations of this compared to traditional source engine and goldsrc sprays:
1. There's no way to replace a file on a client if it exists already. This means the sprays do build up in peoples materials folder over time as every time someone changes their spray, people download a new file. However, they are small enough and do not grow quickly enough to be a real concern.
2. Checking who sprayed is somewhat CPU intensive if run all the time, but an admin command to check who sprayed a spray is fine.
 
Last edited:
Would recommend making this DS-only, but its a +1 from me!
 
Damon Damon as we cleared out, then no. Costum sprays will NOT cause any lag input towards the gameplay of the server ;)
N Nosteal Yes you can use pngs as your spray! As thorgot said, you just have to make sure that the png is a VTF file (You can just go to "https://sprays.tk/ and convert your png to vtf!) And keep in mind that there will be a size limit! This means that you can just go on Paint or any edit program tbh, and resize the png if it is too big :)

and yes pngs do work as a transparent spray!
 
Last edited:
GMod has something similar and I love it to bits. It's hilarious to see people join and show off their sprays.
+1 from me.
 
Since the discussion have died out then I assume there are no further objections or questions concerning the custom sprays?
Overall it seems like people want to be able to show off and have fun with a custom spray. So let’s give it to the people!
If any tech people here at eGO can confirm wether or not they will add this in the future once there is time. Then that would be great! :)
 
thorgot thorgot How do we take this to the next step now? seems overall people wants to see this implemented into the server, but obviously we need the tech team involved.
 
+1 I would love to see this come Into jb, I keep running out of sprays :(
 

Latest posts

Back
Top