Skip to content
La2Base
Home
DownloadsWikiForumFAQ
ruen
Sign up Login
HomeFilesWikiLogin
  • Home
  • Downloads
  • Wiki
  • FAQ
  • Contact Us
  • About
  • Rules
  • Privacy
  • Terms of Service

© 2026 la2base.com · All rights reserved

ruen
Forum/V.I.P. OFF/Sauron Compler
Search

Sauron Compler

1 replies64 viewsCurrently viewing: 1
pchayka
pchayka

User

Ветеран

Posts: 1304

На форуме с: 02/01/2008

Репутация: +1313

Рейтинг: 0

· 10/25/2008, 10:35 PM

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

Start 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 [attachment=1580:data.zip]
Download Compiler [attachment=1581:NASC.zip]
Download UltraEdit Config [attachment=1582:ultraedit.zip]

— You're an amateur

0
Войдите или зарегистрируйтесь чтобы ответить