Range Ring Fixes

Range Ring Fixes

Requests for features in the spring code.

Moderator: Moderators

Post Reply
el_matarife
Posts: 933
Joined: 27 Feb 2006, 02:04

Range Ring Fixes

Post by el_matarife »

I thought I'd make a forum topic to track this issue as well. Basically, laser weapons have the wrong range rings applied in the build view, along with anything else than doesn't use the standard ranges. The correct range ring is only displayed after a unit is built and the "attack" command is issued.

This is compounded by Defense Range Widget only drawing a simple circle to indicate ranges, so it is completely wrong for almost everything on hills.

It seems like the code needs to be refactored so that the proper range circle is drawn no matter what the function in the engine. I also think we need an API to query that proper range ring from Lua even before a unit / building is built so Defense Range Widget and anything else that may need weapon ranges can get it easily.

Mantis entry with technical details: http://spring.clan-sy.com/mantis/view.php?id=1225
User avatar
very_bad_soldier
Posts: 1397
Joined: 20 Feb 2007, 01:10

Re: Range Ring Fixes

Post by very_bad_soldier »

The Defense Range widget is (hopefully) fixed. I tried to emulate the original range algorithms from the spring engine in Lua. Expect a new version soon (maybe even tonight, but it probably needs some testing).
Post Reply

Return to “Feature Requests”