Portals on moving surfaces
Quote from protoborg on November 16, 2012, 9:59 amBenVlodgi wrote:...
you should do this on the map startup
sv_cheats 1
*allow mobile portals*
sv_cheats 0
...Actually, it needs to be "sv_allow_mobile_portals 1" without the quotation marks. If you simply enter the command it won't do anything. Cheat codes in Portal 2 are variables that have to be set to something. In this case, it is a Boolean that needs to be set to 1 or 0. When it is set to 1, you CAN have portals move. The default is to have it set to 0, which means that you can NOT have moving portals.
you should do this on the map startup
sv_cheats 1
*allow mobile portals*
sv_cheats 0
...
Actually, it needs to be "sv_allow_mobile_portals 1" without the quotation marks. If you simply enter the command it won't do anything. Cheat codes in Portal 2 are variables that have to be set to something. In this case, it is a Boolean that needs to be set to 1 or 0. When it is set to 1, you CAN have portals move. The default is to have it set to 0, which means that you can NOT have moving portals.
Quote from FelixGriffin on November 16, 2012, 5:58 pmOld thread, everyone!
Old thread, everyone!

Quote from BenVlodgi on November 16, 2012, 7:16 pmprotoborg wrote:BenVlodgi wrote:...
you should do this on the map startup
sv_cheats 1
*allow mobile portals*
sv_cheats 0
...Actually, it needs to be "sv_allow_mobile_portals 1" without the quotation marks. If you simply enter the command it won't do anything. Cheat codes in Portal 2 are variables that have to be set to something. In this case, it is a Boolean that needs to be set to 1 or 0. When it is set to 1, you CAN have portals move. The default is to have it set to 0, which means that you can NOT have moving portals.
I know, but when I posted it I didn't feel like looking up the actual command
you should do this on the map startup
sv_cheats 1
*allow mobile portals*
sv_cheats 0
...
Actually, it needs to be "sv_allow_mobile_portals 1" without the quotation marks. If you simply enter the command it won't do anything. Cheat codes in Portal 2 are variables that have to be set to something. In this case, it is a Boolean that needs to be set to 1 or 0. When it is set to 1, you CAN have portals move. The default is to have it set to 0, which means that you can NOT have moving portals.
I know, but when I posted it I didn't feel like looking up the actual command
Quote from Fracture on February 1, 2013, 12:01 amIs there no way to hardcode a custom map so the cheat codes dont appear on screen?
Is there no way to hardcode a custom map so the cheat codes dont appear on screen?
Quote from CamBen on February 1, 2013, 1:11 amJust enable cheats real quick and disable, unless it is coop, then that won't work. I had to turn on developer mode for a few seconds in my gravity gun map, nothing too noticeable happened in that time.
Just enable cheats real quick and disable, unless it is coop, then that won't work. I had to turn on developer mode for a few seconds in my gravity gun map, nothing too noticeable happened in that time.
Aperture Science: We do our science asbestos we can!
Quote from Fracture on February 1, 2013, 1:38 amI already have that in place, but that yellow message always presents itself in the bottom left corner.
I already have that in place, but that yellow message always presents itself in the bottom left corner.
Quote from FelixGriffin on February 1, 2013, 8:27 amThere's a command that I can never remember the name of, I think it's hud_saytime, which controls how long the yellow text appears for.
There's a command that I can never remember the name of, I think it's hud_saytime, which controls how long the yellow text appears for.
Quote from Fracture on February 1, 2013, 9:59 pmgot it!! So for future referance to anyone
LOGIC_AUTO
onmapspawn - @command - command - sv_cheats 1
onmapspawn - @command - command - hud_saytext_time 0
onmapspawn - @command - command - sv_allow_mobile_portals 1
onmapspawn - @command - command - sv_cheats 0make sure to separate the 'cheat' outputs by a microsecond from the 'saytext' and 'mobileportal' lines so they can take effect
got it!! So for future referance to anyone
LOGIC_AUTO
onmapspawn - @command - command - sv_cheats 1
onmapspawn - @command - command - hud_saytext_time 0
onmapspawn - @command - command - sv_allow_mobile_portals 1
onmapspawn - @command - command - sv_cheats 0
make sure to separate the 'cheat' outputs by a microsecond from the 'saytext' and 'mobileportal' lines so they can take effect
Quote from Sprowl on February 1, 2013, 10:23 pmYou can also write that in one output:
OnMapSpawn - @command - Commmand - sv_cheats 1; hud_saytext_time 0; sv_allow_mobile_portals 1; sv_cheats 0
This way you don't need to worry about delays.
You can also write that in one output:
OnMapSpawn - @command - Commmand - sv_cheats 1; hud_saytext_time 0; sv_allow_mobile_portals 1; sv_cheats 0
This way you don't need to worry about delays.
Quote from Fracture on February 1, 2013, 10:30 pmi didnt know you could add that many lines in a single command 0_o
i didnt know you could add that many lines in a single command 0_o