Raised This Month: $ Target: $400
 0% 

Ludwig van's Jetpack


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
dragonchaos
Member
Join Date: Mar 2004
Old 04-13-2004 , 21:07   Ludwig van's Jetpack
Reply With Quote #1

Code:
/***************************************************************************
 * amx_ejl_jetpack.sma       version 2.8                 Date: 5/9/2003
 *  Author: Eric Lidman      [email protected]
 *  Alias: Ludwig van        Upgrade: http://lidmanmusic.com/cs/plugins.html
 *
 * IMPORTANT: you need to aquire and install properly the xtrafun module
 *   version 1.2 or better for this plugin to work. See AMX forums to
 *   get it:  http://amxmod.net/forums/viewtopic.php?t=10714
 *
 * Add a jetpack to any Half-Life mod and fly all around. Lots of cool
 *  special effects, firey blastoffs, smoke trails, sounds, etc. Thrust can
 *  be vectored to give better control of jetpack. Use the jump and move
 *  buttons to control thrust once your jetpack is on. Clients can to bind
 *  a key to jetpack or simply type it in the console to turn their pack on.
 *  Jetpacks can be configured to be free or require armor or money for
 *  fuel. Also, this has been set to work well for normal gravity (800) and
 *  low gravity (200) servers. Other gravity settings not recommended.
 *  Also, be careful, jet exhaust may burn bystanders to death. This feature
 *  is Friendly Fire (CS) sensitive and thus will not burn teamates if FF
 *  is off. This feature can be turned off. See cvars below.
 *  New: automatic hover mode, hold the duck botton (usually control key)
 *  while in air to activate what effectively is a vertical "cruise control"
 *  Pressing jump or pressing duck again exits the mode. This mode cannot be
 *  entered if your rate of descent is too high.
 *  New: More explosions. If you hit the ground too hard and end up dying
 *  with your jetpack on, you blow up when you die. Also, if you get shot
 *  dead while your jetpack is running, you blow up when you die. Cool.
 *
 *  Jetpack Control Summary:
 *
 *   jetpack          --the key that is bound to jetpack turns on jetpack
 *   JUMP BUTTON      --propels you upward and deactivates hover mode
 *   DUCK BUTTON      --toggles hover mode
 *   FORWARD BUTTON   --propels you in the direction of your aim
 *   BACK BUTTON      --propels you in the reverse direction of your aim
 *   MOVERIGHT BUTTON --propels you in a strafe right direction
 *   MOVELEFT BUTTON  --propels you in a strafe left direction
 *
 * PODBOT: If using my podbots controller, podbots use this plugin too.
 *
 * CLIENT COMMANDS:
 *
 *   jetpack                          --should be bound to a key, turns on
 *                                      jetpack if enabled and if there
 *                                      are sufficient funds from the client
 *                                      in either armor or money depending
 *                                      on the buytype cvar
 *   say /jetpack                     --gives clients info on setup and use
 *                                      of the jetpack in an motd window
 *   say vote_jetpack                 --starts a vote to have jetpack
 *                                      enabled or disabled
 *
 * ADMIN COMMANDS:
 *
 *   amx_jetpacks                     --toggles jetpacks enabled or not
 *                                      Also if cvar mentioned below is set
 *                                      to 1, it also activates/deactivates
 *                                      plugin "out_of_bounds.amx" if you are
 *                                      using it so that bounds limits are
 *                                      off when jetpack is on and vice versa
 *   amx_jetpacks_buytype             --toggles jetpack fuel to be bought
 *                                      with money or armor points
 *   amx_jetpacks_free                --sets the number of seconds a player
 *                                      can use the jetpack per round or per
 *                                      spawn. If this is set to 1 or higher
 *                                      in CS it will override buying system.
 *   amx_jetpacks_cost <ammount>      --sets the cost of jetpack fuel
 *   amx_jetpackvote                  --toggles on/off ability for players
 *                                      to start votes, default setting is on
 *   amx_jetpackvote_default          --sets the current jetpackvote value as
 *                                      server default auto-refreshed at every
 *                                      map change. ADMIN_RCON level admin
 *                                      required to set server default
 *   stopvote                         --stops vote in progress
 *
 * CVARS: can be set in admin.cfg, see corresponding commands for info
 *
 *   amx_luds_jetpack 1     -- 0= disable  1= enable
 *   amx_jetpack_buytype 0  -- 0= armor    1= money
 *   amx_jetpack_cost 1     -- amount of money or armor depending on buytype
 *   amx_jetpack_free 0     -- for mods other than cstrike which do not have
 *                             money and armor to use as payment for jetpack.
 *                             Set the amount of jetpack seconds given to
 *                             each player at spawn. If this is set to 1 or
 *                             higher in CS it will override buying system.
 *   amx_jp_pl_kill 1       -- If you are running my "out_of_bounds" plugin
 *                             you may want it disabled when you have the
 *                             jetpack enabled. If you want this plugin to
 *                             leave "out_of_bounds" alone, then set this
 *                             cvar to 0 in your admin.cfg.
 *   amx_jetpack_atspawn 0  -- Default is 0 to enforce a 15 second delay on
 *                             jetpack ignition at round start in CS so as
 *                             to prevent spawn massacres. Set to 1 to
 *                             ignore the delay.
 *   amx_jetpack_no_vip 1   -- default is 1 to not allow vip in CS to use
 *                             the jetpack. Set that cvar to 0 to allow
 *                             vip jetpack usage.
 *   amx_jetpack_exkill 1   -- this sets whether the firey jetpack exhaust
 *                             can kill players by setting them on fire.
 *                             0= disable  1= enable
 *   amx_jetpack_auto 0     -- this sets whether your clients' jetpacks are
 *                             automatically turned on for them.
 *                             0= disable  1= enable auto turn on
 *   amx_jetpack_autobots 1 -- this sets whether your bots jetpacks are
 *                             auto turned on for them since they cant do it
 *                             themselves. 0= disable  1= enable auto turn on
 *   amx_jvote_delay 180.0  -- Default 180.0 seconds. Delay between jetpack
 *                             votes allowed started by a non admin
 *   amx_jetpack_obeyffcvar -- if mp_friendlyfire is 1 and this cvar is set
 *                             to 0, this plugin will act as if friendlyfire
 *                             is off ... even if its on.
 *   amx_jetpack_tkpunish1  -- for friendlyfire on, the option to punish team
 *                             killer. Quota is from amx_jp_tkpunsish2 cvar
 *                             options: a mix of kill,kick, and ban
 *                                0 = no action on team killer
 *                                1 = kick tker on tk quota
 *                                2 = 3 hour ban tker on quota
 *                                3 = always kill tker, kick on quota
 *                                4 = always kill tker, ban on quota
 *   amx_jetpack_tkpunish2  -- for friendlyfire on, quantity of teammates a
 *                             player can kill before a kick or ban can
 *                             result depending on amx_jp_tkpunish1 cvar
 *
 * CREDIT:
 *
 *   At first, I did swipe some code from Lazy's jetpack plugin to make this
 *   plugin, but when its all said and done I pretty much did my own thing
 *   and scrapped pretty much everything from the original and just plain
 *   re-did it to my liking, so there really isnt too much (any?) of the
 *   original left, except maybe its the original inspiration. But I wanted
 *   to mention it anyway.
 *
 * ADDITIONAL:
 *
 *   If you have the module from SpaceDude's warcraft3 plugin (war3_ms) you
 *   can make the deahtmessages look more real, so flamethrower kills look
 *   like an actual player killing another player instead of a suicide on the
 *   part of the killed player. To enable this, you need to change the code
 *   below. Simply change the value to 1 where it has #define use_war3 0
 *   Its simple, a one line change, thats it, compile and its ready to go.
 *
 ***************************************************************************/
You don't need SpaceDude's warcraft 3 plugin to use "use_war3" With AMXX they added these functions into the engine.

also, uses custom dir -> customdir /ejl_vault/ejl_vault.ini
Attached Files
File Type: sma Get Plugin or Get Source (amx_ejl_jetpack.sma - 1330 views - 57.3 KB)
dragonchaos is offline
DragonGC
Junior Member
Join Date: Mar 2004
Old 04-17-2004 , 15:32  
Reply With Quote #2

ummmm it doesn't show the fire or smoke trails....
DragonGC is offline
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 04-24-2004 , 03:57  
Reply With Quote #3

Here is a statspic

__________________
My Plugins

Got ??
AssKicR is offline
DragonGC
Junior Member
Join Date: Mar 2004
Old 04-25-2004 , 17:25  
Reply With Quote #4

how do u use the stats pics? and does ur smoke trails and fire behind players work?
DragonGC is offline
Trumpet_Rhapsody
Junior Member
Join Date: Jun 2004
Old 06-17-2004 , 06:49  
Reply With Quote #5

I'm using the latest version of your plugin, but for some reason an error comes up (i now use console mode of HLDS is why i'm now noticing this) that says:
Quote:
L 06/17/2004 - 044:01: [AMXX] Run time error 10 on line 1721 (plugin "amx_ejl_jetpack.amx")
Has anyone else experienced this error, and does anyone know what it means, and does anyone know how to fix it?
__________________
Server: MasterChiefs.hopto.org
-AMX Mod X - Plenty of Plugins
-MetaMod 1.17.1
Trumpet_Rhapsody is offline
Send a message via ICQ to Trumpet_Rhapsody Send a message via AIM to Trumpet_Rhapsody
kookos
Member
Join Date: May 2004
Old 06-20-2004 , 16:28  
Reply With Quote #6

im not sure on this plugins if this use engine module if it does is your engine module running


sory my english
kookos is offline
Trumpet_Rhapsody
Junior Member
Join Date: Jun 2004
Old 06-21-2004 , 19:31  
Reply With Quote #7

Yeah all the required plugins are running, and the plugin works, but that error shows up in the server console and i was wondering what it is.
__________________
Server: MasterChiefs.hopto.org
-AMX Mod X - Plenty of Plugins
-MetaMod 1.17.1
Trumpet_Rhapsody is offline
Send a message via ICQ to Trumpet_Rhapsody Send a message via AIM to Trumpet_Rhapsody
zwooz
Junior Member
Join Date: Jun 2004
Location: Sweden
Old 06-27-2004 , 07:37  
Reply With Quote #8

when i type amx_plugins in console it say amx_ejl_jetpack bad load
zwooz is offline
devicenull
Veteran Member
Join Date: Mar 2004
Location: CT
Old 06-27-2004 , 14:39  
Reply With Quote #9

Can you fix
Code:
 * IMPORTANT: you need to aquire and install properly the xtrafun module  *   version 1.2 or better for this plugin to work. See AMX forums to  *   get it:  <a href="http://amxmod.net/forums/viewtopic.php?t=10714" target="_blank" rel="nofollow noopener">http://amxmod.net/forums/viewtopic.php?t=10714</a>
That? So people don't get confused and try to install xtrafun
__________________
Various bits of semi-useful code in a bunch of languages: http://code.devicenull.org/
devicenull is offline
CNZ
Member
Join Date: Jul 2004
Location: Tucson, AZ
Old 08-06-2004 , 22:26  
Reply With Quote #10

I use the plugin that changes cvar from map to map, how do I make it so that voting is enabled in one map and disabled in the rest? Can we make a cvar for the voting to be allowed or not?
__________________
War3 1.6 Server - cnz.bounceme.net:27015
Insanity Mod (SAVEXP) - localserver.bounceme.net:27015
Website: http://gk.fearjihad.com/
CNZ is offline
Send a message via ICQ to CNZ Send a message via AIM to CNZ
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 12:00.


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