You need to log in to create posts and topics.

How can I change portal linkage ids in hammer?

I want to be able to change the portal likage id through hammer. I was trying to acomplish this through a point_servercommand entity, however this requires sv_cheats to be enabled. Is there any way to do this without using point_servercommand?

It is possible to change the ids in game, a map I made had fun with this concept.
FreakyChicken's Portals of Doom and Friendship prt1

I can't remember if I put decomplile protection in. But you are welcome to decompile the map and take a look.
https://developer.valvesoftware.com/wiki/Decompiling_Maps

?????????????????????????????TWP Releases | My Workshop

Depending of what you want to do with it.. Do you want to play a coop map solo ? Or to have 4 portals in SP ?
Avoid to use point_servercommand since it has some bugs, use point_clientcommand instead, and i think this one doesn't require cheats enabled

ChickenMobile wrote:
It is possible to change the ids in game, a map I made had fun with this concept.
https://developer.valvesoftware.com/wiki/Decompiling_Maps

Ah, definitely quite a useful asset, and decompile protection is indeed off. Thanks you for this.

Kwinten06 wrote:
Depending of what you want to do with it.. Do you want to play a coop map solo ? Or to have 4 portals in SP ? Avoid to use point_servercommand since it has some bugs, use point_clientcommand instead, and i think this one doesn't require cheats enabled

I was trying to allow the player to use four portals in singleplayer, fortunately, I was able to figure this out on my own. I used a .nut file to force the player to send "sv_cheats 1" and "change_portal_linkage_id 1" to the console. Then I simply hid this chat with another command (which I can't think of right now)