Raised This Month: $115 Target: $400
 28% 

[CS:S/CS:GO] Paintball


Post New Thread Reply   
 
Thread Tools Display Modes
Author
altex
Veteran Member
Join Date: May 2009
Location: Russia
Plugin ID:
1235
Plugin Version:
1.2.1
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    This plugin adds paintball decals to bullet impacts.
    Old 10-21-2009 , 14:44   [CS:S/CS:GO] Paintball
    Reply With Quote #1

    Paintball & Paintball colors pack

    Paintball

    Description

    -----------
    This plugin adds paintball decals to bullet impacts.

    By default you can get about 100 paintball decals at once on the map.
    But if you want to increase this limit you should type in client(!)
    console "mp_decals 2000" (thats will be about 1000 paintball decals).

    http://forums.alliedmods.net/showthread.php?t=107012

    Cvars and commands
    ------------------
    sm_paintball_version - Paintball Version
    sm_paintball_prefdefault - Default setting for new users. (Default: 1)

    say !paintball - Show paintball settings menu.


    Requirements
    ------------
    Counter-Strike: Source
    SourceMod 1.2.0+
    clientprefs plugin from SourceMod

    Credits
    -------
    * Thanks to L'In20Cible for Paintball Effects - Version 1.5a
    http://addons.eventscripts.com/addons/view/pb
    Decals are borrowed from this plugin.

    * Thanks to ZVe for great decals improvement.

    Changelog
    ---------
    Version 1.2.1:
    * Fixed green decal. Actualy it was orange because of bug in pb_green.vmt file.

    Version 1.2.0:
    + Added config file addons/sourcemod/configs/paintball.cfg
    to let people add any colors by themselfs without recompiling plugin.
    Now you can disable particular colors or add your own colors.

    Version 1.1:
    * Fixed
    L 10/21/2009 - 23:13:38: [SM] Native "TE_Send" reported: Client 15 is not connected
    L 10/21/2009 - 23:13:38: [SM] Displaying call stack trace for plugin "paintball.smx":
    L 10/21/2009 - 23:13:38: [SM] [0] Line 95, paintball.sp::Event_BulletImpact()

    Version 1.0:
    * First release

    Todo
    ----

    Paintball colors pack

    Description
    -----------
    This color pack contains additional colors for paintball plugin.

    Default colors are not included.

    http://forums.alliedmods.net/showthread.php?t=107012

    Requirements
    ------------
    sm_paintball 1.2.0+

    Credits
    -------
    * Thanks to L'In20Cible for Paintball Effects - Version 1.5a
    http://addons.eventscripts.com/addons/view/pb
    Default decals are borrowed from this plugin.

    * Thanks to ZVe for great decals improvement from default colors
    pack. Custom colors are partialy based on this decals.
    Also thanks to custom colors improvement and adding alpha
    transparency.

    * Thanks to [TsM] Agent Rapist for the 1st set of custom colors.

    * Thanks to team.epic | Jokeman for the 2nd set of custom colors.

    * Thanks to Xp3r7 for contacted to custom colors creators
    and made this colors pack possible.

    Changelog
    ---------
    Version 2.1:
    * Colors changed, added alpha transparency. Big thanks to ZVe.
    Black
    Brown
    Dark Green
    Golden Rod
    Medium Slate Blue
    Olive
    Red Orange
    Violet

    Version 2.0:
    + Added and changed colors
    Baby Blue
    Black
    Blue
    Brown
    Dark Green

    Golden Rod
    Medium Slate Blue
    Olive
    Red
    Red Orange

    Violet
    White

    Version 1.0:
    + Added colors
    Baby Blue
    Blue
    Lime Green
    Purple
    Red

    White

    Preview
    ------
    [IMG]http://img9.**************/img9/3548/colorspack20preview.th.jpg[/IMG]

    My plugins | Donations via PayPal
    Attached Files
    File Type: zip sm_paintball_colors-2.1.zip (55.1 KB, 10755 views)
    File Type: zip sm_paintball-1.2.1.zip (41.5 KB, 11435 views)
    __________________

    Last edited by altex; 08-26-2012 at 09:10. Reason: Release 1.2.1
    altex is offline
    thetwistedpanda
    Good Little Panda
    Join Date: Sep 2008
    Old 10-21-2009 , 14:59   Re: Paintball
    Reply With Quote #2

    Threw it on my server just to make sure it functioned for ya; sm_paintball_prefdefault doesn't seem to have the effect you wanted as I still had to type !paintball in order to see the effects. Other then that it functions just fine. Would it be possible to give decals a timer until they delete, rather then on bullet_impact? I can foresee performance issues if this is loaded on a busy server.
    thetwistedpanda is offline
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 10-21-2009 , 16:45   Re: Paintball
    Reply With Quote #3

    Quote:
    Originally Posted by thetwistedpanda View Post
    Threw it on my server just to make sure it functioned for ya; sm_paintball_prefdefault doesn't seem to have the effect you wanted as I still had to type !paintball in order to see the effects. Other then that it functions just fine. Would it be possible to give decals a timer until they delete, rather then on bullet_impact? I can foresee performance issues if this is loaded on a busy server.
    1) you have to load clientprefs if you want to save settings
    2) sm_paintball_prefdefault works well, you still need clientprefs
    3) there is no way to delete decals by timer
    4) there is no performance issues on a busy server because decals are managed on clients
    __________________
    altex is offline
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 10-21-2009 , 21:44   Re: Paintball
    Reply With Quote #4

    Could you add an option to admins !paintball menu so we could turn them on/off for everyone?

    Just tried it out and it works great but it could use some more colors.

    Awesome job as always!

    If you want, I can have one of my clan members make blue, red and purple and I can send em to ya.

    Give it a bit more variety.
    __________________

    Last edited by Xp3r7; 10-21-2009 at 22:04.
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 10-22-2009 , 04:15   Re: Paintball
    Reply With Quote #5

    Quote:
    Originally Posted by Xp3r7 View Post
    Could you add an option to admins !paintball menu so we could turn them on/off for everyone?
    You can set default property to 1. So all new players will use paintball by default. Actualy it is default value.

    But there is no need to force this command from admin to all users, because actualy decals are managed on clients. So client can set mp_decals to 0 and then he will not see any decals. Default value is 200 that actualy gives us about 100 decals for paintball on map.
    Quote:
    Originally Posted by Xp3r7 View Post
    Just tried it out and it works great but it could use some more colors.
    If you want, I can have one of my clan members make blue, red and purple and I can send em to ya.
    Help is welcome. I'd like to include more colors.
    __________________
    altex is offline
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 10-22-2009 , 21:45   Re: Paintball
    Reply With Quote #6

    Quote:
    L 10/22/2009 - 114:07: [SM] Native "TE_Send" reported: Client 2 is not connected
    L 10/22/2009 - 114:07: [SM] Displaying call stack trace for plugin "paintball.smx":
    L 10/22/2009 - 114:07: [SM] [0] Line 95, paintball.sp::Event_BulletImpact()
    L 10/22/2009 - 114:07: [SM] Native "TE_Send" reported: Client 2 is not connected
    L 10/22/2009 - 114:07: [SM] Displaying call stack trace for plugin "paintball.smx":
    L 10/22/2009 - 114:07: [SM] [0] Line 95, paintball.sp::Event_BulletImpact()
    Got that in my error logs.

    Are you gonna add this into the !settings menu as well for clients?

    I will try to get the new colors done this week for ya.
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 10-25-2009 , 20:12   Re: Paintball
    Reply With Quote #7

    Got some new colors for ya.

    Baby Blue
    Blue
    Lime Green
    Purple
    Red
    White




    EDIT: I had to rename them all to red2, white2, limegreen2, etc because I tried to add them and forgot to check the vmt file my guy made me and it was wrong and I added it to the server by editing your sp file and it was a bunch of purple and black checkers. lol

    I tested it out on my PC and they work fine now.

    I attached the sp file for ya.
    Attached Files
    File Type: zip edited.zip (35.0 KB, 429 views)
    File Type: sp Get Plugin or Get Source (paintball.sp - 795 views - 5.5 KB)
    __________________

    Last edited by Xp3r7; 10-25-2009 at 21:13.
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 10-25-2009 , 21:09   Re: Paintball
    Reply With Quote #8

    Quote:
    Originally Posted by Xp3r7 View Post
    Got some new colors for ya.

    Baby Blue
    Blue
    Lime Green
    Purple
    Red
    White
    Where are they?
    __________________
    altex is offline
    Xp3r7
    SourceMod Donor
    Join Date: Jul 2006
    Old 10-25-2009 , 21:13   Re: Paintball
    Reply With Quote #9

    Just edited my post, check it out.
    __________________
    Xp3r7 is offline
    Send a message via MSN to Xp3r7
    altex
    Veteran Member
    Join Date: May 2009
    Location: Russia
    Old 11-04-2009 , 04:00   Re: Paintball
    Reply With Quote #10

    Quote:
    Originally Posted by Xp3r7 View Post
    Got some new colors for ya.

    Baby Blue
    Blue
    Lime Green
    Purple
    Red
    White




    EDIT: I had to rename them all to red2, white2, limegreen2, etc because I tried to add them and forgot to check the vmt file my guy made me and it was wrong and I added it to the server by editing your sp file and it was a bunch of purple and black checkers. lol

    I tested it out on my PC and they work fine now.

    I attached the sp file for ya.
    First of all i want to thank you and your friend for interesting in improving this plugin.

    Baby Blue, Lime Green, Purple is good enough.

    But Blue, Red, White is no so good
    Blue is very dark on orange surfaces (see attached screenshots)
    Red is very untransparent, so it looks to much contrast (see attached screenshots)
    White has hard edges so it does not looks real. (compare white with blue or cyan - attached)

    And that is not all. I think too contrast and too dark colors as dark blue and red and purple are not so good because these colors did not subtractive (or additive secondaries).

    Additional info:
    http://en.wikipedia.org/wiki/Color_theory
    http://en.wikipedia.org/wiki/Additive_color
    http://en.wikipedia.org/wiki/Subtractive_color
    http://en.wikipedia.org/wiki/Secondary_color

    So when too dark or contranst colors are mixing on surface they simply goes to black. And in css the paintball decals ofcourse will mixing with each others. That's why addictivity is much important than variaty.

    So you should use light rgb or light ryb colors (additive secondary), or cmyk colors (subsctractive primary).

    Additional info:
    http://en.wikipedia.org/wiki/RGB_color_model
    http://en.wikipedia.org/wiki/CMYK_color_model

    1.jpg is corrupted by forum, you can see it here - http://clip2net.com/page/m0/2454704

    So included colors are becomes very different when they mixed with each others.
    For example when orange mixed with yelow it becomes red, so dont think that in real game there will be only 5 included colors. After they will be mixed you'll get almost all other colors.

    But on your server new colors looks very nice! So i think i should add some config to let people add any colors by themselfs without recompiling plugin.
    Attached Thumbnails
    Click image for larger version

Name:	2.jpg
Views:	551
Size:	53.4 KB
ID:	52954   Click image for larger version

Name:	white.jpg
Views:	406
Size:	5.7 KB
ID:	52956   Click image for larger version

Name:	blue.jpg
Views:	369
Size:	3.4 KB
ID:	52957   Click image for larger version

Name:	cyan.jpg
Views:	374
Size:	4.3 KB
ID:	52958  
    Attached Images
    File Type: jpg 1.jpg (66.3 KB, 712 views)
    __________________

    Last edited by altex; 11-04-2009 at 09:47.
    altex is offline
    Reply


    Thread Tools
    Display Modes

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


    All times are GMT -4. The time now is 17:43.


    Powered by vBulletin®
    Copyright ©2000 - 2017, vBulletin Solutions, Inc.
    Theme made by Freecode