How to make a Alarm
Moderator: Moderators
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
what nice screen?.... lol anywho, i didnt try that... im gunna right now
I did how ever tell the wheels on the bot to play the jeep sounds and it didnt work... so im gunna try the $bot with lighthouse_run...
It works with lighthouse_run...... BUT I WANT MY OTHER SOUNDS! lol, do i have to do that whole alias cache yadda yadda nonesense stuff to get it working?
I did how ever tell the wheels on the bot to play the jeep sounds and it didnt work... so im gunna try the $bot with lighthouse_run...
It works with lighthouse_run...... BUT I WANT MY OTHER SOUNDS! lol, do i have to do that whole alias cache yadda yadda nonesense stuff to get it working?
yep[HDL]-{Gen} Dragon wrote:It works with lighthouse_run...... BUT I WANT MY OTHER SOUNDS! lol, do i have to do that whole alias cache yadda yadda nonesense stuff to get it working?
like
Code: Select all
local.master = spawn ScriptMaster
local.master aliascache bot_snd_1 sound/vehicle/veh_jeep_idle.wav soundparms 0.5 0.0 1.0 0.0 800 4000 auto loaded maps "dm obj "
local.master aliascache bot_snd_2 sound/vehicle/veh_jeep_move.wav soundparms 0.8 0.0 1.0 0.0 800 4000 auto loaded maps "dm obj "
local.master aliascache bot_snd_3 sound/vehicle/veh_jeep_on.wav soundparms 1.0 0.0 1.0 0.0 800 4000 auto loaded maps "dm obj "
Code: Select all
$bot loopsound bot_snd_3
wait 1
$bot loopsound bot_snd_1
wait 1
$bot stoploopsound
$bot loopsound bot_snd_2
$bot do some stuff
$bot stoploopsound
$bot loopsound bot_snd_1 - HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
nooooooooooooooooooo! i dont want to do that... ok lets see a show of hands, who wants to do it for me? lol
what if I like the sound parms of "lighthouse_run"... is there a standard parm that they all follow? cuz when i do lightnouse_run i dont need to enter the alias caches and stuff and i like the hearing range of it... so is there a set parm for each sound?... are the parms in the uberscript if they dont work w/o the alias cheches in the script? ... know what im asking? lol. any help would be appreciated. Thanks
what if I like the sound parms of "lighthouse_run"... is there a standard parm that they all follow? cuz when i do lightnouse_run i dont need to enter the alias caches and stuff and i like the hearing range of it... so is there a set parm for each sound?... are the parms in the uberscript if they dont work w/o the alias cheches in the script? ... know what im asking? lol. any help would be appreciated. Thanks
the difference between lighthouse_run and the others is that
Code: Select all
aliascache lighthouse_run sound/mechanics/M1_LightTurn.wav soundparms 1.2 0.0 1.0 0.0 500 5000 item loaded maps "m1l3c dm moh obj train"
Btw, if it was just
Code: Select all
aliascache lighthouse_run sound/mechanics/M1_LightTurn.wav soundparms 1.2 0.0 1.0 0.0 500 5000 item loaded maps "m1l3c "
And:
If u like the params of lighthouse_run, then copy them, like:
Code: Select all
aliascache bot_snd_1 sound/vehicle/veh_jeep_idle.wav soundparms 1.2 0.0 1.0 0.0 500 5000 item loaded maps "m1l3c "
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
MWAHHAHAHAHAAH... Wacko, i love you to death... u showed me that the alias cache and the actually sound filename can be different
I just opened up the ubersound, went to edit > find (ctrl + f) typed in the sound file name, and it showed me the alias cache for it
(the filename is one line under the alias cache)... THANK YOU ALL! (speciall you wacko) lol. till next time!
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
ya, now when i add my map to the what exactly do i have to put?
Code: Select all
autoload maps "(single player) (maybe someone elses added map) (what do i put here for mine)"if ur map name was dragon.bsp, you could write
'dragon ' will work for all maps with name mohaa/main/maps/dragon*.bsp, e.g. dragonxy.bsp as well.
'dm ' is for all maps in main/maps/dm, and 'obj ' for all maps in main/maps/obj.
got it?
read the first lines in ubersound.scr, they explain some things u might need.
btw, it's 'auto loaded', 'autoload' is wrong
Code: Select all
auto loaded maps "dragon dm obj "'dm ' is for all maps in main/maps/dm, and 'obj ' for all maps in main/maps/obj.
got it?
read the first lines in ubersound.scr, they explain some things u might need.
btw, it's 'auto loaded', 'autoload' is wrong
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
- HDL_CinC_Dragon
- Brigadier General
- Posts: 574
- Joined: Mon Dec 22, 2003 8:32 pm
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
My last attempt. If u didn't get it now, someone else should try to tell u how it's done. Then I'm probably to stupid
if ur dragon.bsp was in mohaa/main/dm, ... auto loaded maps "dm " would be fine and satisfying.
In the quotes u have to set the mapstrings for the maps u want the sound to be cached for.
A mapstring is the first letters of a map's name including folders, starting from mohaa/main/maps.
"dm " is therefore covering ALL maps in mohaa/main/maps/dm
"dragon " would just cover maps starting with mohaa/main/maps/dragon... and therefore would NOT cover ANY maps in mohaa/main/maps/dm or mohaa/main/maps/obj
"d " ought to be covering ALL maps in mohaa/main/maps/dm and ALL sp-maps in mohaa/main/maps beginning with the d (like dragon
)
[HDL]-{Gen} Dragon wrote:lol, ya ya, auto loaded, auto load same thing lol. ok Thnx... if i dont have a dragon.bsp in obj but i have one in DM, must i still have obj?
In the quotes u have to set the mapstrings for the maps u want the sound to be cached for.
A mapstring is the first letters of a map's name including folders, starting from mohaa/main/maps.
"dm " is therefore covering ALL maps in mohaa/main/maps/dm
"dragon " would just cover maps starting with mohaa/main/maps/dragon... and therefore would NOT cover ANY maps in mohaa/main/maps/dm or mohaa/main/maps/obj
"d " ought to be covering ALL maps in mohaa/main/maps/dm and ALL sp-maps in mohaa/main/maps beginning with the d (like dragon

