Game Development Community

Torque scripting language as C # are you using?

by muhammedekinci · in Torque 3D Beginner · 04/19/2014 (10:12 am) · 20 replies

Hi Torque 3D C # are you using? (Xyz.cs)
.cs extension.
Torque 3D which is written in the programming language?

#1
04/19/2014 (10:29 am)
the .cs extension is not c#, rather a scripting language called TorqueScript. It stands for "C Script" (cs) as it resembles the C and C++ programming language. Although not the same, it is much higher level and easier to learn then full blown C or C++.
#2
04/19/2014 (11:02 am)
Torque 3D which is written in the programming language?
#3
04/19/2014 (11:09 am)
The engine is written in C++ and the scripts are in TorqueScript.
#4
04/20/2014 (7:17 am)
There is this:

winterleafentertainment.com/Products/DotNetTorque.aspx

which uses T3D MIT and allows you to use C# instead of TorqueScript.

#5
04/20/2014 (11:47 am)
Also worth mentioning this free version of DNT:
GitHub page
#6
04/20/2014 (12:23 pm)
i.hizliresim.com/0Vk8JL.png
#7
04/20/2014 (3:58 pm)
Those are TorqueScript files. The extension .cs was decided upon before C# existed, it's just a coincidence they're the same.
#8
04/20/2014 (6:52 pm)
I was wondering if you ever did go through the official guide?

If you follow that many of your questions will be answered very quickly:

http://www.garagegames.com/products/torque-3d/guides
#9
04/21/2014 (7:21 am)
Tribes was released in 1998 and Microsoft released C# in 2000 - so, Torque was using the .cs extension at least two years before Microsoft.

We know about the .cs extension and we didn't really need a screen shot - old discussion is old.
#10
04/21/2014 (7:27 pm)
Also, where does this main.runAllUnitTests.cs come from? It sounds useful. Oh... is it T2D?
#11
04/22/2014 (6:03 am)
That is Torque 2D. I've mentioned it before, but it has a proper and fully functional unit test system.
#12
04/22/2014 (6:27 am)
Are you suggesting that we should, um, 'borrow' it for T3D? ;P
#13
04/22/2014 (6:49 am)
I've suggested it a few times in the past, along with other T2D systems =)
#14
04/24/2014 (6:50 am)
Torque 3D has been written in C# ? :o
#15
04/24/2014 (9:19 am)
Torque 3D is written in C++
TorqueScript is a scripting language that looks like C or C++
Torque 3D is NOT written in C#
.cs is an extension for TorqueScript files OR C# files...
file extensions can be set in Windows
However if you have some C# from Microsoft installed
you will see all your TorqueScript files as C# files(hence the green C sharp logo), even
though they are NOT C# files
If you have Torsion and no C# tool installed you will see a
Torsion logo etc. etc.

Are you a troll? I mean you have asked the same questions over many threads several times... O_o

Here you can read about file extensions
http://en.wikipedia.org/wiki/Filename_extension

You should really know something about that before messing around with a game engine of any kind.

Here you can read how to set it up(if you need to change anything):
http://www.thewindowsclub.com/change-file-associations-windows

Did you check out that link I posted?
http://www.garagegames.com/products/torque-3d/guides

Do it now or asap. You need to read it through.

Okay now I think you have gotten enough info to start out.
#16
04/25/2014 (1:09 pm)
Quote:Are you a troll? I mean you have asked the same questions over many threads several times... O_o

It should be rather obvious that he isn't a troll, just doesn't grasp English... like, at all. Notice his sentences make virtually no grammatical sense?

Which also means repeating yourself over and over when not understood won't work, nor will throwing massive English-written wikipedia articles at him.
#17
04/25/2014 (2:00 pm)
Well then I guess I have done what I could...

Perhaps Google translate could help him some?
#18
04/26/2014 (2:26 pm)
Well, if you're half-fluent in C# you'd realize pretty quickly that TorqueScript most certainly is not C#. If you're half familiar with Windows and how it associates file extensions with applications you'd realize pretty quickly that installation of Visual Studio will associate .cs with the C# icon and then try to open those files with Visual C# - regardless of the actual language the program in the file is written in.

So we've got a user whose English is poor and who is apparently not very computer literate either. If he would identify his native language then perhaps someone who also speaks it could assist - until then he's on his own I guess. We've repeatedly explained this in English and it doesn't seem to be working.

Hope he gets it figured out soon....
#19
04/27/2014 (3:25 pm)
Edit: Tried to type in Turkish but the forums ate all the special characters. Oh well.
#20
04/27/2014 (11:32 pm)
Ok, let's maybe wait for muhammedekinci to reply before we make any more personal remarks.

Stefan: yeah lol why would we want forum software that can deal with unicode? :P

Mich: working on it... T2D does indeed have some systems worth 'borrowing' if for no other reason than it's nice to be able to share expertise between both engines. I've improved the runAllUnitTests function to accept a parameter which gets passed into gtest and I hope will allow us to only run a subset of tests. We'll see if that actually works how I think it does :P.