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-19-2010, 02:27 AM
chuninexam chuninexam is offline
Registered User
Join Date: Mar 2010
Posts: 5
chuninexam is on a distinguished road
Anybody out there?

Hey guys... wow!! These forums are dead! The whole game population is. I played this game 9 years ago before G2k1 came out (I loved G2K1) and there was usually around a thousand atleast people playing!!

In my opinion there is no server on graal right now that compares to G2K1... it's sad that it's gone.

I recently started playing again because a friend and I were thinking about old MMOs and remembered this game and the level/npc editing in this game is amazing. Fun Stuff...

So we're planning on making our own playerworld. I've been messing around with the level editor a bit but there's alot of really BASIC stuff I forget how to do. Not that I was ever good at npc editing.. in any case I need to learn how to script well and I need help.

If any of you out there with some knowledge are so kind to offer me advice, links, resources for learning I'd appreciate it.

Also if anyone is willing to chat with me to allow me to ask you some stupid questions...

add my msn ... [email protected]

... or hook me up with your chat addresses and I'll add you
Reply With Quote
  #2  
Old 03-19-2010, 02:36 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
Links that may help:

http://wiki.graal.us/ - Skyld's GS2 Documentation
http://wiki.graal.net/index.php/Creation/Dev/GScript - gBible Documentation contains a couple tutorials
http://public.zodiacdev.com/index.php?title=Fowlplay4 - Tutorial I started work on, that still needs work. Includes introduction to NC so this should interest you.
http://www.gs2.graalstudios.com/ - Twinny's scripting guide.

You can learn a lot about different functions and so on by searching previous threads, as well as working with some of the examples in the Code Gallery.

If you can't find the help you need by searching feel free to make a thread but don't abuse the privilege to the point where you're just posting and waiting for someone to finally post an entire system copy-paste solution.
__________________
Quote:
Reply With Quote
  #3  
Old 03-19-2010, 03:23 AM
chuninexam chuninexam is offline
Registered User
Join Date: Mar 2010
Posts: 5
chuninexam is on a distinguished road
Right off the bat I'm thrown off by GS2. I don't remember GS2 in the old game.
Reply With Quote
  #4  
Old 03-19-2010, 04:09 AM
Imperialistic Imperialistic is offline
graal player lord
Imperialistic's Avatar
Join Date: Apr 2007
Location: Florida
Posts: 1,094
Imperialistic is a jewel in the roughImperialistic is a jewel in the rough
In the "old game" it was GS1.
GS2 is just an improvised and improved version of it.

Those tutorials could teach a monkey, you just have to be devoted to it. I'm sure you could always Forum PM a scripter if you need help with your scripts.
__________________
" It's been swell, but the swelling's gone down. "
Reply With Quote
  #5  
Old 03-19-2010, 04:19 AM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
Quote:
Originally Posted by chuninexam View Post
Right off the bat I'm thrown off by GS2. I don't remember GS2 in the old game.
Old GScript had the quality of being relatively simple to get started with, but it blurred way too many features of scripting and was not at all extensible. GScript2 is more like a typical general purpose scripting language, which might make it look more daunting, but it is very flexible and powerful in comparison.
__________________
Skyld
Reply With Quote
  #6  
Old 03-19-2010, 04:35 AM
chuninexam chuninexam is offline
Registered User
Join Date: Mar 2010
Posts: 5
chuninexam is on a distinguished road
Quote:
Originally Posted by Skyld View Post
Old GScript had the quality of being relatively simple to get started with, but it blurred way too many features of scripting and was not at all extensible. GScript2 is more like a typical general purpose scripting language, which might make it look more daunting, but it is very flexible and powerful in comparison.
But how do I go about learning GS2 script?

"First let's cover what you need. To be able to follow this tutorial along, you will need access to RC with relevant scripting rights. Just ask your manager or whoever. While you can follow the tutorial without access, you won't get to practise anything." - From one of those tutorials..

GS2 only works online? I can only practice it when I have the ability to test it live on a server? That's something I don't get.

Should I learn GS1 first? Do I even bother learning it at all? Do they fit together?

Lol.. I hate asking unbearably stupid questions. But I'm not very good at learning so I have no choice.

Last edited by chuninexam; 03-19-2010 at 04:54 AM..
Reply With Quote
  #7  
Old 03-19-2010, 05:09 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
GS2 is compiled by the NPC-Server and transferred to the client unlike GS1 which was able to just run on the client.

There's not much point in learning GS1 since you'll be advised to use GS2 instead.
__________________
Quote:
Reply With Quote
  #8  
Old 03-19-2010, 05:32 AM
chuninexam chuninexam is offline
Registered User
Join Date: Mar 2010
Posts: 5
chuninexam is on a distinguished road
Quote:
Originally Posted by fowlplay4 View Post
GS2 is compiled by the NPC-Server and transferred to the client unlike GS1 which was able to just run on the client.

There's not much point in learning GS1 since you'll be advised to use GS2 instead.
Hmm.. I see. Well is there alot I can learn and practice without having access to the NPC server?

Is there no scripts that work both in offline and online conditions anymore?

Or should I rent a playerworld right away to have the access to the tools I need?

http://www.graalonline.com/playerwor...?page=Creation

Thanks
Reply With Quote
  #9  
Old 03-19-2010, 05:38 AM
papajchris papajchris is offline
Zeus Condero
papajchris's Avatar
Join Date: Jan 2006
Location: Michigan
Posts: 1,600
papajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to beholdpapajchris is a splendid one to behold
pm tig i think to get access to testbed, a server that is ran by scripters. its just a place to meet other scripters and to test your scripts.
__________________
Reply With Quote
  #10  
Old 03-19-2010, 05:39 AM
maximus_asinus maximus_asinus is offline
RIP DarkCloud_PK
Join Date: Oct 2001
Location: Canada
Posts: 3,748
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
Forum PM Tigairius, I believe he is in charge of the Testbed server. The Testbed server is used for aspiring scripters. Basically you're given all the rights you need on a live server to test whatever you wish.
__________________
Save Classic!
Reply With Quote
  #11  
Old 03-19-2010, 06:03 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
Quote:
Originally Posted by chuninexam View Post
Is there no scripts that work both in offline and online conditions anymore?
Common GS1 scripts typically work but those should/most likely will be replaced with proper class scripts and placed in levels with minimal code like so:

PHP Code:
function onCreated() {
  
this.join("door");

Then in the door class script:

PHP Code:
//#CLIENTSIDE
function onPlayerTouchsMe() {
  
// Hide the door
  
hide();
  
// Pause the script for 3 seconds
  
waitfor(this"Wait"3);
  
// Un-hide the door
  
show();

__________________
Quote:
Reply With Quote
  #12  
Old 03-19-2010, 07:33 AM
chuninexam chuninexam is offline
Registered User
Join Date: Mar 2010
Posts: 5
chuninexam is on a distinguished road
Quote:
Originally Posted by fowlplay4 View Post
Common GS1 scripts typically work but those should/most likely will be replaced with proper class scripts and placed in levels with minimal code like so:
I see... well thanks everyone for the help.
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:55 PM.


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