-
I want the warning to appear before you get to the title screen and just say that it has flashing lights but I don't know how to make it actually appear and work correctly. I'm not good with the redirects or putting any custom states, especially not before the title screen. I'm using the mods folder if that changes anthing. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
I assume you're using the current version of Codename for this. There's typically a flag in the modpack configuration for disabling the warning state that gets included when Codename generates the configuration under If I remember correctly, Codename includes a way to directly interact with the vanilla states instead of using custom ones using generic callbacks that may be of use to simplify the process. Do note that they're not the same as state redirects and function more like stage scripts:
In modern Codename, the warning state has been renamed to Using function postCreate() {
disclaimer.text = "poo";
} ![]() Do note, however:
|
Beta Was this translation helpful? Give feedback.
-
![]() I'm getting a problem where after about 39 or 40 characters into the message it turns the text yellow and then turns it back after a certain point. |
Beta Was this translation helpful? Give feedback.
I assume you're using the current version of Codename for this.
There's typically a flag in the modpack configuration for disabling the warning state that gets included when Codename generates the configuration under
data/config/modpack.ini
, listed underDISABLE_WARNING_SCREEN
. You can simply set that tofalse
to enable the warning state.If I remember correctly, Codename includes a way to directly interact with the vanilla states instead of using custom ones using generic callbacks that may be of use to simplify the process. Do note that they're not the same as state redirects and function more like stage scripts: