Config Question

MMZ_TorakMMZ_Torak Join Date: 2002-11-02 Member: 3770Members
<div class="IPBDescription">Simple and quick :)</div> Do all cfg's have to be in the NS directory, and if not, what is the proper syntax to exec them?

Comments

  • UnknownUnknown Join Date: 2002-06-12 Member: 759Members
    exec name_of_config.cfg

    in the console.

    If you are not sure if it will read it, then do (this is an example) exec "C:\Sierra\Half-Life\ns\menu.cfg"
  • Rabid_LlamaRabid_Llama Join Date: 2002-11-02 Member: 4340Members
    <!--QuoteBegin--MMZ>Torak+Feb 10 2003, 09:16 PM--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>QUOTE</b> (MMZ>Torak @ Feb 10 2003, 09:16 PM)</td></tr><tr><td id='QUOTE'><!--QuoteEBegin--> Do all cfg's have to be in the NS directory, and if not, what is the proper syntax to exec them? <!--QuoteEnd--> </td></tr></table><span class='postcolor'> <!--QuoteEEnd-->
    I haven't tested it, but I THINK you can put .cfg files in deeper directories, but not in higher ones. i.e. you can have cfgs in /half-life/ns or /half-life/ns/scripts, but not just /half-life/ or even /windows/ or something. I think they fixed this to stop an exploit that let people overwrite any file on a player's computer through adminmod. Not TOTALLY sure though.
    And "exec whatever.cfg" would execute a config in /half-life/NS, and "exec scripts/whatever.cfg" SHOULD work... I think x.x
  • MMZ_TorakMMZ_Torak Join Date: 2002-11-02 Member: 3770Members
    Thanks, I'll give that a try.
Sign In or Register to comment.