Adding a vertical option for maxangledif on weapons

Adding a vertical option for maxangledif on weapons

Requests for features in the spring code.

Moderator: Moderators

Post Reply
User avatar
TheFatController
Balanced Annihilation Developer
Posts: 1177
Joined: 10 Dec 2006, 18:46

Adding a vertical option for maxangledif on weapons

Post by TheFatController »

I'd just like to raise this request again as it has already been raised as a feature on Mantis some time ago but was never taken up by anyone.

I'd personally find this useful both for BA and BA chicken defense
I have had problems with both submarines and some units which cannot attack if stuff is too close due to maxangledif being too low to shoot up/down, this cannot be increased as it affects both horizontal and vertical angles.

I would suggest adding a new tag:
maxverticalangledif

By default this would equal maxangledif unless otherwise defined and would allow fixes for subs etc by specifying:
maxangledif1=90;
maxverticalangledif1=180;

For example.
http://springrts.com/mantis/view.php?id=1414

Thanks!
User avatar
KDR_11k
Game Developer
Posts: 8293
Joined: 25 Jun 2006, 08:44

Re: Adding a vertical option for maxangledif on weapons

Post by KDR_11k »

I think that'd be hard due to the calculation involved (it only checks the angle difference in any direction). My workaround for things that have more vertical than horizontal traverse is turning the whole unit around (e.g. KP pointer, several examples in Micro Modules).
Post Reply

Return to “Feature Requests”