# changing Text via GUS.ini in a widget

**URL:** <https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009>\
**Category:** ARK: Survival Evolved\
**Tags:** unreal-engine, Ark:-Survival-Evolved, Modding\
**Created:** [May 13, 2017, 7:34am UTC](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009 "2017-05-13T07:34:51Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [May 19, 2017, 1:31am UTC](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009/22 "2017-05-19T01:31:38Z")

</div>

> [@camillo91;710889](#):
>
> i already use the code from your first post for a new line.  
> tab1 and tab2 working fine, but for the other tabs (string too long) i have no solution

I’m referring to defining a new line in the .ini. What is written in your .ini? Maybe you should try everything as the variable name, so:

[TabContent3]  
TabTide1=TabTide1  
TabTxt1=TabTxt1

Just keep it short and make sure everything lines up. I’ve never seen “string too long” so it makes me think something isn’t right. Also, you don’t have to keep recasting to the gamemode. If you want it to simply look neat, just promote it to a variable and call the variable again to make it neater. I’d also just throw a failsafe in there on the gamemode cast, just a simple print string, so that the string is printed instead of crashing you when the gamemode can’t be casted to.

---

<div class="post-metadata">

**Author:** ![camillo91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@camillo91](https://forums.unrealengine.com/u/camillo91)\
**Post date:** [May 19, 2017, 8:58am UTC](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009/23 "2017-05-19T08:58:30Z")

</div>

[http://fs5.directupload.net/images/user/170519/temp/tppi53m8.png](http://www.directupload.net/file/u/29555/tppi53m8_png.htm)

---

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [May 19, 2017, 6:58pm UTC](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009/24 "2017-05-19T18:58:15Z")

</div>

Does it crash in the buff when getting the string, or when opening the widget, or when setting the text in the widget? You should disable the open widget part and just check this in pieces.

---

<div class="post-metadata">

**Author:** ![camillo91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@camillo91](https://forums.unrealengine.com/u/camillo91)\
**Post date:** [May 19, 2017, 7:11pm UTC](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009/25 "2017-05-19T19:11:52Z")

</div>

it chrashes a few seconds after the get tab3 part. just for testing i removed the nodes after “get tab3 txt1” and splitted the txt1 after 838 chars (txt1 now 838 chars and txt12 now 656 chars. it wont crash.

[http://fs5.directupload.net/images/user/170519/temp/j6d77stv.png](http://www.directupload.net/file/u/29555/j6d77stv_png.htm)

[http://fs5.directupload.net/images/user/170519/temp/podrgxwm.png](http://www.directupload.net/file/u/29555/podrgxwm_png.htm)

[http://fs5.directupload.net/images/user/170519/temp/6fkb6mw5.png](http://www.directupload.net/file/u/29555/6fkb6mw5_png.htm)

its kinda a way to go…but it looks bad and its a dirty way 😕

---

<div class="post-metadata">

**Author:** ![Huston850](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Huston850](https://forums.unrealengine.com/u/Huston850)\
**Post date:** [May 19, 2017, 8:20pm UTC](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009/26 "2017-05-19T20:20:45Z")

</div>

> [@camillo91;711323](#):
>
> it chrashes a few seconds after the get tab3 part. just for testing i removed the nodes after “get tab3 txt1” and splitted the txt1 after 838 chars (txt1 now 838 chars and txt12 now 656 chars. it wont crash.
> 
> [http://fs5.directupload.net/images/user/170519/temp/j6d77stv.png](http://www.directupload.net/file/u/29555/j6d77stv_png.htm)
> 
> [http://fs5.directupload.net/images/user/170519/temp/podrgxwm.png](http://www.directupload.net/file/u/29555/podrgxwm_png.htm)
> 
> [http://fs5.directupload.net/images/user/170519/temp/6fkb6mw5.png](http://www.directupload.net/file/u/29555/6fkb6mw5_png.htm)
> 
> its kinda a way to go…but it looks bad and its a dirty way 😕

Just use

Tab3Part1  
Tab3Part2  
Tab3Part3

Etc.

---

<div class="post-metadata">

**Author:** ![camillo91](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@camillo91](https://forums.unrealengine.com/u/camillo91)\
**Post date:** [May 19, 2017, 8:29pm UTC](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009/27 "2017-05-19T20:29:09Z")

</div>

could name it this way, but it wouldnt be clean like in one textblock. dont want to use multiple parts for one real textpart. there has to be a way to realize it with one textblock (in zelur [Steam Workshop::Universal Server UI (Zelur)](https://steamcommunity.com/sharedfiles/filedetails/?id=716327557) it works).

---

<div class="post-metadata">

**Author:** ![SkyeEden](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/skyeeden/32/1116094_2.png) [@SkyeEden](https://forums.unrealengine.com/u/SkyeEden)\
**Post date:** [March 9, 2022, 9:29pm UTC](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009/28 "2022-03-09T21:29:00Z")

</div>



[Previous page](https://forums.unrealengine.com/t/changing-text-via-gus-ini-in-a-widget/92009.md?page=1)
