Game Development Community

Ch5

by Firas · in Torque Game Engine · 10/07/2004 (3:55 pm) · 1 replies

I syudy CH5, then I play it (the game) from CD and found the folowing differances:
1- the book explain player.cs but didn't explain the beast.cs witch is more complecated and advance than player.cs, the
datablock PlayerData(BeastAvatar)
have more parameters than
datablock PlayerData(HumanMaleAvatar)

so if I wont to know more about the PlayerData(BeastAvatar) parameter where should I found it?


2- tha ai.cs is really complicated file I try to understand it but I lost, so:
A- from where I should start reading this file?
B- when I play the game (from CH5) I found that the beast can't see me tell I become very close to him, so how can I make him see me from longer distance?

thats all for now, thanks in advance.

#1
10/09/2004 (10:28 pm)
Firas: 2, how about finding the script or script files that use ai.cs (if applicable?) If you know what is required by the modules that call on it then you'll understand what it provides.

I'm interested in knowing what handles the score adjustment. I looked through the modules and could not find anything but the gui controls: score label, score box. Unless I missed something, I'm assuming it's handled by the engine code which I do not have access to.