Saturday, February 17, 2007

update

Giving the user the choice of sex has worked perfectly for us after a few hours of tinkering. By combining the selected option in the startmenugui with server side commands we have this option fully functional. One problem we had with this was attaching a variable to each of the options. This worked perfectly with tick boxes as these returned yes or no (0 or 1) but for the useability factor we decided we needed to implement radio buttons so the user could only choose one or the other. The problem with this is variables cannot be attached to the radio button as they are grouped so for each option(radio button) we had to write a command attaching the same variable to each option. This variable would then change dependant on the button selected.We have a male Doctor built and nearly ready but for now we are using the test model as our female.
Another aspect we are bringing into our simulator is makinmg it dynamic through choice of user standard. We have added this to or GUI also with radio buttons as above. For now the selection of a standard button only edits a varialbe but the variable as of yet causes any action. Our hope is for this variable to add or remove timers and buttons to vary the difficulty within the simulator.
Our Main character is finally getting closer to where we want him/her. As I said before we fixed the animation errors and the character is fully programmed into the torque world but the problem we have now is torque is built for fps where the characters run from place to place so when we move our doctor he runs along. We can slow the doctor down by programming him to slow dowen but this will only slow the aniation down so it looks like he is runnig slowly. To fix this problem we are going to have to make our own walk animation. This is a very difficult process and has to be done in max.
To make the animation we had to load up our doctor remove his skin only leaving the bones and create the animation. This process will be shown in the documentation.
Again after alot of tinkering with frames and a basic piece of coding we have our doctor using our walk animation.
We then attempted to get our npc's to also use this aniamtion, unfortuneatly
this does not seen to work for now.
All the time we are working on our decision tree which is slowly coming together.

0 Comments:

Post a Comment

<< Home