View Single Post
Author Message
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 05-18-2011 , 17:45   [L4D & L4D2] Lift Music (1.5) [10-May-2020]
Reply With Quote #1

About:
  • Plays music when players are travelling inside an elevator.
  • Only elevators on official Valve maps in L4D and L4D2 play tracks.
  • Please list maps which contain lifts if you want support for those. stripper_dump's would be useful.


Tracks Config:
  • Config included with 5 tracks to randomly select from.
  • Tracks must be specified on new lines within the config.
  • The paths must be relative to the \sound\ folder.
  • Maximum of 32 tracks (change MAX_TRACKS value and recompile if you want more.)


Thanks:
  • Jay_ombie - For the idea and help testing.
  • Mr.RuyC - For help testing.
  • Visual77 - For support.


CVars:
PHP Code:
// Lift Music plugin version.
l4d_lift_music_version 


Changes:
Code:
1.5 (10-May-2020)
    - Various changes to tidy up code.

1.4 (05-May-2018)
    - Converted plugin source to the latest syntax utilizing methodmaps. Requires SourceMod 1.8 or newer.

1.3 (10-May-2012)
    - Small changes and fixes.

1.2 (20-May-2011)
    - Added elevator from c6m3_port.

1.1 (20-May-2011)
    - Added "l4d_vs_hospital04_interior" as Visual77 suggested.

1.0 (18-May-2011)
    - Initial release.


Installation:
  1. Click "Get Plugin" and put the .smx file into your servers \addons\sourcemod\plugins\ folder.
  2. Download "l4d_lift_music.cfg" and put into your servers \addons\sourcemod\data\ folder.
Attached Files
File Type: cfg l4d_lift_music.cfg (148 Bytes, 5444 views)
File Type: sp Get Plugin or Get Source (l4d_lift_music.sp - 2226 views - 6.2 KB)
__________________

Last edited by Silvers; 05-10-2020 at 06:52.
Silvers is offline