#So I finally got to play with this and

1 messages ยท Page 1 of 1 (latest)

lofty temple
#

Ello!
So, even on a new, completely empty project all variables return 0?
And are you on experimental or stable?

copper flame
#

I have my custom variables.conf like this:

#

And AudioSystem.GetVariableValue("testvar", "{75083726724E4AFC}variables.conf") returns 0.
GetVariableIDByName returns -1

#

Does the file have to be in a certain folder?

copper flame
#

So turns out if I restart the Workbench after doing any edits to audio variables conf files, it seems to work, at least overriding GlobalVariables and adding my own

#

I guss I will just do that for now as it is the only way I got it working somewhat

lofty temple
daring drift
#

Just attempted this as well, and getting -1 as the ID return, and 0 as the value return. I also restarted WB.

copper flame
daring drift
#

You may want to start your own thread or post in the main Audio Text Chat. This is a thread about Audio Variables we're pending info on.

daring drift
#

No problem! Best of luck

gusty pier
daring drift
humble hearth
#

@lofty temple same here ๐Ÿ˜ฆ custom configs do not work and even if you add new vars to the GlobalConf. - VON ACP

lofty temple
#

Aw shucks, I honestly forgot about it despite making a note. Appreciate the reminder, I'll look into it this or the next week, pinky-promise. Been full two weeks, in a good way. :)

copper flame
#

Thanks!
I hope it has been in such a good way, that my project of making building VON occlusion depend on line of sight raycast between players not needed anymore ๐Ÿ˜‰

lofty temple
#

Holaaa!
Does this still happen on 1.4?

I just overrode GlobalVariables.conf in a new mod on the Stable Tools and added a new Variable. Seems to... work? (GTestVar at the bottom)
(If not, quick step-by-step repro would be neat!)

humble hearth