Raised This Month: $32 Target: $400
 8% 

Paintball Gun & Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   BAILOPAN (72)
travo
Senior Member
Join Date: Aug 2006
Old 01-03-2008 , 12:21   Paintball Gun & Mod
Reply With Quote #1



Paintballgun replaces the mp5navy with a gun that resembles a paintball gun. The gun shoots entities that travel to your point of aiming. When the entities collide with something they turn into paint spatter and if they collide with a player, he dies.

Commands
say /ent - tell you how many paintballs are spawned/total paintball allowed/total entities spawn/total entities allowed.

CVars
-- paintballgun.amxx --
amx_pbgun (default 1) - Toggles the paintballgun
amx_pbusp (default 1) - Toggles the usp paintballgun
amx_pbglock (default 1) - Toggles the glock paintballgun
pbgun_color (default 2) - Color of the paintball 1=Random 2=Team 3=Green/Orange 4=Yellow/Purple
pbgun_tgun(default 3) - Toggles which paintball gun model Ts use (values 1-5)
pbgun_ctgun(default 7) - Toggles which paintball gun model CTs use (values 6-10)
pbgun_shots (default 100) - How many paintball entities can be spawned at once. (If your server is crashing or lagging, decrease this value.)
pbgun_velocity (default 2000) - The speed the paintballs travel (must be lower than sv_maxvelocity (default 2000))
pbgun_speed (default 0.08 ) - The time in between each shot
pbgun_life (default 15) - How long the paintball stay spawned
pbgun_glow (default flags "a") - a = paintball glows, b = paintball has trail
pbgun_damage (default 100) - Amount of damage a player takes when hit by a paintball
pbgun_sound (default 1) - Toggles the shooting and hitting sounds

-- paintballmod.amxx --
amx_pbmod (default 1) - Toggles the paintballgun
amx_pbmodel (default 0) - Toggles if players use the Paintball player model
amx_pbmoney (default 1) - Toggles if players money is stripped
amx_pbstrip (default 1) - Toggles if players weapons are stripped
amx_getnade (default 2) - Toggles if players gets a grenade. 1=Every round, 2=If you kill someone in previous round.
amx_pbdm (default 0) - If enabled players will respawn 3 seconds after dieing
amx_pbspawnprotect (default 5) - Time in seconds a player cannot be killed after spawning (0 to disable)

-- paintballnade.amxx --
amx_pbnade (default 1) - Toggles the paintball grenade.
pbnade_radius (default 150) - Radius (in cs units) a player has to be within to die from a grenade.

Modules
#include <amxmodx>
#include <fakemeta>
#include <hamsandwich>

Frequent Quetions
Make sure you have the latest version of AMXX installed.
No paintspatter or shooting - Enabled fakemeta in configs/modules.ini
No sound or models - Re-place the attached zip files into the right directories in your cs folder and/or (optional) sv_download url directory.
Server randomly crashes - Decrease the pbgun_shots cvar by 5 and repeat until the crashes stop

Sources
various model bases from digital paintball gold
blocking weapon fire tutorial by KCE
Servers running Paintball Mod
Attached Files
File Type: zip paintball.zip (4.74 MB, 64911 views)
File Type: zip pbguns.zip (4.63 MB, 58991 views)
File Type: sma Get Plugin or Get Source (paintballgun.sma - 41288 views - 13.6 KB)
File Type: sma Get Plugin or Get Source (paintballmod.sma - 35795 views - 7.9 KB)
File Type: sma Get Plugin or Get Source (paintballnade.sma - 33238 views - 3.7 KB)

Last edited by travo; 09-01-2008 at 07:56.
travo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-03-2008 , 12:45   Re: Paintball Gun & Mod
Reply With Quote #2

Can you tell me what is the purpose to add "FCVAR_SERVER|FCVAR_UNLOGGED" for all cvars?
__________________
Arkshine is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-03-2008 , 12:51   Re: Paintball Gun & Mod
Reply With Quote #3

Also, it is preferred that you attach the archive file as a zip instead of a rar. That way all people can open it without the needs of downloading a new program
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
travo
Senior Member
Join Date: Aug 2006
Old 01-03-2008 , 13:18   Re: Paintball Gun & Mod
Reply With Quote #4

Quote:
Originally Posted by arkshine View Post
Can you tell me what is the purpose to add "FCVAR_SERVER|FCVAR_UNLOGGED" for all cvars?
It makes them visible to programs like game-monitor.com so they can be tracked and searched. I have removed this though.
travo is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-03-2008 , 13:26   Re: Paintball Gun & Mod
Reply With Quote #5

One cvar to do that is enough like the first cvar with the plugin version.
__________________
Arkshine is offline
Rencky
Member
Join Date: Sep 2007
Old 01-03-2008 , 13:40   Re: Paintball Gun & Mod
Reply With Quote #6

when I install this, i only get the paintball gun model...no sounds, no splashes on the walls... nothing...how can i solve this?
__________________
I live for hardstyles....I live for hardstyle baby

Last edited by Rencky; 01-03-2008 at 13:55.
Rencky is offline
FuZ!on
Senior Member
Join Date: Aug 2007
Old 01-03-2008 , 14:51   Re: Paintball Gun & Mod
Reply With Quote #7

I see you have tried to perfect my mod that I was too lazy to start on. I just threw a whole bunch of different plug ins together

I just want to know, did you get this idea from the ttl* server?

Also, for anybody that is interested, there is a paintball league that is still looking for active members and admins to start up. PM for info.

EDIT:
I am having the same problem

Last edited by FuZ!on; 01-03-2008 at 15:09.
FuZ!on is offline
mando127
Veteran Member
Join Date: Dec 2006
Location: virginia
Old 01-03-2008 , 18:04   Re: Paintball Gun & Mod
Reply With Quote #8

this mod it fun i have it on my server
__________________
mando127 is offline
Send a message via Skype™ to mando127
travo
Senior Member
Join Date: Aug 2006
Old 01-03-2008 , 18:09   Re: Paintball Gun & Mod
Reply With Quote #9

Quote:
Originally Posted by arkshine View Post
One cvar to do that is enough like the first cvar with the plugin version.
hence me saying ...

Quote:
Originally Posted by travo View Post
... I have removed this though.
travo is offline
travo
Senior Member
Join Date: Aug 2006
Old 01-03-2008 , 18:15   Re: Paintball Gun & Mod
Reply With Quote #10

Quote:
Originally Posted by Rencky View Post
when I install this, i only get the paintball gun model...no sounds, no splashes on the walls... nothing...how can i solve this?
hmm... the obvious questions are if you have the files in the right directories and have you tried the default cvars. If this doesnt help, can you let me try your server and see exactly what its doing or have a video of what is happening? Are you getting any errors in your logs?

Last edited by travo; 01-03-2008 at 18:20.
travo is offline
Reply



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 02:12.


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