Skip to content

= Small mods that change the visuals =

User Avatar
#313
Auto-translated
Mооnst@r
Do you have any ideas on how to implement text wrapping in a mod when the game window is resized, as shown in my screenshots?
There's more to it – understanding how to do it, because there's a reason why settings like LowerMargin and UpperMargin still exist in the files. First, you need to look (in the "Shared" files) at the coordinates and sizes of the existing "windows" and textures in the game (you can move them around a bit). After determining where and how everything is located, you can set the size and position of the desired "texture, window, or text element" within the boundaries that don't overlap with existing "textures, windows, and text elements" (sometimes they are hidden until a certain time). In general, this can be described in detail and tediously, so here's a brief explanation: you need to set the size of "HeroText" (based on a resolution of 1024x768), since it is located at the bottom, set VerAllign = EPA_HIGH_END, set an offset in "Position" along the Y-axis with a "-" sign, set "HorAllign" = EPA_MARGIN, and also set offsets along the X-axis in LowerMargin and UpperMargin, and you will be HAPPY
Грешить, злодействовать, а равно и делать добро или совершать подвиги надо без натуги. А если с натугой — то лучше не надо.
К. Прутков-инженер. Мысль № 77.
Многие вещи нам непонятны не потому, что наши понятия слабы; но потому, что сии вещи не входят в круг наших понятий.
© Козьма Прутков