Raised This Month: $32 Target: $400
 8% 

[ZP] Extra Item : Parachute || Updated v0.3 [27/02/2009]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-03-2008 , 15:09   [ZP] Extra Item : Parachute || Updated v0.3 [27/02/2009]
Reply With Quote #1

[ZP] Extra Item : Parachute
( For Humans )

by Fry!


Description :


Now Humans can purchase parachute to fly away from zombies if they are on high buildings. This will cost it to You some ammo packs, can change by ( cvars ) When you will use parachute your screen will be changed to 3rd view screen depends on cvar.

Cvars :
Quote:
  • zp_3rd_person_view <1|2> - set 1 to disable 3rd person view and set 2 to enable 3rd person view
  • zp_parachute_fallspeed "100" - How fast You gonna fall.
  • zp_parachute_detach <1|0> - Default is 1.
  • zp_parachute_cost "15" - How much it cost.

Credits
:
  • KRoTaL/JTP10181 - For his original parachute plugin
  • Random1 - Took some stuff from his plugin
Changelog :
Code:
02/11/2008 - v0.1 - First test
03/11/2008 - v0.2 - added some stuff
17/01/2009 - v0.2.2 - removed fun and cstrike module, removed some unnecessary code lines
15/02/2009 - v0.2.8 - fixed now you will need to buy parachute to use it, remove toggle command, removed admin give options and for admins only too, removed chat command, removed sell option, changed all to fakemeta.
27/02/2009 - v0.3.0 - removed gravity function cuz it could cause bug with Nemesis gravity, added cvar for person view.


Plugin is available to download
here!
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.

Last edited by Fry!; 02-27-2009 at 16:25. Reason: New release v0.3.0
Fry! is offline
BeAfraid
Senior Member
Join Date: Jun 2008
Location: Poland
Old 11-05-2008 , 07:27   Re: [ZP] Extra Item : Parachute
Reply With Quote #2

http://forums.alliedmods.net/showpos...postcount=1189

There is something like your parachute plugin... but yours better
BeAfraid is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-05-2008 , 07:31   Re: [ZP] Extra Item : Parachute
Reply With Quote #3

That's ok.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
G-Dog
Senior Member
Join Date: Dec 2005
Location: Thunderstorm Central
Old 11-05-2008 , 10:21   Re: [ZP] Extra Item : Parachute
Reply With Quote #4

whats with the 3rd person view stuff? Why are you leaving the cstrike module checks in place when its for zombie plague? Whats with the format thing for the jtp10181 cvar? I understand its there to identify servers that have this plugin running by why not just have it as
Code:
register_cvar("jtp10181","chute",FCVAR_SERVER|FCVAR_SPONLY)
__________________
If at first you don't succeed, then skydiving isn't for you.
G-Dog is offline
Send a message via AIM to G-Dog
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-05-2008 , 10:30   Re: [ZP] Extra Item : Parachute
Reply With Quote #5

Quote:
Originally Posted by G-Dog View Post
whats with the 3rd person view stuff? Why are you leaving the cstrike module checks in place when its for zombie plague? Whats with the format thing for the jtp10181 cvar? I understand its there to identify servers that have this plugin running by why not just have it as
Code:
register_cvar("jtp10181","chute",FCVAR_SERVER|FCVAR_SPONLY)

1) 3rd view already was in this plugin I just commented out.
2) Ok, I will remove it
3) That was already in that plugin.
4) Um, I don't know maybe remove it at all?
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
The-Disaster
Member
Join Date: Jul 2008
Old 11-08-2008 , 17:00   Re: [ZP] Extra Item : Parachute
Reply With Quote #6

could u please tell me how can i disable the 3rd person view ?
__________________
The-Disaster is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 11-08-2008 , 17:09   Re: [ZP] Extra Item : Parachute
Reply With Quote #7

Sure, find all places where are set_view, and disable them like this :
PHP Code:
    if (!gCStrike || access(id,PARACHUTE_LEVEL) || get_pcvar_num(g_ppurchase) <= 0
    {
        
has_parachute[id] = true
        
//set_view(id, CAMERA_3RDPERSON)
    

__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 01-18-2009 , 12:48   Re: [ZP] Extra Item : Parachute
Reply With Quote #8

Minor update, for more info check main post!
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 01-18-2009 , 17:47   Re: [ZP] Extra Item : Parachute || Updated v0.2.2 [18/01/2009]
Reply With Quote #9

Nice idea, I never thought about the parachute in the ZP
__________________
"There is no knowledge, that is not power"
fezh is offline
lionel_lo
Member
Join Date: Aug 2008
Old 01-19-2009 , 05:50   Re: [ZP] Extra Item : Parachute || Updated v0.2.2 [18/01/2009]
Reply With Quote #10

How to change default key(+use)?
lionel_lo 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 17:53.


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