Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Last Portal 2 patch #6093

Closed
alph312a opened this issue Jun 21, 2024 · 1 comment
Closed

Last Portal 2 patch #6093

alph312a opened this issue Jun 21, 2024 · 1 comment

Comments

@alph312a
Copy link

alph312a commented Jun 21, 2024

the last patch of the game make vscript making for coop impossible simple commands like "sv_cheats 1", "sv_cheats 0", "ent_setpos", "ent_setang", "ent_setname", "ent_remove", "ent_remove_all", "mat_ambient_light_r/g/b ", "SendToConsole", "say" now not work by use mapspawn.nut file (as host).
these basic lines not work:
EntFire("example_trigger", "AddOutput", "OnTrigger @ command:command:sv_cheats 1::");
SendToConsole("say blah")
EntFire("trigger1", "AddOutput", "OnStartTouch @ command:command:say blah")
SendToConsole("ent_remove_all block_boxes");
EntFire("trigger1", "AddOutput", "OnStartTouch @ command:command:ent_remove_all block_boxes");
(output was add but when trigger was activated its not running the output)
error on console
FCVAR_SERVER_CAN_EXECUTE prevented server running command:sv_cheats

some elements has a standard name like "trigger_once" and so i cant remove then or set some different pos or add outputs. by use script line like so:
SendToConsole("ent_setpos 23 -2 -4 60");
EntFire("@ command:command:ent_setpos 23 -2 -4 60");
these commands work fine:
EntFire("prop_name1", "enable", 1)
EntFire("prop_name1", "setlocalorigin", "x y z");

errorsaa

@kisak-valve
Copy link
Member

Hello @alph312a, this issue is already being tracked at ValveSoftware/portal2#436. Closing as a duplicate.

@kisak-valve kisak-valve closed this as not planned Won't fix, can't repro, duplicate, stale Jun 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants