Jump to content

possible to set character limit for events?


D4n

Recommended Posts

As you can see in this image, the line starts at around 2/5th of the screen.

 

attachment.php?attachmentid=179146&stc=1&d=1518663240

 

 

 

Is it possible to change the character limit so it gets divided into 2 lines, like here?

 

 

attachment.php?attachmentid=179147&stc=1&d=1518663348

Screen_180213_190759.thumb.png.3a1753bbf14546182cdc55acc3c52163.png

2020267394_Screen_180213_190759-Kopie.thumb.png.12cac89b4bb89e315eaef910d3f00cfe.png

DCS Wishlist: 2K11 Krug SA-4 Ganef SAM, VR-TrackIR icons next to player names in score-chart

PvP: 100+ manual player-kills with Stingers on a well known dynamic campaign server - 100+ VTOL FARP landings & 125+ hours AV-8B, F-14 crew, royal dutch airforce F-16C - PvP campaigns since 2013

DCS server-admins: please adhere to a common sense gaming industry policy as most server admins throughout the industry do. (After all there's enough hostility on the internet already which really doesn't help anyone. Thanks.)

Dell Visor VR headset, Ryzen 5 5600 (6C/12T), RTX 2060 - basic DCS-community rule-of-thumb: Don't believe bad things that a PvP pilot claims about another PvP pilot without having analyzed the existing evidence

Link to comment
Share on other sites

Yeah you can, but it would still display the "text box" as mostly empty space due to the fact you can't control its size. In terms of limiting the text per line it is entirely down to string manipulation within lua.

 

For instance getting the length of a string, check if it is above a limit, find the first word above/below the limit, insert a line break, and repeat for each potential line.

The right man in the wrong place makes all the difference in the world.

Current Projects:  Grayflag ServerScripting Wiki

Useful Links: Mission Scripting Tools MIST-(GitHub) MIST-(Thread)

 SLMOD, Wiki wishlist, Mission Editing Wiki!, Mission Building Forum

Link to comment
Share on other sites

ok so the black box size is hardcoded by ED? What about text letter size?

DCS Wishlist: 2K11 Krug SA-4 Ganef SAM, VR-TrackIR icons next to player names in score-chart

PvP: 100+ manual player-kills with Stingers on a well known dynamic campaign server - 100+ VTOL FARP landings & 125+ hours AV-8B, F-14 crew, royal dutch airforce F-16C - PvP campaigns since 2013

DCS server-admins: please adhere to a common sense gaming industry policy as most server admins throughout the industry do. (After all there's enough hostility on the internet already which really doesn't help anyone. Thanks.)

Dell Visor VR headset, Ryzen 5 5600 (6C/12T), RTX 2060 - basic DCS-community rule-of-thumb: Don't believe bad things that a PvP pilot claims about another PvP pilot without having analyzed the existing evidence

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...