• Play sound loop
    0 replies, posted
is there anyway to play a sound file continuously then later stop using console commands? I have a slowmo mod ([url]http://www.fpsbanana.com/tools/4278[/url]) and I want it to play the l4d2 heartbeat sound located in: C:\Program Files\Steam\steamapps\Common\left 4 dead 2\left4dead2\sound\player\heartbeatloop.wav Here's what the configs look like (each quoted "title" is a new cfg file) __________________________________________________ __________________ "Slowmo_Master" sv_cheats 1 alias "take10" "wait; wait; wait; wait; wait; wait; wait; wait; wait; wait" alias "sm_on" "exec slow1.cfg" alias "sm_off" "exec fast2.cfg" alias "sm_stop" "exec slow2.cfg" alias "sm_restart" "exec fast1.cfg" alias "slowmo_on" "play slow.wav; take10; host_timescale .75; take10; host_timescale .40; take10; host_timescale .40; sm_off" alias "slowmo_off" "play fast.wav; take10; host_timescale .40; take10; host_timescale .75; take10; host_timescale 1; sm_on" alias "slowmo_stop" "host_timescale .00001; sm_restart" alias "slowmo_restart" "host_timescale 1; sm_stop" exec slow1.cfg exec slow2.cfg __________________________________________________ __________________ "Slow1" bind "v" "slowmo_on" __________________________________________________ __________________ "Slow2" bind "b" "slowmo_stop" __________________________________________________ __________________ "Fast1" bind "b" "slowmo_restart" __________________________________________________ __________________ "Fast2" bind "v" "slowmo_off" __________________________________________________ __________________ Id like the heartbeatloop.wav to loop only when in slowmo but have no idea how. After searching through google for 1.5 hours and finding nothing, I gave up. Anyone know how?
Sorry, you need to Log In to post a reply to this thread.