View Single Post
02/01/15, 12:30 PM   #3
Garkin
 
Garkin's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2014
Posts: 832
Originally Posted by Faugaun View Post
Will my previous coding help me jump into the addons world or am I starting at a very basic level?
Your previous experience will be definitely helpful, because you have an idea how to write code. Now, you have just to learn what are differences between Lua and the language you have used before.
For example: http://www.luafaq.org/gotchas.html

Originally Posted by Faugaun View Post
Is there room for another add-on developer or the table is pretty full ATM?
There is always room for another active addon author.

Originally Posted by Faugaun View Post
A suggestion on a starter add-on to get me up to speed?
It depends what you want to do. If I want to change what is already in UI, I will take a look into the documentation and to EsoUI source code. If I want to add something to the UI, I always check if there is an addon which does similar thing to get reference how it could be done.

Documentation is attached to this posts:
Update 5: http://forums.elderscrollsonline.com/discussion/135893/
Update 6 (PTS): http://forums.elderscrollsonline.com/discussion/148362/

Source:
http://esodata.uesp.net/100010/ (or files EsoUI-1.5.8.zip and EsoUI-1.6-PTS.zip in my Dropbox folder)


Originally Posted by Faugaun View Post
Any other advice you might give a newcomer?
Not really. Just check tutorials here http://wiki.esoui.com/Main_Page, read through code of another addons and try to make some changes. After a while you will have an idea how things work and you can start writing your own addons.

Just a few tips what you should have in mind - if you are going to publish your addons, make sure that they are working alone as well as with other addons. If you are using libraries, do not forget to include them in addon manifest (.txt fle). Make sure that in your code is exposed just what you want to make accessible for other addons, because it will be very difficult to catch bugs when your addon is using global variables which could be easily redefined by another addon. Best practise is making variables and functions local or as keys in one global table.

Originally Posted by Faugaun View Post
Also it seems there are three main file types utilized

.txt (text editor simple)
.lua (looks like this could be done in notepad and saved in the correct format? Is there a better way, especially for debugging etc...?)
.xml (again like lua this seems like notepad and saving in correct file type? But perhaps there is a better way?)

I think that covers it so thanks in advance.
Use some text editor with syntax highlighting, it makes editing code much easier.
Notepad++: http://notepad-plus-plus.org/
PSPad: http://www.pspad.com/
UltraEdit: http://www.ultraedit.com/

Last edited by Garkin : 02/01/15 at 12:33 PM.
  Reply With Quote