Raised This Month: $7 Target: $400
 1% 

Realism for Paintball Gun & Mod


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
Rul4
Senior Member
Join Date: Sep 2008
Location: Argentina
Old 10-05-2008 , 23:35   Realism for Paintball Gun & Mod
Reply With Quote #1

[IMG]http://img413.**************/img413/2079/bannerzi6.jpg[/IMG]
Realism for Paintball Gun & Mod
This is not an entirely new plugin, but some modifications over the Paintball Mod and Gun plugin made by WhooKid and Weapon Jam made by The Specialist.

What it does
It adds some realism elements to the Paintball Gun plugin (e.g.: gravity for pellets, not all pellets explode on impact, weapons jam, no crosshair, recoil, etc.).
It also adds new guns (sniper, shotgun, grenade launcher) and lets the admin config one of the follwing gaming modes:
- Menu mode: each player can choose a primary weapon from a menu (like CSDM)
- Normal mode: each player is always given a Marker. Launcher and Sniper are awarded on 3+ kills in a round. Shotgun is given based on a probability to players who didn't kill anyone.
- Random mode: each player gets a random gun

Changes to the original Mod (so far):
- New weapon: super nade launcher! (given to one player at a time) Replaces the flashbang grenade. The nade will shoot 10 smaller nades like a fountain and then explode.
- New coloured smoke grenades.
- New weapon: Super Marker! Awarded when you make 4+ kills in a round.
- New game feature: vendetta! (ie: revenge) It is triggered when someone kills you 3 times in a row. If you kill him back, on the next spawn you get a super marker and he gets no primary weapon.
- New player movements: sprint and slide.
- New weapon: Sniper! Awarded when you make 3+ kills in a round.
- New weapon: Paint Grenade Launcher! (same as above)
- New weapon: Shotgun! (30% probability of getting it when you make 0 kills in a round).
- New menu to choose the main weapon (pbgun_selectmode cvar). It works like CSDM remembering the previous setup if the user wants to.
- Removes the weapon crosshair.
- Bullets (pellets) fly with an arc (ie: with gravity). The only way to aim is like real paintball: shooting and steering.
- Not all pellets fly to the exact same point, but they have some kind of recoil. Recoil increases if you move while shooting.
- Some pellets fail to explode on impact and they bounce from the target harmlessly.
- Primary gun and secondary gun reach different distances (primary is more accurate).
- Primary gun is full-auto while secondary is semi-auto.
- Primary weapon has a chance of jamming while used. Pressing the "use" key unjams it.
- Changed the fire rate of weapons and some minor adjustments (like removing the light effects as a default).
- Support for BOTS! (they shoot acceptably well with the aim correction).
- A new Knife model that kills on one hit (it makes sense: if you get that close to an enemy in paintball, he should be dead).

Screenshots
[IMG]http://img252.**************/img252/2601/paintballlauncherreskinqe2.th.jpg[/IMG][IMG]http://img151.**************/img151/4358/paintballsniper2ks6.th.jpg[/IMG][IMG]http://img137.**************/img137/4118/pbmod1hj4.th.jpg[/IMG][IMG]http://img401.**************/img401/1222/pbmod2ik7.th.jpg[/IMG][IMG]http://img397.**************/img397/134/paintballknifedu8.th.jpg[/IMG][IMG]http://img511.**************/img511/8259/paintballshotgunte0.th.jpg[/IMG][IMG]http://img511.**************/img511/7742/paintballmenukp6.th.jpg[/IMG][IMG]http://img393.**************/img393/4284/happysmokegrenadesrk1.th.jpg[/IMG][IMG]http://img514.**************/img514/5432/supernadelauncherrp7.th.jpg[/IMG]

Installing the Mod
Place the models and sounds in the right sub-dirs. I uploaded here all the original Paintball Mod models, so it is easier to install. You only need to install the ones that are on r4paintball.rar, the rest is additional.
Remember to add all the amxx files to your plugins.ini file and check your modules.ini file for the required modules (fakemeta, cstrike, hamsandwich, fun).

Configuration
You can place the rpaintball.cfg file under \cstrike\addons\amxmodx\configs\ and set all the cvars there.

Modules needed (check your modules.ini):
- Fakemeta
- CStrike
- Fun

Credits:
  • Original code for Paintball Mod and Gun plugin made by WhooKid and Weapon Jam made by The Specialist.
  • Most of the skins and models were taken from the Paintball Mod and Gun plugin, originally taken from the DPB mod.
  • The blue to clear fade dye autococker skin belongs to Mxracer6y.
  • The sniper and shotgun models are not mine either, they are from someone at fpsbanana.
  • Paint grenade (from launcher) belongs to Birdhouse.
  • The launcher model belongs to Teh Snake and has been re-skined by mando127
  • The shotgun has also been reskined by mando127.
  • The Paintball Moves sounds have been taken from the Gasnades plugin.
  • The Super Launcher model is not mine either, it was taken from FPSBanana.

Known issues
- The skins for players are fixed (even when paintballer.mdl has 4 skins for T and 4 for CT).
- CT corpses change to T corpses after 5 seconds.
- Coloured smoke is not removed on round start.

Please let me know if you find something else.

Some servers running the mod (try it!)
http://www.game-monitor.com/search.p...&type=variable

Enjoy!
Rul4.


Latest changes:

paintballgun.amxx v5.10 (check cvar rpaintballgun to know which version you have)
- Fixed crash when the super launcher shoots right before the round ends.

paintballmod.amxx v5.8 (cvar rpaintballmod to know which version you have)
- Gives new super nade launcher

paintballmoves.amxx v1.1 (check cvar rpaintballmoves to know which version you have)
- Fixed sound direction.

paintballnade.amxx v1.5 (check cvar rpaintballnade to know which version you have)
- New smoke grenades!

Previous changes: download the change log.
Attached Files
File Type: sma Get Plugin or Get Source (paintballmod.sma - 29819 views - 18.4 KB)
File Type: sma Get Plugin or Get Source (paintballnade.sma - 24295 views - 5.7 KB)
File Type: rar r4paintball.rar (9.29 MB, 35190 views)
File Type: rar additional_models_maps.rar (7.48 MB, 26939 views)
File Type: sma Get Plugin or Get Source (paintballmoves.sma - 23714 views - 4.9 KB)
File Type: txt change_log.txt (1.7 KB, 12046 views)
File Type: cfg rpaintball.cfg (3.2 KB, 16485 views)
File Type: sma Get Plugin or Get Source (paintballgun.sma - 25666 views - 32.8 KB)

Last edited by Rul4; 10-10-2010 at 22:58. Reason: Fix
Rul4 is offline
mando127
Veteran Member
Join Date: Dec 2006
Location: virginia
Old 10-06-2008 , 02:42   Re: Realism for Paintball Gun & Mod
Reply With Quote #2

good job testing it right now
__________________
mando127 is offline
Send a message via Skype™ to mando127
sreddoMlabolG
BANNED
Join Date: Aug 2008
Location: +Karma If I helped you i
Old 10-06-2008 , 03:19   Re: Realism for Paintball Gun & Mod
Reply With Quote #3

Screen shots ?
sreddoMlabolG is offline
koleos
Senior Member
Join Date: Jul 2008
Old 10-06-2008 , 10:22   Re: Realism for Paintball Gun & Mod
Reply With Quote #4

WOW!! this is awesome!! GJ
+Karma
koleos is offline
Exolent[jNr]
Veteran Member
Join Date: Feb 2007
Location: Tennessee
Old 10-06-2008 , 11:18   Re: Realism for Paintball Gun & Mod
Reply With Quote #5

This sounds really nice. I'm going to take a look at the code later when I get home.
__________________
No private work or selling mods.
Quote:
Originally Posted by xPaw View Post
I love you exolent!
Exolent[jNr] is offline
Rul4
Senior Member
Join Date: Sep 2008
Location: Argentina
Old 10-06-2008 , 11:34   Re: Realism for Paintball Gun & Mod
Reply With Quote #6

Quote:
Originally Posted by sreddoMlabolG View Post
Screen shots ?
They are some kind of gameplay features... so you will not appreciate them unless you try it... but there you go.

Rul4.

[IMG]http://img137.**************/img137/4118/pbmod1hj4.th.jpg[/IMG][IMG]http://img137.**************/images/thpix.gif[/IMG][IMG]http://img401.**************/img401/1222/pbmod2ik7.th.jpg[/IMG][IMG]http://img401.**************/images/thpix.gif[/IMG]
Rul4 is offline
Rul4
Senior Member
Join Date: Sep 2008
Location: Argentina
Old 10-06-2008 , 21:41   Re: Realism for Paintball Gun & Mod
Reply With Quote #7

I added a sniper rifle, it is awarded when you kill 3 or more enemies in one round. It is given additionally to the default marker and the bonus grenade.

[IMG]http://img151.**************/img151/4733/paintballsniper1es3.th.jpg[/IMG][IMG]http://img151.**************/images/thpix.gif[/IMG][IMG]http://img151.**************/img151/4358/paintballsniper2ks6.th.jpg[/IMG][IMG]http://img151.**************/images/thpix.gif[/IMG]

You can download all the files in the original post.

Be aware that the sniper shoots paint pellets with greater speed and accuracy than the other guns, but gravity effects still apply (if the target is far away, you should aim a little above it). Also, if you shoot without a scope the shot will be disastrous.

I also fixed a bug that caused unexploded pellets to kill enemies when they stepped on them... As a reasonable side effect, pellets that rebound on walls will loose a lot of speed and become harmless to players.

Another thing I fixed was the shooting dispersion: it was deviated to the right.

Cheers!
Rul4.

Last edited by Rul4; 10-07-2008 at 10:39. Reason: Screenshots!
Rul4 is offline
Rul4
Senior Member
Join Date: Sep 2008
Location: Argentina
Old 10-06-2008 , 23:12   Re: Realism for Paintball Gun & Mod
Reply With Quote #8

Something that would be greatly appreciated: when the plugin is working, bots don't shoot at all, making it rather difficult to test. I really don't have the slightest idea where to start looking. Any clues?
Rul4 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-07-2008 , 01:47   Re: Realism for Paintball Gun & Mod
Reply With Quote #9

PHP Code:
float(get_pcvar_num(damge
...


PHP Code:
float(pev(entpev_health
uh ?

new Float:flHealth
pev(ent, pev_health, flHealth)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
GoneLink
New Member
Join Date: Jan 2007
Old 10-07-2008 , 07:34   Re: Realism for Paintball Gun & Mod
Reply With Quote #10

i'm have a bad load on paintballgun.amxx...anyone knows why?
GoneLink is offline
Reply


Thread Tools
Display Modes

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


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