Looking for the driving sounds and how to access them.
I am writing a mod and need access to a sound of something like a car driving. I am avoiding too many extras so I want to use the sounds in hl or cs already. Any help?
|
Re: Looking for the driving sounds and how to access them.
client_cmd(0,"spk ambience/car1")
|
Re: Looking for the driving sounds and how to access them.
You can use JHLMV and open up the half-life.gcf in the steamapps folder.
|
Re: Looking for the driving sounds and how to access them.
OK I found the car sounds. how do I get the sound to continue to run. As in engine.wav
|
Re: Looking for the driving sounds and how to access them.
I don't know if there is a better way, but in entity-think you can play the sound and set the next think at the end of the time the sound needs to play!?
Or in emit_sound there is a stop-flag (1<<5) maybe there is a flag for loop the sound!? PHP Code:
PHP Code:
greetz regalis |
Re: Looking for the driving sounds and how to access them.
ambient_generic entity should loop the sound by default.
|
| All times are GMT -4. The time now is 10:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.