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

PLAY THE PIANO ( Luwig Van )


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff        Approver:   DS (30)
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 05-08-2004 , 23:42   PLAY THE PIANO ( Luwig Van )
Reply With Quote #1

This is for the fun loving admins with long round. what do the cleints do when they have nothing to do but watch a camper sit on Italy with an awp and no admin in site as far as de_dust? well they play the Piano... thats right u heard it right ladies and gentle AmXX users right here for a limited time you can have the one the only the genuine the bonfide HL Piano written by Ludwig "The Man" Van. lol ok i ran outta the sales talk so enjoy the piano and post any bugs here.

Code:
/* AMX Mod X Script

***************************************************************************
 * amx_ejl_piano.sma     version 1.0                  Date: 7/01/2003
 *  Author: Eric Lidman      [email protected]
 *  Alias: Ludwig van        Upgrade: http://lidmanmusic.com/cs/plugins.html
 *
 *  Play the piano in any Half-Life mod. Its great for CS in that it gives
 *   you something to do to entertain yourself, while you are dead for
 *   example. Admin can set player's pianos to broadcast to all players, to
 *   the dead plyers only, or just no broadcast to players (default for 
 *   regular players). An admin's default for his own piano is broadcast to
 *   all. Set your mode to 0 with command below to play only to yourself. 
 *   The notes of the piano are all mathematically created from a single
 *   sound. The range is 5 chromatic octaves. Sorry, the lowest notes are 
 *   out of tune, a limitation in Half-Life pitch adjustments. There are 4
 *   different piano sounds to choose from.
 *
 *
 * *******************************************************************************
 *  
 *	Ported By KingPin( [email protected] ). I take no responsibility 
 *	for this file in any way. Use at your own risk. No warranties of any kind. 
 *
 * *******************************************************************************
 *
 *  ADMIN COMMANDS:
 *
 *   amx_pinao_mode <player> <mode>  --Sets a players piano broadcast mode
 *                                     to determine who can hear his piano
 *                                      0 = no broadcast
 *                                      1 = only to dead
 *                                      2 = to all players       
 *   amx_piano_mode_all <mode>       --same as above command, but sets mode
 *                                     for every player on the server 
 *
 *  CLIENT COMMANDS:
 *
 *   say /piano       --in chat:    Get help and info on setting up piano
 *   amx_set_piano    --in console: Set key binds to piano mode
 *   amx_unset_piano  --in console: Return key binds to normal, whatever is
 *                      in client's config.cfg
 *   amx_piano_wtf    --in console: Returns key binds to original default
 *                      settings in the event amx_unset_piano cannot do it
 *   amx_pianonote    <number from 1 to 13>  1 = C natural
 *   amx_pianooctave  <number from 1 to 5> Default octave is 3 for medium
 *                    pitch range playing 
 *   amx_pianosound   <number from 0 to 3> Default is 0 for fvox/boop sound  
 *
 *
 *  WARNING: If you should become disconnected while in piano mode, your keys
 *   may be stuck in piano mode. If the unset command doesnt work, enter this
 *   in console: amx_piano_wtf and your binds will go back to original default
 *   for the keys that were used for piano. Those keys are:
 *
 *    Change Note Keys: 1,2,3,4,5,6,7,8,9,0,-,=,backspace
 *    Change Octave Keys: F3,F4,F5,F6,F7
 *    Change instrument type: F8
 *
 *   Normally I am not a fan of changing peoples binds or doing anything that
 *   can possibly be destructive to the config.cfg, but there are safegaurds
 *   built into the plugin to help minimize such an occurance. Use at your
 *   own risk.
 *
 ****************************************************************************/

#include <amxmodx>
#include <amxmisc>
Attached Files
File Type: sma Get Plugin or Get Source (play_the_piano.sma - 7068 views - 11.9 KB)
File Type: amx play_the_piano.amx (12.6 KB, 3294 views)
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
Burnzy
Veteran Member
Join Date: Apr 2004
Old 05-09-2004 , 00:05  
Reply With Quote #2

i love it, i love it, i love it!!!! DAMN THATS HILARIOUS!
__________________
Burnzy is offline
Send a message via AIM to Burnzy
Peli
Veteran Member
Join Date: Mar 2004
Location: San Diego, CA
Old 05-13-2004 , 02:47  
Reply With Quote #3

LOL. How many times have I been in a server with two campers left and no admin. Nice plugin very nice.
Peli is offline
Send a message via MSN to Peli
smartsl
Junior Member
Join Date: Apr 2004
Old 05-13-2004 , 05:40  
Reply With Quote #4

kingpin, are u the same author named Ludwig van?
i dl the source from:
http://lidmanmusic.com/cs/plugins.html
then i find ur code is just the *SAME* as it called 'amx_ejl_piano.sma'.

u changed
Code:
#include <amxmod>
to
Code:
#include <amxmodx>

all 'strtonum' str to 'str_to_num'

and added this comment
Code:
*  *  * *******************************************************************************  *   *  Ported By KingPin( <a href="mailto:[email protected]">[email protected]com</a> ). I take no responsibility  *  for this file in any way. Use at your own risk. No warranties of any kind.  *  * *******************************************************************************
smartsl is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 05-13-2004 , 08:28  
Reply With Quote #5

lmao no ludwig is one of the cs coding gods I am a mere mortal who just ported the plugin, as the whole line about porting suggests. I had ro change the source to make it compatible with AMXmodX. and if you would read the porting guidlines according to then I posted the name of the athor in the thread name... otherwise im not sure what ur exactly getting at???
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
AssKicR
Veteran Member
Join Date: Mar 2004
Location: Norway-Europe(GTM+1)
Old 05-13-2004 , 12:19  
Reply With Quote #6

OWNED
__________________
My Plugins

Got ??
AssKicR is offline
kingpin
Veteran Member
Join Date: Apr 2004
Location: kpsforum.com
Old 05-13-2004 , 14:10  
Reply With Quote #7

lol AssKicr. *subliminal Message : All Hail AMX/X Coding Gods*
__________________
kingpin is offline
Send a message via ICQ to kingpin Send a message via AIM to kingpin Send a message via MSN to kingpin Send a message via Yahoo to kingpin Send a message via Skype™ to kingpin
Peter Hutt
Junior Member
Join Date: Jan 2005
Location: Scotland.
Old 01-27-2005 , 09:14  
Reply With Quote #8

Cool Plugin.
__________________
Peter Hutt.
A Member Of CultGaming.
Peter Hutt is offline
-}NK{[email protected]
Senior Member
Join Date: Dec 2004
Location: NC
Old 01-27-2005 , 11:18  
Reply With Quote #9

yeah its funny
-}NK{-Oj@eKiLLzZz is offline
Send a message via AIM to -}NK{-Oj@eKiLLzZz
Revolution
Member
Join Date: Apr 2005
Old 04-14-2005 , 17:46  
Reply With Quote #10

The funny thing is I actually have a piano in the same room as my computer and sometimes after I get killed I find my self playing the piano while waiting for the round to end. I saw this and think I might have to try it.
Revolution 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 23:13.


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