Hi, i was looking at this thread: [Only registered and activated users can see links. ] , when someone was talking about how annoying it was, that you had to minimize the game everytime you had to read a new step.
So i made an addon :P Its called GuideHelper. It's a box ingame with 2 buttons. A "Back" and "Next" button. It cycles through the steps of a guide. The WoWAddicts lvl 1-6 guide is included. The steps is stored in a LUA file. To make more steps, open the guide ([Only registered and activated users can see links. ]) and make a new .lua file in this format:
Code:
steps = {
[1] = "Step1",
[2] = "Step2",
[3] = "Step3",
[etc..] = "ect..",
[65] = "Thanks for using this guide!"
}
Notice: after the last step, i didn't make a comma. Remember NOT to make a comma there.
After you made that. Save it as(example): Guide lvl X to X.LUA
Place it in your Interface\Addons\Guide\ directory, open your Guide.TOC file. and make the following changes:
Code:
## X-AutoGenerated: true
## X-GeneratorComment: Basic project properties and project files will be automatically added during deployment. Properties added by the user will be copied without changes.
## Interface: 20300
## Title: GuideHelper
## Notes: Make the guides go ingame!
## Author: Jeppe Larsen
## Version: 1.0
Frame.xml
Frame.lua
WoWAddict Dwarf 1 6.lua
Change the red part, to you new file. Example:
Code:
## X-AutoGenerated: true
## X-GeneratorComment: Basic project properties and project files will be automatically added during deployment. Properties added by the user will be copied without changes.
## Interface: 20300
## Title: GuideHelper
## Notes: Make the guides go ingame!
## Author: Jeppe Larsen
## Version: 1.0
Frame.xml
Frame.lua
Guide lvl X to X.lua
[Only registered and activated users can see links. ]
EDIT: Fixed a minor bug. Please download again, for the fully working version.
Screenshot:
Hope you guys can use it
-Blackclown
Last edited by Blackclown666; 05-25-2008 at 01:50 PM..
You can make 2 .lua files for example. And add both in the .TOC file. BUT, the numbers have to be different. For example, you could make a "1 to 6 dwarf.lua" and a "6 to 12 dwarf.lua". Add them both in the TOC, like this:
Code:
## X-AutoGenerated: true
## X-GeneratorComment: Basic project properties and project files will be automatically added during deployment. Properties added by the user will be copied without changes.
## Interface: 20300
## Title: GuideHelper
## Notes: Make the guides go ingame!
## Author: Jeppe Larsen
## Version: 1.0
Frame.xml
Frame.lua
1 to 6 dwarf.lua
6 to 12 dwarf.lua
But, then the 6 to 12 have to continue from the 1 to 6 guide.
Like this
1 to 6 dwarf.lua
Code:
steps = {
[1] = "Go level from 1 to 6",
[2] = "Done :)"
}
Then the 6 to 12 had to be like this:
Code:
steps = {
[3] = "Now you have to level from 6 to 12 ;)",
[4] = "Thanks for using this guide"
}
Hope you understood.
-Blackclown
Last edited by Blackclown666; 05-25-2008 at 01:08 PM..
You can make 2 .lua files for example. And add both in the .TOC file. BUT, the numbers have to be different. For example, you could make a "1 to 6 dwarf.lua" and a "6 to 12 dwarf.lua". Add them both in the TOC, like this:
Code:
## X-AutoGenerated: true
## X-GeneratorComment: Basic project properties and project files will be automatically added during deployment. Properties added by the user will be copied without changes.
## Interface: 20300
## Title: GuideHelper
## Notes: Make the guides go ingame!
## Author: Jeppe Larsen
## Version: 1.0
Frame.xml
Frame.lua
1 to 6 dwarf.lua
6 to 12 dwarf.lua
But, then the 6 to 12 have to continue from the 1 to 6 guide.
Like this
1 to 6 dwarf.lua
Code:
steps = {
[1] = "Go level from 1 to 6",
[2] = "Done :)"
}
Then the 6 to 12 had to be like this:
Code:
steps = {
[3] = "Now you have to level from 6 to 12 ;)",
[4] = "Thanks for using this guide"
}
Hope you understood.
-Blackclown
wow thanks you're really helpful! downloading new version right now!