AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Paintball Gun & Mod (https://forums.alliedmods.net/showthread.php?t=65201)

travo 01-03-2008 12:21

Paintball Gun & Mod
 
5 Attachment(s)
http://angelfire.com/pronserver/Image1.art

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

Arkshine 01-03-2008 12:45

Re: Paintball Gun & Mod
 
Can you tell me what is the purpose to add "FCVAR_SERVER|FCVAR_UNLOGGED" for all cvars?

YamiKaitou 01-03-2008 12:51

Re: Paintball Gun & Mod
 
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

travo 01-03-2008 13:18

Re: Paintball Gun & Mod
 
Quote:

Originally Posted by arkshine (Post 569587)
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.

Arkshine 01-03-2008 13:26

Re: Paintball Gun & Mod
 
One cvar to do that is enough like the first cvar with the plugin version.

Rencky 01-03-2008 13:40

Re: Paintball Gun & Mod
 
when I install this, i only get the paintball gun model...no sounds, no splashes on the walls... nothing...how can i solve this?

FuZ!on 01-03-2008 14:51

Re: Paintball Gun & Mod
 
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

mando127 01-03-2008 18:04

Re: Paintball Gun & Mod
 
this mod it fun i have it on my server

travo 01-03-2008 18:09

Re: Paintball Gun & Mod
 
Quote:

Originally Posted by arkshine (Post 569600)
One cvar to do that is enough like the first cvar with the plugin version.

hence me saying ...

Quote:

Originally Posted by travo (Post 569595)
... I have removed this though.


travo 01-03-2008 18:15

Re: Paintball Gun & Mod
 
Quote:

Originally Posted by Rencky (Post 569604)
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?


All times are GMT -4. The time now is 09:26.

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