Raised This Month: $ Target: $400
 0% 

Paintball Gun & Mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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, 64956 views)
File Type: zip pbguns.zip (4.63 MB, 59048 views)
File Type: sma Get Plugin or Get Source (paintballgun.sma - 41334 views - 13.6 KB)
File Type: sma Get Plugin or Get Source (paintballmod.sma - 35831 views - 7.9 KB)
File Type: sma Get Plugin or Get Source (paintballnade.sma - 33301 views - 3.7 KB)

Last edited by travo; 09-01-2008 at 07:56.
travo is offline
 



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 13:22.


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