Raised This Month: $66 Target: $400
 16% 

amx_distort v2.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Admin Commands        Approver:   Exolent[jNr] (178)
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-16-2009 , 12:38   amx_distort v2.1
Reply With Quote #1

Description:
This plugin distorts the reality of a player by showing flashbacks of the past/making entities disappear!
It is similar to a stroboscope and can be used for punishments!
Warning: This can cause headaches!!!

Modules:
Fakemeta
Amxx Core


Commands:
amx_distort <name or #userid> <time> <a|b|c> - activates the distort, time is in seconds, flags (each does something)
amx_undistort <name or #userid or @all> - deactivates the distort (connected players only!)
amx_show_distorted - shows the distorted players (connected and disconnected)
All the commands need the ADMIN_BAN flag

Flags:
a - Glow flag - this makes the entities flicker fast (this is very annoying to a player)
b - Self flag - this will make the player see flashbacks of the past (this has the biggest potential of causing headaches!!!)
c - Other flag - this will make entities false move (it is similar to a but a little harder)

When the command "amx_distort" is executed just with the nick/#userid argument the flag that will be taken into account will be b and the duration will be one minute!

Cvars:
dist_extratime 30.0 // Extra time that will be added if a player reconnects, this is in seconds, the extra time add will not apply on map changes! Only if player reconnects on the same map!

Useful Links:
Servers having this punishment

Edit this if you want plugin parameter functionality change:
PHP Code:
// Uncomment this to make the plugin use the IP of the players and not AUTH_ID
//#define USE_IP

// Make this smaller to make the distortions smaller
// Do not set this over 75 because it will be too hard on the player
#define CHANCE            50
// Smaller means smaller resource use ;)
#define MAX_PLAYERS        32

// Default time, seconds
#define DEFAULT_TIME                60.0 // 60.0 = one minute, I think that it is enough
#define MAX_TIME_POSSIBLE        600.0 // 10 minutes, I tell you it is enough to fuck your brains when we talk about flags b and c
#define MAP_CHANGE_NUM            2 // Times the map needs to be changed to erase the distorted player from disconnected players, 0 or negative means infinite! 
Movie [Thanks vermillioN25]:
http://www.youtube.com/watch?v=zS77dioUgCI

Changelog:
PHP Code:
v2.1 added map change reconnect support
v2.0 added reconnect supportflagstime based punishmentcommand that shows distorted players (connected and disconnected), loggingchat prints
v1.1 remove distort when client disconnectsadded cvar for server find
v1.0 initial release 
Attached Files
File Type: sma Get Plugin or Get Source (amx_distort.sma - 1568 views - 23.4 KB)
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.

Last edited by ot_207; 10-12-2009 at 20:05. Reason: Readd
ot_207 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-16-2009 , 12:40   Re: amx_distort
Reply With Quote #2

PHP Code:
client_print(hostprint_chat"ADD"
? xD

And i cant understand what this plugin does O_o
__________________
xPaw is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-16-2009 , 12:41   Re: amx_distort
Reply With Quote #3

Quote:
Originally Posted by xPaw View Post
PHP Code:
client_print(hostprint_chat"ADD"
? xD
I know, fixed.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 09-16-2009 , 12:45   Re: amx_distort
Reply With Quote #4

o_O , ya better description please
KadiR is offline
ot_207
Veteran Member
Join Date: Jan 2008
Location: Romania The Love Country
Old 09-16-2009 , 12:46   Re: amx_distort
Reply With Quote #5

Quote:
Originally Posted by KadiR View Post
o_O , ya better description please
I don't know how to explain, try it and you will see xD.
__________________
My approved plug-ins | Good for newbies! | Problems?

Back, will come around when I have time.
ot_207 is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 09-16-2009 , 12:48   Re: amx_distort
Reply With Quote #6

Just tested it... what the fuck ?
This is strange O_o'
__________________
xPaw is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 09-16-2009 , 12:52   Re: amx_distort
Reply With Quote #7

Well, i tested... sry ot but i didn't like it... the "effect" to "showing the past" is not rly good... is similar like a stuck.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-16-2009 , 12:55   Re: amx_distort
Reply With Quote #8

Hehe. Nice. ^^
__________________
Arkshine is offline
soolt
BANNED
Join Date: Aug 2009
Location: Lithuania
Old 09-16-2009 , 14:53   Re: amx_distort
Reply With Quote #9

what this plugin does ?
soolt is offline
Send a message via Skype™ to soolt
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 09-16-2009 , 15:01   Re: amx_distort
Reply With Quote #10

Test it and you will see.
__________________
Arkshine 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 04:32.


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