• Inputted console commands activating file configs?
    2 replies, posted
I'm making a small experimental storytelling mod with the SDK Base 2013, and I want to avoid people bypassing content to see crucial map mechanics. Is there a way to have a command- entered into console -cause a config to be ran that would alter the game, if you would, say, try to turn on sv_cheats 1? (Staying within the boundaries of simple coding) An example of this is The Stanley Parable's "The Serious Ending" [Portal 2 Base]: [url]https://www.youtube.com/watch?v=ItVpipHo81w[/url]
I think using a point_server or clientcommand entity could make that work. The output should be like this, OnTrigger -> Point_server/clientcommand (It does need a name) -> command -> exec 'TheConfig.cfg' Or, OnTrigger -> Point_server/clientcommand (It does need a name) -> command -> Sv_cheats 1
@Wwadlol Your suggestion worked like a charm, I set up a demo as <OnTrigger><playerban [client_servercommand name]><command><quit> I just need to engineer this to fit my level and set it up with a config, thank you very much.
Sorry, you need to Log In to post a reply to this thread.