The forum has been set to read-only mode. For community discussion and questions, head over to our Discord: https://discord.gg/taleoftwowastelands

Is the scripting language the GECK uses based on a real-world programming language?

General mod discussion and requests.
Post Reply
User avatar
XanthosGambit
Posts: 79
Joined: Sun Oct 30, 2016 1:46 pm
Contact:

Is the scripting language the GECK uses based on a real-world programming language?

Post by XanthosGambit » Thu Aug 11, 2022 10:33 am

And why the hell is there no "then" statement? You've got an "if" right there, why not add a "then?" It'd make my life so much easier. As of now I have no idea how to do the equivalent of an "if...then" statement in the GECK.

User avatar
Bullfrog
Posts: 146
Joined: Mon Jun 13, 2022 3:01 pm

Re: Is the scripting language the GECK uses based on a real-world programming language?

Post by Bullfrog » Thu Aug 11, 2022 12:39 pm

I'm not sure what Bethesda based their scripting on, but if you're familiar with some scripting or coding language, it isn't hard to learn Bethesda's way of doing it. I'm familiar with C++. No "then" is needed for an "if" condition. In C++ you'd just do:

Code: Select all

if ( some condition )
{
   do this;
   do that;
}
else if ( next condition )
{
   do something else;
}
else
{
   more stuff to do;
}

User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

Re: Is the scripting language the GECK uses based on a real-world programming language?

Post by RoyBatty » Thu Aug 11, 2022 8:12 pm

It's a mix of VB and pascal and C++ like syntaxes. Bethesda didn't create it, its from Gamebryo which was made by Emergent Technologies in Korea. They did expand it and change it however to suit their needs, along with just about everything else in the engine.
Image

User avatar
XanthosGambit
Posts: 79
Joined: Sun Oct 30, 2016 1:46 pm
Contact:

Re: Is the scripting language the GECK uses based on a real-world programming language?

Post by XanthosGambit » Thu Aug 11, 2022 9:57 pm

RoyBatty wrote:
Thu Aug 11, 2022 8:12 pm
It's a mix of VB and pascal and C++ like syntaxes. Bethesda didn't create it, its from Gamebryo which was made by Emergent Technologies in Korea. They did expand it and change it however to suit their needs, along with just about everything else in the engine.
Ah, okay. The only other game I've played that uses Gamebryo is Star Trek: Bridge Commander. It's fun if you can look past the 1999-era character models.

But we all know the ships are where it's at.

dejunai
Posts: 4
Joined: Sun Jul 31, 2022 7:54 am

Re: Is the scripting language the GECK uses based on a real-world programming language?

Post by dejunai » Tue Sep 06, 2022 6:07 am

I agree it is like VB and C++... But it is very much a script language, not a programing language.

I dont program in 'ruby', so I dont know for sure... but a friend that looked thru my code ( i coded extensively for several TES4:Oblivion projects ) said it reminded him of 'ruby'.. And of course he was a ruby script kiddie... so he should have known what he was talking about, lol...

But any scripting language experience will be enuf to comfortably use the language used in Bethesda scripts ( prior to Skyrim )... I am skilled in Perl and AutoIt ( dont laugh, it counts :) )... and decent in javascript and php... and mediocre in python... and scripting for Morrowind, Oblivion, FO3, and FNV was easy to adopt.

User avatar
RoyBatty
Gary
Posts: 7742
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

Re: Is the scripting language the GECK uses based on a real-world programming language?

Post by RoyBatty » Wed Sep 07, 2022 4:14 am

I don't think it's like Ruby at all, Ruby is very difficult and doesn't make any sense at all to me hahahaha.
Image

Post Reply