AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Realism for Paintball Gun & Mod (https://forums.alliedmods.net/showthread.php?t=78548)

Rul4 10-05-2008 23:35

Realism for Paintball Gun & Mod
 
62 Attachment(s)
[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.

mando127 10-06-2008 02:42

Re: Realism for Paintball Gun & Mod
 
good job testing it right now

sreddoMlabolG 10-06-2008 03:19

Re: Realism for Paintball Gun & Mod
 
Screen shots ?

koleos 10-06-2008 10:22

Re: Realism for Paintball Gun & Mod
 
WOW!! this is awesome!! GJ
+Karma

Exolent[jNr] 10-06-2008 11:18

Re: Realism for Paintball Gun & Mod
 
This sounds really nice. I'm going to take a look at the code later when I get home.

Rul4 10-06-2008 11:34

Re: Realism for Paintball Gun & Mod
 
Quote:

Originally Posted by sreddoMlabolG (Post 695788)
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 10-06-2008 21:41

Re: Realism for Paintball Gun & Mod
 
I added a sniper rifle, :avast: 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... :shock: 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.

Rul4 10-06-2008 23:12

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

ConnorMcLeod 10-07-2008 01:47

Re: Realism for Paintball Gun & Mod
 
PHP Code:

float(get_pcvar_num(damge

...


PHP Code:

float(pev(entpev_health

uh ?

new Float:flHealth
pev(ent, pev_health, flHealth)

GoneLink 10-07-2008 07:34

Re: Realism for Paintball Gun & Mod
 
i'm have a bad load on paintballgun.amxx...anyone knows why?


All times are GMT -4. The time now is 08:31.

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