world of warcraft programming
I start out to program in world of worldcraft and not sure what tools i need to use without worry about virus.
Is there a IDE i can use with all the tools i need for windows 7? How do i install Lua in windows? |
I use LuaWoW with Notepad++ which is discussed in this thread (a few down from yours :)).
You don't need Lua installed on your system to write WoW AddOns, but if you want it anyway lua.org is where to start. |
Quote:
what this tool call WowLua do?I reading the WoW programming book and tell me i need Lua install but i guest that not true then. |
1 Attachment(s)
To test Lua code outside of WoW, yes you would need a Lua interpreter, but if you're testing your code in WoW itself, you don't. Having said that, if you're learning from scratch via the book, I'd do what it says. :D
WowLua is a WoW-specific syntax highlighting plugin for your text editor. It highlight elements of the WoW API in addition to normal Lua syntax highlighting. I have mine currently set like the Lua highlighting on these forums: |
[quote=Aprikot;231232]To test Lua code outside of WoW, yes you would need a Lua interpreter, but if you're testing your code in WoW itself, you don't. Having said that, if you're learning from scratch via the book, I'd do what it says. :D
WowLua is a WoW-specific syntax highlighting plugin for your text editor. It highlight elements of the WoW API in addition to normal Lua syntax highlighting. I unzip it where all the files go then? |
The Lua for Windows installer is at http://code.google.com/p/luaforwindows/downloads/list. It will install like a normal Windows app (C:\Program Files\, etc.) and will associate .lua files with lua.exe.
This installer also includes SciTE which is a decent text editor that will get you through the book's examples and such. You don't need Notepad++...it's a matter preference. |
Quote:
|
If you ran the Lua for Windows installer it should be at C:\Program Files\Lua\5.1\SciTE\...double click SciTE.exe.
|
Quote:
|
Quote:
Good luck! :) |
Quote:
When you stat out your programs in lua do you need a bang sign like you do in perl? |
Looking at the various addons available will help you see what lua and xml files look like.
|
You should really consider reading your book... ;)
WoW uses Lua as the scripting engine to bring addons "to life", every addon will consist of Lua-code. You don't have to use a bang, 'cause there's no other interpreter working... ;) When starting an addon, simply create a folder in your "Interface\AddOns", name it "MyFirstAddon", create a file inside named "MyFirstAddon.toc", fill the toc with life (see wowpedia.org for this), create a script file "whatever.lua", reference it in the toc and there you go with your Lua-code. The HowTos on wowpedia may be a good starting point, the site helped me through a lot of trouble while starting: http://www.wowpedia.org/HOWTOs Don't forget about the API-documentation there, it's as helpful as the CPAN for Perl. Many code examples, many good hints. |
|
Quote:
Or maybe a guide to make it look awesome ;) Thanks :) |
Quote:
xml Code:
This file will be in Notepad++'s plugins config dir after you install the LuaWoW plug (C:\Users\%me%\AppData\Roaming\Notepad++\plugins\config\ on Windows 7). Install intstructions for LuaWoW itself are at http://code.google.com/p/luawow/wiki/InstallNotepad. You'd just need to open LuaWoW.xml and replace the existing <LexerStyles> code with the above. |
Quote:
So I need to have LuaWoW installed? Isn't there another way? Because, I don't really feel the need for it ;) |
Quote:
|
Quote:
|
Np. I forgot to include that the default foreground color isn't white but rather 229, 229, 229..nice & ez on tha eyez. :cool:
|
All times are GMT -6. The time now is 05:24 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI