Poll

Should I know this?

Yes
7 (58.3%)
No
0 (0%)
I like cookies
2 (16.7%)
I was wondering this too
2 (16.7%)
Get out
1 (8.3%)

Total Members Voted: 12

Author Topic: How Do You View Addon Code  (Read 978 times)

^ I am a torque newbie and currently learning C++, but I was wondering when I download an addon how do I view its code when I open it with MS word its all gibberish any suggestions? Thanks - SuperCrazy


Do you not know what a zip file is
What

Also don't write code in MS word, you should use Sublime text 2

Step 1:
Download sublime text 2
Step 2:
Install it
Step 3:
Download TorqueScript package for sublime
Step 4:
Extract zip to AppData/Roaming/Sublime Text 2/Packages
Step 5:
Right click a blockland .cs file and make windows always open .cs files with sublime
Step 6:
Click the C# at the bottom right corner
Step 7:
Click "Open all with current extension as..." at the top of the menu
Step 8:
Select "TorqueScript"

Do you not know what a zip file is
What
Why do you bother posting if you're not going to help?
« Last Edit: February 03, 2013, 06:36:09 PM by Eepos2 »

Just to clarify since you are new to scripting, do what Eepos said above. The TorqueScript package is not required to script for Blockland but it correctly highlights the syntax. So you can use any old text editor, but I believe Microsoft word adds some random stuff when you save files


Why do you bother posting if you're not going to help?
He says he's learning C++ yet tries to open a zip file in word. That doesn't make sense.

He says he's learning C++ yet tries to open a zip file in word. That doesn't make sense.

But you could at least try to help instead of just criticizing him

( FacePalm on me )

Thanks guys for your support I will try sublime.

He says he's learning C++ yet tries to open a zip file in word. That doesn't make sense.
Does the word "Help" mean anything to you?

Download the file, open it, and open the .cs files with Notepad. Don't use word, notepad is better for code

Download the file, open it, and open the .cs files with Notepad. Don't use word, notepad is better for code
sublime text  is best for code