Game Development Community

Do we script ourselves

by Christopher Tall · in Torque Game Engine · 07/27/2008 (1:55 pm) · 1 replies

As I am following this book (and I am well into it), it seems I am not creating any script files and writing any script myself. It seems that the script is already written and I just have to type in the name of the function that I want to use in the console to make it do what it does, instead of writing the function myself. This is not at all a good idea, the people using the book should do all the scripting theirselves. Is it this way for the entire book?

#1
07/27/2008 (4:09 pm)
GPGT is a book to teach you the basics. Repitition is key for Humans to learn a subject well.
After you have completed the course of the Book, you will be well prepared to write your own script files.

As for new script functionality, that comes with C++ knowledge and changes to the engine that in turn, you can TorqueScript against.
This is when you can write the function yourself and your new script file as well.

It is good to see your thinking outside of the lessons of GPGT. But to fully grasp what the book teaches, you'll need to stay focused on each lesson until you can write a complete script file from scratch and place it in the proper directory.

After completing the book you'll be proficient enough to move on to C++ or on to the second book
"Multiplayer Gaming and Engine Coding" by the same author.
This book requires that you complete GPGT and know C++, so that will mean some people will move on to learning C++ or they will continue with MGEC book.