Raised This Month: $100 Target: $400
 25% 

Flight Mode 0.9.5.3 by -]ToC[-Bludy


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff        Approver:   EKS (167)
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 08-27-2005 , 19:35   Flight Mode 0.9.5.3 by -]ToC[-Bludy
Reply With Quote #1

Flight Mode 0.9.5.3 by -]ToC[-Bludy
- Ported by AssKicR [23/08-05]

0.9.5.3 - Added multi-directional control, most direction combos are supported, even triple combos (i.e MOVERIGHT + FORWARD + JUMP)

0.9.5.2 - Added New movement directions, You now can use your MOVERIGHT, and MOVELEFT keys to maneuver yourself
in those directions
Removed cvars amx_fly_upforce, and amx_fly_downforce, their speed is now also controlled by amx_flyspeed


0.9.5.1 - Added New effect when engaging Flight mode
Added cvar to control gravity when hovering (note, this number is a multiplier not the actual gravity)
Added Flying(swimming) Animation when a player lifts off to certain height. Player must be moving
in order for the animation to take place.

Ever wished you could fly, well its time.

Requires ENGINE and FUN to operate!!

----------------------------------------------------

Description: This plugin enables not only admin, but with the proper settings, for all players on your server.
Set amx_allfly to 1 for everyone to fly, otherwise only admins with proper access can use their admin fly commands
to fly. Flying can be completly disabled by changing the cvar amx_flymode to 0.

While Flight Mode is engaged the player will hover in one spot. Press Forward, or Backward in order to fly in that direction.
Control where you fly by pointing your crosshairs in the direction you wish to travel.

Speed is controlled by amx_flyspeed. Higher number = greater speed
You can also toggle up/down force when using Jump and Crouch while in Flight mode with these cvars: amx_fly_upforce, amx_fly_downforce

When a player fly's he will leave a temporary streak of color indicating which direction he came from, Plus it looks really cool,
These can be turned off or on with amx_flytrails 0 or 1. You can change the brightness of the trails with amx_flytrailbrightness

It is possible to start flying before freezetime at the start of a new round has ended. By enabling amx_flybeforeftime not any
player (even admins) can fly until the freezetime has expired.

This plugin includes a connection message ONLY when amx_allfly is set to 1.

-----------------------------------------------------

CVARS:

amx_flymode 0 or 1 (default is 1) - Toggles Flying on and off
amx_allfly 0 or 1 (default is 0) - Toggles Flying for all players (admin or not)
amx_flyspeed 0 or greater (default is 500) - Toggles speed of flight when moving forwards or backwards
amx_flytrails 0 or 1 (default is 1) - Toggles players trails when flying on and off
amx_flytrailbrightness 0 or greater (default is 40) - Toggles brightness of player trails
amx_flybeforeftime 1 or 0 (default is 1) - Toggles whether anyone can fly before the freezetime is up (admin or not)
amx_hover_grav 0 or greater (default is 0.001) - Toggles gravity when hovering

------------------------------------------------------

COMMANDS:

+fly - This is what the players without admin have to bind to fly when amx_allfly is set to 1
+adminfly - This is what admins can use to fly even when amx_allfly is set to 0

fly_toggle - This does the same thing as +fly except you have to press once to engage, and again to disengage
adminfly_toggle - This is the same as fly_toggle except only admins with proper access can use it whether amx_allfly is 0 or 1

say /flighthelp - This brings up the Flight Mode Help Menu

-------------------------------------------------------

Have Fun!!
Attached Files
File Type: sma Get Plugin or Get Source (plugin_flightmode.sma - 5082 views - 22.1 KB)
__________________
My Plugins

Got ??
AssKicR is offline
Velocity36
Senior Member
Join Date: Jul 2005
Old 08-27-2005 , 19:56  
Reply With Quote #2

http://forums.alliedmods.net/showthread.php?t=17148
__________________
[img]http://img81.**************/img81/593/velocityferrari7mx.jpg[/img]
Velocity36 is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 08-27-2005 , 19:59  
Reply With Quote #3

Dude, shit. I'm switching your plugin with Ass's

1. His is WAY better.
2. You stole his code.
3. Your gay.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 08-27-2005 , 20:01  
Reply With Quote #4

Question, is adminfly and fly basically the smae thing, when allfly is 1?
Awesome, btw.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 08-27-2005 , 20:09  
Reply With Quote #5

Quote:
Originally Posted by Kensai
Question, is adminfly and fly basically the smae thing, when allfly is 1?
Awesome, btw.
Yes, When amx_allfly = 1 they are basicly the same thing
The +adminfly is for admins to fly when amx_allfly = 0
__________________
My Plugins

Got ??
AssKicR is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 08-27-2005 , 20:15  
Reply With Quote #6

Okay, cool. I'm gonna go test it out.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 08-27-2005 , 20:38  
Reply With Quote #7

Okay, done, only a few minor issues, but everything works. Great Job.

5/5
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
XunTric
BANNED
Join Date: Jan 2005
Location: Norway/Norge
Old 08-27-2005 , 21:01  
Reply With Quote #8

Quote:
Originally Posted by Kensai
3. Your gay.


Nice plugin AssKicR

Btw, is this like supergirl in sh that you kinda lagg when you fly?
You dont fly smooth as normall noclip if you understand what I mean.
XunTric is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-27-2005 , 21:55  
Reply With Quote #9

Awesome plugin AssKicR. Would you just make the person hover when flying but not moving? That's my only suggestion. That would make it perfect for me.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 08-28-2005 , 03:06  
Reply With Quote #10

@Xuntric

I tested this baby out, real smooth flyin. Excellent job.
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
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 09:16.


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