FreeOrion

Forums for the FreeOrion project
It is currently Tue Dec 12, 2017 4:39 am

All times are UTC




Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
PostPosted: Wed Jan 23, 2013 1:05 am 
Offline
Pupating Mass
User avatar

Joined: Tue Oct 18, 2011 6:48 pm
Posts: 93
Location: UTC-5
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...)


Attachments:
File comment: download at your own risk ;p
effects.zip [2.25 KiB]
Downloaded 81 times
Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 6:20 am 
Offline
Designer and Programmer
User avatar

Joined: Tue Aug 14, 2007 6:33 pm
Posts: 2058
Location: Orion
qsswin wrote:
I had no idea whatsoever where to put this thing, so I decided to drop it here:
A new thread probably would have been appropriate.

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.
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.

_________________
Warning: Antarans in dimensional portal are closer than they appear.


Last edited by Bigjoe5 on Fri Jan 25, 2013 11:14 am, edited 1 time in total.

Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 10:21 am 
Offline
Vacuum Dragon
User avatar

Joined: Sun Sep 25, 2011 2:51 pm
Posts: 500
Maybe the language should get an official name... FreeOrionEffectsScript (FOES) ;)?

_________________
[...] 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


Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 3:13 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4287
Location: Sol III
em3 wrote:
Maybe the language should get an official name... FreeOrionEffectsScript (FOES) ;)?
FreeOrionContentScript (FOCS) would be more accurate I think ;)


Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 3:43 pm 
Offline
Vacuum Dragon
User avatar

Joined: Sun Sep 25, 2011 2:51 pm
Posts: 500
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. :)

_________________
[...] 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


Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 6:49 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12040
Location: Munich
Content Script instead of Effects Script might be more accurate, as the format does more than just effects.


Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 7:13 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4287
Location: Sol III
How does FOCOS sound? (_F_ree_O_rion_CO_ntent_S_cript)


Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 7:15 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12040
Location: Munich
Vezzra wrote:
How does FOCOS sound? (_F_ree_O_rion_CO_ntent_S_cript)

Pretty lame...


Top
 Profile  
 
PostPosted: Wed Jan 23, 2013 7:20 pm 
Offline
Release Manager, Design
User avatar

Joined: Wed Nov 16, 2011 12:56 pm
Posts: 4287
Location: Sol III
Geoff the Medio wrote:
Vezzra wrote:
How does FOCOS sound? (_F_ree_O_rion_CO_ntent_S_cript)

Pretty lame...
:lol: Oh well, it was worth a try... ;)


Top
 Profile  
 
PostPosted: Thu Jan 24, 2013 9:35 am 
Offline
Vacuum Dragon
User avatar

Joined: Sun Sep 25, 2011 2:51 pm
Posts: 500
FOrCS
OrCS
FOrC
OrC
FOS
FOC

_________________
[...] 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


Top
 Profile  
 
PostPosted: Thu Jan 24, 2013 11:54 pm 
Offline
Pupating Mass
User avatar

Joined: Tue Oct 18, 2011 6:48 pm
Posts: 93
Location: UTC-5
I'm glad it was useful!

As for a name, how about FreeOrion Content/Ui Scripts, or FOCUS?


Top
 Profile  
 
PostPosted: Fri Jan 25, 2013 8:47 am 
Offline
Vacuum Dragon
User avatar

Joined: Sun Sep 25, 2011 2:51 pm
Posts: 500
I like that, but it could lead to some hilarious statements (how to change a planet's focus in FOCUS? ;)).

_________________
[...] 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


Top
 Profile  
 
PostPosted: Fri Jan 25, 2013 8:52 am 
Offline
Creative Contributor

Joined: Thu Aug 30, 2012 12:32 am
Posts: 699
See previous
Quote:
Pretty lame...


How about FOScript. Fo'shizzle.

... see previous ... :P
Quote:
Pretty lame...

_________________
Code released under GPL 2.0. Content released under GPL 2.0 and Creative Commons Attribution-ShareAlike 3.0.


Top
 Profile  
 
PostPosted: Fri Jan 25, 2013 11:15 am 
Offline
Designer and Programmer
User avatar

Joined: Tue Aug 14, 2007 6:33 pm
Posts: 2058
Location: Orion
em3 wrote:
I like that, but it could lead to some hilarious statements (how to change a planet's focus in FOCUS? ;)).

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".

_________________
Warning: Antarans in dimensional portal are closer than they appear.


Top
 Profile  
 
PostPosted: Sun Jan 27, 2013 12:08 am 
Offline
Design & Graphics Lead Emeritus
User avatar

Joined: Sat Sep 23, 2006 7:09 pm
Posts: 3858
Location: USA — midwest
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"

_________________
—• Read this First before posting Game Design Ideas!
—• Design Philosophy

—•— My Ideas, Organized —•— Get an Avatar —•— Acronyms —•—


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group