Please or Register to create posts and topics.

Portal - Time slowed down?

PreviousPage 3 of 4Next
HMW wrote:
Hey guys, I know how to get rid of the sv_cheats message!

  1. At the start of your map, place a trigger_once. (Or re-use one you already have.)
  2. Add an OnTrigger output with your point_clientcommand as the target.
  3. 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. :D

Good find mate. I'll incorporate it rite away

HMW wrote:
Hey guys, I know how to get rid of the sv_cheats message!

  1. At the start of your map, place a trigger_once. (Or re-use one you already have.)
  2. Add an OnTrigger output with your point_clientcommand as the target.
  3. 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. :D THANK YOU :D going to try it tomorrow, going to bed now, lol thanks man! :) thank you everyone! :D

@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...:|)

This is my signature.

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...

monkeyman 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!

This is my signature.

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...

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..

This is my signature.

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...

monkeyman 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..

http://www.youtube.com/watch?v=cnia5_ZEguY

This is my signature.

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?..

This is my signature.
Stimich wrote:
You ment like this? except that I used FastForward instead of normal speed..

http://www.youtube.com/watch?v=cnia5_ZEguY

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...

PreviousPage 3 of 4Next