You can use multiple colors in the same message. You can change the color of the text with the tag. This also means you have to now worry about thread safety. Using the Callback method can help you avoid this issue.Įditing any class property will update it instantly, there is no longer any network messaging involved with the mod. If you try to call a constructor while Heartbeat is false it will lead to a crash. Note before using any class make sure Heartbeat is true. Note: onRegisteredCallback method will be called when the API registers to this mod you can then declare all HUD/Menu elements in that method. TextAPI = new HudAPIv2(onRegisteredCallback) In a Session Component init the mod using the Init Method There is now a new API class that interfaces with this mod you can get it here: ![]() ![]() Graphics update note: Post-Processing causes all HUD API text to be dark and blurry unless it uses the PostPP blendtype.Ĭommon Issue: If the mod is not working delete Steam\steamapps\workshop\content\244850\758597413 to force TextHUDAPI to redownload the latest version from steam. This mod must be loaded along side any other mod that uses it. ![]() Allows modders to add text to the players screen.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |