![]() |
|
|
#1 |
|
Архивный участник
Join Date: Jun 2006
Posts: 17
|
I have a rather large quest ready to test but I am not able to compile it because... I dont know how.
Is there anyway someone could post a little help up for us noobs so that we could possibly understand how to use NASC. Thanks in advance ![]() p.s. Once I get this figure out I will Share my quest. It is an S grade weapon quest. Completely custom! |
|
|
|
|
#2 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Search please.
This has been explained MANY times. |
|
|
|
|
#3 |
|
Архивный участник
Join Date: Jun 2006
Posts: 17
|
I have been searching for a few hours ><
I got home at 9 and haven't stopped since. Its 12am
|
|
|
|
|
#4 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
haha ive been on these forums for ages, and thats still something ive yet to come across truth. Why dont you be so kind to write this poor man a detailed guide and sticky it so that no one will ever have the terrible nasc compilation problem ever again.
|
|
|
|
|
#5 |
|
Архивный участник
Join Date: Apr 2006
Posts: 118
|
nasc compilation guide? lol
Start - Run: "cmd" C:\...\> nasc myscript.txt and done ah - txt file has to be in Unicode. |
|
|
|
|
#6 | |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Quote:
That's how I learned to use it. I saw those posts. And it's THruth*. Anyway, ateh explained it clearly enough. |
|
|
|
|
|
#7 | |
|
Архивный участник
Join Date: Jun 2006
Posts: 17
|
Quote:
Alright it worked but gave me an error Code:
ERROR(1) : undefined super class[default_npc] at class [charles_thegreat] definition ERROR(18) : syntax error Fail to compile, total error count = 2 I love debugging... |
|
|
|
|
|
#8 |
|
Архивный участник
Join Date: Apr 2006
Posts: 236
|
only reason i said something thruth was b.c the "try searching" speech takes just as much time to tell him how to do it. why bother?
|
|
|
|
|
#9 |
|
Архивный участник
Join Date: Jun 2006
Posts: 17
|
Plus it's not like I haven't looked... B/c I have :|
Thankfully ateh put up what I needed! Thank you ateh
|
|
|
|
|
#10 |
|
Архивный участник
Join Date: Apr 2006
Posts: 118
|
you are trying to compile something like this:
Code:
class charles_thegreat : default_npc {
[your code]
}
if you want to compile this class only write sometrhing like this: Code:
class default_npc { }
class charles_thegreat : default_npc {
[your code]
}
class default_npc : (null) class_end from output file "ai.obj" |
|
|
|
|
#11 | |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Quote:
Anyway, end of offtopic. No need to discuss that again. |
|
|
|
|
|
#12 | |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Quote:
|
|
|
|
|
|
#13 |
|
Архивный участник
Join Date: Apr 2006
Posts: 118
|
both ways are good, but if you have a lot of .txt files with single classes and come back to them after few days/weeks you won't remember to change (null) to "default_npc"
|
|
|
|
|
#14 |
|
Архивный участник
Join Date: Jun 2006
Posts: 17
|
I fixed all of the MAJOR errors. They were all caused by my ignorance with this language and the basic formatting of it! Which is to be expected.
I have gone on to bigger and better errors now! Been getting alot of them conquered though! I will post them in a bit ![]() EDIT!!!! Wow just kidding about posting the errors... I just changed some variables around (again caused by ignorance) and it ran ... Success!!! I need to make a tutorial on how to do this so other people wont be as annoying as me! |
|
|
|
|
#15 |
|
Архивный участник
Join Date: May 2006
Posts: 15
|
truth i dont know ur prob but if i see ur avatar then i get a idea
if he have a question he ask in forum and for that are forums created i think |
|
|
|
|
#16 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
Don't blame me if you never learned what logic was.
|
|
|
|
|
#17 |
|
Архивный участник
Join Date: Jun 2006
Posts: 17
|
Thruth if it is on the forums then please link me... Prove me wrong... I could not and cannot find anything regarding how to compile...
I know how to do it now because I PM'd another member and he graciously told me. Thanks for your help though. I guess. |
|
|
|
|
#18 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
https://postpacific.loc-online.com/f...pic.php?t=3375
Took me 30 seconds to find it using the almighty search function. And I learned how to use nasc with that topic. |
|
|
|
|
#19 |
|
Архивный участник
Join Date: Dec 2005
Posts: 242
|
Thruth is right, in other threads we speak about this, a correct search will be usefull, so don't try defend this post.
|
|
|
|
|
#20 |
|
Архивный участник
Join Date: May 2005
Posts: 944
|
I'm gonna write a tutorial about the search function lol...since it seems most of the people can't find anything with it. :?
|
|
|
|
|