Space Engineers

Space Engineers

Text HUD API
Digi 25 Feb, 2018 @ 7:03pm
Space text shadow and immediate draw call
Space text doesn't have a shadow option, would be nice to have one :}

Also, I'm drawing some lines along with the text in Draw() and the text lags behind the lines, most likely because your Draw() executes before my mod's.
I tried setting priority in the session component to 0, 1, 9999 and zero difference.
Maybe add a manual Draw() call for text objects to invoke ourselves in Draw().
< >
Showing 1-4 of 4 comments
DraygoKorvan  [developer] 5 Mar, 2019 @ 9:13pm 
Manual draw was added.
Digi 5 Mar, 2019 @ 9:58pm 
Nice.
However, calling it yields an error:

[07:50:56] ERROR: System.Exception: ModMessageBase-GetMember: MemberEnum out of enumerable range 7 at UIFun.Messagesv2.ModMessageBase.GetMember(Int32 MemberEnum) at UIFun.Messagesv2.ModSpaceMessage.GetMember(Int32 MemberEnum) at UIFun.FontTexture.GetMember(Object arg2, Int32 arg3) at Draygo.API.HudAPIv2.MessageGet(Object BackingObject, Int32 Member) at Draygo.API.HudAPIv2.MessageBase.Draw() at Digi.BuildInfo.Features.BlockInfoAdditions.UpdateDraw()
That is in my local branch so you can't replicate it with my public mod, but it's simply a SpaceMessage to which I call Draw() inside my session's Draw().
Last edited by Digi; 5 Mar, 2019 @ 9:58pm
DraygoKorvan  [developer] 5 Mar, 2019 @ 9:59pm 
hrm, wonder if i missed something ill take a look.
DraygoKorvan  [developer] 5 Mar, 2019 @ 10:06pm 
Fixed, or it should be working now ;)
< >
Showing 1-4 of 4 comments
Per page: 1530 50