halflife icon indicating copy to clipboard operation
halflife copied to clipboard

Writecfg

Open DeNeDe opened this issue 13 years ago • 5 comments

Writecfg command isn't working. Trying to save the config under a new name, but no new file is appearing in the cstrike folder, i only have the default one and the other one i use.

DeNeDe avatar Feb 16 '13 16:02 DeNeDe

It's inside "cstrike_addon" folder, not "cstrike".

MPNumB avatar Feb 16 '13 22:02 MPNumB

and if i exec it i just do it as always ?

DeNeDe avatar Feb 16 '13 22:02 DeNeDe

Not tried, but I'm guessing that the engine will search multiple mod suffix folders for files to use, in the same way that resources are searched for in the default mod folder "valve" if it's not found in the current mod folder. If this is the case mod folders suffixed "_downloads", "_addon", and "_hd" would be searched -- no idea which order.

Adambean avatar Feb 16 '13 22:02 Adambean

i've tried as usual, exec name.cfg, not error messages.. i guess it works.. but why in the first place it would be in cstrike addon ?

DeNeDe avatar Feb 16 '13 22:02 DeNeDe

] writecfg test test.cfg successfully created! ] exec test.cfg execing test.cfg

Not a bug. More about cstrike_addon you can read here: https://github.com/ValveSoftware/halflife/issues/97#issuecomment-13625293.

vjatseslav avatar Feb 16 '13 22:02 vjatseslav