Music Trigger
Nov 27 2007, 10:26 am
By: TristanOfVP  

Nov 27 2007, 10:26 am TristanOfVP Post #1



Alright I'm trying to make a trigger that plays music over and over, but I have wait triggers that conflict with the looping of the music. Is there any way you guys know of to do music triggers that loop consistantly and don't create wait blocks?

Any help is appreciated as always.
Thanks.



None.

Nov 27 2007, 11:37 am NudeRaider Post #2

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

You would need hypertriggers and replace the wait with a death counter:

Always -> Subtract 1 death of MUSIC DC for Current Player

Current Player has suffered at most 0 deaths of MUSIC DC ->
Set MUSIC DC of Current Player to x
Play wav

x is the number of seconds the song playes (realtime) x12
=> 60s song -> x = 720




Nov 27 2007, 7:40 pm who Post #3



If you don't have hypertriggers, I believe it'll subtract 1 death about every two seconds.



None.

Nov 28 2007, 8:40 pm Vrael Post #4



Isn't it 1 death every second without hyper triggers? The triggers run once a second without hyper triggers so that probably makes more sense.



None.

Nov 28 2007, 8:45 pm Esponeo Post #5



Quote
Isn't it 1 death every second without hyper triggers? The triggers run once a second without hyper triggers so that probably makes more sense.
Except they don't. They supposedly run once every two seconds.



None.

Nov 29 2007, 5:06 pm NudeRaider Post #6

We can't explain the universe, just describe it; and we don't know whether our theories are true, we just know they're not wrong. >Harald Lesch

Quote from Vrael
Isn't it 1 death every second without hyper triggers? The triggers run once a second without hyper triggers so that probably makes more sense.
Triggers are checked every 2 game seconds, which is about 1,5s realtime on speed 7. PERIOD

Why you ppl always have to post wrong info you even not sure about?!
Like "I have no clue, but I will post a random guess (because it sounds good)" -gj man...
Btw. it would be easy to make a map with a countdown timer and add 1 mins per trigger loop to verify.

PLS DONT POST IF YOU ARE NOT SURE...
thats not helping, thats just confusing.




Nov 29 2007, 10:24 pm TristanOfVP Post #7



I would like to thank NudeRaider, I got it to work, I just have to replace some other triggers with waits to make it wait block free.



None.

Nov 29 2007, 11:25 pm Vrael Post #8



My bad man, just there's not much percieved discrepancy between 1.5s and 1s when a trigger runs once a cycle. Sorry I was wrong.



None.

Nov 30 2007, 12:03 am TristanOfVP Post #9



The timing is kinda wierd I had to play with it, I have a 13 second sound clip and I use 9deaths, that seems to make it loop the best.



None.

Nov 30 2007, 7:55 pm who Post #10



Yeah, since its about 1.5 seconds without hypers (which you don't have), 9*1.5=13.5, which is about the time of your sound clip.



None.

Options
  Back to forum
Please log in to reply to this topic or to report it.
Members in this topic: None.
[2024-5-06. : 5:02 am]
Oh_Man -- whereas just "press X to get 50 health back" is pretty mindless
[2024-5-06. : 5:02 am]
Oh_Man -- because it adds anotherr level of player decision-making where u dont wanna walk too far away from the medic or u lose healing value
[2024-5-06. : 5:01 am]
Oh_Man -- initially I thought it was weird why is he still using the basic pre-EUD medic healing system, but it's actually genius
[2024-5-06. : 3:04 am]
Ultraviolet -- Vrael
Vrael shouted: I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
With the modern EUD editors, I don't think they're calculating nearly as many offsets as you might imagine. Still some fancy ass work that I'm sure took a ton of effort
[2024-5-06. : 12:51 am]
Oh_Man -- definitely EUD
[2024-5-05. : 9:35 pm]
Vrael -- I almost had a heart attack just thinking about calculating all the offsets it would take to do that kind of stuff
[2024-5-05. : 9:35 pm]
Vrael -- that is insane
[2024-5-05. : 9:35 pm]
Vrael -- damn is that all EUD effects?
[2024-5-04. : 10:53 pm]
Oh_Man -- https://youtu.be/MHOZptE-_-c are yall seeing this map? it's insane
[2024-5-04. : 1:05 am]
Vrael -- I won't stand for people going around saying things like im not a total madman
Please log in to shout.


Members Online: C(a)HeK, Roy