AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Extra Item: Paintball Gun (https://forums.alliedmods.net/showthread.php?t=237053)

Perfect Scrash 03-16-2014 20:47

[ZP] Extra Item: Paintball Gun
 
3 Attachment(s)
[ZP] Extra Item: Paintball Gun


Description:
Hit Ink with Paintball Gun on top of zombies


Cvar's
Code:

"zp_paintball_maxballs" - Max ink Entities
"zp_paintball_lifetime" - Time For Remove ink Entities
"zp_paintball_dmg_multi" - Damage Multi with Paintball Gun
"zp_paintball_unlimited_clip" - Set's a Unlimited Clip With Paintball Gun


Module Requeriments:
amxmodx
engine
fakemeta
hamsandwich


Screenshot:
http://i60.tinypic.com/2vlqycm.jpg

Changelog:
Quote:

1.0:
* First Release

1.1:
* Fixed Error logs
* Added Version for Zombie Plague Special
Plugin Idea:
https://forums.alliedmods.net/showth...69582?p=569582
https://forums.alliedmods.net/showth...18965?p=418965

wicho 03-17-2014 01:19

Re: [ZP] Extra Item: Paintball Gun
 
gj looks funny, I'll test later...

K4rim 03-17-2014 13:14

Re: [ZP] Extra Item: Paintball Gun
 
:fox: cooool bro,thanx for share

arashpour 03-19-2014 04:55

Re: [ZP] Extra Item: Paintball Gun
 
does it work with ZP 5.0?

ghostz0r 03-22-2014 08:31

Re: [ZP] Extra Item: Paintball Gun
 
Perfect Scrash , how?!???
http://i57.tinypic.com/2hntdom.jpg

Perfect Scrash 03-22-2014 15:17

Re: [ZP] Extra Item: Paintball Gun
 
Quote:

Originally Posted by ghostz0r (Post 2114465)
Perfect Scrash , how?!???
http://i57.tinypic.com/2hntdom.jpg

Read the tutorial I used a website:

Quote:

In this tutorial , I will show how the leaves Hud Zombie Plague With More Information How : Show Mode being performed , Vest , speed , Frags ....

Requirements : Sma From Zombie Plague 4.3/Advance

1. Open the Sma and the Zombie Plague From Below :

CODE :
Code:

/ * ============================================= ===================================
[ Constants , Offsets , Macros ]
================================================== =============================== * /


Put Down :

CODE :
Code:

new g_Mode
new const mode_names [ ] [ ] =
{
" T -Virus Unleashed ! "
" Mode : Infection " ,
" Mode : Nemesis "
" Mode : Assassin " // If is Advance version
" Mode : Survivor"
" Mode : Sniper "  // If is Advance version
" Mode : Swarm "
" Mode : Multi - Infection "
" Mode : Plague "
" Mode : Armageddon "  // If is Advance version
" Mode : Undefined "
}


2. At The End Of Codes From The Sma Zombie Plague Place .:

CODE :
Code:

public zp_round_started (mode , id)
{
// Var Update Mode with a
mode = g_Mode

// An unofficial mode
if ( ( 1 < = mode < ( sizeof ( mode_names ) - 1 ) ) )
g_Mode = sizeof ( mode_names ) - 1
}

public event_RoundStart ( )
{
// Update var ( in mode started / in delay)
g_Mode = 0

}


3. Now Look For :

CODE :
Code:

// Show health , class and ammo packs

Replace:

CODE :
Code:

ShowSyncHudMsg ( ID_SHOWHUD , g_MsgSync2 , " % L : % d - % s % L - % d % L " , id, " ZOMBIE_ATTRIB1 " , pev ( ID_SHOWHUD , pev_health ) , ID_SHOWHUD , " CLASS_CLASS " class , ID_SHOWHUD , " AMMO_PACKS1 " g_ammopacks [ ID_SHOWHUD ] )

For This :

CODE :
Code:

ShowSyncHudMsg ( ID_SHOWHUD , g_MsgSync2 , " [ % L : % d ] ^ n [ % L % s ] ^ n [ % L % d ] ^ n [ Collect : % i ] ^ n [ Kills : % d ] ^ n [ Frags : % i ] ^ n [ speed : % d ] ^ n [ % s ] " , id, " ZOMBIE_ATTRIB1 " , pev ( ID_SHOWHUD , pev_health ) , ID_SHOWHUD , " CLASS_CLASS " class , ID_SHOWHUD , " AMMO_PACKS1 " g_ammopacks [ ID_SHOWHUD ] , get_user_armor (id ) , get_user_deaths (id ) , get_user_frags (id ) , fm_get_speed (id ) , mode_names [ g_Mode ] ) ;

Credits: . Leonel

Later I search of the ZP 5.0 version

ghostz0r 03-23-2014 05:12

Re: [ZP] Extra Item: Paintball Gun
 
1 Attachment(s)
Perfect Scrash , please view this , i did everything as described , plugin don't compile :( help :cry:

Perfect Scrash 03-23-2014 12:32

Re: [ZP] Extra Item: Paintball Gun
 
1 Attachment(s)
Quote:

Originally Posted by ghostz0r (Post 2114807)
Perfect Scrash , please view this , i did everything as described , plugin don't compile :( help :cry:

Al sees if it works now

ghostz0r 03-23-2014 14:11

Re: [ZP] Extra Item: Paintball Gun
 
Perfect Scrash , big thanks bro!

mtsla 03-24-2014 16:15

Re: [ZP] Extra Item: Paintball Gun
 
Perfect Scrash Scripter super fucking


All times are GMT -4. The time now is 14:53.

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