This version has a few improvements and support for the new ai functions.
Folder Tree
Code:
[compiled]
- compiled.ai
- abel.ai
[data] (ASCII)
- category_pch.txt
- item_pch.txt
- manual_pch.txt
- npc_pch.txt
- quest_pch.txt
- skill_pch.txt
NASC.exe
source.nasc
abel.nascStart Mode
Code:
Normal ./NASC.exe
Loads source.nasc and outputs goes to compiled/compiled.ai
Defined Source ./NASC.exe -file abel
Loads abel.nasc and outputs goes to compiled/abel.ai
Library Mode ./NASC.exe -lib HaveMemo
Compiler only outputs in console => Int CNPC::HaveMemo( CSharedCreatureData,Int )You can set up this in UltraEdit and turn it into a pseudo Compiler IDE. In addition i'll attach auto complete list and wordlist.
Code:
Advance->Tool Configuration
Name: Compile
Command line: NASC.exe -file %n
Working dir: %p
Output: Output to list box
Advance->Tool Configuration
Name: Library
Command line: NASC.exe -lib %sel%
Working dir: %p
Output: Output to list box
Advance->Configuration->Editor Display->Syntax Highlighting
Add my wordfile.txt file there..
Advance->Configuration->Editor->Word Wrap/Tab Settings
Add my autocomplete-nasc.txt there..If you need to set a custom Address it can be done like this
Code:
#define L543;
#define S50;
class 1 abel : guard_stand
{
handler:
EventHandler TALK_SELECTED(fhtml0,talker)
{
if( _from_choice == 0 )Download Data
I have this since a long time ago... so i trought maybe someone needs it...
http://www.mediafire.com/?73ehu08rx24c14e
Credits to Sauron.