Hi all,
as title says I have two issues in a post that I would like to solve.
I would need these issues solved for a weapon mutator I am developing the UT GOTY.
#1.
How can I force a bot to look for another target and leave the current target alone? (Leaving alone means not to stand there and keep looking, not to fire a single bullet, but walk away and look for another target until this particlar target has my weapon is his inventory.)
I tried states, fearthisspot, etc, but it does not seem to work. Either UT crashes, or there is a _long_ log containing "accessed none" entries, or simply the bots do not do what I want and keep firing at the target.
#2.
I would like to ask the local vector dealers to put their constructive mind together a little, and solve this problem.
What I would need is exact hit location. It means I would like to be able to verify that where on earth (which bodypart) did the bullet hit the victim (this would be called from the MutatorTakeDamage, so the victim, the HitLocation, and the Momentum are available).
And I would need this in a way that it is model-independent - so it takes the current scale and model into account. (So that it would work for males, females, moo, nali, skeletal, skaarj, and even custom models.)
I would need it to determine whether the bullet hit the head, upper or lower arms and legs, chest (maybe heart), crotch, knee, wrist, feet.
Big thank You in advance.
as title says I have two issues in a post that I would like to solve.
I would need these issues solved for a weapon mutator I am developing the UT GOTY.
#1.
How can I force a bot to look for another target and leave the current target alone? (Leaving alone means not to stand there and keep looking, not to fire a single bullet, but walk away and look for another target until this particlar target has my weapon is his inventory.)
I tried states, fearthisspot, etc, but it does not seem to work. Either UT crashes, or there is a _long_ log containing "accessed none" entries, or simply the bots do not do what I want and keep firing at the target.
#2.
I would like to ask the local vector dealers to put their constructive mind together a little, and solve this problem.
What I would need is exact hit location. It means I would like to be able to verify that where on earth (which bodypart) did the bullet hit the victim (this would be called from the MutatorTakeDamage, so the victim, the HitLocation, and the Momentum are available).
And I would need this in a way that it is model-independent - so it takes the current scale and model into account. (So that it would work for males, females, moo, nali, skeletal, skaarj, and even custom models.)
I would need it to determine whether the bullet hit the head, upper or lower arms and legs, chest (maybe heart), crotch, knee, wrist, feet.
Big thank You in advance.