Modder's Programs

This is a moderated forum that collects tutorials, guides, and references for creating Transcendence extensions and scripts.
User avatar
Atarlost
Fleet Admiral
Fleet Admiral
Posts: 2391
Joined: Tue Aug 26, 2008 12:02 am

Why make Jedit look like vim when you can just use vim?
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

I updated the syntax highlighting I'm using for JEdit
http://dl.dropbox.com/u/720869/xml2.xml

It highlights all the functions up to 1.0RC4
It highlights both XML and TransLISP.

Just copy the file to the modes directory and add a this

Code: Select all

<MODE NAME="xml2"		FILE="xml2.xml"
				FILE_NAME_GLOB="*.{xml,xhtml,xsd,qrc,ui}"
				FIRST_LINE_GLOB="<\?xml*" />
to the catalog file in the same folder
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Just the first of short tutorials on the new interface of Blender 2.5
http://www.youtube.com/watch?v=3BwptkZCWwU
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

I updated the syntax highlighting I'm using for JEdit
http://dl.dropbox.com/u/720869/xml2.xml

It highlights all the functions up to 1.0RC5
It highlights both XML and TransLISP.

Now it highlights with different colors the functions, the LISP basic functions, the deprecated functions and the vanilla global functions. (colors are the KEYWORDS1-4)

Please note that now most of the syntax highlighting for the ENTITIES has been changed to use the color scheme OPERATOR (while before it was KEYWORD2), so you probably need to fix the colors of your color scheme.
User avatar
alterecco
Fleet Officer
Fleet Officer
Posts: 1658
Joined: Wed Jan 14, 2009 3:08 am
Location: Previously enslaved by the Iocrym

Way to go digdug. Sounds really nice, Makes me wish I used jedit (almost). Could you perhaps update my vim scheme? :P
User avatar
Vizth
Commonwealth Pilot
Commonwealth Pilot
Posts: 54
Joined: Mon Sep 04, 2006 12:56 am
Location: Tellico Plains, Tennessee

would someone please tell the idiot noob how to plug that xml file with the syntax into jedit?
Image
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

ops, sorry Vizth,
I learned it by reading the jEdit support pages on the website, but I can give you quick instructions.

So find the folder "modes"
It should be something like C:\Program Files\jEdit\modes if you installed jEdit in the default directory.
In this folder there are plenty of xml files, each one of them is a highlight syntax scheme.
Copy the xml2.xml file in here.

Moreover there is a file called "catalog" (without extensions)
Edit it and add this to it:

Code: Select all

<MODE NAME="TransLISP"      FILE="xml2.xml"
            FILE_NAME_GLOB="*.{xml,xhtml,xsd,qrc,ui}"
            FIRST_LINE_GLOB="<\?xml*" />
Now it should work!

Open jEdit and load up a xml file, Open Utilities..., GLobal Options...
Select Syntax Highlighting and adjust the colors to your likings.

The scheme is using MARKUP and OPERATOR for non-highlighted text.
COMMENT1 for comments like <!-- and ;
LITERAL2 for &entities;
LITERAL4 for text inside "", I put it normal black text like OPERATOR.
KEYWORD1 deprecated functions
KEYWORD2 vanilla global functions
KEYWORD3 LISP functions like setq or block
KEYWORD4 Transcendence LISP functions like objGetData

all the rest will work like jEdit original xml.xml syntax highlighting.

This is what I normally see
http://dl.dropbox.com/u/720869/jedit2.png
User avatar
Vizth
Commonwealth Pilot
Commonwealth Pilot
Posts: 54
Joined: Mon Sep 04, 2006 12:56 am
Location: Tellico Plains, Tennessee

Thankyou.
Image
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

Updated to 1.01!
http://dl.dropbox.com/u/720869/xml2.xml
Bonus feature: <COMMENT3> highlights gGlobals and aGlobals, temporary and hardcoded.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

25 FREE modelers and renderers:
http://www.hongkiat.com/blog/25-free-3d ... -not-miss/

free textures
http://www.urban-textures.com/category/ ... php?page=1

Beta version of CB Model Pro is for free!
http://www.cbmodelpro.com/
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

UPDATED syntax highlighting for jEdit to Transcendence 1.02

Get the files here:
http://dl.dropbox.com/u/720869/xml2.xml
http://dl.dropbox.com/u/720869/Trans.jedit-scheme

Copy xml2.xml in C:\Program Files\jEdit\modes if you installed jEdit in the default directory.

Copy Trans.jedit-scheme in C:\users\"your username here"\.jedit\schemes if you use Vista and the "Editor Scheme Selector" plugin for jEdit

Edit the file called "catalog" (without extensions)

Code: Select all

<MODE NAME="TransLISP"      FILE="xml2.xml"
            FILE_NAME_GLOB="*.{xml,xhtml,xsd,qrc,ui}"
            FIRST_LINE_GLOB="<\?xml*" />
Open jEdit and load up a xml file, Open Utilities..., Global Options...
Select Syntax Highlighting and adjust the colors to your likings or load up the scheme selector and use my color scheme (beware, the colors are quite crazy)

The scheme is using MARKUP and OPERATOR for non-highlighted text.
COMMENT1 for comments like <!-- and ;
LITERAL2 for &entities;
LITERAL4 for text inside "", I put it normal black text like OPERATOR.
KEYWORD1 deprecated functions
KEYWORD2 vanilla global functions
KEYWORD3 LISP functions like setq or block
KEYWORD4 Transcendence LISP functions like objGetData
COMMENT3 highlights gGlobals and aGlobals, temporary and hardcoded.
all the rest will work like jEdit original xml.xml syntax highlighting.

This is what I normally see
http://dl.dropbox.com/u/720869/jedit2.png
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

UPDATED syntax highlighting for jEdit to Transcendence 1.03

Get the files here:
http://dl.dropbox.com/u/720869/xml2.xml
http://dl.dropbox.com/u/720869/Trans.jedit-scheme


INSTRUCTIONS:
Copy xml2.xml in C:\Program Files\jEdit\modes if you installed jEdit in the default directory.

Copy Trans.jedit-scheme in C:\users\"your username here"\.jedit\schemes if you use Vista and the "Editor Scheme Selector" plugin for jEdit

Edit the file called "catalog" (without extensions)

Code: Select all

<MODE NAME="TransLISP"      FILE="xml2.xml"
            FILE_NAME_GLOB="*.{xml,xhtml,xsd,qrc,ui}"
            FIRST_LINE_GLOB="<\?xml*" />
Open jEdit and load up a xml file, Open Utilities..., Global Options...
Select Syntax Highlighting and adjust the colors to your likings or load up the scheme selector and use my color scheme (beware, the colors are quite crazy)

The scheme is using MARKUP and OPERATOR for non-highlighted text.
COMMENT1 for comments like <!-- and ;
LITERAL2 for &entities;
LITERAL4 for text inside "", I put it normal black text like OPERATOR.
KEYWORD1 deprecated functions
KEYWORD2 vanilla global functions
KEYWORD3 LISP functions like setq or block
KEYWORD4 Transcendence LISP functions like objGetData
COMMENT3 highlights gGlobals and aGlobals, temporary and hardcoded.
all the rest will work like jEdit original xml.xml syntax highlighting.
This is what I normally see
http://dl.dropbox.com/u/720869/jedit2.png
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

UPDATED syntax highlighting for jEdit to Transcendence 1.05

Get the files here:
http://dl.dropbox.com/u/720869/xml2.xml
http://dl.dropbox.com/u/720869/Trans.jedit-scheme


INSTRUCTIONS:
Copy xml2.xml in C:\Program Files\jEdit\modes if you installed jEdit in the default directory.

Copy Trans.jedit-scheme in C:\users\"your username here"\.jedit\schemes if you use Vista and the "Editor Scheme Selector" plugin for jEdit

Edit the file called "catalog" (without extensions)

Code: Select all

<MODE NAME="TransLISP"      FILE="xml2.xml"
            FILE_NAME_GLOB="*.{xml,xhtml,xsd,qrc,ui}"
            FIRST_LINE_GLOB="<\?xml*" />
Open jEdit and load up a xml file, Open Utilities..., Global Options...
Select Syntax Highlighting and adjust the colors to your likings or load up the scheme selector and use my color scheme (beware, the colors are quite crazy)

The scheme is using MARKUP and OPERATOR for non-highlighted text.
COMMENT1 for comments like <!-- and ;
LITERAL2 for &entities;
LITERAL4 for text inside "", I put it normal black text like OPERATOR.
KEYWORD1 deprecated functions
KEYWORD2 vanilla global functions
KEYWORD3 LISP functions like setq or block
KEYWORD4 Transcendence LISP functions like objGetData
COMMENT3 highlights gGlobals and aGlobals, temporary and hardcoded.
all the rest will work like jEdit original xml.xml syntax highlighting.
This is what I normally see
http://dl.dropbox.com/u/720869/jedit2.png
mtirchick
Anarchist
Anarchist
Posts: 20
Joined: Wed Jun 08, 2011 10:33 pm

Okay, I got truespace downloaded...anything else I might need to create a decent mod in transcendence :?:
New things interest me.
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

UPDATED syntax highlighting for jEdit to Transcendence 1.06

Get the files here:
http://dl.dropbox.com/u/720869/xml2.xml
http://dl.dropbox.com/u/720869/Trans.jedit-scheme


INSTRUCTIONS:
Copy xml2.xml in C:\Program Files\jEdit\modes if you installed jEdit in the default directory.

Copy Trans.jedit-scheme in C:\users\"your username here"\.jedit\schemes if you use Vista and the "Editor Scheme Selector" plugin for jEdit

Edit the file called "catalog" (without extensions)

Code: Select all

<MODE NAME="TransLISP"      FILE="xml2.xml"
            FILE_NAME_GLOB="*.{xml,xhtml,xsd,qrc,ui}"
            FIRST_LINE_GLOB="<\?xml*" />
Open jEdit and load up a xml file, Open Utilities..., Global Options...
Select Syntax Highlighting and adjust the colors to your likings or load up the scheme selector and use my color scheme (beware, the colors are quite crazy)

The scheme is using MARKUP and OPERATOR for non-highlighted text.
COMMENT1 for comments like <!-- and ;
LITERAL2 for &entities;
LITERAL4 for text inside "", I put it normal black text like OPERATOR.
KEYWORD1 deprecated functions
KEYWORD2 vanilla global functions
KEYWORD3 LISP functions like setq or block
KEYWORD4 Transcendence LISP functions like objGetData
COMMENT3 highlights gGlobals and aGlobals, temporary and hardcoded.
all the rest will work like jEdit original xml.xml syntax highlighting.
This is what I normally see
http://dl.dropbox.com/u/720869/jedit2.png


----
To mtirchick,
it depends what you want to do:
if you want to make graphics, you need a 3D modelling software, and then a 2D graphics editor to put together all the facings.
If you want to edit contents to the game, you need a text editor with decent syntax highlighting, you can even use notepad, but more programmers oriented editors, with automatic parenthesis matching and syntax highlighting makes everything easier.
Post Reply