Graalians

Graalians (https://www.graalians.com/forums/index.php)
-   General Graal Discussion (https://www.graalians.com/forums/forumdisplay.php?f=2)
-   -   What language is graal scripted in? (https://www.graalians.com/forums/showthread.php?t=10056)

Sup3rn00b 09-04-2012 01:38 AM

What language is graal scripted in?
 
title asks it all.

MrSimons 09-04-2012 01:39 AM

Gs2

Casanova 09-04-2012 01:39 AM

The in-game scripting language is GScript. More commonly known as GS2.

eric 09-04-2012 02:10 AM

English Bwahahaha

Kiwi 09-04-2012 06:49 AM

Do you mean the in-game language, or the client itself?

Maxy 09-04-2012 09:22 AM

gs2 with I think is related to java and C

Twinny 09-05-2012 01:24 AM

The client used to be Java then Ddelphi but now it's moved to C++ with some lingering Delphi elements although they may have been completely removed by now.

Basically: C++

Skill 09-05-2012 02:34 AM

Graal is programmed in c++(how the overall engine was made)

Creating content for Graal(scripts that do things like say making an events system) is done in gs2, which Stefan created.

So if you want to help Graal, I would recommend learning gs2. If you want to mimick Graal to make your own game, learn c++.

gs2 is without a doubt easier, but c++ is much better documented, being one of the most commonly used programming languages, used professionally.

Tricxta 09-05-2012 03:40 AM

Quote:

Posted by Skill (Post 193381)
Graal is programmed in c++(how the overall engine was made)

Creating content for Graal(scripts that do things like say making an events system) is done in gs2, which Stefan created.

So if you want to help Graal, I would recommend learning gs2. If you want to mimick Graal to make your own game, learn c++.

gs2 is without a doubt easier, but c++ is much better documented, being one of the most commonly used programming languages, used professionally.

Lawl. I doubt stefan actually made a script interpreter from scratch and rather just used an already existing interpreter such as torque 2d to create an in game language.

There's quite a few free interpreters out there for anyone interested. I'm currently using Rhino(javascript interpreter) which closely mimics the syntax of gs2 as well.
http://www.mozilla.org/rhino/

Twinny 09-05-2012 04:31 AM

Quote:

Posted by Tricxta (Post 193410)
Lawl. I doubt stefan actually made a script interpreter from scratch and rather just used an already existing interpreter such as torque 2d to create an in game language.

There's quite a few free interpreters out there for anyone interested. I'm currently using Rhino(javascript interpreter) which closely mimics the syntax of gs2 as well.
http://www.mozilla.org/rhino/

Originally yes, he used TorqueScript (in Graal 3 client which first introduced Graal3d) but it has since evolved considerably since those days.

Now, I don't think v6 uses a single bit of torquescript but gs2 is still based off it.

SnakeRekon 09-05-2012 08:05 AM

Graal 3D <3

XENA* 09-05-2012 02:01 PM

Lolol Graal 3D sucks haha

Dusty 09-05-2012 02:54 PM

Quote:

Posted by Tricxta (Post 193410)
Lawl. I doubt stefan actually made a script interpreter from scratch and rather just used an already existing interpreter such as torque 2d to create an in game language.

There's quite a few free interpreters out there for anyone interested. I'm currently using Rhino(javascript interpreter) which closely mimics the syntax of gs2 as well.
http://www.mozilla.org/rhino/

GS1 was something he made from scratch as far as I know.

Tricxta 09-06-2012 04:57 AM

Quote:

Posted by Dusty (Post 193593)
GS1 was something he made from scratch as far as I know.

I always got the impression it was just a dumbed down mod from gamemonkey.
http://www.gmscript.com/

Dusty 09-06-2012 05:27 AM

I highly doubt it, it doesn't even look all that familiar. You have you remember even basic things like functions didn't come around until 2001.


All times are GMT. The time now is 01:58 AM.

Powered by vBulletin/Copyright ©2000 - 2026, vBulletin Solutions Inc.