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 03-30-2004, 05:38 AM
protagonist protagonist is offline
Banned
protagonist's Avatar
Join Date: May 2003
Location: CAW
Posts: 5,586
protagonist is on a distinguished road
Send a message via AIM to protagonist Send a message via MSN to protagonist
Just a question

How long would you recommend practicing scripting a day? I mean so that it doesn't become like a really boring task, but the practice is still useful.

I really want to get good at scripting, but I have many time constraints that disallow the use of the computer. Does writing in scribblers and some such help any?
Reply With Quote
  #2  
Old 03-30-2004, 05:41 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
o.O I've never ever heard of 'practicing' scripting... usually you just chose something to script and... script it
Reply With Quote
  #3  
Old 03-30-2004, 06:26 AM
DIABLO2099 DIABLO2099 is offline
Registered User
Join Date: Sep 2002
Location: New York
Posts: 290
DIABLO2099 is on a distinguished road
Yes, or you can learn a new concept and then try to make something you have previously made, but more efficiently or using the new things you have learned.
__________________
-Former UnholyNation Server Manager.

Call me Xecutor.
Reply With Quote
  #4  
Old 03-30-2004, 09:54 AM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Pick a new command, and try to fit it into a script?
__________________
V$:CONFL16T
Reply With Quote
  #5  
Old 03-30-2004, 12:28 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
The problem for most people is that they try and script somthing with a little bit of complexity for thier first script. If you pic somthing truly basic, then slowly work your way up you'll find that learning to script is very easy. I learn all my scripting and theory from npcprogramming.doc, which can be found in you Graal folder. The only other thing I can say is that you need good maths skills to solve problems, and optimize scripts, although this does not become an issue until your scripts become more complex.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #6  
Old 03-30-2004, 02:29 PM
WanDaMan WanDaMan is offline
Master Tux
WanDaMan's Avatar
Join Date: Aug 2002
Location: England, United Kingdom
Posts: 5,571
WanDaMan is a jewel in the roughWanDaMan is a jewel in the rough
Send a message via MSN to WanDaMan
Quote:
Originally posted by Polo
The problem for most people is that they try and script somthing with a little bit of complexity for thier first script. If you pic somthing truly basic, then slowly work your way up you'll find that learning to script is very easy. I learn all my scripting and theory from npcprogramming.doc, which can be found in you Graal folder. The only other thing I can say is that you need good maths skills to solve problems, and optimize scripts, although this does not become an issue until your scripts become more complex.
I can't do anything mathmatical, sin and cos is an exception. I havn't had a maths teacher for around 3 years... So.. well
__________________
V$:CONFL16T
Reply With Quote
  #7  
Old 03-30-2004, 04:23 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Practice all the time, even if just by thinking about how scripting works while doing other things :P
Reply With Quote
  #8  
Old 03-30-2004, 04:46 PM
Dach Dach is offline
call me Chad, it's cooler
Dach's Avatar
Join Date: Aug 2002
Posts: 1,899
Dach is on a distinguished road
Quote:
Originally posted by Loriel
Practice all the time, even if just by thinking about how scripting works while doing other things :P
to expand on this, Think about how things work in your daily life, and just think of ways to recreate them in script. I seem to do that alot. It's the same as drawing or any other art, you look at the world around you and you get inspirations and ideas. The hard part is just understanding things enough to adapt them into Gscript, then to debug (unless you just happen to get it right the first time, that's the best)
__________________
Scripting Documents:Old Script Documentation-Movement Tutorial
Reply With Quote
  #9  
Old 03-30-2004, 05:05 PM
Polo Polo is offline
Classic Systems Admin
Join Date: Sep 2002
Location: Vancouver, Canada
Posts: 735
Polo is on a distinguished road
Send a message via AIM to Polo
Quote:
Originally posted by WanDaMan

I can't do anything mathmatical, sin and cos is an exception. I havn't had a maths teacher for around 3 years... So.. well
You can do 3D rotation using just sin and cos. Ok, so you might have to know how to do matrix multiplication, but if you specifically only want 3D rotation, then someone can always expand it out. What i'm saying is its not how much maths you know, its how you think logically and how you try and apply methods to solve problems.

Whoever suggested taking an everyday object and thinking about how youd script it is right, but I feel the most useful suggestion in this thread is to pick a new command, make a test script so that you can learn how to use it backwards, then pick a new command and repeat. By taking things one step at a time, and by focussing on just one new command at a time, you'll learn things pretty quickly.
__________________
Be good little players, or Master Storm will ban you!



Proof that the staff are crazy..
*Ghost Pirate: I'm a little teacup short and stubbe here is my raygun here is my butt
DragonX: Jumping jack rabbits Batman! Our eggo waffles have been stolen! To the batmobile Robin!
X-Mann (RC): I have a head ache
Reply With Quote
  #10  
Old 03-30-2004, 06:02 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Time is a good friend too, you'll be getting knowledge with the time.
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #11  
Old 03-30-2004, 06:55 PM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Quote:
Originally posted by osrs
Time is a good friend too, you'll be getting knowledge with the time.
Yea, even though you won't get a lot smarter if you stare at the screen for 1 month without doing anything
__________________
-Kjetil Valen
Reply With Quote
  #12  
Old 03-30-2004, 09:47 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by osrs
Time is a good friend too, you'll be getting knowledge with the time.
Actually, that's what this is all about, isn't it?

As you practice scripting, you develop new methods and techniques over time. If, as Vex_Rat_Boy (forgot the real nick) already pointed out, you don't script for a long period, it won't make your knowledge go any level higher. It's far more obvious it will go down.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #13  
Old 03-30-2004, 11:59 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
It helps to look at good scripts too, but only if you understand what happens there. You will eventually find nice patterns and idioms that you would not have thought of but that make life easier.
Guess it helps to have been staff on 2k1 and 2k2...
Reply With Quote
  #14  
Old 03-31-2004, 12:14 AM
Kristi Kristi is offline
Bowie's Deciple
Kristi's Avatar
Join Date: Dec 2003
Location: Boston, MA
Posts: 748
Kristi has a spectacular aura aboutKristi has a spectacular aura about
Send a message via AIM to Kristi Send a message via MSN to Kristi
Algorithims above coding, i cannot stress this enough!
__________________
Reply With Quote
  #15  
Old 03-31-2004, 03:29 AM
thrashsoul thrashsoul is offline
Unregistered User
Join Date: Jan 2002
Posts: 595
thrashsoul is on a distinguished road
Send a message via AIM to thrashsoul
You need to understand the basic concepts of scripting, then expand your horizions to more advanced things. Master a command before you challenge another one.
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 09:12 PM.


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