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 12-06-2001, 08:58 PM
-_Soulhunter_- -_Soulhunter_- is offline
Registered User
Join Date: Nov 2001
Location: Near my computer :D
Posts: 154
-_Soulhunter_- is on a distinguished road
Best way to learn..

Write how to learn scripting in the best way..
some off your own small but good scripts that
are useful

Please i really wanna learn to script!
__________________
Name on Graal - Ferret
Server - Andor, Babylon
Coolest tag - Events Admin
Reply With Quote
  #2  
Old 12-06-2001, 09:37 PM
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
Best way to learn is to teach yourslef. In my experiences I found out that someone explaining things is far less effective then your figureing out what they mean becasue then it last longer in your head. only YOU can engrave knowledge in your head. Other people cannot do it for you. But in any case if you wanna get to know THE BASICS (note isaid BASICS not ADVANCED stuff) Then read Ace's Newbies scripting guide in the NPCs tutorical section of the g2k1 site.
__________________

subliminal message: 1+1=3
Reply With Quote
  #3  
Old 12-07-2001, 04:02 AM
KJS KJS is offline
The one, The only -
KJS's Avatar
Join Date: Apr 2001
Location: USA, Minnesota
Posts: 1,012
KJS is on a distinguished road
Send a message via AIM to KJS
I say teach your self (I basically did that to learn how to program and graal script is a lot like programming)...

but teaching your self is the best way because then you learn each command and how they react with everything...

just trail and error... if you screw up on something you will probably not do that thing wrong again because you know what you did and it will stick in your mind...
__________________
Thanks,
-KJL
Reply With Quote
  #4  
Old 12-07-2001, 05:45 AM
Poogle Poogle is offline
Registered User
Poogle's Avatar
Join Date: Jun 2001
Posts: 2,471
Poogle is on a distinguished road
Quote:
Originally posted by KJS
I say teach your self (I basically did that to learn how to program and graal script is a lot like programming)...

but teaching your self is the best way because then you learn each command and how they react with everything...

just trail and error... if you screw up on something you will probably not do that thing wrong again because you know what you did and it will stick in your mind...
thats how i learned to script
Reply With Quote
  #5  
Old 12-08-2001, 09:58 AM
ShockwaveISTHEBEST ShockwaveISTHEBEST is offline
Registered User
Join Date: Nov 2001
Location: never never land
Posts: 208
ShockwaveISTHEBEST is on a distinguished road
Send a message via AIM to ShockwaveISTHEBEST Send a message via Yahoo to ShockwaveISTHEBEST
Im with you guys I taught myself especially from other scripts, all I really want to learn now is strequals and triggeractions. Befor when I sucked at scripting my friend told me simply to read the new features lots of examples and explained by the creator(stefan) so its really in general. You should read it it helps.
Reply With Quote
  #6  
Old 12-08-2001, 01:20 PM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
It depends on your learning style. I could tell you how I learned, but it may not help you at all. It might instead put you on a long ride of confusion that would loop around and bring you back to where you are now. That would get you somewhere, because you'd know of the track then...but it's much easier if you take the right path for your learning style.

The first step is figuring out how you learn. Do you learn better when someone tells you what to do, or does figuring it out yourself help engrave it in your mind? Do you like being given clues as to where to go, or maybe know where everything is, and have to make the path for yourself?

Once you figure out how you learn, find a way to learn scripting that works for you. If you need a mentor, find one. If you need a good tutorial, ask around. If you need the commands, go print out the list. Find out what will help you learn best, then get it.
Reply With Quote
  #7  
Old 12-08-2001, 01:34 PM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by ShockwaveISTHEBEST
Im with you guys I taught myself especially from other scripts, all I really want to learn now is strequals and triggeractions. Befor when I sucked at scripting my friend told me simply to read the new features lots of examples and explained by the creator(stefan) so its really in general. You should read it it helps.
strequals is so simple you'll hit yourself hard when you find out
read the newfeatures.txt for triggeraction
Reply With Quote
  #8  
Old 12-08-2001, 01:38 PM
adam adam is offline
http://wiki.graal.us/
adam's Avatar
Join Date: Nov 2001
Posts: 2,247
adam has a spectacular aura aboutadam has a spectacular aura about
Send a message via AIM to adam
Quote:
Originally posted by kyle0654
It depends on your learning style. I could tell you how I learned, but it may not help you at all. It might instead put you on a long ride of confusion that would loop around and bring you back to where you are now. That would get you somewhere, because you'd know of the track then...but it's much easier if you take the right path for your learning style.

The first step is figuring out how you learn. Do you learn better when someone tells you what to do, or does figuring it out yourself help engrave it in your mind? Do you like being given clues as to where to go, or maybe know where everything is, and have to make the path for yourself?

Once you figure out how you learn, find a way to learn scripting that works for you. If you need a mentor, find one. If you need a good tutorial, ask around. If you need the commands, go print out the list. Find out what will help you learn best, then get it.

OMG kyle do you know anyone from ITT Tech? OMG I just got done with some course that tought all about learning styles !@$


AND THEY CALL THIER TUTORS MENTOR'S!@!
__________________
Rogue Shadow (TCN)(NAT)(Global Development Team)

For development help, contact the patrons of the #graaldt irc channel below, I am usually there.
Click Here to Join IRC Chat Now! -- irc.freenode.net Channel: #graaldt
Quote:
<Dustyshouri> no, RogueShadow is always talking about scripts lol
<Dustyshouri> in fact, he pretty much brought Graal back as a topic single-handedly
Reply With Quote
  #9  
Old 12-08-2001, 01:55 PM
BocoC BocoC is offline
Registered User
BocoC's Avatar
Join Date: Jun 2001
Location: Washington State, USA
Posts: 980
BocoC is on a distinguished road
Send a message via AIM to BocoC Send a message via Yahoo to BocoC
Don't be afraid to ask questions.
__________________
-Boco

FLKJH$TRFG*$(&%>FMG >REN<>F ;.kjsd
Reply With Quote
  #10  
Old 12-08-2001, 02:07 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by Gspeed2000
Give yourself some goals, like sudden jolts of inspiration, like when I made a totally new chat system just to prove that there is a way better less laggy way to make a chat system ;-)
this is what i do, when i learn a new command in scripting i find everyway to incorporate it into my scripts ... i also try to perfect my old scripts and make them shorter but just as efficient ...
Reply With Quote
  #11  
Old 12-08-2001, 02:09 PM
nyghtGT nyghtGT is offline
Banned
nyghtGT's Avatar
Join Date: Jun 2001
Posts: 3,993
nyghtGT is on a distinguished road
Send a message via AIM to nyghtGT
Quote:
Originally posted by BocoC
Don't be afraid to ask questions.
and by this he/we mean asking for help with commands and such, or fixing scripts .... not asking for them ....
Reply With Quote
  #12  
Old 12-08-2001, 02:24 PM
kyle0654 kyle0654 is offline
-. .`
kyle0654's Avatar
Join Date: Mar 2001
Posts: 1,000
kyle0654 will become famous soon enough
Quote:
Originally posted by adam



OMG kyle do you know anyone from ITT Tech? OMG I just got done with some course that tought all about learning styles !@$


AND THEY CALL THIER TUTORS MENTOR'S!@!
Uhm, nope...just common sense and the way I speak I guess. (I'm only 17 in case you're wondering, and I don't live close enough to any ITT Tech to know someone from one)
Reply With Quote
  #13  
Old 12-08-2001, 09:34 PM
ShockwaveISTHEBEST ShockwaveISTHEBEST is offline
Registered User
Join Date: Nov 2001
Location: never never land
Posts: 208
ShockwaveISTHEBEST is on a distinguished road
Send a message via AIM to ShockwaveISTHEBEST Send a message via Yahoo to ShockwaveISTHEBEST
well I have read the triggeraction stuff and strequal stuff in the new features, but it still looks like a bunch of jibberish when i see it in a script, and I still dont even know what there used for.
__________________
[img]http://rick.*******ers.net/ss/users/jerrytyrrell64/Shockwave%20Sig%2003.jpg[/img]
Reply With Quote
  #14  
Old 12-09-2001, 01:03 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,746
maximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond reputemaximus_asinus has a reputation beyond repute
I am not much for explainations but I will try.
When you use strequals as you probably already know,its a flag (kinda like strcontains )
I will get right off to explain how you use it
First off I will set a value to server.variable as a string(you know what this is I hope).
if (created) {
setstring server.variable,69;
timeout=.05;
}

Thats pretty basic.
Now I want to use strequals in a flag:
//if the variable is equal to 69.
if (strequals(#s(server.variable),69) {
message #s(server.variable);//tells me what the string equals.
}

Now I will explain what these parts stand for.
#s is pretty basic.It shows a value of the variable in a string.
Then there is where you put the variable.Thats the (server.variable) part.you change it to be what you want it to be.
and then the ,69 part.Well basically the comma in this format just means equals to.Really its not that hard.
I probably wasn't much help.
__________________
Save Classic!
Reply With Quote
  #15  
Old 12-09-2001, 01:40 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
Quote:
Originally posted by Gspeed2000
Give yourself some goals, like sudden jolts of inspiration, like when I made a totally new chat system just to prove that there is a way better less laggy way to make a chat system ;-)
Faheria chat lags soo much b/c we only have like 56k bandwidth unlike you woh has like 12397679kbs
__________________

subliminal message: 1+1=3
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 12:01 PM.


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