Having troubles adjusting the Attack Distance of Infantry -1 reply

Please wait...


I didn't make it!

0 XP

#1 10 years ago

Hello I am having trouble adjusting the "Attack Distance" of Infantry, the original code was: 130.0 Land_FOW_Reveal_Range> 140.0 Targeting_Max_Attack_Distance>

and I left the code like this: 340.0 Land_FOW_Reveal_Range> 330.0 Targeting_Max_Attack_Distance> but the infantry continues with low Attack Distance in game. I've tried to change the "Projectile_Max_Flight_Distance" but nothing happens infantry continues with the low Attack Distance.

This is a bug/limitation of the EaW engine?

In "Phoenix Rising" Mod that they used "hardpoints" in the code of his infantry, this would be the only way to extend the max attack distance of infantry?

Sith of Steel

I exist

50 XP

19th September 2008

0 Uploads

269 Posts

0 Threads

#2 10 years ago

Actually, just keep going at it. Keep making it larger, basically, and you should end up with a good infantry attack distance. I ran into this problem when I was coding Mandalorian Warriors, and that's how I fixed it.


I didn't make it!

0 XP

#3 10 years ago

I solved the problem, it was my fault for not knowing the file "Containers.xml" we need to change the distance of attack here too.