lua editing programs

BJHBnade_spammerBJHBnade_spammer Join Date: 2005-02-25 Member: 42431Members
<div class="IPBDescription">what do you use or your opinions</div>i am installing lua for windows what is your guys recommended settings?

what library's do you recommend to use?

any tutorials for setting it up for use in modding ns2?

Comments

  • MCMLXXXIVMCMLXXXIV Join Date: 2010-04-14 Member: 71400Members
    I've found that Notepad++ is pretty good when I'm editing just one file.

    Otherwise, it's got to be Decoda - you can use it to edit the lua then step through the code in-game!
  • HakujinHakujin Join Date: 2003-05-09 Member: 16157Members, Constellation
    I use e-texteditor, which is basically textmate for windows. I'm interested to know more about the Decoda-NS2 integration though. Where can I find info on this capability?
  • SparkyMcSparksSparkyMcSparks Join Date: 2010-04-12 Member: 71347Members
    edited April 2010
    <a href="http://www.unknownworlds.com/decoda/videos/" target="_blank">http://www.unknownworlds.com/decoda/videos/</a>
    Follow that video, but change the paths to NS2 and in the command line add in the command to launch your mod.

    If you used Visual Studio before it's the same interface for the most part, you can add in break points and check values with the watch window, if you get runtime errors you can break and check values of everything in your script at that point in time, can manage your project, etc...
  • DixieWolfDixieWolf Join Date: 2010-02-10 Member: 70508Members
    <!--quoteo(post=1768036:date=Apr 20 2010, 04:47 PM:name=MCMLXXXIV)--><div class='quotetop'>QUOTE (MCMLXXXIV @ Apr 20 2010, 04:47 PM) <a href="index.php?act=findpost&pid=1768036"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->I've found that Notepad++ is pretty good when I'm editing just one file.

    Otherwise, it's got to be Decoda - you can use it to edit the lua then step through the code in-game!<!--QuoteEnd--></div><!--QuoteEEnd-->
    np++ all the way! that's what i've been using, and it works pretty well. NP++ comes with lua as a supported language by default, so it automatically recognizes lua syntax and allows for collapsing/expanding functions/statement groups. The only problem is that it doesn't recognize Spark's C-style comments, because they technically aren't valid lua, but that's okay. Everything still works, and looks okay as far as highlighting/syntax grouping
  • Dalin SeivewrightDalin Seivewright 0x0000221E Join Date: 2007-10-20 Member: 62685Members, Constellation
    I use ConTEXT with a Lua syntax highlighter. I have an Environment Command so I can press F5 (or whatever Function key I have it bound to) and it will call lua.exe with the filename of the file that is currently selected. You can also catch output, which is far better than Lua opening up in that lousing command prompt.

    The only libraries I've ever used were some for database connectivity, GUI and thats pretty much it. Lua for Windows does get built with some pretty spiffy external libraries though, so you shouldn't need to get a library from somewhere else, unless it covers a need that isn't already covered.
  • SN.WolfSN.Wolf Join Date: 2010-03-29 Member: 71115Members
    i always used crimson editor but np++ sounds like a worth while investigation
  • rutixrutix Join Date: 2006-11-02 Member: 58208Members
    I'm using decoda :D. But before i was using that i used notepad++
  • FehaFeha Join Date: 2006-11-16 Member: 58633Members
    I use notepad++
    I love how it stores the different files in different tabs, that you can download several kind of syntax highlightning (I use a gmod lua highlightning normally), and several other nifty features ;).

    Going to check out decoda though.
  • crodecrode Join Date: 2002-11-09 Member: 7876Members
    Ive never used Notepad++ bit I use UltraEdit. It isnt free though. It can be use coloured context for a variety of text coding.
  • RobBRobB TUBES OF THE INTERWEB Join Date: 2003-08-11 Member: 19423Members, Constellation, Reinforced - Shadow
    Notepad 2. It's based on an open source Notepad replacemant, maybe even np#, but I aint sure.
    I use it for all my writing that has not to be formated for printing / official affairs.
  • MCMLXXXIVMCMLXXXIV Join Date: 2010-04-14 Member: 71400Members
    edited June 2010
    Finding Decoda to be great for getting my mod going - although it doesn't have a full "Find in files" function, for which I'm having to rely on Notepad++ (very useful while the scripting documentation is so bare!)

    I can't find any documentation on what the command-line argument is to start your mod directly though! Any pointers?
  • CrispyCrispy Jaded GD Join Date: 2004-08-22 Member: 30793Members, Constellation
    edited July 2010
    <!--quoteo(post=1774518:date=Jun 12 2010, 10:29 AM:name=MCMLXXXIV)--><div class='quotetop'>QUOTE (MCMLXXXIV @ Jun 12 2010, 10:29 AM) <a href="index.php?act=findpost&pid=1774518"><{POST_SNAPBACK}></a></div><div class='quotemain'><!--quotec-->Finding Decoda to be great for getting my mod going - although it doesn't have a full "Find in files" function, for which I'm having to rely on Notepad++ (very useful while the scripting documentation is so bare!)

    I can't find any documentation on what the command-line argument is to start your mod directly though! Any pointers?<!--QuoteEnd--></div><!--QuoteEEnd-->Usually it's -mod <modname> or +mod <modname>. Or possibly -<modname> or +<modname> (they may need to be folders within the root dir, or within a more specific dir). Those are complete and utter guesses, btw, based on how other games do it.
Sign In or Register to comment.