|
Paintball Gun & Mod
About
Paintballgun.amxx 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.
Paintballmod.amxx strips all weapons and money then gives each player a mp5navy and knife.
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
pbgun_color (default 1) - Color of the paintball 1=Random 2=Team
pbgun_shots (default 220) - How many paintball entities can be spawned at once. (If your server is crashing, 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 10) - How long the paintball stay spawned
pbgun_sound (default 1) - Toggles the shooting and hitting sounds
-- paintballmod.amxx --
amx_pbmod (default 1) - Toggles the paintballgun
amx_pbammo (default 4) - How many clips each player is given
amx_pbmoney (default 1) - Toggles if players money is stripped
amx_pbstrip (default 1) - Toggles if players weapons are stripped
amx_pbspawnprotect (default 5) - Time in seconds a player cannot be killed after spawning (0 to disable)
Modules
-- paintballgun.amxx --
#include <amxmodx>
#include <fakemeta>
#include <cstrike>
-- paintballmod.amxx --
#include <amxmodx>
#include <fakemeta>
Frequent Quetions
No paintspatter or shooting - Enabled fakemeta in configs/modues.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 20 and repeat until the crashes stop
Sources
paintball spatter base - PaintBall by SAMURAI16
blocking weapon fire tutorial by KCE
注意:如果下面的檔案下載不了,請用檔案下面的網址下載!
[ 本帖最後由 jy2762014 於 22-3-2008 16:52 編輯 ] |
-
-
-
paintball.zip
3.02 MB, 下載次數: 141
http://forums.alliedmods.net/attachment.php?attachmentid=22615&d=1199384092
-
-
paintballgun.amxx
14.97 KB, 下載次數: 90
http://www.amxmodx.org/plcompiler_vb.cgi?file_id=22680
-
-
paintballmod.amxx
5.13 KB, 下載次數: 78
http://www.amxmodx.org/plcompiler_vb.cgi?file_id=22679
-
-
paintballgun.sma
8.58 KB, 下載次數: 68
http://forums.alliedmods.net/attachment.php?attachmentid=22680&d=1199482617
-
-
paintballmod.sma
3.17 KB, 下載次數: 73
http://forums.alliedmods.net/attachment.php?attachmentid=22679&d=1199482603
|