project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
19 Sep 2024, 00:00:00 (PRT)
Register Developer Blogs Members List Search Quick Links
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Reply
 
Thread Tools Display Modes
Old 2011-11-29, 11:44   #1
AfterDune
Retired PR Developer
Supporting Member

AfterDune's Avatar
Post PR:BF2 syntax files for text editors (Notepad++, etc.)

For those that use Notepad++ and others to edit .tweak and .con files, we've created a little syntax file that enables syntax coloring. It is much easier to read through lines of code that way.

The same can be achieved with other text editors of course.

Examples:




How to install for Notepad++:
http://docs.notepad-plus-plus.org/in...language_files

Downloads:
https://files.realitymod.com/resource...las%20Dark.xml
https://files.realitymod.com/resources/BF2%20Dark.xml

AfterDune is offline
Last edited by Mineral; 2019-03-20 at 20:24..
Reply With Quote
Old 2011-11-29, 14:00   #2
Rhino
Retired PR Developer
Supporting Member

Rhino's Avatar
Default Re: EditPlus syntax file for BF2

Who uses editplus?

I personally use the Crimson editor which has had BF2 syntax for years although AM uses notepad++ which he made Syntaxes for.

Rhino is offline Reply With Quote
Old 2011-11-29, 14:21   #3
AfterDune
Retired PR Developer
Supporting Member

AfterDune's Avatar
Default Re: EditPlus syntax file for BF2

It's for whoever uses it. And I've been using it for like 10 years or so.

AfterDune is offline Reply With Quote
Old 2011-11-29, 21:19   #4
temexter
Supporting Member

temexter's Avatar
Default Re: EditPlus syntax file for BF2

Quote:
Originally Posted by [R-DEV]Rhino View Post
I personally use the Crimson editor which has had BF2 syntax for years although AM uses notepad++ which he made Syntaxes for.
I like np++, also used pfe for some time in history. And of course the awesome vi when in *nix shell, it's always there

Any links for working npp+ syntax file? Or is this one still valid: http://jg28senshi.jg.funpic.de/NPPlusBF42language.rar?



temexter is offline Reply With Quote
Old 2011-12-07, 21:39   #5
[R-DEV]​Senshi
PR:BF2 Developer
PR Server License Administrator

Senshi's Avatar
Default Re: EditPlus syntax file for BF2

Where did you find a link to THAT old file?

As it states in the filename, even, this is only syntax for BF42 and was created by me some years ago...it can be used for BF2 as well, but a lot of the added syntax is missing (and thus won't be highlighted), obviously.

Thanks to AfterDune for creating and offering this syntax. Text editors mostly are a matter of personal gusto, so it's good to have support for several of them.
Senshi is offline Reply With Quote
Old 2011-12-08, 10:02   #6
pr|Zer0
Default Re: EditPlus syntax file for BF2

Im using notepad++ on which i added .con and .tweak extensions to python language coloring...works like a charm.
pr|Zer0 is offline Reply With Quote
Old 2011-12-08, 10:12   #7
pr|Zer0
Default Re: EditPlus syntax file for BF2

Quote:
Originally Posted by temexter View Post
I like np++, also used pfe for some time in history. And of course the awesome vi when in *nix shell, it's always there

Any links for working npp+ syntax file? Or is this one still valid: http://jg28senshi.jg.funpic.de/NPPlusBF42language.rar?
in Notepad++ go to preferences -> style configurator, click on python to select it and on the bottom line of the window, add extensions you want to associate with python style, separated by spaces.


Uploaded with ImageShack.us
pr|Zer0 is offline Reply With Quote
Old 2011-12-08, 11:11   #8
[R-DEV]AncientMan
Retired - Project Manager
Supporting Member
PR Server License Administrator

AncientMan's Avatar
Default Re: EditPlus syntax file for BF2

I've had this syntax rolling on Notepad++ for a fair long while, works fine if anyone else wants it. Just extract it to (or merge it with the existing file) in "C:\Users\<user>\AppData\Roaming\Notepad++\userDef ineLang.xml"

http://dl.dropbox.com/u/33586919/Not...BBF2Syntax.zip

AncientMan is offline Reply With Quote
Old 2011-12-08, 11:40   #9
temexter
Supporting Member

temexter's Avatar
Default Re: EditPlus syntax file for BF2

Quote:
Originally Posted by [R-DEV]AncientMan View Post
I've had this syntax rolling on Notepad++ for a fair long while, works fine if anyone else wants it. Just extract it to (or merge it with the existing file) in "C:\Users\<user>\AppData\Roaming\Notepad++\userDef ineLang.xml"

http://dl.dropbox.com/u/33586919/Not...BBF2Syntax.zip
Cheers m8, works like a charm...



temexter is offline Reply With Quote
Old 2019-03-20, 20:25   #10
[R-DEV]Mineral
PR:BF2 Lead Designer
Supporting Member
PR Server License Administrator

Mineral's Avatar
Default Re: PR:BF2 syntax files for text editors (EditPlus, Notepad++, etc.)

Given I needed this again but links were down, I extracted what I had on my PC and re-uploaded those. I think they were AM's Updated OP.

Mineral is offline Reply With Quote
Reply


Tags
bf2, editors, editplus, file, files, notepad, prbf2, syntax, text

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



All times are GMT. The time now is 05:52.