UDL (User-Defined Language) for Notepad++
Moderators: Oberlus, Committer
UDL (User-Defined Language) for Notepad++
I had no idea whatsoever where to put this thing, so I decided to drop it here:
I made a UDL (User-Defined Language) for Notepad++ based the scripting language that FreeOrion uses. (Actually, for old versions, it's for the UDL 2.0 Notepad++ plugin, but in recent versions, that is part of the official program.) It should include all currently implemented values, statistics, conditions, effects, logical keywords, operators, and miscellaneous "glue" keywords. To use it, open the "Language", choose the "Define Your Language..." option, and click import and import the file. If you dislike the colors, you can change them from the many "styler" dialogs throughout the menus(see http://udl20.weebly.com/ for more information).
It probably isn't all that likely anybody will find this useful, but I hope somebody does! Even if nobody else does, I will.
(It is in a .zip since the forum software considers xml files possible attack vectors, apparently. Of course, downloading a zip is considerably less secure than downloading an xml file...)
I made a UDL (User-Defined Language) for Notepad++ based the scripting language that FreeOrion uses. (Actually, for old versions, it's for the UDL 2.0 Notepad++ plugin, but in recent versions, that is part of the official program.) It should include all currently implemented values, statistics, conditions, effects, logical keywords, operators, and miscellaneous "glue" keywords. To use it, open the "Language", choose the "Define Your Language..." option, and click import and import the file. If you dislike the colors, you can change them from the many "styler" dialogs throughout the menus(see http://udl20.weebly.com/ for more information).
It probably isn't all that likely anybody will find this useful, but I hope somebody does! Even if nobody else does, I will.
(It is in a .zip since the forum software considers xml files possible attack vectors, apparently. Of course, downloading a zip is considerably less secure than downloading an xml file...)
- Attachments
-
- effects.zip
- download at your own risk ;p
- (2.25 KiB) Downloaded 257 times
Re: How to Help with Scripting
A new thread probably would have been appropriate.qsswin wrote:I had no idea whatsoever where to put this thing, so I decided to drop it here:
I was considering doing that myself actually. I'll have to tweak it some to suit my style, but I think I'll definitely use this.qsswin wrote:I made a UDL (User-Defined Language) for Notepad++ based the scripting language that FreeOrion uses... It probably isn't all that likely anybody will find this useful, but I hope somebody does! Even if nobody else does, I will.
Last edited by Bigjoe5 on Fri Jan 25, 2013 11:14 am, edited 1 time in total.
Warning: Antarans in dimensional portal are closer than they appear.
Re: UDL (User-Defined Language) for Notepad++
Maybe the language should get an official name... FreeOrionEffectsScript (FOES) ?
https://github.com/mmoderau
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
Re: UDL (User-Defined Language) for Notepad++
FreeOrionContentScript (FOCS) would be more accurate I thinkem3 wrote:Maybe the language should get an official name... FreeOrionEffectsScript (FOES) ?
Re: UDL (User-Defined Language) for Notepad++
I might have suggested a humorous name, but in essence a name would be helpful. If someone were to, say, create an emacs mode, effects-mode (taking cue from qsswin's file name) would sound too generic, in my opinion.
https://github.com/mmoderau
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: UDL (User-Defined Language) for Notepad++
Content Script instead of Effects Script might be more accurate, as the format does more than just effects.
Re: UDL (User-Defined Language) for Notepad++
How does FOCOS sound? (_F_ree_O_rion_CO_ntent_S_cript)
- Geoff the Medio
- Programming, Design, Admin
- Posts: 13587
- Joined: Wed Oct 08, 2003 1:33 am
- Location: Munich
Re: UDL (User-Defined Language) for Notepad++
Pretty lame...Vezzra wrote:How does FOCOS sound? (_F_ree_O_rion_CO_ntent_S_cript)
Re: UDL (User-Defined Language) for Notepad++
Oh well, it was worth a try...Geoff the Medio wrote:Pretty lame...Vezzra wrote:How does FOCOS sound? (_F_ree_O_rion_CO_ntent_S_cript)
Re: UDL (User-Defined Language) for Notepad++
FOrCS
OrCS
FOrC
OrC
FOS
FOC
OrCS
FOrC
OrC
FOS
FOC
https://github.com/mmoderau
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
Re: UDL (User-Defined Language) for Notepad++
I'm glad it was useful!
As for a name, how about FreeOrion Content/Ui Scripts, or FOCUS?
As for a name, how about FreeOrion Content/Ui Scripts, or FOCUS?
Re: UDL (User-Defined Language) for Notepad++
I like that, but it could lead to some hilarious statements (how to change a planet's focus in FOCUS? ).
https://github.com/mmoderau
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556
Re: UDL (User-Defined Language) for Notepad++
See previous
... see previous ...
How about FOScript. Fo'shizzle.Pretty lame...
... see previous ...
Pretty lame...
Code released under GPL 2.0. Content released under GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0.
Re: UDL (User-Defined Language) for Notepad++
Actually, in that context IMO, FOCUS makes even more sense, and is less silly-sounding than FOrCS. We could also just drop the caps and call it "Focus".em3 wrote:I like that, but it could lead to some hilarious statements (how to change a planet's focus in FOCUS? ).
Warning: Antarans in dimensional portal are closer than they appear.
- eleazar
- Design & Graphics Lead Emeritus
- Posts: 3858
- Joined: Sat Sep 23, 2006 7:09 pm
- Location: USA — midwest
Re: UDL (User-Defined Language) for Notepad++
A name would be useful.
I think something distinct would be more beneficial than a clever acronym. A search for "focs" or whatever would work much better than for "focus"
I think something distinct would be more beneficial than a clever acronym. A search for "focs" or whatever would work much better than for "focus"