Jump to content

Recommended Posts

@SenL, modding a widget into the game isn't too difficult, however, you will also need a component which acts as the go between for the server/client communication for the widget. Check out how the worldresettime.lua and the worldreset widget look like and go from there.

 

There is also a Don't Starve mod on Steam which does exactly what you are wanting to do which might save a lot of time.

Wow I'm still confused.

I have char mod Groot (http://steamcommunity.com/sharedfiles/filedetails/?id=391743403) and he has exp and level.

I want to make a widget to display exp bar, % to level and level.

Shouldn't it be client-only?

 

Any more hints/helps? :) thanks!

Shouldn't it be client-only?

 No, because the experience will exist on the server.

 

Modifying the interface itself can be client-only, but the information you want may be only on the server. Like naughtiness, for example.

Edited by rezecib

Thanks for replies but I'm still drawing a blank.

I'm looking at woodie DST but it's so complicated.

I'm also trying to make sense of this http://forums.kleientertainment.com/topic/48264-net-variable-types-and-sending-data-from-serverhost-to-clients/ 

Any easier mod as example?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
  • Create New...