file How Do I do Basic Scripts

  • Elektrix
  • Elektrix's Avatar Topic Author
  • Offline
  • Beginner Marbler
  • Beginner Marbler
  • Posts: 67
  • Thank you received: 0
18 Aug 2013 00:27 #1
I was wondering how to script because I want to be an engineer when I'm older and I want to start writing some scripts for MB just for fun or any future REAL mods

Please Log in or Create an account to join the conversation.

  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
18 Aug 2013 04:11 #2
....you open the .cs file in notepad and edit it? I don't know how to answer this question. That's what I did (I'm being serious)

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.

Please Log in or Create an account to join the conversation.

  • Posts: 1949
  • Thank you received: 18
18 Aug 2013 07:03 #3
You read Jeff's signatures.

Please Log in or Create an account to join the conversation.

  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
18 Aug 2013 07:46 #4
Aug 18, 2013, 12:03am, pablovasquez wrote:You read Jeff's signatures.

Partially true, except my signatures have comments, which the interpreter ignores at run time. Programming is awesome, because you can yell at your code and it won't yell back at you.

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.

Please Log in or Create an account to join the conversation.

  • Posts: 240
  • Thank you received: 0
18 Aug 2013 09:28 #5
If you never coded in any language before, you should start learning the TorqueScript syntax i think, then you can try to edit files in notepad.
docs.garagegames.com/torque-3d/of....iew/Syntax.html

Please Log in or Create an account to join the conversation.

  • Elektrix
  • Elektrix's Avatar Topic Author
  • Offline
  • Beginner Marbler
  • Beginner Marbler
  • Posts: 67
  • Thank you received: 0
18 Aug 2013 12:39 #6
OK thanks guys

Please Log in or Create an account to join the conversation.

  • Jeff
  • Jeff's Avatar
  • Offline
  • Elite Marbler
  • Elite Marbler
  • PlatinumQuest Programmer
  • Posts: 1680
  • Thank you received: 205
18 Aug 2013 16:18 #7
Just something to consider, the link that Alexis provided is for Torque3D's Torquescript, which has a few differences:

Marble blast does not support the following that Torque3D does afaik:

- no do-while loops
- no foreach/foreach$ loops
- no /* */ comment style
- no singleton keyword
- no shaders
- other misc. classes missing from the engine
- no -> and --> operators

I am a programmer. Most here know me for being one of the major contributors to Marble Blast Platinum and PlatinumQuest.

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 1.144 seconds