![]() |
Documentation Request
Request Scripting Documentation
We recognise that the current documentation on the new scripting engine is not excellent, therefore this thread will serve the purpose of collecting ideas and requests for documentation. Feel free to post any sort of sensible suggestion about the sort of scripting documentation that should be written for the new engine. Spam posts will be deleted. Anyone can use this thread to find some documentation that needs to be written, and write some themselves to help the community. The index of the current documentation for GScript is at http://wiki.graal.net/Creation/Dev/GScript. |
Do we have examples of the emitter yet? I've been awfully curious about that - if there was an example of "Let's take this picture of a dead fung si yuan, flip him so he's lying to the left instead of to the right, and while we're at it, let's make him redder and translucent", I could do a lot of damage with that...I mean, not damage...fun sunshines and icecream?
|
Quote:
Also, here are some good examples (Stefan made): http://forums.graalonline.com/forums...chmentid=33288 |
Possibly some common function and string manipulation documentation would be nice, I had no idea loadline(); existed before I asked.
|
Quote:
|
Cool, thanks. I'm far more dangerous with a sample than with a theory.
|
Quote:
This might be what you're looking for, or similar to. I wrote this some time ago. |
I was going to write something about the const function, but I don't know where to put it.
|
Quote:
Then link it up to http://wiki.graal.net/Creation/Dev/GScript |
Ive been writing some documentation since a little before I saw this post, Ill have some of it up later on. Mostly script and usage examples. I hope it will help someone convert over.
|
you know how you cando findplayer("account").name or something
how about all the player.variables and all the findplayer.what you can look for and the findweapon.everythings basically a break down tree view of what the main classes are and what properties they can talk to. also, for playerworld basics, to work on gmaps correctly, we really need free gs2 scripts of weapons/classes for the bow, arrows, and the bomb. i mean, those a pretty fundamental weapons. besides, graal used to come with a start level that had those weapons, the superbow, the mace and boomerang in them all for free when you downloaded it. bring stuff like that back please. |
Seriously. Given how very little works with the default movement, baddies, bombs, bows, hit detection, etc., a really nice basic script for all that would help immensely. I mean, lookit Classic - all they had to do was convert from Clientside to Serverside and it killed the server twice.
|
Quote:
http://wiki.graal.net/index.php/Crea.../TServerPlayer http://wiki.graal.net/index.php/Crea...Client/TPlayer http://wiki.graal.net/index.php/Crea...ent/TServerNPC http://wiki.graal.net/index.php/Crea.../TServerWeapon |
I really ought to be writing better documentation on Classic's systems.
Think that documentation stating the implementation of default variables would be good. Ex. player.paused and differences between how it behaves serverside and clientside. |
Thank you for the links. Interesting that the weapons have only one .attribute that can be checked.
I request a doumentation format that is less like the wikipedia format, and more like ace's scripting guide - which i found here http://web.archive.org/web/*/http://.../commands.html (the december version worked ok but some of the images are missing) but keep the search feature- still, the outline and left frame nav, right frame content, was the most user friendly way to look up information that i have encountered for gscript. In fact, much of what is in ace's scripting guide covers a lot of concept that would just need the gs2 version, and it could be come a more user friendly documentation than the list o' commands, with little to no expliation of how to actually implement the given commands in any kind of context, that much of the wiki is. ace's explinations and how he displayed the information + gs2 + a search option = a helpful guide. Also, why is the letter T before stuff like Graalvar? and Why make a page called tgraalvar when graalvar is not a variable that you will need to use when making any kind of weapon, system, display or anything in-game? just seems like unnecesary overcomplicaiton. that's my 2 cents. |
All times are GMT +2. The time now is 10:26 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.