View Single Post
Silvers
SourceMod Plugin Approver
Join Date: Aug 2010
Location: SpaceX
Old 06-09-2012 , 17:11   Re: [L4D & L4D2] Lift Music (1.3) [10-May-2012]
Reply With Quote #32

1. Look in the source for the enum L4D_C8M4.

2. Create enum entries for your own maps.

3. In OnMapStart, duplicate the L4D_C8M4 line, but make it check for your map name and respective enum.

3b. Could just copy one of the else if lines from above.

4. In tmrStart where you see L4D_C8M4, duplicate the two lines and set them like the above else if lines.

5. You need to know what triggers the elevator to start, func_button, logic_relay or other.

6. Take the entity classname and targetname and fill in the data.


Some 'elevators' will not work, such as next to the Gas Station in c8m3.
__________________

Last edited by Silvers; 06-09-2012 at 17:12.
Silvers is offline