Emaga5 works, needs minor tweaks
by Chris · in Torque Game Engine · 06/13/2006 (12:40 am) · 0 replies
It took a while to track down some of my typos, but after I did, Emaga5 works fine. I don't think there are any real typos in the book. Well, one possible typo in control/server/weapons/crossbow.cs -- in function CrossbowProjectile::OnCollision, the first "if" uses & instead of &&, but either operator returns "false" only if both arguments are false or 0, right? So it's a meaningless typo.
A note (based on an earlier post by Mr. Finney): you should copy tge.exe directly from the disc (in Resources/Ch5) instead of using the one from the chapter 5 install kit. The install kit version doesn't cause coins and other items to fade away after collisions. You can sit on a silver piece and be rich very quickly! If you use the version from resources/ch5, items fade normally.
As for minor tweaks, the energy drains (in Control/server/players/player.cs) and recovery rates are agonizing using the values in the book. The disc version of the game is a little better, so you can run around a bit more before needing to rest, but I suggest bumping them even more so you can fully explore the game.
A strange note: after they die, the critters keep firing their crossbows. (and yes, they still hurt you!)
A note (based on an earlier post by Mr. Finney): you should copy tge.exe directly from the disc (in Resources/Ch5) instead of using the one from the chapter 5 install kit. The install kit version doesn't cause coins and other items to fade away after collisions. You can sit on a silver piece and be rich very quickly! If you use the version from resources/ch5, items fade normally.
As for minor tweaks, the energy drains (in Control/server/players/player.cs) and recovery rates are agonizing using the values in the book. The disc version of the game is a little better, so you can run around a bit more before needing to rest, but I suggest bumping them even more so you can fully explore the game.
A strange note: after they die, the critters keep firing their crossbows. (and yes, they still hurt you!)
About the author