Fortress Forever

Go Back   Fortress Forever > Editing > Mapping > Lua

Thread Tools Display Modes
Old 05-07-2011, 10:31 AM   #1
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: 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):
//	Fortress Forever Lua Autocomplete for Notepad++ 
//	Version: 1.0
//	Updated: 2011-05-07
//	Compatible With: Fortress Forever 2.42
Put lua.xml in Program Files\Notepad++\plugins\APIs\


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 09:25 PM. Reason: it's, squeek
squeek. is offline   Reply With Quote

Old 05-07-2011, 02:37 PM   #2
Kawaii! ルーキー
Lua Team
Wiki Team
Fortress Forever Staff
R00Kie's Avatar
Join Date: Jan 2008
Location: Nowhere, Kansas
Class/Position: Random
Gametype: CTF
Affiliations: BiG, Kawaii!, MustacheBrigade, GoodFellas
Posts Rated Helpful 82 Times
This is great Squeek, Thanks.
Released: [ Island ] [ Rookie ] [ Limbo ] [ Sonic ] [ Tomb ] [ Skydive2 ] [ Bunkerwars ]
Beta: [ Argon ] [ Reflection ] [ Urbantag ]
Lua: [ game_rules ]
R00Kie is offline   Reply With Quote

Old 05-08-2011, 09:20 PM   #3
D&A Member
Wiki Team
Fortress Forever Staff
Crazycarl's Avatar
Join Date: Apr 2007
Posts Rated Helpful 31 Times
Crazycarl is offline   Reply With Quote


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

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 01:44 PM.

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