![]() |
Seeking refrence material
I have been away from gscript for a while, and notice more c like functionality such as case-switch statements.
Where can I find a complete list of all the old and new gscript commands with examples? Kind of like a gscipt dictionary is what I seek, to refamiliarize myself with the language. I checked my graal folder after re-downloading the client, and the npcprogramming.doc has not been updated in some years. |
Quote:
|
Thank you, that page is somewhat helpful.
I can infer what most of the new commands are, and its going to mean a lot more typing for us scripters. Short commands such as #a being replaced with player.account ... I understand how it makes it more intuitive for other programmers who are new to graal, but for oldbies like me it just looks like more work and more time to make scripts now. Also the sample script of the door image that plays the chest.wav did not work on the server that I am an nat on, and i am told that server is gscript2 enabled (sanstrata). Graal3 does not load any playerworld for me, I am using the graal online app compiled Jan 28 2005. More short, simple examples like that door - sound script, with the commands being used in a meaningful context, would be very helpful. For example, an npc that makes a window open. Not asking for much, but just something comparable to a dictionary where each word is used in proper context. Every language should have something like that. The wiki boad has a start on it, just needs some more common sense understanding aides. Here is an example of a program language tutorial (other than better navigation, the underlying purpose is good) http://www-cgi.cs.cmu.edu/cgi-bin/perl-man And Stefan, remember in the next version of the level editor, to have the default 'new npc' with if (created) {} if (playertouchsme) {} to have the appropriate gscript2 equivelant, as well as a more detailed and descriptive list of the gscript2 commands in the commands.rtf file. I think this will help us long time gscripters out in adapting to the new version, thanks. |
Quote:
Quote:
|
string.loadlines("file");
string becomes an array of the lines from the file specified. |
Is that relevant in the slightest?
|
Quote:
|
Quote:
|
So when someone asks for a complete reference material, you define a single command? You're now a great scripter, you compare to those who've already made complete gs2 reference guides.
|
Quote:
You compare to that troll kaimetsu who has nothing better to do than think up pointless ways to try and berrate people. Why not be more proactive in your trolling? Like these guys |
You're an idiot. You're new to the forums, you contribute differently then the thread title even suggests. It says "seeking refrence material", not "seeking gs2 command". Then you say that people who actually read a topic and actually have something posotive to add on are trolling because they point out your lack of intelligence and want of raised postcount. Then, you attempt to insult Kaimetsu and myself by saying that we have nothing better to do than try to berrate people. If I were to seriously berrate you, you wouldn't want to come on the forums anymore. LOL GO HOME n00basaur!!!11one1!
|
*sigh*
I'm not new to the forums. I'm not new to graal. Prozac is my friend. You are the only ***** here. |
Quote:
"LOL KAI SUCKS BC HE CRITICISES PEOPLE" Do you not detect even the slightest hint of hypocrisy? In making a post to insult me by saying I insult people too much? Or in the fact that you've barged into two separate threads now - one of which I hadn't even touched yet - in order to call me a troll? Do you really not know what the word means? Think |
Robin, thanks for your help.
One thing that has not changed on the graal forums in five freakin years is that there have always been an abundance of people with very short tempers, or nothing better do to, ready to pull you into an argument. Be better than them, think positive and stick to the subject. Outdo the trolls. Note how I am not listing any names here, this is a general comment about the past half decade of the graal forums. If anyone has more helpful refrences, ie. comparison of a simple weapon (bow) of gscript2 vs. gscript1 that would be helpful. Does anyone else remember older versions of graal that came with that starting room with half a dozen free scripts, to look at and learn by example. Seeing existing examples like Ace's scripting guide was how I learned gscript in the first place. |
Quote:
And you're just still mad at me for those Stargate SG1 Spoilers. |
I'm one badass troll, except I'm a ganster troll. I roll on my 24s in my escalade, blasting my uzi out the window, grunting at everyone.
|
Quote:
|
Quote:
|
Im talking D&D :)
|
Quote:
|
...
|
Quote:
|
Quote:
|
Quote:
|
yeah but this time, he dies and buggers of for an entire season.
|
| All times are GMT +2. The time now is 08:50 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.