Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 01-23-2003, 01:36 AM
Scottc1988 Scottc1988 is offline
Banned
Join Date: Jan 2003
Posts: 5
Scottc1988 is on a distinguished road
I want to learn scripting

Is there anything like Graal Scripting for Dummies? 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 ?
Reply With Quote
  #2  
Old 01-23-2003, 01:57 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
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.
__________________

subliminal message: 1+1=3
Reply With Quote
  #3  
Old 01-23-2003, 02:17 AM
Scottc1988 Scottc1988 is offline
Banned
Join Date: Jan 2003
Posts: 5
Scottc1988 is on a distinguished road
Where do I get the latest newbie scripters bible? I have an old version....
Reply With Quote
  #4  
Old 01-23-2003, 05:49 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
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
__________________

subliminal message: 1+1=3
Reply With Quote
  #5  
Old 01-23-2003, 07:22 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
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.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #6  
Old 01-23-2003, 07:33 PM
Zurkiba Zurkiba is offline
Assimilated Zurkiba
Zurkiba's Avatar
Join Date: Jul 2001
Location: Georgia
Posts: 4,094
Zurkiba is on a distinguished road
Send a message via AIM to 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...
__________________
___[Play Valikorlia]
Reply With Quote
  #7  
Old 01-23-2003, 07:52 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
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".
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #8  
Old 01-23-2003, 11:34 PM
tlf288 tlf288 is offline
Registered User
tlf288's Avatar
Join Date: Nov 2001
Location: new account: Trevor
Posts: 0
tlf288 is on a distinguished road
Send a message via AIM to tlf288 Send a message via Yahoo to tlf288
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.
__________________
new account: Trevor
Reply With Quote
  #9  
Old 01-24-2003, 10:38 AM
screen_name screen_name is offline
is watching you
Join Date: Mar 2002
Location: The 3rd Dimension
Posts: 2,160
screen_name is on a distinguished road
Send a message via AIM to screen_name Send a message via MSN to screen_name
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?
__________________
[signature]insert here[/signature]
Reply With Quote
  #10  
Old 01-24-2003, 12:13 PM
syltburk syltburk is offline
shutup ctrl+s
syltburk's Avatar
Join Date: Oct 2001
Location: Sweden, Stockholm
Posts: 3,018
syltburk is an unknown quantity at this point
Send a message via ICQ to syltburk Send a message via AIM to syltburk Send a message via Yahoo to syltburk
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......
__________________
Reply With Quote
  #11  
Old 01-24-2003, 01:09 PM
syltburk syltburk is offline
shutup ctrl+s
syltburk's Avatar
Join Date: Oct 2001
Location: Sweden, Stockholm
Posts: 3,018
syltburk is an unknown quantity at this point
Send a message via ICQ to syltburk Send a message via AIM to syltburk Send a message via Yahoo to syltburk
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) ;
__________________
Reply With Quote
  #12  
Old 01-24-2003, 02:45 PM
Com013 Com013 is offline
Registered User
Join Date: Aug 2002
Location: GMT+1
Posts: 381
Com013 is on a distinguished road
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.
__________________
Com013
Former Admin of the LAT on Graal The Adventure

e-mail: [email protected]
Reply With Quote
  #13  
Old 01-24-2003, 07:37 PM
Neoreno Neoreno is offline
Cerebrate
Neoreno's Avatar
Join Date: Aug 2001
Location: England
Posts: 1,663
Neoreno is on a distinguished road
Send a message via AIM to Neoreno
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.
__________________

Quote:
Exitus Acta Probat: The Outcome Justifies the Deed.
Reply With Quote
  #14  
Old 02-21-2003, 04:22 AM
Gremlin998 Gremlin998 is offline
Registered User
Join Date: Apr 2002
Posts: 1
Gremlin998 is on a distinguished road
Post Help me i dont no how to script

i neeed to know how to script doors and stuff
Reply With Quote
  #15  
Old 02-21-2003, 04:36 AM
PrinceDark PrinceDark is offline
Criminal X
PrinceDark's Avatar
Join Date: Feb 2003
Location: Miami, Florida
Posts: 662
PrinceDark will become famous soon enough
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.
__________________
- Criminal X: certified nut case
Reply With Quote
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 +2. The time now is 06:23 AM.


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