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-04-2011, 05:43 AM
Astram Astram is offline
Era iPhone PR
Astram's Avatar
Join Date: Aug 2010
Posts: 324
Astram can only hope to improve
Send a message via AIM to Astram
GS2 Scripting Tutorial

Im working on a scripting tutorial, I know I'm not a master but this is for beginners... This is NOT done and will be updated eventually in this thread. If anyone has anothing you want me to add, just comment.
Attached Files
File Type: txt GS2Tutorial.txt (41.1 KB, 1168 views)
__________________
-Toad
The worlds biggest Toad fan...
Era iPhone FTW!


Reply With Quote
  #2  
Old 03-04-2011, 05:57 AM
Jcs1919 Jcs1919 is offline
hi
Jcs1919's Avatar
Join Date: Feb 2008
Location: France
Posts: 387
Jcs1919 will become famous soon enough
Send a message via MSN to Jcs1919
Quote:
Originally Posted by Astram View Post
Im working on a scripting tutorial, I know I'm not a master but this is for beginners... This is NOT done and will be updated eventually in this thread. If anyone has anothing you want me to add, just comment.
too hard for me
__________________
ich bin
Reply With Quote
  #3  
Old 03-04-2011, 06:33 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
I haven't read through it, but.... please teach indenting as you teach scripting, not after. I never indented my scripts for the first year or so I was scripting in GS2 and it was a pain learning to do it.

edit: It also seems a bit hard to navigate. You would do better formatting it as a form post or wiki article. If you don't have gold I'm sure Felix would be more than happy to transfer it to the Graal Bible for you.
__________________
Reply With Quote
  #4  
Old 03-04-2011, 06:59 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
I would wholly recommend learning say Python, Ruby (<3), Javascript, or even Java and then learning the syntax of GS2 afterwards.

Truthfully, I really don't think you should be giving out scripting advice, given the fact that you still are a beginner and your potential to give out bad advice is very high.
__________________
Quote:
Reply With Quote
  #5  
Old 03-04-2011, 09:54 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Well I learned scripting from the GS2 commands list in the forums, and watching other scripts, changing them (experimenting) and so on

Link for GS2 commands list:
http://forums.graalonline.com/forums...ad.php?t=69323
Reply With Quote
  #6  
Old 03-04-2011, 11:19 PM
BboyEatsbacon BboyEatsbacon is offline
The Bacon Man
BboyEatsbacon's Avatar
Join Date: Feb 2011
Location: United States
Posts: 60
BboyEatsbacon will become famous soon enough
No offence, but I kinda like http://wiki.graal.us/Index or http://public.zodiacdev.com/index.php?title=Fowlplay4 better. Nice try though! :]
__________________
Reply With Quote
  #7  
Old 03-04-2011, 11:31 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Oh well I also use http://www.graal.net/index.php/Creation/Dev/GScript for GUI´s mostly
Reply With Quote
  #8  
Old 03-05-2011, 04:40 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
*self promotion*

http://gs2.graalstudios.com

One day I'll finish what I started there...one day!
Reply With Quote
  #9  
Old 03-05-2011, 05:20 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
http://forums.graalonline.com/forums...isplay.php?f=8

Look at other peoples mistakes, learn from them, check the code gallery for examples, ... after a while you know the basics
Reply With Quote
  #10  
Old 03-05-2011, 06:27 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
I have the starts of a (fairly non-standard) GS2 tutorial sitting around somewhere too, but I have more important Graal-related things to do before that, sadly.
Reply With Quote
  #11  
Old 03-05-2011, 08:38 AM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Well I went ahead and started adding 'Related Documentation' to the end of nearly every part in my tutorial.

The related documentation consists of forum posts, GS2 + gBible Wiki articles, and links to other people's (I.e: Twinny) tutorials.
__________________
Quote:
Reply With Quote
  #12  
Old 03-05-2011, 08:48 AM
MattKan MattKan is offline
the KattMan
Join Date: Aug 2010
Location: United States
Posts: 1,325
MattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to beholdMattKan is a splendid one to behold
Send a message via AIM to MattKan
Quote:
Originally Posted by fowlplay4 View Post
Well I went ahead and started adding 'Related Documentation' to the end of nearly every part in my tutorial.

The related documentation consists of forum posts, GS2 + gBible Wiki articles, and links to other people's (I.e: Twinny) tutorials.
Just for the record when I first started to script, you and Twinny's tutorials helped me a lot, so thanks
__________________
Quote:
Originally Posted by Satoru Iwata
On the other hand, free-to-play games, if unbalanced, could result in some consumers paying extremely large amounts of money, and we can certainly not expect to build a good relationship with our consumers in this fashion. In order to have a favorable long-term relationship, we would like to offer free-to-play games that are balanced and reasonable.
Quote:
Originally Posted by Unximad
Eurocenter Games remains attached to the values of indies game developer and to the service our playerbase community.
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 11:58 PM.


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