AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:S/CS:GO] Paintball (https://forums.alliedmods.net/showthread.php?t=107012)

altex 10-21-2009 13:44

[CS:S/CS:GO] Paintball
 
2 Attachment(s)
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

thetwistedpanda 10-21-2009 13:59

Re: Paintball
 
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.

altex 10-21-2009 15:45

Re: Paintball
 
Quote:

Originally Posted by thetwistedpanda (Post 968641)
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

Xp3r7 10-21-2009 20:44

Re: Paintball
 
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. :)

altex 10-22-2009 03:15

Re: Paintball
 
Quote:

Originally Posted by Xp3r7 (Post 968928)
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 (Post 968928)
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.

Xp3r7 10-22-2009 20:45

Re: Paintball
 
Quote:

L 10/22/2009 - 11:34:07: [SM] Native "TE_Send" reported: Client 2 is not connected
L 10/22/2009 - 11:34:07: [SM] Displaying call stack trace for plugin "paintball.smx":
L 10/22/2009 - 11:34:07: [SM] [0] Line 95, paintball.sp::Event_BulletImpact()
L 10/22/2009 - 11:34:07: [SM] Native "TE_Send" reported: Client 2 is not connected
L 10/22/2009 - 11:34:07: [SM] Displaying call stack trace for plugin "paintball.smx":
L 10/22/2009 - 11:34: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 10-25-2009 19:12

Re: Paintball
 
2 Attachment(s)
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. :)

altex 10-25-2009 20:09

Re: Paintball
 
Quote:

Originally Posted by Xp3r7 (Post 972222)
Got some new colors for ya.

Baby Blue
Blue
Lime Green
Purple
Red
White

Where are they?

Xp3r7 10-25-2009 20:13

Re: Paintball
 
Just edited my post, check it out. :)

altex 11-04-2009 03:00

Re: Paintball
 
5 Attachment(s)
Quote:

Originally Posted by Xp3r7 (Post 972222)
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.


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

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.