Please or Register to create posts and topics.

Portals on moving surfaces

PreviousPage 3 of 4Next
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.

Wow! That was...uh, yeah. Just, yeah.

Old thread, everyone!

Falsi sumus crusto!
protoborg 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



Also, I made a map just for you! Sunset
Click Here to view my Workshop and play my puzzlemaker maps

Is there no way to hardcode a custom map so the cheat codes dont appear on screen?

Just when I think I understand the system, it changes on me.

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.

My YouTube Channel: https://www.youtube.com/user/Camben24
Aperture Science: We do our science asbestos we can!

I already have that in place, but that yellow message always presents itself in the bottom left corner.

Just when I think I understand the system, it changes on me.

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.

Falsi sumus crusto!

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

Just when I think I understand the system, it changes on me.

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.

i didnt know you could add that many lines in a single command 0_o

Just when I think I understand the system, it changes on me.
PreviousPage 3 of 4Next