Weapon problems
by Ryan Edmar · in Artist Corner · 07/26/2007 (11:54 pm) · 2 replies
Hey all!
I need some help with an odd problem. I've been adapting a melee fighting function into my game and I am having some trouble making weapons that work properly. I've ruled out that the problem is script related and tracked it down to something I may be doing wrong with the model. I'm using a model I got from the "Medieval Weapons Pack" and importing it into Blender to add two nodes. The orginal model works fine in torque, with the exception that it does no damage without the nodes being added. My problem seems to be with the model/texture (not sure witch) after I export it. Every time I try to use it, that being just mount it to the player, I get this "run-time error #3 - "xRightDir" being called without being defined" then it asks me to abort, retry or ignor. It also says to click retry to run in debug mode but when I do that troque crashes. Now, I've traced down this "xRightDir" and it seems to have something to do with shadows. I also noticed that after I export the model and open it in Show Tool Pro that it has an Alpha in of 0 and an Alpha out of -1, where the original model had -1 for both fields. I am using Blender 2.44 and exproter 0.949. I haven't had this problem with any other models I have exported so I don't know where the problem is coming from. Any assitance would be appreciated, thanks.
I need some help with an odd problem. I've been adapting a melee fighting function into my game and I am having some trouble making weapons that work properly. I've ruled out that the problem is script related and tracked it down to something I may be doing wrong with the model. I'm using a model I got from the "Medieval Weapons Pack" and importing it into Blender to add two nodes. The orginal model works fine in torque, with the exception that it does no damage without the nodes being added. My problem seems to be with the model/texture (not sure witch) after I export it. Every time I try to use it, that being just mount it to the player, I get this "run-time error #3 - "xRightDir" being called without being defined" then it asks me to abort, retry or ignor. It also says to click retry to run in debug mode but when I do that troque crashes. Now, I've traced down this "xRightDir" and it seems to have something to do with shadows. I also noticed that after I export the model and open it in Show Tool Pro that it has an Alpha in of 0 and an Alpha out of -1, where the original model had -1 for both fields. I am using Blender 2.44 and exproter 0.949. I haven't had this problem with any other models I have exported so I don't know where the problem is coming from. Any assitance would be appreciated, thanks.
Torque Owner Redacted