Things I learned at Torque Boot Camp Day 1

– Use Doxygen for your own code because one day you might have to hire someone to work with your stuff, or it might be months before you go back to that area of the code
– ShowTool Pro saves a lot of time debugging art asset problems and is worth its weight in gold, and it is written in Torque!
– DTS can have concave shapes
– DIF no concave shapes, this allows BPS trees which perform much faster, but cant fully animate
– LOD is based on pixel height not distance from camera
– Jill pack is a great learning tool
– Atlas is faster than TGE terrain engine
– All of TGE is in TSG, you arent losing any functionality and is probably the way to go for a new project these days
– You must use Mono sounds not Stereo when working with 3D emiters
– DNA replication for grass and tress eliminates server bandwidth problems, this way you can provide the effects without having to simulate every blade of grass and twig in the tree.
– Portals can help a lot with scene frame rate problems on interiors
– 4 is the average number of LOD
– TCL is a scripting language, stands for Tool Command Language
– Two useful console commands: Tree(), [object].Dump()
– The car metaphor: A game engine is like a car, it has all the parts and systems needed to start up, idle, turn, heat, cool etc. But needs a driver (the script) in order to truly be useful moving people around. The script is like the driver pressing the gas pedal and turning the steering wheel.
– SimObject provides smart referencing which is mucho help dealing with pointers, especially protection from stale pointers
– A SimObject maybe a member of only ONE SimGroup
– When a SimGroup is deleted so are all its members
– SimSet has an onDeleteNotify()
– There is a SimSetIterator
– A client is sent a Datablock ONCE when the mission starts this means that if you change a value in a Datablock after the mission has begun the client will never know about it
– Datablocks are like the Ten Commandments, once they got handed down that was that, no changes would propagate to all the copies
– Network scoping is more like the smelling than seeing because something can be in scope even when it is impossible to see
– Hysteresis is a hard word to explain
– There is voice code in Torque, but almost always it is better to use a third party tool like Team Speak
– A Ghost(ed) object is simply a model on the client of an object that the server has authority (ie control) over. The client has to sometimes predict what has happened since the last time it heard from the server, but once the client hears from the server again those predict values are throw out (ie changes to a Ghosted object do not affect the real object.)
– A tick is sent every 32 milliseconds
– 1000 milliseconds = 1 second
– Playing with un/pack can be easy to mess up because one-bit mistakes can bring the whole house down


Comments are closed.