Re: Logic Timers
Posted by Dark|Killer on
Wed Sep 7th 2005 at 9:56am
758 posts
225 snarkmarks
Registered:
Dec 22nd 2004
Occupation: Student
Location: Dubai (Middle East)
Hey all,
In this map of mine, im trying to create certain explosion's sounds
randomly in my map, i triggered the logic timer by a trigger, and
worked with the input and output, but the sounds wont play, its just i
think i messed up some stuff in the input\output thingy..
What i need is just tell me how to make an ambient_generic to play
sound at random times in the map, i dont really want to put triggers
every step to play it right ? so...Just point me to a tut if i missed
one, and uhh, if you know, please inform me XD
.::Dark|Masta::. - One name. One legend.
Re: Logic Timers
Posted by BlisTer on
Wed Sep 7th 2005 at 3:45pm
BlisTer
member
801 posts
1304 snarkmarks
Registered:
Jun 10th 2004
Location: Belgium
i found logic_timers to work without input, they just need to be "start disabled: no". If you want them to fire on random intervals, you'll have to work with "Minimum Random Interval - Use Random Time" or "Maximum Random Interval - Use Random Time" and not fill in a refire interval.
your output should point to the name of your ambient_generic entity, via the OnTimer command. the action should be "Playsound"
You can set the ambient generic to be audible within a certain radius, or everywhere if you check the "play everywhere" flag under the flags tab of your ambient generic. If you want custom sound, you should point to an mp3 or wav that sits under ...sound<yourcustomfolder>
edit: if you want to start the random explosions with a trigger: make the logic_timer disbaled and use your trigger to enable it. If, with that, you want the first explosion to be there at that exact moment, you should also directly trigger the ambient_generic with your trigger
These words are my diaries screaming out loud
Re: Logic Timers
Posted by Dark|Killer on
Wed Sep 7th 2005 at 8:30pm
758 posts
225 snarkmarks
Registered:
Dec 22nd 2004
Occupation: Student
Location: Dubai (Middle East)
Yo hey man it worked, thanks alot, i tweaked it up that i made a
certain light turns on with the explosion sound as if its like glowing
the room from the outside XD
Thanks alot dude
.::Dark|Masta::. - One name. One legend.
Re: Logic Timers
Posted by Dark|Killer on
Wed Sep 7th 2005 at 9:14pm
758 posts
225 snarkmarks
Registered:
Dec 22nd 2004
Occupation: Student
Location: Dubai (Middle East)
I made it, it worked, i even made it through a window with block light
brushes and made a cool effect, and the dust crono seems to be really
nice too gives a cool effect, thanks alot u guys...
So i triggered these:
Lights go off and on
Shakes with each explosions and each explosion got its own sound, thats pretty nice hehe
dust that looks realy really amazing
and thats all XD
Pretty cool, thanks for your help guys
P.S. you should try doing it too, if you i cant give post up the bsp XD
.::Dark|Masta::. - One name. One legend.
Re: Logic Timers
Posted by Crono on
Wed Sep 7th 2005 at 10:25pm
Posted
2005-09-07 10:25pm
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
That'd be cool. I'd like to see the effect in action. And I'm too lazy to do it on my own :razz:
Blame it on Microsoft, God does.
Re: Logic Timers
Posted by BlisTer on
Wed Sep 7th 2005 at 10:44pm
Posted
2005-09-07 10:44pm
BlisTer
member
801 posts
1304 snarkmarks
Registered:
Jun 10th 2004
Location: Belgium
same here :smile: and maybe put your entities for the effect in a small .vmf
These words are my diaries screaming out loud
Re: Logic Timers
Posted by Crono on
Thu Sep 8th 2005 at 11:53am
Posted
2005-09-08 11:53am
Crono
super admin
6628 posts
700 snarkmarks
Registered:
Dec 19th 2003
Location: Oregon, USA
Not quite what I was imagining :biggrin:
Blame it on Microsoft, God does.
Re: Logic Timers
Posted by Dark|Killer on
Thu Sep 8th 2005 at 12:26pm
Posted
2005-09-08 12:26pm
758 posts
225 snarkmarks
Registered:
Dec 22nd 2004
Occupation: Student
Location: Dubai (Middle East)
LOL, fix any bugs and post what you get here :biggrin:
And try doing what you got in your mind (imagination) :razz:
.::Dark|Masta::. - One name. One legend.