Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Extra Item : Force Field Grenade [v2.3] [Update 08-14-12]


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 12-06-2009 , 23:51   [ZP] Extra Item : Force Field Grenade [v2.3] [Update 08-14-12]
Reply With Quote #1

[ZP] Extra Item : Force Field Grenade
For Humans.


>>Description : By purchasing this item, will give you a shell with special effect style bubble, I use the plugin "Sn!ff3r"and releases.

>>Customization:
You can edit it your way.
This plugin has 2 defines.

PHP Code:
//#define CAMPO_TASK
#define CAMPO_ROUND 
In this case, the effect lasts 1 round whole.

In This Case :
PHP Code:
#define CAMPO_TASK
//#define CAMPO_ROUND 
This effect lasts 15 sec.

NEW!:

PHP Code:
/* Color Defines */
//#define RANDOM_COLOR
#define ONE_COLOR
/* End Color Defines*/ 
If you choose RANDOM_COLOR, the color will be chosen at random.
ONE_COLOR If you choose, you can choose your color by editing this line.

PHP Code:
new Float:CampoColors[3] = { 255.0 0.0 0.0 
PD: Only supports numbers with a comma.

// You can not use whole numbers, only with a comma.
[/php]>>Note:
This plugin has been tested on versions 4.3 and 4.2 From Zombie Plague , and work Perfectly.

Credits :

Code:
Sn!ffer: I started this plugin from your plugin
Speed! : I recommended using pev_velocity and the model!.
Javivi: He gave me a few tips for this plugin = D.
Alan_el_more: He helped me to apply the model using the engine include.
xPaw:For help to implement the model =D .
Raddish: Help me with touch.
Updates Info:
  • v1.5 - First Release
  • v2.0 - Some bugs fixeds
  • v2.1 - Change some bugs with entity out of range and optimization with changing model.
  • v2.2 - Use bits , check source , has new modifications to do.
Images :

http://www.picturinga.com.ar/images/shield1.jpg
http://www.picturinga.com.ar/images/shield2.jpg
new W_MODEL:

http://img85.**************/img85/1731/wmodel.jpg


Version 2.1 downloads : 1721.


Plugin :
Attached Files
File Type: zip models.zip (558.9 KB, 10465 views)
File Type: sma Get Plugin or Get Source (force_shield_grenade.sma - 7101 views - 7.5 KB)
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.

Last edited by lucas_7_94; 08-14-2012 at 22:41.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 12-07-2009 , 00:18   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #2

Nice!!
pd: es el q postie y lo modificaste noxD?
Raddish is offline
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 12-07-2009 , 02:19   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #3

Ese model lo hice yo y mi modeler -.-
01101101 is offline
Kiske
Veteran Member
Join Date: May 2009
Old 12-07-2009 , 02:39   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #4

Sorry for speak Spanish:

Ese Plugin esta Bug Lucas..
Cuando el Zombie toca la Bola de un lado, atraviesa toda la bola x el Centro hasta llegar al otro, encima te empuja para abajo y te sacas banda de vida :S
__________________

Kiske is offline
Send a message via Skype™ to Kiske
01101101
BANNED
Join Date: Nov 2009
Location: 9`su 09`n0n7e`r0f76a
Old 12-07-2009 , 05:45   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #5

Quote:
Originally Posted by Kiske View Post
Sorry for speak Spanish:

Ese Plugin esta Bug Lucas..
Cuando el Zombie toca la Bola de un lado, atraviesa toda la bola x el Centro hasta llegar al otro, encima te empuja para abajo y te sacas banda de vida :S
I translate what he said since he doesn't know english:

Quote:
THIS PLUGIN IS SO SHITTY; SO FUCKING USELESS! FUCK YOU
When the zombie touches the ball, he gets through it going through the center, till getting to the other side, as if that was not enough, it pulls you to the floor and it takes you a lot of health.

Srsly, kill yourself
Yea, I know its a bit exagerated the translation, though it was funny.
01101101 is offline
Javivi
AlliedModders Donor
Join Date: Dec 2008
Old 12-07-2009 , 06:20   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #6

Quote:
Originally Posted by 01101101 View Post
I translate what he said since he doesn't know english:
Yea, I know its a bit exagerated the translation, though it was funny.
LOL, only a bit ?

Good Job lucas ;).

Speed, tu modeleador hizo una pokeball en lugar de una granada xDDDD...



@ lucas
PHP Code:
public event_round_start()
{
    
#if defined CAMPO_ROUND
    
remove_entity_name(entclas)
    
#endif

--->

PHP Code:
#if defined CAMPO_ROUND
public event_round_start()
{
    
remove_entity_name(entclas)
}
#endif 

Y, porque pones replace_models tantas veces seguidas? xDDD
__________________

Last edited by Javivi; 12-07-2009 at 06:27.
Javivi is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 12-07-2009 , 08:01   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #7

Quote:
Originally Posted by Raddish View Post
Nice!!
pd: es el q postie y lo modificaste noxD?
[ES] No , Vos usabas user_slap y ademas tenia masss bugs que el zp mutilation de speed , ademas , este plugin ya lo tenia desde hace rato.


Kiske:

Yes, I think it hize something wrong, now I'm going to try to solve, thanks beaten.

Javivi:

Thank you very much, I needed something like that xD.

The problem was that the model is not replaced. now I see I can do.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
deadlyclaws
Junior Member
Join Date: Jan 2009
Old 12-07-2009 , 13:13   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #8

define campo task doesn't work

Last edited by deadlyclaws; 12-07-2009 at 13:14. Reason: typo
deadlyclaws is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 12-07-2009 , 14:28   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #9

Quote:
Originally Posted by deadlyclaws View Post
define campo task doesn't work
Test the version new. Look the first post.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 12-07-2009 , 14:31   Re: [ZP] Extra Item : Force Field Grenade
Reply With Quote #10

- You don't need to strip grenade when giving new 1.
Code:
            if(user_has_weapon(player, CSW_SMOKEGRENADE))             {                 fm_strip_user_gun(player, 9)             }             fm_give_item(player,"weapon_smokegrenade")
->
Code:
give_item( player, "weapon_smokegrenade" );

Code:
    for (new id1; id1 <= maxplayers; id1++)         g_bomb[id1] = false
->
Code:
arrayset( g_bomb, false, 33 );

- get_user_msgid("SayText") - Store as global variable.
- You dont need to check if is_user_connected in Color( ), get_players( ) does that for you already.
- fm_give_item -> give_item

- Better way to change weapon model, your current sucks.

Code:
const m_pPlayer = 41; RegisterHam( Ham_Item_Deploy, "weapon_smokegrenade", "FwdHamSmokeDeploy", 1 ); public FwdHamSmokeDeploy( const iEntity ) {     if( pev_valid( iEntity ) != 2 )         return HAM_IGNORED;         new id = get_pdata_cbase( iEntity, m_pPlayer, 4 );         if( g_bomb[ id ] && !zp_get_user_zombie( id ) )         set_pev( id, pev_viewmodel2, model_grenade );         return HAM_IGNORED; }
__________________

Last edited by xPaw; 12-07-2009 at 14:38.
xPaw is offline
Reply



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 09:33.


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