Lamias13
(Lamias13)
May 9, 2023, 7:05pm
1
Hello guys,
Many times I have found myself typing a console command, hitting enter, and later realizing I don’t really know how to undo it, if I don’t like it.
Is there any way to undo a console command? Or is there maybe a database with all the default values of each command, so we can revert the changes?
Thanks!
Lamias13
(Lamias13)
May 9, 2023, 7:25pm
4
Thank you, but I don’t have a specific problem.
It’s just that, whenever I watch videos and tutorials, they say “insert the following command”, but they almost never say how to undo it or what is the default value.
So I am afraid to try these commands, because I don’t know how to undo the damage they may cause.
Usually, how to reverse them is obvious. For instance, turning off Lumen
r.DynamicGlobalIlluminationMethod 0
So turning it back on again is
r.DynamicGlobalIlluminationMethod 1
You can find out all the console commands, from the editor help menu
Also, many of them only stay resident until the next editor restart.
Lamias13
(Lamias13)
May 9, 2023, 7:50pm
6
Thank you both for this database!
However, I still see a problem (maybe I am wrong, i don’t know much).
For instance, check the following command:
p.ChaosCloth.UseTimeStepSmoothing
The description says: “Use time step smoothing to avoid jitter during drastic changes in time steps.”
Ok, but how much should I put it? 1? 2? 55? Or if I don’t want it, how do I turn it off?
Some console commands don’t follow the basic “0 disable 1 enable rule”, such as the Force.LOD (which is disabled at -1 if I remember correctly).
Please help out a newbie
Sarlack
(Sarlack)
May 9, 2023, 8:02pm
7
You can add the command without a number and it will log what it is set at and where it was last set from. If you do this you can get the value it is currently at before making a change.
1 Like
Looks like good method above ^
I think that most commands have all options listed in that API. If you found some odd ones that do not, I think just have to google it (if the above method came short).
For instance:
Perhaps reason that isn’t properly documented is because its new or something. But was easy enough to google so not too much time wasted.
1 Like
Lamias13
(Lamias13)
May 10, 2023, 11:56am
9
Thank you all so much!
I think the method that Sarlack suggested is the one that suits me best!
One last question please.
If the console command is set to “true”, how do I turn it to false?
Should I write “False” at the end? Or “true” is 1 and “False” is 0?
Edit: Nvm just returned home and found it. True is 1 and false 0.
Thanks again!!