Fortress Forever

Go Back   Fortress Forever > Editing > Mapping > Lua

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 12-16-2007, 05:03 PM   #16
Ihmhi
[AE] 0112 Ihmhi *SJB
Wiki Team
Fortress Forever Staff
 
Ihmhi's Avatar
 
Join Date: Mar 2007
Location: Newark, NJ, United States
Class/Position: A little bit o' everythin'
Gametype: Also a little bit o' everythin'
Affiliations: [AE] Asseater, *SJB Straight Jacket Brigade
Posts Rated Helpful 3 Times
Send a message via AIM to Ihmhi Send a message via MSN to Ihmhi Send a message via Yahoo to Ihmhi
This looks like it is already ramping up to be a powerful tool.

I have not tried it yet (so excuse me if any of the following are already in), but I would like to see three things in it:

Debug

A command/button that will check if your code will work in the game. It really sucks to load up your map and get the FToD (Four Teams of Doom).

Load Prefabs

The ability to load prefabbed Lua files for gameplay types. Prefabs should go in a folder so other users can make them (example: a fully working flagrun prefab). Start up Lua editor, load the prefab, and modify as necessary. If no modifications are needed, then just copy/paste the Lua into your maps directory and rename it!

Lua Generator

Basically something with radio buttons, check buttons, and text fields where it can generate a working Lua for you. Example follows:

Code:
( )   (.) = Radio Buttons
[ ]   [x] = Checkbox
[                ]   [green_button      ] = text field
Code:
TEAMS

[ ] Red
[ ] Blue
[x] Yellow
[x] Green



CLASSES

RED               BLUE              YELLOW            GREEN

[ ] CIVILIAN      [ ] CIVILIAN      [ ] CIVILIAN      [ ] CIVILIAN
[ ] SCOUT         [ ] SCOUT         [x] SCOUT         [x] SCOUT   
[ ] SNIPER        [ ] SNIPER        [x] SNIPER        [x] SNIPER  
[ ] SOLDIER       [ ] SOLDIER       [x] SOLDIER       [x] SOLDIER 
[ ] DEMOMAN       [ ] DEMOMAN       [x] DEMOMAN       [x] DEMOMAN
[ ] MEDIC         [ ] MEDIC         [x] MEDIC         [x] MEDIC   
[ ] HWGUY         [ ] HWGUY         [x] HWGUY         [x] HWGUY   
[ ] PYRO          [ ] PYRO          [x] PYRO          [x] PYRO    
[ ] SPY           [ ] SPY           [x] SPY           [x] SPY     
[ ] ENGINEER      [ ] ENGINEER      [x] ENGINEER      [x] ENGINEER



GAMEPLAY TYPE

( ) CAPTURE THE FLAG
( ) REVERSE CAPTURE THE FLAG
( ) COMMAND POINT
(.) SHUTDOWN
( ) INVADE & DEFEND
( ) ATTACK & DEFEND
( ) PUSH
( ) KING OF THE HILL
( ) DEATHMATCH
( ) TEAM DEATHMATCH



TRIGGERS FOR SHUTDOWN (appears dynamically)

GREEN SHUTDOWN TRIGGER    [green_lazerz      ]
GREEN SHUTDOWN BUTTON     [green_button      ]
YELLOW SHUTDOWN TRIGGER   [yellow_lazerz     ]
YELLOW SHUTDOWN BUTTON    [yellow_button     ]
Click "Create Lua!" and it would create a working Lua for CTF-style gameplay with Green and Yellow teams and Civilian disabled. Of course, I would like to see the real thing more complex than this.
__________________
Support FF:
Anime: The Thread: Reloaded
The one and only anime thread on these here forums.

Select the pistol, and then, select your horse.
Ihmhi 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 09:59 PM.


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