Lua Editor: Small Update on an Update... Syntax solution
Moderator: Moderators
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: LUA Editer in progress - Update
For the record, the English word is spelt "editor".
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editer in progress - Update
roflFiodis wrote:For the record, the English word is spelt "editor".
I don't know why, but i always spelt it with an e.. I guess its because i pronounced it "edit-er" not "edit-or". Thanks for caching it. Fixing it in the program now and topic title...
Also, i have been working on the User Interface. Scren:
Hidden/Spoiler:
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: LUA Editor in progress - Update
when you are done would you mind releasing the source code?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - Update
If i would do so, may i ask what would you do with?myers73 wrote:when you are done would you mind releasing the source code?
But for now, it will be closed source.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: LUA Editor in progress - Update
I am currently learning to program, and I think that reading through the source code would be helpful.
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - Update
ah, ok.myers73 wrote:I am currently learning to program, and I think that reading through the source code would be helpful.
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: LUA Editor in progress - Update
what language are you coding it in?
- Maveritchell
- Jedi Admin

- Posts: 7366
- Joined: Mon Aug 21, 2006 11:03 pm
Re: LUA Editor in progress - Update
http://www.gametoast.com/forums/viewtop ... 85#p386585myers73 wrote:what language are you coding it in?
http://www.gametoast.com/forums/viewtop ... 07#p394307
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - Update
Small Update:
I am working on the error checker. I have it working up to when you correct it.
Correct Text:
ReadDataFile("dc:SIDE\\rep.lvl",
Incorrect Text (common):
ReadDataFile("dc:SIDE\\rep.lvl"
What it does:
I still have to fix some things. The text on the bottom need to go back to "No Errors." and the red is does not go way after you fix it. Also, if you save while it has an error, i will have a popup saying "There is an error. Do you what to save (filename)? NOTE: if you save it then munge, your mission will most likely will crash the game."
Any comments?
I am working on the error checker. I have it working up to when you correct it.
Correct Text:
ReadDataFile("dc:SIDE\\rep.lvl",
Incorrect Text (common):
ReadDataFile("dc:SIDE\\rep.lvl"
What it does:
Hidden/Spoiler:
Any comments?
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: LUA Editor in progress - Update
Sorry but, whats the difference between the two?501st_commander wrote:Small Update:
I am working on the error checker. I have it working up to when you correct it.
Correct Text:
ReadDataFile("dc:SIDE\\rep.lvl",
Incorrect Text (common):
ReadDataFile("dc:SIDE\\rep.lvl"
Sounds like a good idea though, especially for inexperienced scripters, who don't really know how to add punctuation properly....
-
Darth_Spiderpig
- Sith Master

- Posts: 2631
- Joined: Fri Mar 27, 2009 10:23 am
- Projects :: Something cool...
- xbox live or psn: Has no xbox....Yup
- Location: Does whatever a Spiderpig does
- Contact:
Re: LUA Editor in progress - Update
lucasfart wrote:Sorry but, whats the difference between the two?
Code: Select all
ReadDataFile("dc:SIDE\\rep.lvl"
ReadDataFile("dc:SIDE\\rep.lvl",Nice, this will be very useful, commander.
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: LUA Editor in progress - Update
Lol, i think i'm gonna need to use this spell checker. Can't wait for the release...
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - Update
@Darth_Spiderpig: thanks.

no, not a spell checker, an error checkerlucasfart wrote:Lol, i think i'm gonna need to use this spell checker. Can't wait for the release...
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: LUA Editor in progress - Update
This is sounding better and better by the day. Will save a lot of time coding campaigns, but then again, people that dont know how to code are gonna try and use it and wont ever really learn, so when a problem arises they wont have a clue what they did wrong.
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - Update
I do plan on adding a "dedug help" popup of some kind. It will somehow tell you whats wrong line by line until there is no errors. The 0.5 beta release will be minimal. Mainly a test to see what operating systems it works on, and if it has any bugs. 1.0 release will be full. Hardly any bugs. Everything working, help docs, and for people who are just starting - a bit of lua docs (pm me if you want to help with this).
Edit:
Ok, the 0.5 relese my be longer. I am having troble with the syntax highlighter code. It crashes Visual Studio when i add it to the program.
Edit:
Stuped error EVER! fixed. Syntax highlighter now works. Expect screen soon.
Edit:
Update!
The syntax hilighter is working now!
It updates as you type, and when you open a file.
Suggestions? (colors, additional keyword, etc.)
Edit:
Ok, the 0.5 relese my be longer. I am having troble with the syntax highlighter code. It crashes Visual Studio when i add it to the program.
Edit:
Stuped error EVER! fixed. Syntax highlighter now works. Expect screen soon.
Edit:
Update!
The syntax hilighter is working now!
Hidden/Spoiler:
Suggestions? (colors, additional keyword, etc.)
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - Syntax Update pg2
This will possibly be the last update before the 0.5 release.
I have been working on it trying to get it done within this month. I have lots of new features now than i did from the last post. I still have to get a few things working. Quickclick bar, and one new feature.
Feature List:
I have been working on it trying to get it done within this month. I have lots of new features now than i did from the last post. I still have to get a few things working. Quickclick bar, and one new feature.
Feature List:
- Now, you can make a project. You don't have to go to the scripts folder every time you edit a lua. (has some bugs)
Notify Icon on taskbar - So you don't have to open it all the time.
Options - You can enable and disable some of the features you dont want. They are:- Make this program default for opening Luas
Create a project and manage them
see a list of syntax highlighter sensitive words
Enable or disable keyword, comment, string or integer highlighting
manage the modtools directory location, and the type.
Import scripts for reading. So if you need a ***c_eli.lua script, you can open it through the program
Enable and disable the notify icon.
Automatically open the last opened file.
Show or hide the Quick Click Bar.
Enable or disable the syntax highlighter all together.
- Make this program default for opening Luas
- lucasfart
- Sith

- Posts: 1440
- Joined: Tue Feb 24, 2009 5:32 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Australia
Re: LUA Editor in progress - Syntax Update pg2
oooh. Can't wait!
Just a quick question, Do you select a template lua(eli, con, hunt, ctf, etc.) inside the program and save it into the map you want, or do you load a pre-existing lua?
Just a quick question, Do you select a template lua(eli, con, hunt, ctf, etc.) inside the program and save it into the map you want, or do you load a pre-existing lua?
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - Syntax Update pg2
you select a pre-existing lua from the TEMPLATE or space_tempalte folder, then the program will auto remove the @#$ in the file to what your projects name is (aka: OOO).
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - Syntax Update pg2
Version 0.5 has been released. Please post any bugs in this topic.
I will psot the 1.0 list of things soon.
Edit:
1.0 Feature List
This list will contain what will be in the next version
I will psot the 1.0 list of things soon.
Edit:
1.0 Feature List
This list will contain what will be in the next version
- MDI (Multi Document Interface) - Open more than one lua at a time
- Better auto hide project panel
- More BF2 Lua functions in the program
- Support for the 3.5 framework (4.0 is recommended though)
- Code comparator - popup of codes with the letters you typed in them
- First Version of the error checker
- Faster syntax highlighter
- More customizable Interface
- Better Options
- Projects will be out of the options dialog.
- One click open project
- auto open last project
- Format the rich text box for your needs
- Make your own syntax higlighter colors and RTB backcolor
-
501st_commander
- Master Bounty Hunter

- Posts: 1570
- Joined: Wed Dec 10, 2008 7:48 pm
Re: LUA Editor in progress - 1.0 feature list
beta closed, read next post
Alright, private beta on 1.0 RC1 is coming. I need some people with one or more of the following operating systems:
I need at least 2-5 people on each operating system.
Please PM me with computer specs, and I will get you a beta copy when ready and have further instructions. All entries will need to be in before August 14, 2010 - unless the operating system has no entries.
Update will be coming after beta test.
Edit:
Beta Testers so far:
Sky_216
AgentSmith_#27
Fiodis
fasty
stardestroyer001
darthtyren
------------------------------------------------------------------------------------------
Edit:
When you PM me, please make sure you have the specs in the following format:
To get the information, right click My Computer or Computer -> Properties
For the Frameworks:
Thank you.
------------------------------------------------------------------------------------------
Alright, private beta on 1.0 RC1 is coming. I need some people with one or more of the following operating systems:
- Windows 7
- Windows 7 Home Premium (64/32 bit) - CLOSED unless a staff member wants to test
Windows 7 Professional (64/32 bit) - 4CLOSED unless a staff member wants to test
Windows 7 Ultimate (64/32 bit) - 5 spots
- Windows Vista Basic (64/32 bit) - 5 spots
Windows Vista Home Premium (64/32 bit) - CLOSED unless a staff member wants to test
Windows Vista Business (64/32 bit) - 5 spots
Windows Vista Ultimate (64/32 bit) - 5 spots
- Windows XP Home Edition (64/32 bit) - CLOSED unless a staff member wants to test
Windows XP Media Center (64/32 bit) - 3 spots
Windows XP Professional (64/32 bit) - 3 spots
- Windows 7 Home Premium (64/32 bit) - CLOSED unless a staff member wants to test
I need at least 2-5 people on each operating system.
Please PM me with computer specs, and I will get you a beta copy when ready and have further instructions. All entries will need to be in before August 14, 2010 - unless the operating system has no entries.
Update will be coming after beta test.
Edit:
Beta Testers so far:
Sky_216
AgentSmith_#27
Fiodis
fasty
stardestroyer001
darthtyren
------------------------------------------------------------------------------------------
Edit:
When you PM me, please make sure you have the specs in the following format:
I need that information to make a compatibility chart.Windows XP Media Center Edition Version 2002 Service Pack 3
AMD Athlon(tm) 64 Processor 3800+ : 1.8GHz
NVIDIA GeForce 6180 LE
3.00 GB RAM
500GB hard Drive
Framework 1.1, 2.0, 3.0, 3.5, 4.0 Client Profile
To get the information, right click My Computer or Computer -> Properties
For the Frameworks:
Hidden/Spoiler:
------------------------------------------------------------------------------------------
