🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Supporting Addons + video soon

Published July 07, 2019
Advertisement

I have been working on supporting addons in the game. By allowing players to create addons, it opens up a lot of possibilities and can in fact improve the game experience. Because players might enjoy the information laid out differently, like a minimalist UI, or a more complex one, it is important to give them the space to change the interface.

The devlog video on this topic will be published soon at https://www.youtube.com/channel/UCyOt8sPTqNxRseUzpzUEQQg so stay tuned and hit subscribe + bell icon if you want to follow the devlog.

Lua was a natural choice, because it's a very popular scripting language for this purpose, it has a big community around it, and therefore it is easier to get help. It also makes it easier for existing addon creators to contribute in a familiar, established ground. So I set forth, and added support for basic addons, and currently this is what is supported:

  • get player status (id, name, hp, max hp, energy, max energy)
  • get target status
  • register for experience gain event
  • register for player status update
  • register for target status update (including changing and clearing target)
  • create basic UI elements, like containers, rectangle and labels

Now obviously, this does not allow for spectacular addons, so things for the near future:

  • register for chat message events
  • register for combat activity events
  • register for quest activity events (accept, cancel, collect X, etc)
  • allow use of textures in the UI elements
  • clickable UI elements
  • draggable UI elements
  • drag spells into UI elements (for example, I want to revamp the action bars)

And there is a lot more to it. Here is a short piece of code for an example addon that will appear in the video:

1979008097_Screenshot2019-07-06at14_56_46.png.74e1dd444f7a1173e4b6af2dfe900bea.png

And the resulting addon in the game:

Addons.thumb.png.ffebe77b75e6b50899fa02647c6f0b23.png

Looking forward to have the support for addons more complete and see what comes out from addon creators.

 

0 likes 0 comments

Comments

Nobody has left a comment. You can be the first!
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement