Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   I want to learn scripting (https://forums.graalonline.com/forums/showthread.php?t=42180)

Scottc1988 01-23-2003 01:36 AM

I want to learn scripting
 
Is there anything like Graal Scripting for Dummies? :D I know theres the newbie scripters bible, but its so much and it hurts my eyes. I like to sit down for hours and read info. For example when I was learnin vb I found a humorous guide and it kept me readin, anythin like that for stupid ppl ? :D

Falcor 01-23-2003 01:57 AM

not really, but any background in any other programming language helps. From there all you really need to learn is what the commands do.

There is Ace's scripting bible, but that covers commands up to v 2.0.4 or something, not the newer stuff.

Scottc1988 01-23-2003 02:17 AM

Where do I get the latest newbie scripters bible? I have an old version....

Falcor 01-23-2003 05:49 AM

Thats probably the latest. In any case, all the real core info is in the older versions, so it really doesnt matter all too much. once you advance, you might want to look into newfeatures2001 and newfeatures2002.txt in your graal folder

Neoreno 01-23-2003 07:22 PM

Isn't there an npc scripting document in the Graal2001 folder?
That gives basic explainations of how to script. Although for the new scripter it gets confusing about the time you hit the halfway mark, well, at least it did for me.


The best advice I can offer is get a tutor. Worked for me.

Zurkiba 01-23-2003 07:33 PM

Scripting is easy to get into... but you need to know your math and every single command and how they work online o.o...

Neoreno 01-23-2003 07:52 PM

Quote:

Originally posted by Zurkiba
Scripting is easy to get into... but you need to know your math and every single command and how they work online o.o...
That's like saying to a limbless person "Walking is easy if you have legs".

tlf288 01-23-2003 11:34 PM

What I did was learn basic-intermediate skills in GScript. Then I went to Graal2001 or some other server and tried to script copies of other things.

Just work your way up. It will probally take you 3-9 months until you are good enough to get a job on a server. Maybe even longer than that.

screen_name 01-24-2003 10:38 AM

Quote:

Originally posted by Neoreno


That's like saying to a limbless person "Walking is easy if you have legs".

How come they have to be limbless for that to be the same? How come they can't have arms and it be just as meaningful?

syltburk 01-24-2003 12:13 PM

i got some questions

why do i use () does in just some words

when do you use setstrings
why do i basicly use numbers and when do i use them....


I mean ive tried a scripter trainee, but it was realy much help, told me just what it ment but didnt tell me when i was gonna use it....


I dont now if scripting is for me, im not from England or USA and its hard for me to anderstand what it means....

only chance for me would be if i got somebody who talked to me in direct chat......

syltburk 01-24-2003 01:09 PM

O_O what does variabels mean


see what i mean?
i only want to learn scripting becuse i dont want to be LAT only every single time....

and what i mean with () is for exampel (#c I rox0r you in GraAl) if(playersays)"Hey" (dontblock) (Hide) ;

Com013 01-24-2003 02:45 PM

Quote:

Originally posted by tlf288
Just work your way up. It will probally take you 3-9 months until you are good enough to get a job on a server. Maybe even longer than that.
It took me 16 months to rise from newbie to LAT Admin. (I don't know when I joined the LAT as a scripter. I guess it was after 5 months or so).
But I had already experience with C and I only started playing Graal because of the level editor and the scripting possibilites.

Neoreno 01-24-2003 07:37 PM

Syntax is usually like

if (){
}


() is for checking things like variables using
==
>=
<=
>
<

Quote:

if (variable==1){
commands;
}
This checks if the variable "variable" is equal to 1.

{} is for putting commands in. They are usually only needed if you put multiple commands in.

Checking for strings is a little different, because they can't be checked like variables can be.



Quote:

if (strequals(string,stringtext))
{
commands;
}
strequals(,) checks if the string is equal to the string text.

It follows that pattern usually.

Gremlin998 02-21-2003 04:22 AM

Help me i dont no how to script
 
i neeed to know how to script doors and stuff

PrinceDark 02-21-2003 04:36 AM

http://newbiescriptersbible.freewebspace.com
That is updated to version 2.17 I think. It goes over every single command.

I still have the old file npcprogramming.doc. I think that's a good place to start as well. I don't know if I can post it though. It no longer comes with the game either. Now everything new is posted in the newfeatures2002.txt.


All times are GMT +2. The time now is 12:40 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.