Torque Book: 3D Game Programming All In One
by Ken Finney · in General Discussion · 05/03/2004 (5:09 am) · 126 replies
(I think the hijacking of Stede Troisi's thread has gone on long enough :-)
This is a sort of continuation of the thread found here.
ISBN: 159200136X
Uses the Torque Engine throughout, also covers MilkShape 3D and QuArK, among other tools.
Click on this link to order. I understand that GG will have an order link of their own on this site sometime soon, and you will be able to order through them as well.
Chapter Preview
Chapter 9.pdf
Table of Contents
1. Introduction to 3D Game Development
2. Introduction to Programming
3. 3D Programming Concepts
4. Game Programming
5. Gameplay
6. Network
7. Common Scripts
8. Introduction to Textures
9. Skins
10. Creating GUI Elements
11. Structural Material Textures
12. Terrains and Skyboxes
13. Introduction to Modeling with Milkshape
14. Making a player model
15. Making a Vehicle Model
16. Making Weapons and Items
17. Making Structures
18. Making the Game World Environment
19. Creating and Programming Sound
20. Game Sound and Music
21. Creating the Game Mission
22. The Game Server
23. The Game Client
24. The End Game
Appendices:
A: The Torque Game Engine Reference
B: Game Development Resources on the Internet
C: Game Development Tool Reference
D: QuArK Reference
This is a sort of continuation of the thread found here.
ISBN: 159200136XUses the Torque Engine throughout, also covers MilkShape 3D and QuArK, among other tools.
Click on this link to order. I understand that GG will have an order link of their own on this site sometime soon, and you will be able to order through them as well.
Chapter Preview
Chapter 9.pdf
Table of Contents
1. Introduction to 3D Game Development
2. Introduction to Programming
3. 3D Programming Concepts
4. Game Programming
5. Gameplay
6. Network
7. Common Scripts
8. Introduction to Textures
9. Skins
10. Creating GUI Elements
11. Structural Material Textures
12. Terrains and Skyboxes
13. Introduction to Modeling with Milkshape
14. Making a player model
15. Making a Vehicle Model
16. Making Weapons and Items
17. Making Structures
18. Making the Game World Environment
19. Creating and Programming Sound
20. Game Sound and Music
21. Creating the Game Mission
22. The Game Server
23. The Game Client
24. The End Game
Appendices:
A: The Torque Game Engine Reference
B: Game Development Resources on the Internet
C: Game Development Tool Reference
D: QuArK Reference
About the author
#122
I'm having the exact same problem with the chapter 5 code.
After correcting all my typos and getting the app running i fall through the earth when the app starts.
my console.log is full of errors refering to missing files.
any suggestions?
06/21/2004 (7:21 pm)
Quote:I copied the chapter 5 directory to chapter 6, like the book said to do, and applied the changes in the book (plus a few others that were not mentioned-- post if you want help with them) and when I connect to the server I fall through the earth (and keep falling, while watching the world fade away above me).
I'm having the exact same problem with the chapter 5 code.
After correcting all my typos and getting the app running i fall through the earth when the app starts.
my console.log is full of errors refering to missing files.
Loading compiled script control/data/models/avatars/beast/player.cs. Validation required for shape: control/data/models/avatars/beast/player.dts Loading compiled script control/server/players/ai.cs. ... control/server/weapons/crossbow.cs (0): Unable to instantiate non-conobject class Particle. ParticleEmitterData(CrossbowExplosionSparkEmitter) unable to find particle datablock: CrossbowExplosionSparks ParticleEmitterData(CrossbowExplosionSparkEmitter) unable to find any particle datablocks control/server/weapons/crossbow.cs (0): Register object failed for object CrossbowExplosionSparkEmitter of class ParticleEmitterData. Object 'CrossbowExplosionSparkEmitter' is not a member of the 'ParticleEmitterData' data block class Error: shape control/data/models/weapons/boltclip.dts-collision detail 0 (Collision-3) bounds box invalid! *** LOADING MISSION: control/data/maps/book_ch5.mis ... Could not locate texture: control/data/models/avatars/beast/base.lmale Validation required for shape: control/data/models/avatars/beast/player.dts Error: shape control/data/models/weapons/boltclip.dts-collision detail 0 (Collision-3) bounds box invalid! Mapping string: MissiOnStartPhase2 to index: 9
any suggestions?
#123
You should have a datablock in control/server/weapons/Crossbow.cs
that looks something like:
datablock ParticleData(CrossbowExplosionSparks)
{
...
};
The error looks like it can't find this datablock. This shouldn't make you fall through the world, though-- that usually happens if the .mis file can't find the corresponding .ter (terrain) file. Crack open the control/data/maps/book_ch5.mis file (it's just text) and see what terrain (.ter) file it's trying to load (should be in the same directory as the .mis file). I would prefer that the console log a message about the missing file and hurl on my loafers-- but I guess "falling through the world" is a kind of error message (sort of, really).
I've discovered something about torque script-- getting it to compile is only half the battle-- interpreting the console messages is where the "fun" begins 8^(. God help us all.
BTW, I've started another thread for book errata, and issues that book devotees may be experiencing-- more of a focus on "Why doesn't this work for me" than a general book discussion.
06/21/2004 (7:58 pm)
Um, it looks like your datablock definition for CrossBowExplosionSparks is not defined properly--You should have a datablock in control/server/weapons/Crossbow.cs
that looks something like:
datablock ParticleData(CrossbowExplosionSparks)
{
...
};
The error looks like it can't find this datablock. This shouldn't make you fall through the world, though-- that usually happens if the .mis file can't find the corresponding .ter (terrain) file. Crack open the control/data/maps/book_ch5.mis file (it's just text) and see what terrain (.ter) file it's trying to load (should be in the same directory as the .mis file). I would prefer that the console log a message about the missing file and hurl on my loafers-- but I guess "falling through the world" is a kind of error message (sort of, really).
I've discovered something about torque script-- getting it to compile is only half the battle-- interpreting the console messages is where the "fun" begins 8^(. God help us all.
BTW, I've started another thread for book errata, and issues that book devotees may be experiencing-- more of a focus on "Why doesn't this work for me" than a general book discussion.
#124
I'm having the exact same problem with the chapter 5 code.
After correcting all my typos and getting the app running i fall through the earth when the app starts.
my console.log is full of errors refering to missing files.
any suggestions?
06/21/2004 (10:47 pm)
Quote:I copied the chapter 5 directory to chapter 6, like the book said to do, and applied the changes in the book (plus a few others that were not mentioned-- post if you want help with them) and when I connect to the server I fall through the earth (and keep falling, while watching the world fade away above me).
I'm having the exact same problem with the chapter 5 code.
After correcting all my typos and getting the app running i fall through the earth when the app starts.
my console.log is full of errors refering to missing files.
Loading compiled script control/data/models/avatars/beast/player.cs. Validation required for shape: control/data/models/avatars/beast/player.dts Loading compiled script control/server/players/ai.cs. ... control/server/weapons/crossbow.cs (0): Unable to instantiate non-conobject class Particle. ParticleEmitterData(CrossbowExplosionSparkEmitter) unable to find particle datablock: CrossbowExplosionSparks ParticleEmitterData(CrossbowExplosionSparkEmitter) unable to find any particle datablocks control/server/weapons/crossbow.cs (0): Register object failed for object CrossbowExplosionSparkEmitter of class ParticleEmitterData. Object 'CrossbowExplosionSparkEmitter' is not a member of the 'ParticleEmitterData' data block class Error: shape control/data/models/weapons/boltclip.dts-collision detail 0 (Collision-3) bounds box invalid! *** LOADING MISSION: control/data/maps/book_ch5.mis ... Could not locate texture: control/data/models/avatars/beast/base.lmale Validation required for shape: control/data/models/avatars/beast/player.dts Error: shape control/data/models/weapons/boltclip.dts-collision detail 0 (Collision-3) bounds box invalid! Mapping string: MissiOnStartPhase2 to index: 9
any suggestions?
#125
GG has kindly provided a dedicated forum for the book.
Please continue your discussion, reports, etc over
there. Thanks.
Click Here
*******************************************************************************************
06/26/2004 (11:28 am)
*******************************************************************************************GG has kindly provided a dedicated forum for the book.
Please continue your discussion, reports, etc over
there. Thanks.
Click Here
*******************************************************************************************
#126
08/03/2007 (8:03 am)
I saw 3rd Ed i nthe bookstore - it's MUCH thicker.. does anybody have a review?
Torque Owner Sam Contapay
@All: btw, the resources have improved tremoundsly in my abscense there are now a lot of documents to get you up and running quick with TGE good job all around!