Page 1 of 2
plane sound / custom tik
Posted: Sun Jul 06, 2003 1:24 pm
by General Death
I followed the tut on Nemesis site on how to add flying planes to your map and everything worked fine but there is no sound to the plane. Whats wrong with his script?
http://users.1st.net/kimberly/Tutorial/plane.htm
When I dl his bsp and scr and run it in mohaa there is no sound also.
Posted: Sun Jul 06, 2003 6:39 pm
by Desert Eagle
For AA or Spearhead? Some of the sounds do not load (tiki) from AA to Spearhead or are overwritten.
Spearhead ubersounds:
// Airplanes
alias plane1 sound/vehicle/M1_PlaneBy.wav soundparms 1.5 0.2 1.0 0.3 600 10000 weapon streamed maps "t dm obj "
alias plane2 sound/vehicle/M1_PlaneBy.wav soundparms 1.5 0.2 1.2 0.3 600 10000 weapon streamed maps "t dm obj "
alias plane3 sound/vehicle/M1_PlaneBy.wav soundparms 1.5 0.2 0.9 0.2 600 10000 weapon streamed maps "t dm obj "
alias plane4 sound/vehicle/M1_PlaneBy.wav soundparms 1.5 0.2 0.8 0.2 500 10000 weapon streamed maps "t dm obj "
AA ubersounds:
alias airplane3 sound/vehicle/M1_PlaneBy.wav soundparms 1.3 0.2 1.0 0.3 600 5000 weapon streamed maps "m5 train"
alias airplane4 sound/vehicle/M1_PlaneBy.wav soundparms 1.3 0.2 1.0 0.3 600 5000 weapon streamed maps "m5 train"
alias airplane5 sound/vehicle/M1_PlaneBy.wav soundparms 1.3 0.2 0.9 0.2 600 5000 weapon streamed maps "dm moh obj train"
alias airplane6 sound/vehicle/M1_PlaneBy.wav soundparms 1.3 0.2 0.9 0.2 500 5000 weapon streamed maps "dm moh obj train"
Posted: Sun Jul 06, 2003 6:50 pm
by General Death
For AA...Spearhead mapping, blah...lol
So what does this mean?
Code: Select all
alias airplane3 sound/vehicle/M1_PlaneBy.wav soundparms 1.3 0.2 1.0 0.3 600 5000 weapon streamed maps "m5 train"
alias airplane4 sound/vehicle/M1_PlaneBy.wav soundparms 1.3 0.2 1.0 0.3 600 5000 weapon streamed maps "m5 train"
alias airplane5 sound/vehicle/M1_PlaneBy.wav soundparms 1.3 0.2 0.9 0.2 600 5000 weapon streamed maps "dm moh obj train"
alias airplane6 sound/vehicle/M1_PlaneBy.wav soundparms 1.3 0.2 0.9 0.2 500 5000 weapon streamed maps "dm moh obj train"
Posted: Sun Jul 06, 2003 6:54 pm
by jv_map
See my ubersound tut

It features a short explanation of the above.
Posted: Sun Jul 06, 2003 7:05 pm
by General Death
will do....now to get lost in ubersound...lol
Posted: Sun Jul 06, 2003 7:30 pm
by Desert Eagle
Yes get very lost....LOL
In my case, my plane's targetname was fighter
for aa:
$fighter playsound airplane5
for sp:
$fighter playsound plane1
Posted: Sun Jul 06, 2003 7:32 pm
by General Death
So am I to edit the models tiki and add the info to direct it to the sound I want or create a seperate tiki? If I create a seperate one how does it know when to start when the plane flys in and then stop when the plane is gone?
Posted: Sat Jul 12, 2003 12:45 am
by General Death
ok....what do I have wrong???
Code: Select all
/*
Vehicle sounds + weapons
========================
-King Tiger Tank
-Tiger Tank
-Sherman Tank
-Halftrack
-Jeep
-Opel Truck
-Planes
-Trains
-King Tiger Cannon
-Tiger Cannon
-Flak 88
================================
Ubersound TIKI fix method element
by jv_map 10-12-2002 v1.0
=================================
Unknown - compartimented
*/
TIKI
setup
{
path models/fx/dummy
skelmodel dummy3.skd
}
init
{
server
{
classname ScriptModel
rendereffects +dontdraw
notsolid
}
client
{
settiki none
//================================================================================
// VEHICLES
//================================================================================
/*
//planes
alias Zeroflyby sound/Zeroflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 weapon streamed maps "midway"
alias corsairflyby sound/corsairflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 weapon streamed maps "midway"
*/
}
}
animations
{
idle dummy3.skc
}
with this error:
Code: Select all
ERROR:Entity:sound: Zeroflyby Alias does not exist in ubersound or uberdialog error
ERROR:Entity:sound: corsairflyby Alias does not exist in ubersound or uberdialog error
Posted: Sat Jul 12, 2003 2:44 am
by Alcoholic
the /* before the lines and the */ after the lines comment everything in between. remove those.
plane
Posted: Sat Jul 12, 2003 6:58 am
by tltrude
You did not read the tutorial very well. The plane does not play the sound.
1. You need to add a script_origin near the plane's path and give it a targetname "bomberspeaker" and it must have the same #set number as first node in the the path.
2. Add the following key/value:
Key: sound
Value: airplane5
3. Place it near the path where players are most likely to be and the bomber script will set it off when the plane goes by it.
4. You can also set a #pause number to delay the sound in the bomberspeaker's entity properties.
So, you don't need an ubersound workaround, or anything in your script for the sound. Another good sound is "m1l3b_stuka_strafing_run".
Here is the URL to download the above tutorial map:
http://pages.sbcglobal.net/tltrude/Temp/test_bomber.zip
Posted: Sat Jul 12, 2003 11:06 am
by General Death
I did do that tltrude
I need custom sounds therefor I thought custom tik was the way to go.
Alcoholic, ill try that next

Posted: Sun Jul 13, 2003 3:57 am
by tltrude
Desert Eagle wrote:Yes get very lost....LOL
In my case, my plane's targetname was fighter
for aa:
$fighter playsound airplane5
for sp:
$fighter playsound plane1
Sorry, I was looking at the above post. After you take out those /* things around the aliascache lines, you should be able to put key: sound and value: Zeroflyby for the sound entity.
Posted: Sun Jul 13, 2003 2:41 pm
by General Death
New tik:
Code: Select all
TIKI
setup
{
path models/fx/dummy
skelmodel dummy3.skd
}
init
{
server
{
classname ScriptModel
rendereffects +dontdraw
notsolid
}
client
{
settiki none
//================================================================================
// VEHICLES
//================================================================================
//planes
alias Zeroflyby sound/Zeroflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 weapon streamed maps "midway"
alias corsairflyby sound/corsairflyby.wav soundparms 1.3 0.2 1.0 0.3 600 5000 weapon streamed maps "midway"
}
}
animations
{
idle dummy3.skc
}
error:

Posted: Sun Jul 13, 2003 2:46 pm
by General Death
I even tried replaceing alias with aliascache....with same error
This is turning into a nightmare

Posted: Sun Jul 13, 2003 3:11 pm
by jv_map
If your map is a multiplayer map, the part behind 'maps' should read "obj dm".
I think the ubersound system was designed to give us nightmares
