TheWolfssegen
New member
Hey all,
I've been plodding around the xmls and have made a mini overhaul for myself and my friend group. I'm now trying to add some custom enemy variants and I want to add a boss type zombie for blood moon that has a deadly ranged attack it uses from very far away. It's that last part that's causing me issues. It seems no matter how I change the hand item to have more range, longer damage falloff, projectile fly time, lifetime, velocity, sight range, angle, etc, I cannot get them to initiate their attack past a range of 24-30m. I've tested this extensively and the only thing I can think of is that in the AITask RangedAttackTarget's data field there might be some value that can be passed (along with item type, cooldown, etc.) that could affect their targeting range. I've tried range, maxRange, and targetRange to no avail.
If anyone knows anything on this (and anything else on modifying the AI behaviors, as there seems to be a ton of things I can't access easily) then I would be grateful because I'm at a dead end with many hours of head pounding trial and error.
I've been plodding around the xmls and have made a mini overhaul for myself and my friend group. I'm now trying to add some custom enemy variants and I want to add a boss type zombie for blood moon that has a deadly ranged attack it uses from very far away. It's that last part that's causing me issues. It seems no matter how I change the hand item to have more range, longer damage falloff, projectile fly time, lifetime, velocity, sight range, angle, etc, I cannot get them to initiate their attack past a range of 24-30m. I've tested this extensively and the only thing I can think of is that in the AITask RangedAttackTarget's data field there might be some value that can be passed (along with item type, cooldown, etc.) that could affect their targeting range. I've tried range, maxRange, and targetRange to no avail.
If anyone knows anything on this (and anything else on modifying the AI behaviors, as there seems to be a ton of things I can't access easily) then I would be grateful because I'm at a dead end with many hours of head pounding trial and error.