Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   GS2 Scripting Tutorial (https://forums.graalonline.com/forums/showthread.php?t=134262304)

Astram 03-04-2011 05:43 AM

GS2 Scripting Tutorial
 
1 Attachment(s)
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.

Jcs1919 03-04-2011 05:57 AM

Quote:

Originally Posted by Astram (Post 1634408)
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

cbk1994 03-04-2011 06:33 AM

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.

fowlplay4 03-04-2011 06:59 AM

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.

callimuc 03-04-2011 09:54 PM

Well I learned scripting from the GS2 commands list in the forums, and watching other scripts, changing them (experimenting) and so on :D

Link for GS2 commands list:
http://forums.graalonline.com/forums...ad.php?t=69323

BboyEatsbacon 03-04-2011 11:19 PM

No offence, but I kinda like http://wiki.graal.us/Index or http://public.zodiacdev.com/index.php?title=Fowlplay4 better. Nice try though! :]

callimuc 03-04-2011 11:31 PM

Oh well I also use http://www.graal.net/index.php/Creation/Dev/GScript for GUI“s mostly :D

Twinny 03-05-2011 04:40 AM

*self promotion*

http://gs2.graalstudios.com

One day I'll finish what I started there...one day!

callimuc 03-05-2011 05:20 AM

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 ^^

WhiteDragon 03-05-2011 06:27 AM

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.

fowlplay4 03-05-2011 08:38 AM

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.

MattKan 03-05-2011 08:48 AM

Quote:

Originally Posted by fowlplay4 (Post 1634639)
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 :)


All times are GMT +2. The time now is 03:58 PM.

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