AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Crazy Jet (https://forums.alliedmods.net/showthread.php?t=235576)

rodrigo286 02-16-2014 16:03

Crazy Jet
 
3 Attachment(s)
Crazy Jet



-=§ FUNCTIONALITY §=-

Allows players to use JETPACK. rukia

This plugin is based from the after burner ability from the RMF ability pack.
https://forums.alliedmods.net/showthread.php?t=99871

This plugin requested by member Vadia111.

100% re-write plugin, now dont need ammo to fly. Fuel set by cvar.

-=§ CVARS §=-

sm_cjet_enabled 0 / 1 Crazy Jet plugin enabled? (DEF. 1)
sm_cjet_adminonly 0 / 1 Crazy Jet for admins only? (DEF. 0)
sm_cjet_adminflag ADMFLAG* If adminonly is enabled, put here a flag for filter users (DEF. b)
sm_cjet_unlimited 0 / 1 / 2 Unlimited fuel. 0 dont unlimited / 1 all / 2 adm only (DEF. 0)
sm_cjet_force 100 / 1000 Jet fly force (DEF. 450)
sm_cjet_fuel 10.0 / 1000.0 Fuel of jet. -1/s if flying (DEF. 200.0)
sm_cjet_time 0.0 / 1000.0 Time to jet charge (DEF. 5.0)
sm_cjet_reset_respawn 0 / 1 Reset jet fuel on player respawn? (DEF. 0)
sm_cjet_win_allow 0 / 1 Allow use Jet on round end? (DEF. 0) | TF2 ONLY
sm_cjet_intel_allow 0 / 1 Allow use Jet while carry intel? (DEF. 0) | TF2 ONLY
sm_cjet_allow_scout 0 / 1 Allow scout use jet? (DEF. 1) | TF2 ONLY
sm_cjet_allow_sniper 0 / 1 Allow sniper use jet? (DEF. 1) | TF2 ONLY
sm_cjet_allow_soldier 0 / 1 Allow soldier use jet? (DEF. 1) | TF2 ONLY
sm_cjet_allow_demoman 0 / 1 Allow demoman use jet? (DEF. 1) | TF2 ONLY
sm_cjet_allow_medic 0 / 1 Allow medic use jet? (DEF. 1) | TF2 ONLY
sm_cjet_allow_heavy 0 / 1 Allow heavy use jet? (DEF. 1) | TF2 ONLY
sm_cjet_allow_pyro 0 / 1 Allow pyro use jet? (DEF. 1) | TF2 ONLY
sm_cjet_allow_spy 0 / 1 Allow spy use jet? (DEF. 1) | TF2 ONLY
sm_cjet_allow_engineer 0 / 1 Allow engineer use jet? (DEF. 1) | TF2 ONLY
sm_cjet_fly_sound "SOUND" Sound of jet fly [DEF. ambient/boiler_01.wav (TF2)] | [DEF. ambient/machines/gas_loop_1.wav (CSS)]
sm_cjet_reload_sound "SOUND" Sound if jet reload the fuel [DEF. weapons/recon_ping.wav (TF2)] | [DEF. buttons/weapon_confirm.wav (CSS)]
sm_cjet_empty_sound "SOUND" Sound if jet empty of fuel [DEF. weapons/buffed_off.wav (TF2)] | [DEF. buttons/weapon_cant_buy.wav (CSS)]
sm_cjet_primary_particle TF2 particle Base particle effect (DEF. burningplayer_rainbow_OLD) | TF2 ONLY
sm_cjet_secondary_particle TF2 particle Secondary particle effect (DEF. burningplayer_rainbow_stars) | TF2 ONLY
sm_cjet_adv_control 0 / 1 Advanced jet control? (beta) (DEF. 0)
sm_cjet_allow_tr 0 / 1 Allow terrorists use jet? (DEF. 1) | CSS ONLY
sm_cjet_allow_ct 0 / 1 Allow counter-terrorists use jet? (DEF. 1) | CSS ONLY
sm_cjet_fly_keys 0 / 1 Keys to fly. 0 default (jump) / 1 custom (jump + mouse attack2) (DEF. 0)
sm_cjet_fuel_info 0 / 1 Fuel on HUD. 0 default (text) / 1 custom (splash bar) (DEF. 0) | TF2 ONLY
sm_cjet_version - Current plugin version

*ADMFLAG: a, b, c, d, e, f, g, i, j, k, l, m, n, o, p, q, r, s, t and z.

[OB] Full Particle List [7/21/13] by Sreaper

-=§ WARNING §=-

Please report any bug if found.

-=§ COMMANDS §=-

Hold the jump button | Fly with jet
Hold the jump, forward, back, left and right buttons | Fly with jet [Advanced control (beta)]
sm_cjet | Take one jet
sm_cjetinfo | Show fuel info on player HUD

-=§ CHANGELOG §=-
Spoiler


-=§ CONFIGURATION §=-

sm_crazy_jet.cfg

-=§ Coming Soon §=-

More games support
Translations files
Burn players with jet

-=§ Work games §=-
  • Team-Fortress 2
  • Counter-Strike Source
  • Counter-Strike Global Offensive

-=§ Download §=-

.ZIP INCLUDES:

Binarys, Source code, config file, Includes...

-=§ Credits §=-

Plugin re-write - Rodrigo286
Idea - Vadia111
New fly method based on Despirator jetpack for ZR.

Thanks and please comment ! :bacon!:

vadia111 02-16-2014 16:11

Re: [TF2] Crazy Jet
 
100 % ok !! very cool plugin !!!

friagram 02-17-2014 07:43

Re: [TF2] Crazy Jet
 
Ouch, that processor.
Isvalidclient, isvalidedict
Y u no use entity references?

rodrigo286 02-17-2014 09:53

Re: [TF2] Crazy Jet
 
Quote:

Originally Posted by friagram (Post 2101283)
Ouch, that processor.
Isvalidclient, isvalidedict
Y u no use entity references?

Thanks for tip, but i'm re-writting this plugin now, and i'll post it with bug solved. :bee:

friagram 02-17-2014 10:44

Re: [TF2] Crazy Jet
 
Runcmd is going to be executed every time the client sends a cmd, typically 33 or 66 times a second. You should do as little there as possible.

rodrigo286 02-17-2014 11:15

Re: [TF2] Crazy Jet
 
Quote:

Originally Posted by friagram (Post 2101326)
Runcmd is going to be executed every time the client sends a cmd, typically 33 or 66 times a second. You should do as little there as possible.

I dont write 100% of this plugin, i only ported for vadia request, but i'm re-writting this with new features and a new better method.

But, runcmd is good way for this plugin and for new version.

Thanks for all help. :)

Sheepy 02-18-2014 21:16

Re: [TF2] Crazy Jet
 
This will be awesome if you can set custom flags who can use the feature,
+ Adding the multi class option will be sweet.
Also maybe a way you can change you're jet pack effect, overall i am very keen to try this out.

rodrigo286 02-19-2014 08:27

Re: [TF2] Crazy Jet
 
Thanks Sheepy :bee:

FIRST POST UPDATED

Version 1.0.1 - Beta
  • Complete 100% re-write with new fly method
  • New cvars
  • New features
  • Clean code
  • All TF2 class support
  • HUD Info added
  • More commands
  • New effects

-=§ CHANGELOG §=-
Spoiler

Sheepy 02-19-2014 21:39

Re: [TF2] Crazy Jet
 
Hey Man, Just testing out the plugin out now, works perfectly, only thing i would change is if there is a way to mute the current sound of the jetpack, i feel it creates a more distorting sound to it, or a way to change the sound file XD

*Also Holding down the jetpack button, stalls the current jetpack sound, it makes the sound like cuts off, creating the cut of distorting effect.
*Also if possible if you could Make it, when you're character looks down it brings the jetpack down with you, not keep you're character flying up as this will make it more stable flying around, as well as
making it so when you move left and right via the keyboard it moves the character left and right.

Sorry mate got bit excited with the plugin but maybe if you added the trails of the rain blower and sound of it as the jetpack i.e, this will be a cool add on.

http://puu.sh/735Ik.jpg

Overall i am enjoying the plugin on my server, and cannot wait for future updates, keep it up!!!!!

rodrigo286 02-21-2014 12:55

Re: [TF2] Crazy Jet
 
Quote:

Originally Posted by Sheepy (Post 2102333)
Hey Man, Just testing out the plugin out now, works perfectly, only thing i would change is if there is a way to mute the current sound of the jetpack, i feel it creates a more distorting sound to it, or a way to change the sound file XD

*Also Holding down the jetpack button, stalls the current jetpack sound, it makes the sound like cuts off, creating the cut of distorting effect.
*Also if possible if you could Make it, when you're character looks down it brings the jetpack down with you, not keep you're character flying up as this will make it more stable flying around, as well as
making it so when you move left and right via the keyboard it moves the character left and right.

Sorry mate got bit excited with the plugin but maybe if you added the trails of the rain blower and sound of it as the jetpack i.e, this will be a cool add on.


Overall i am enjoying the plugin on my server, and cannot wait for future updates, keep it up!!!!![/B]

Thanks for tips again :)

I'll post today some updates for this.

http://www.czsbrasil.com.br/forum/up...05197-U196.png


All times are GMT -4. The time now is 21:17.

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