Raised This Month: $ Target: $400
 0% 

Updated Spec files for Crimson Editor


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
EKS
Veteran Member
Join Date: Mar 2004
Location: Norway
Old 01-06-2005 , 16:51   Updated Spec files for Crimson Editor
Reply With Quote #1

These are the files used to highligt .sma files when editing them(check screenshot)
I updated the files so they have all the natives/forwards and stocks from Amxmodx 1.0

I also uploaded the app i used to make get the native/forward & stocks(with source), incase your using another editor and wanna update hightlight/rule file for it.

http://www.crimsoneditor.com/
Attached Thumbnails
Click image for larger version

Name:	howitlooks.jpg
Views:	276
Size:	117.6 KB
ID:	2127  
Attached Files
File Type: zip findnativenames_1.0.0.zip (10.2 KB, 157 views)
File Type: zip spec.zip (5.1 KB, 167 views)
__________________
Github archive for plugins, the repos for the other c++ projects are there to.
EKS is offline
FeuerSturm
AlliedModders Donor
Join Date: Apr 2004
Old 01-06-2005 , 16:54  
Reply With Quote #2

thank you sir
FeuerSturm is offline
slurpycof
Senior Member
Join Date: Nov 2004
Old 03-06-2005 , 15:31  
Reply With Quote #3

you rock, ty
slurpycof is offline
xeroblood
BANNED
Join Date: Mar 2004
Location: Toronto, Canada
Old 03-08-2005 , 11:00  
Reply With Quote #4

Just thought I'd post some help about linking the AMXX Compiler into Crimson Editor and having Crimson capture output (for those who dont know):

Note: Use attached images as reference if needed..

First, make sure the Source Code file you wish to compile is in the same directory as the 'amxxsc.exe' compiler...

Then, open up your Crimson Editor, then go to the MenuBar and click "Tools-->Preferences", and a window will open.. On the Left-Side of the window there is a "Categories" section. Expand the section called "Tools" and select "User-Tools".. The window should now look similar to Example 1 from images below.


Now, the next thing you do, is enter the text for the "Menu Text" section which can be whatever you want (basically a Title for the custom Tool).. In Example 2 you can see I titled mine "Small C Compiler (AMXX 1.0)"

Now, the next field (textbox) is called "Command" and to the far-right of it there is a button with an elipses (3 dots; ... ), click it and then Browse to your 'amxxsc.exe' compiler (the one in the same directory as your Source File). Now your AMXX Compiler is linked to Crimson Editor.. But we still need to customize it a bit more and tell Crimson how to use it...

So next is the "Argument" field, which is what Crimson will pass as arguments to our 'amxxsc.exe' compiler at compile-time. Normally, the complimentary 'compile.exe' file would be used for this, but we will ignore that file completely and let Crimson do that job... You could specify the arguments yourself, or just copy and paste this:

$(FileName) -ocompiled\$(FileTitle).amxx

I believe that is pretty self-explanitory and there is no need to change it, so on we go...

The next field is called "Initial Dir" and is what it says; The Initial Directory of the compile task (a relative path from the Source Code file to the Compiler), and as I mentioned in the beginning to put the Source Code file in the same directory as the compiler so as to make this step easier, and if you have them both in the same directory then copy and paste this:

$(FileDir)

The last field is "Hot-Key" and is probably already set for you (if not, hold the CTRL key, and press 1, or 2, or 3, etc..), so now all you have to do is activate the Hot-Key to start compiling your plugin!!

But wait, one last thing to do: Make sure the checkboxes "Capture output" and "Save before execute" are checked!!!

You're Done!! To test it out, copy a .sma file to your compiler directory, open the .sma file in crimson editor, and activate the Hot-Key (Ctrl+1) and wait for the output!! It should look similar to my Example 3 from below...

I hope that made sense and helps some of you!! I find it very convenient!!
Attached Thumbnails
Click image for larger version

Name:	crimson_tools_step1.jpg
Views:	221
Size:	88.1 KB
ID:	2479   Click image for larger version

Name:	crimson_tools_step2.jpg
Views:	222
Size:	100.4 KB
ID:	2480   Click image for larger version

Name:	crimson_tools_step3.jpg
Views:	221
Size:	99.4 KB
ID:	2481  
xeroblood is offline
Send a message via MSN to xeroblood
amxxsean
Member
Join Date: Feb 2005
Old 03-29-2005 , 12:47  
Reply With Quote #5

Thanks a lot. But.. eww Macintosh??
__________________
DID SOMEBODY DIAL TEH AWPERAT0RZ?
www.awpz.tk
NOW ACCEPTING MEMBERS!
amxxsean is offline
Reply



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

Forum Jump


All times are GMT -4. The time now is 19:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode