OK, I added a airplane to cruze through my map, it works great.
Problem: I add a small box and gave it script/origin and put in this:
#pause/1.5
#set/2
$sound/airplane5
$targetname/bomberspeaker
targetname/t161
Well, not only do I not get my sound but it knocks out my plane!
Is there something I should be adding to me Script !!
Thx
"all the governments in the world are corrupt and in the hands of the Illuminati"
Take out the extra targetname and it should work for the #set 2 plane. The speaker does not have to be targeted by anything. Just place it between the path and where the players will most likely be when it flys by.
Here is a tutorial map that shows a lot of different ways to trigger the plane and how to make it drop bombs and explode things. The .map file is included.
You can make a log of the console by typing "logfile 1" in the console just before you run your map and walk through the arch. That makes a file named qconsole.log in main which you can open with Notepad or Wordpad. If you post the text of the log here, We should be able to see the problem very quickly.
It says here u can't use a script/origin for sound:
Any entity can make a sound (even multiple sounds simultaneously if you want) provided it has a model. This means a script_origin can't emit a sound nor can any of the speaker entities in the Radiant right-click menu. It's common practice to use a script_model with model 'fx/dummy.tik' as invisible speaker entity.
I found that here, on the tutorial???????
Hey Tltrude is that statement correct?
"all the governments in the world are corrupt and in the hands of the Illuminati"
No it is not!!! I use script_origins and script_object brushes with nodraw texture as speakers all the time. Using the speaker entities in the Radiant right-click menu is a bit tricky, but they work too.
Tltrude wrote:
"I use script_origins and script_object brushes with nodraw texture as speakers all the time. "
So....
Hmmmm, do I need to use nodraw texture on my script_origin box?
OK, I did the logfile 1 and the log had well here:
LOCALIZATION ERROR: 'plane2' does not have a localization entry
Have a bunch of these!
And this on the sound:
-----------PARSING UBERSOUND------------
Any SetCurrentTiki errors means that tiki wasn't prefetched and tiki-specific sounds for it won't work. To fix prefetch the tiki. Ignore if you don't use that tiki on this level.
CG_Command_ProcessFile: ubersound/ubersound.scr
Couldn't load sound: sound/null.wav
Couldn't load sound: sound/amb/amb_machineloop_05.wav
Couldn't load sound: sound/mechanics/moh_cello3.wav
Couldn't load sound: sound/mechanics/moh_cello4.wav
Parse/Load time: 7.508000 seconds.
-------------UBERSOUND DONE---------------
"all the governments in the world are corrupt and in the hands of the Illuminati"