Portal - Time slowed down?
Quote from mazk1985 on April 13, 2009, 6:41 pmHMW wrote:Hey guys, I know how to get rid of the sv_cheats message!
- At the start of your map, place a trigger_once. (Or re-use one you already have.)
- Add an OnTrigger output with your point_clientcommand as the target.
- Set the input to "Command" and the parameter to "hud_saytext_time 0". (No quotes.)
The hud_saytext_time variable determines for how long the orange server messages stay on the screen, in seconds. (The default is 12.) So setting it to 0 causes the sv_cheats message to be visible for 0 seconds.
Good find mate. I'll incorporate it rite away
- At the start of your map, place a trigger_once. (Or re-use one you already have.)
- Add an OnTrigger output with your point_clientcommand as the target.
- Set the input to "Command" and the parameter to "hud_saytext_time 0". (No quotes.)
The hud_saytext_time variable determines for how long the orange server messages stay on the screen, in seconds. (The default is 12.) So setting it to 0 causes the sv_cheats message to be visible for 0 seconds.
Good find mate. I'll incorporate it rite away
Quote from Stimich on April 13, 2009, 6:41 pmHMW wrote:Hey guys, I know how to get rid of the sv_cheats message!
- At the start of your map, place a trigger_once. (Or re-use one you already have.)
- Add an OnTrigger output with your point_clientcommand as the target.
- Set the input to "Command" and the parameter to "hud_saytext_time 0". (No quotes.)
The hud_saytext_time variable determines for how long the orange server messages stay on the screen, in seconds. (The default is 12.) So setting it to 0 causes the sv_cheats message to be visible for 0 seconds. THANK YOU going to try it tomorrow, going to bed now, lol thanks man! thank you everyone!
@Solomon:
The "Pitch" setting of sound-emitting entities actually changes the playback speed. Because of the way sound works, playing a sound file faster also raises its pitch. (Exactly like fast-forwarding a cassette tape.) This doesn't matter with normal sound effects in the game; often it's even desirable. (E.g. in case of an engine revving up.)
To change the pitch of music while keeping the speed constant, you need to re-sample it using an audio editing application like Audacity, save it as a new .wav or .mp3 file and use that in your map.
If you want to change one of Valve's stock soundtracks, you need to extract it from the game cache files using GcfScape and distribute the modified version with your map. (And risk getting sued for copyright infringement...)
- At the start of your map, place a trigger_once. (Or re-use one you already have.)
- Add an OnTrigger output with your point_clientcommand as the target.
- Set the input to "Command" and the parameter to "hud_saytext_time 0". (No quotes.)
The hud_saytext_time variable determines for how long the orange server messages stay on the screen, in seconds. (The default is 12.) So setting it to 0 causes the sv_cheats message to be visible for 0 seconds. THANK YOU going to try it tomorrow, going to bed now, lol thanks man! thank you everyone!
@Solomon:
The "Pitch" setting of sound-emitting entities actually changes the playback speed. Because of the way sound works, playing a sound file faster also raises its pitch. (Exactly like fast-forwarding a cassette tape.) This doesn't matter with normal sound effects in the game; often it's even desirable. (E.g. in case of an engine revving up.)
To change the pitch of music while keeping the speed constant, you need to re-sample it using an audio editing application like Audacity, save it as a new .wav or .mp3 file and use that in your map.
If you want to change one of Valve's stock soundtracks, you need to extract it from the game cache files using GcfScape and distribute the modified version with your map. (And risk getting sued for copyright infringement...)
Quote from monkeyman on April 14, 2009, 1:56 ami have an idea of how to speed up/slow down the sound at will...
it depends however on whether in hammer you can set something up to play a sound from a predetermined point... like start the sound file 3 seconds into it...
unfortunately im not at my computer with steam at the moment so i can' have a little play around... but if anyone knows if you can do that then i think i know a way of doing it...edit: realised that the changing pitch thing would probably work anyway from what HMW posted... my idea was more for if u just wanted to change speed and not pitch...
i have an idea of how to speed up/slow down the sound at will...
it depends however on whether in hammer you can set something up to play a sound from a predetermined point... like start the sound file 3 seconds into it...
unfortunately im not at my computer with steam at the moment so i can' have a little play around... but if anyone knows if you can do that then i think i know a way of doing it...
edit: realised that the changing pitch thing would probably work anyway from what HMW posted... my idea was more for if u just wanted to change speed and not pitch...
Quote from Stimich on April 14, 2009, 4:17 pmmonkeyman wrote:i have an idea of how to speed up/slow down the sound at will...
it depends however on whether in hammer you can set something up to play a sound from a predetermined point... like start the sound file 3 seconds into it...
unfortunately im not at my computer with steam at the moment so i can' have a little play around... but if anyone knows if you can do that then i think i know a way of doing it...edit: realised that the changing pitch thing would probably work anyway from what HMW posted... my idea was more for if u just wanted to change speed and not pitch...
if you only changed the speed Glados would sound really stoned... xD haha, so I guess we'll have to change the pitch as well!
it depends however on whether in hammer you can set something up to play a sound from a predetermined point... like start the sound file 3 seconds into it...
unfortunately im not at my computer with steam at the moment so i can' have a little play around... but if anyone knows if you can do that then i think i know a way of doing it...
edit: realised that the changing pitch thing would probably work anyway from what HMW posted... my idea was more for if u just wanted to change speed and not pitch...
if you only changed the speed Glados would sound really stoned... xD haha, so I guess we'll have to change the pitch as well!
Quote from monkeyman on April 14, 2009, 9:02 pmyeah, but it would sound more realistic, plus possibly funnier...
but it would be harder and mabey not possible, so id say just stick with changing pitch thing...
yeah, but it would sound more realistic, plus possibly funnier...
but it would be harder and mabey not possible, so id say just stick with changing pitch thing...
Quote from Stimich on April 15, 2009, 8:25 amLike HMW said: that it would be easier to do those tricky flings, and that's true, but also a chance of doing something else meanwhile while physics is in time stop, watch this vid: http://www.youtube.com/watch?v=Rnu_OLzc ... annel_page or it can also be used, as in the vid, to plan where you shal fling the sphere! or cube..
Like HMW said: that it would be easier to do those tricky flings, and that's true, but also a chance of doing something else meanwhile while physics is in time stop, watch this vid: http://www.youtube.com/watch?v=Rnu_OLzc ... annel_page or it can also be used, as in the vid, to plan where you shal fling the sphere! or cube..
Quote from monkeyman on April 15, 2009, 8:45 amthats cool!
it would be cool if u could kind of toggle between time 'modes'
like mabey have 3 buttons - normal speed, 1/2 speed and stopped...
could make for some interesting puzzles...
thats cool!
it would be cool if u could kind of toggle between time 'modes'
like mabey have 3 buttons - normal speed, 1/2 speed and stopped...
could make for some interesting puzzles...
Quote from Stimich on April 15, 2009, 6:21 pmmonkeyman wrote:thats cool!
it would be cool if u could kind of toggle between time 'modes'
like mabey have 3 buttons - normal speed, 1/2 speed and stopped...
could make for some interesting puzzles...You ment like this? except that I used FastForward instead of normal speed..
it would be cool if u could kind of toggle between time 'modes'
like mabey have 3 buttons - normal speed, 1/2 speed and stopped...
could make for some interesting puzzles...
You ment like this? except that I used FastForward instead of normal speed..
Quote from Stimich on April 15, 2009, 7:09 pmI got a sound effect now for the pause button... or trigger or whatever, I think it's 3 minutes long or something.. but it doesn't stop when i step away from the button! I've put OnEndTouch, Pause, StopSound
but it didn't work... what to do?..
I got a sound effect now for the pause button... or trigger or whatever, I think it's 3 minutes long or something.. but it doesn't stop when i step away from the button! I've put OnEndTouch, Pause, StopSound
but it didn't work... what to do?..
Quote from monkeyman on April 15, 2009, 7:32 pmStimich wrote:You ment like this? except that I used FastForward instead of normal speed..that stop time on is really weird...
i think it basically screw up the game if it stopped the player... i think you'd have to have it just stop the ball...
that stop time on is really weird...
i think it basically screw up the game if it stopped the player... i think you'd have to have it just stop the ball...