Jump to content
The Dark Mod Forums

Recommended Posts

Posted

How can random configuration settings be made permanent? When I add something like

 

seta pm_bobroll "0.0"

 

to DarkMod.cfg, it just gets deleted the next time the file is written.

  • Like 1
Posted (edited)

Nope, that doesn't work if I put pm_bobroll or pn_jumpheight in autoexec.cfg (or autocommands.cfg), On the console I can see that both files have been read, and if I look at DarkMod.cfg I see that my custom settings have been saved at the end of the file. But still, the game just uses the default settings until I re-execute the settings from the console. :-/

 

To me that looks like the defaults are set only after the config files have been loaded.

Edited by Luthien
Posted

(most) Defaults are set basically as soon as the engine and game start since they are specified in the CVAR definitions. The default and auto configs are meant to be loaded next, followed by Darkmod.cfg. I'll throw this onto the bug tracker for investigation after work (if I remember - poke me if I don't). Logged as #3691

I am the bat. The night is mine.

  • 8 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • cvlw

      Yo TDMers.
      It has been a while.  This past year or so I have encountered some tough family issues, became a grandfather, had a job change, and then Steam offered Dishonored and Dishonored 2 along with all DLC for like 5 dollars.  So... have played that.  What a game; highly recommend.
      I am looking to resume TDM activity soon.
      Clint
      · 0 replies
    • Airship-Ballet

      If anyone would like some ambient sounds for any of their work please do hit me up - I've tons of strings both physical and sampled that I love making loops with
      · 1 reply
    • Ansome

      While updating my first FM, I noticed a lot of silly things I did because I was still new to DR. For example, there was a model for a wheel that I wanted the player to be able to turn that had its origin off-center. I didn't know I could just re-export the model inside DR to fix its origin, so instead that wheel triggers a func_mover it's bound to. A silly solution in retrospect, has anyone else made somewhat janky or roundabout solutions to technical challenges in their maps? I'd love to hear about 'em!
      · 5 replies
    • datiswous

      If you use DarkRadiant in Linux while using a dark theme, a large amount of the icons are hard to see, because it's dark-color on dark background (wish DR darkmode was a little less dark). A workaround is switching to a light theme when using DR. I'm using XFCE as DE, so I made this script (mostly copied from this code), which works as a toggle. Then I set it to a keyboard shortcut. The switch works even when DR is already opened.
      current_theme=$(xfconf-query -c xfwm4 -p /general/theme) if [[ $current_theme == 'Adwaita-dark' ]]; then xfconf-query -c xsettings -p /Net/ThemeName -s 'Mint-X-Grey' xfconf-query -c xfwm4 -p /general/theme -s 'Mint-X-Grey' else xfconf-query -c xsettings -p /Net/ThemeName -s 'Adwaita-dark' xfconf-query -c xfwm4 -p /general/theme -s 'Adwaita-dark' fi This only works for the XFCE DE though.
      · 0 replies
×
×
  • Create New...