2013-01-17, 04:53 PM
Im not sure if everyone knows this or not, but i was tinkering with one of my latest custom enemies' attacks with Johns PRF editor. I set his bite attack to 0.7 meters at 90 degrees, and his swipe attacks to 0.9 each, with different angles.
In the parameter editor i set his bite attack AI to 100, and his two other attacks to 70 AI. If i stayed at a distance, he would swipe away, and if i got close - close enough to attack him with a short sword, he would bite as soon as i got into that 0.7 radius.
He wouldnt approach me with the intention of biting me. Every time he approached it was to use swipe attack.
I thought it was worth sharing incase anyone needed an anti-cheat method in the future, or someone who wanted to add that element of surprise. Basically you could create a quick, punishing attack to make players think twice before getting in close and stunlocking an elite enemy with a dagger you get at the start, haha.
In the parameter editor i set his bite attack AI to 100, and his two other attacks to 70 AI. If i stayed at a distance, he would swipe away, and if i got close - close enough to attack him with a short sword, he would bite as soon as i got into that 0.7 radius.
He wouldnt approach me with the intention of biting me. Every time he approached it was to use swipe attack.
I thought it was worth sharing incase anyone needed an anti-cheat method in the future, or someone who wanted to add that element of surprise. Basically you could create a quick, punishing attack to make players think twice before getting in close and stunlocking an elite enemy with a dagger you get at the start, haha.