Thread Tools Display Modes
Prev Previous Post   Next Post Next
Unread 06-07-11, 09:55 PM   #1
hp94
Bomani Harbinger
AddOn Author - Click to view addons
Join Date: Jun 2011
Posts: 5
Creating your own AddOn - Step by Step

How to create your very own addon! Click on the text to get a relevent picture.

Lets look at the Public Test Shard (PTS) RIFT Client you have. You should log in to the character select screen, where you will notice an "AddOns" button.

http://i291.photobucket.com/albums/l...jc/Guide_1.png

Next, click on the "Open Directories" Button.

http://i291.photobucket.com/albums/l...jc/Guide_2.png

Next, lets create a couple of new text files.

http://i291.photobucket.com/albums/l...jc/Guide_3.png

Name those two text files "Core.lua" and "RiftAddon.toc" (RiftAddon.toc has to be exact as far as I know).

http://i291.photobucket.com/albums/l...jc/Guide_4.png

Lets fill the RiftAddon.toc file with some information. Identifiers; Names (Name of the addon); Description (What players see when they highlight it in game); Author (Your name); Version (Any number is fine); Email (Your email, for Trions purposes); Environment (Has to be 1.3 for now); And RunOnStartup (A table including the name of the file to run on startup).

http://i291.photobucket.com/albums/l.../Guide_6_1.png

Next, lets fill up the lua file you made with some lua command. To make it easy, enter print("Hello World!") into the file, then close and save your addon files.

http://i291.photobucket.com/albums/l...jc/Guide_6.png

Next, create a new folder named anything you want, and put the files into that folder (This is in the same directory, this just groups up the two files into one folder, so it is one unique addon).

Lastly, click refresh in game, and view your addon!

http://i291.photobucket.com/albums/l...jc/Guide_7.png

Feel free to leave any questions or comments below, I'll read them and update this 'guide'.
hp94 is offline   Reply With Quote
 

Go BackRiftui » Developer Discussions » Tutorials & Other Helpful Info. » Creating your own AddOn - Step by Step

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off