Differences

This shows you the differences between two versions of the page.

Link to this comparison view

luafsapiplugin [2017/05/24 14:27] (current)
Line 1: Line 1:
 +====== LUA/FS API plugin for Notepad++ ======  ​
  
 +Game Version: ​ FS11 and later\\
 +GE Version: ​ ? and later
 +
 +----
 +
 +[[modding_tutorials|Modding Index]] | [[modding_Tools|Modding Tools Tutorials]]
 +
 +----
 +
 +===== Intro =====
 +
 +
 +
 +===== Prep Work =====
 +
 +
 +
 +===== Full Details =====
 +
 +Hi everybody!
 +
 +I've started using Notepad++ to script for FS again, and to make everything easier I decided to make a LUA/FS API-plugin for it.
 +
 +I've implemented the GIANTS Engine functions that are specified in their documentation here: [url=http://​gdn.giants-software.com/​documentation_scripting.php]Scripting Documentation[/​url]
 +as well as Utils and stuff from here: [url=http://​ls-mods.de/​scriptDocumentation.php?​class=utils]ls-mods.de[/​url]
 +I have also added a few of the commonly used functions/​variables that are not specified in any documentation,​ such as g_currentMission,​ InputBinding,​ addHelpText(),​ etc.
 +
 +I can't take credit for the LUA API, the file I started with is from this blog: [url=http://​retroaffect.com/​blog/​190/​A_Lua_Language_File_for_Notepad__/​]Retro Affect[/​url].
 +
 +
 +Place the lua.xml in Notepad++ [b]"​plugins\APIs"​[/​b] folder, most likely located at[b] C:\Program Files\Notepad++\plugins\APIs[/​b] or [b]C:​\Program Files (x86)\Notepad++\plugins\APIs[/​b].
 +
 +To activate auto-complete and hints in Notepad++, go to:[b] Settings -> Preferences -> Backup/​Auto-Completion[/​b] and check the two checkboxes [b]Enable auto-completion on each input[/b] and [b]Function parameters hint on input[/b].
 +
 +So here's the first version of the "​API",​ if I add more I will update this topic as my progress continues.
 +[b]Right-click and save link as.[/b]
 +
 +
 +[center][size=18pt][url=http://​www.bjr-modding.com/​media/​Downloads/​APIs/​lua.xml][b]Download[/​b][/​url][/​size][/​center]
 +
 +
 +If you find any issues or faults with it, please report them to me here or in a PM. And if you want to help out to add more stuff, let me know what you plan to add so we don't do double work.
 +
 +
 +----
 +
 +Original Author: ​ JoXXer | Date:  December 15, 2012
 +        ​
 +[[modding_tutorials|Modding Index]] | [[modding_Tools|Modding Tools Tutorials]]