Game Development Community

About to give up on scripting

by Justin Maynard · in General Discussion · 12/13/2010 (8:38 am) · 4 replies

I've owned torque now for nearly a year now, and I can't do anything at all when it comes to the scripting, I've read the syntax guide, learned the basics and then thats were the docs seem to cut out, other then a reference guide. I still can't script anything because its isn't actually teaching you how. Is there any tutorials or any FULL! documentation of torquescript? I've really been wanting to learn and never found full docs on it. Right now torque is just some program that is junking up my computer and I really don't want it to be that way, I really want to be able to put it to full use. Can anyone give me some good news?

#1
12/13/2010 (3:15 pm)
What exactly do you need to know? What programming languages are you familiar with? Can you give a specific example of a game design element you couldn't pull off?
#2
12/13/2010 (5:48 pm)
I just don't know where to start with it, I have some experince with python, I can write some console apps with it. I've reviewed basic in c++ and c#. torquescript doesn't seem all that bad, but the docs seem very vague to me as if they were intended for people that already know torquescript and are studing the changes made to it in t3d.
#3
12/13/2010 (7:51 pm)
I think the assumption from the docs is that you are already familiar with programming using C base languages, not that you are familiar with TorqueScript. The docs cover the language fairly well.

Not knowing where to start sounds more like a design problem. What is the first thing you need to do for your game?
#4
12/13/2010 (8:01 pm)
Learning any sort of programming from scratch is a long and difficult road... it's been a while, but trust me - you'll get there in the end! My piece of advice would be integrate all the resources you can. And more than just following the instructions, look for resources that explain their changes, and try to understand them.

Also... I find it much easier to learn by getting stuck in. I'm not sure if you've been doing this, but try to set a goal for yourself to script something, like 'make an ammo counter' or something. So you're not just wading through a miasma of documentation waiting for inspiration to strike, you're actually looking through it with a specific purpose and outcome in mind.

EDIT: Also, TGE's area on TDN has a good amount of documentation of all of TS's built-in functions and features. Not sure if you've looked that up, but that's always my first reference when I need to find which console function to use for a task.