Raised This Month: $ Target: $400
 0% 

Flymode


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-13-2005 , 06:09   Flymode
Reply With Quote #1

Description
This is the first plugin I made. This plugin will allow you to fly if you jump. You can move in any direction. Note that if you fly, your accuracy with your weapon, except a knife, will be extremely horrible. This flymode is just meant for mobility purposes. It is useful for getting out of a bad situation real fast, and to reach high places, and to get to places in general very fast. If you don't want to fly all you got to do is just land on the ground, and you can walk/run again. I even included a command to turn on or off the flymode plugin. But the catch is, you must have at least an access to ADMIN_CVAR.
Type these two commands in the console to enable/disable the flymode.
Code:
 Usage amx_flymode <1=enable, 0=disable>  Allows everyone to fly.
amx_flymode 1  //Enables you to fly if you jump or don't touch ground
amx_flymode 0 //Flying is disabled.
Here are the cvars to adjust the flying speed, and whether flymode should be on or off.
Code:
flymode_enabled 1  //Default = 1
flymode_speed 1000  //Default = 1000

Bottom line, HAVE FUN WHILE YOU FLY WHEEEEEEE!!!
Please add comments, and tell me what you think about this plugin, like how can it be better and etc.

Oh yeah one more thing, flymode affects everyone. Turn it on everyone can fly, turn it off, and no one can fly.

PS: This plugin can be VERY USEFUL against "awp whores"
Attached Files
File Type: sma Get Plugin or Get Source (flymode.sma - 1431 views - 7.1 KB)
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
v3x
Veteran Member
Join Date: Oct 2004
Location: US
Old 09-13-2005 , 07:13  
Reply With Quote #2

Post the sma, zip not needed..

Also, what is this doing in the plugin_init?
Code:
    for(new id = 1; id <= 32; id++){         if(is_user_connected(id))             call_think(id)     }
__________________
What am I doing these days? Well, I run my own Rust server. It's heavily modded. If you'd like to join, the ip is 167.114.101.67:28116

I also created a website called Rust Tools. It will calculate and tell you the raw amounts of resources needed to craft items.
v3x is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-13-2005 , 16:34  
Reply With Quote #3

Oh, I thought you would have to call think initially that's why, but if it works without think, then I'll remove it.
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
kILL-jOY
Member
Join Date: Jul 2005
Old 09-13-2005 , 18:26  
Reply With Quote #4

u should add so admin can take flying away from someone, like if they abuse it
__________________
**|$uperHero|** Free level 8 / 75+ Heroes / BuyXP at 68.191.146.3:27015 - CS 1.6


kILL-jOY is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-13-2005 , 18:30  
Reply With Quote #5

So you mean take the flying ability away from ONE PERSON and not everyone if one person just likes to prolong a round or something? Cause right now it's either everyone can fly or no one can fly.
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-14-2005 , 07:31  
Reply With Quote #6

You know now that I tried this thing out for a while, the flymode isn't that useful except for moving around the place, I say that I should install some offensive powers for this flymode. And rename flymode to flying_spree or something. Guys give me suggestion on what to add to this mod. And I also realized that some people will just fly forever making them hard to hit, I will also install a timer for how long a person can fly, so that he or she cannot abuse the flymode system.
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
kILL-jOY
Member
Join Date: Jul 2005
Old 09-14-2005 , 08:43  
Reply With Quote #7

thats all i ask
__________________
**|$uperHero|** Free level 8 / 75+ Heroes / BuyXP at 68.191.146.3:27015 - CS 1.6


kILL-jOY is offline
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 09-14-2005 , 13:49  
Reply With Quote #8

not gonna be bursting no bubbles here, but i think someone already ported an existing flying plugin to amxx from amx :/

What makes yours different.
__________________
My Plugins

Got ??
AssKicR is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 09-14-2005 , 15:39  
Reply With Quote #9

Really, cause I tryed searching for fly in the forum, but I didn't see anything that says, allows users to fly or something, I found a search result that says something about sending a user flying if the grenade exploded or something. But nothing else......, and sure there is that superhero superman too, but this one is different in that you don't have to bind a key to fly, you just jump and fly. But after using this mod for a while, I realize people are gonna abuse it so I'm gonna add a timer of some sort and maybe some other stuff too, and I'll rename this plugin perhaps....... Don't know if that answered your question Asskicker, but that's what I say is different for now.
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
Kensai
Veteran Member
Join Date: Aug 2005
Location: San Diego, California
Old 09-14-2005 , 19:57  
Reply With Quote #10

http://forums.alliedmods.net/showthread.php?p=146066
Kensai is offline
Send a message via AIM to Kensai Send a message via MSN to Kensai
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 23:54.


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