Fortress Forever

Go Back   Fortress Forever > Editing > Mapping > Lua

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 05-07-2011, 11:31 AM   #1
squeek.
Stuff Do-er
Lua Team
Wiki Team
Fortress Forever Staff
 
squeek.'s Avatar
 
Join Date: Mar 2007
Location: Northern California
Class/Position: Rallygun Shooter
Gametype: Conc tag (you just wait)
Affiliations: Mustache Brigade
Posts Rated Helpful 352 Times
Send a message via AIM to squeek.
Notepad++ Auto-complete for FF Lua

So, I quickly put together a (very) incomplete FF Lua auto-complete file for Notepad++. So far, it only has the standard Lua functions (string, table, etc functions) and the FF constants (Player.kScout, Ammo.kCells, etc).

To install, put lua.xml in Program Files\Notepad++\plugins\APIs\

By default, auto-complete is shown by pressing Ctrl+Space and function parameters are shown by pressing Ctrl+Shift+Space.

To enable automatic auto-complete while typing, in Notepad++, go to Settings -> Preferences -> Backup/Auto-Completion and check Enable auto-completion on each input (Function completion) and also Function parameters hint on input.

Not sure when I'll get the chance to update this, but it's at least semi-useful in its current state. If anyone wants to help update it, that'd be awesome. The syntax is available here: http://sourceforge.net/apps/mediawik...uto_Completion and the FF Lua documentation can be found on the wiki here or here (for functions, specifically).

Current Version (v1.0 for FF 2.42):
Code:
//////////////////////////////////////////////////////////////////////////////
//	Fortress Forever Lua Autocomplete for Notepad++ 
//////////////////////////////////////////////////////////////////////////////
//	Version: 1.0
//	Updated: 2011-05-07
//	Compatible With: Fortress Forever 2.42
//	http://www.fortress-forever.com
//////////////////////////////////////////////////////////////////////////////
Download:
Installation
Put lua.xml in Program Files\Notepad++\plugins\APIs\

Screenshots:





Changelog:
Code:
v1.0 (2011-05-07 for FF 2.42):
 - Initial Version
Past Versions:
  • None
__________________
#FF.Pickup ¤ Fortress-Forever pickups

My Non-official Maps
Released FF_DM_Squeek - FF_2Mesa3_Classic - FF_Siege_Classic
Beta FF_Myth - FF_Redlight_Greenlight

Sick of the people on the internet, always moanin'. They just moan.
- Karl Pilkington

Last edited by Crazycarl; 05-08-2011 at 10:25 PM. Reason: it's fortress-forever.com, squeek
squeek. is offline   Reply With Quote


 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

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

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

Forum Jump


All times are GMT. The time now is 11:43 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.