View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000408||Server||Server||public||2022-06-17 12:12||2023-02-01 02:03|
|Summary||0000408: Dynamic CVars|
(Originally suggested by PerikiyoXD)
Scripting API has some specialized functions for on-the-fly toggling:
Another approach could be:
|Tags||No tags attached.|
This would also require resyncing the updated CVar to the client.
The effects of some cvars may not be able to be changed without a reload of the game, so those might need to be marked as read-only somehow.
CVars are set once but those might be set only by the server on demand. Compatibility or stability might depend on the CVar.
So I'm thinking that a "read-only" state to the CVar system in Galactic might solve this issue
The internal function to set a CVar:
Perhaps a 4th arg like
And an internal util function would be helpful:
This way we can have a