Garry's Mod

Garry's Mod

43 ratings
PLAYABLE Piano Hammer Action Mechanism (gm_piano_keys)
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Map
Addon Tags: Fun, Roleplay, Realism
File Size
Posted
Updated
32.911 MB
26 May, 2023 @ 1:26pm
27 May, 2023 @ 9:19am
5 Change Notes ( view )

Subscribe to download
PLAYABLE Piano Hammer Action Mechanism (gm_piano_keys)

Description
All the mechanisms are part of the map not models, no additional content models/textures/sounds required.

->The map consists on 25 playable keys that recreate the real hammer action mechanism of a grand piano using Source Engine's physics.

->The piano keyboard CAN BE PLAYED by pressing the buttons provided in the map with E or by binding the following commands to play each note:

!!!! IMPORTANT It is recommended to set
"host_timescale 7"
(requires sv_cheats "1") in console, as the keyboard is giant and plays slow on host_timescale 1

Binds:

**sv_cheats must be "1"**

(1) White keys only

bind KEY "ent_fire dobutton use"
bind KEY "ent_fire rebutton use"
bind KEY "ent_fire mibutton use"
bind KEY "ent_fire fabutton use"
bind KEY "ent_fire solbutton use"
bind KEY "ent_fire labutton use"
bind KEY "ent_fire sibutton use"
bind KEY "ent_fire do2button use"
bind KEY "ent_fire re2button use"
bind KEY "ent_fire mi2button use"
bind KEY "ent_fire fa2button use"
bind KEY "ent_fire sol2button use"
bind KEY "ent_fire la2button use"
bind KEY "ent_fire si2button use"
bind KEY "ent_fire do3button use"

(2) White and Black keys (Full Keyboard)

bind KEY "ent_fire dobutton use"
bind KEY "ent_fire do+button use"
bind KEY "ent_fire rebutton use"
bind KEY "ent_fire re+button use"
bind KEY "ent_fire mibutton use"
bind KEY "ent_fire fabutton use"
bind KEY "ent_fire fa+button use"
bind KEY "ent_fire solbutton use"
bind KEY "ent_fire sol+button use"
bind KEY "ent_fire labutton use"
bind KEY "ent_fire la+button use"
bind KEY "ent_fire sibutton use"
bind KEY "ent_fire do2button use"
bind KEY "ent_fire do+2button use"
bind KEY "ent_fire re2button use"
bind KEY "ent_fire re+2button use"
bind KEY "ent_fire mi2button use"
bind KEY "ent_fire fa2button use"
bind KEY "ent_fire fa+2button use"
bind KEY "ent_fire sol2button use"
bind KEY "ent_fire sol+2button use"
bind KEY "ent_fire la2button use"
bind KEY "ent_fire la+2button use"
bind KEY "ent_fire si2button use"
bind KEY "ent_fire do3button use"


(NOTE)button for the white keys
(NOTE)+button for the black keys



I suggest replacing the "KEY" in the binds provided to F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, INS, HOME, PGUP, DEL, END, PGDN

You can also copy and paste the binds with the desired keys into a NAMEME.cfg file using Notepad into:

"%path%/Garry's Mod/garrysmod/cfg" and type "exec NAMEME.cfg" in console if you want the binds to be available easily or even switch between white/white-black key binds. This will also make it easier for you to reset to default binds for playing in other maps/servers.


Please enjoy.



Feel free to donate if you want. =)


3 Comments
Axo.mixin.core 28 May, 2023 @ 4:45am 
That doesn't look right...
dio 27 May, 2023 @ 10:53am 
very cool
Cat 27 May, 2023 @ 9:19am 
Good job!