Search the Community
Showing results for tags 'some technical stuff'.
-
Hey guys! What is this topic about, what kind of mod was I aiming (and failing) to create? I use mules in single player, I have a lot of those. Choosing which one to use is a major hassle since I have to scroll down a lot. The normal character select shows you your last played character at the top, followed by those you played before under that. One muling later and all your main (fun) chars are somewhere deep down. Imagine you had a text field where you could enter some letters to filter through those character names. Enter "Charms" or even just "ch" and your select screen shows a list of all characters containing "Charms" (or ch) like "Charms_FRW", "Charms_Skiller", "Charms_Sunder" (, "Witch"). The technical part 1. Using Cask Viewer I can see that in order to add such a button for the text field I'll have to go to data\global\ui\layouts\characterselectpanelhd.json and add it there. I can think of a way of adding another ButtonWidget here between the delete and expansion button, but a preffered access would be like next to the tabs (online/offline) without destroying/resizing the background of the character select. 2. as written in nr. 2; "ButtonWidget". This should be a "TextBoxWidget", but those you can not write into I think? They seem only able to display text (as shown in that same file). Is it necessary to create a whole new widget for that? 3. giving it insanely basic graphics (contrasting white I guess) to just make it work. 4. Adding the code into the correct part to make the changes in the .json viable. Where and how does this work, what kind of variable do you have to sort and select for? Do you need a confirm button to enter your search or even more? The code would be pretty simple with if else. But what do I know -.- Text field = empty -> default sorting and default setting "ch" -> all characters containing "ch" in Alternative to 2. "chad" -> case sensitive, only showing your character named "chad", not "CHADz" or "watched" Sorting; shown search results at the top alphabetically (or sorted) and those not mentioned either out or default after the search result. I have tried myself on this for far too long, and my limited coding knowledge does not get me far either (I can program a calculator in C and work with micro controllers)
-
- qol
- mod request
-
(and 1 more)
Tagged with: