Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

Recommended Posts

makar5000    55

Hey everyone! I'm trying to make a widget, that'll show up when some event in the world is pushed. I've made a widget using savindicator.lua, but I don't know how to add it to the player, and how should I open it on some event. Does anybody knows how to do it? 

Thanks for your replies! I can give you elegant skin, if someone'll help me!

My mod is riiiight here:

widget.rar

 

Share this post


Link to post
Share on other sites
makar5000    55

Seriosly? Noone knows how to make simple widget? Is it so hard, or you just ignoring me?

Share this post


Link to post
Share on other sites
Lumina    1,516

As far as i know, widget are hard. Not impossible, but enough to limit the number of people with the knowlegde to help you.

Share this post


Link to post
Share on other sites
Lampofulmine    301

@makar5000 I'm not a DST modder but my team and I did implement a new widget on DS/DLCs. What I can tell you is that instead of basing ours on widget, we based our on a badge. In order to "connect" it to the player we added a few lines of code in a postinit section (which you don't appear to have) where we used the sim.lua to directly attach it to player and the player.lua to call for events and such... Hope this helps !

Share this post


Link to post
Share on other sites
mrboosch    4

@makar5000 @Lampofulmine I have successfully created a widget. I, too, based mine off of badge - and I used netvars to pop the data to it. You should be able to pull down the Tak the Goblin mod to see it, and if you cant, let me know and we can connect via steam.

Share this post


Link to post
Share on other sites