How can I see the supply range?

How can I see the supply range?

A late World War II game which attempts to balance historical realism with a tactically complex model of battle.

Moderator: Content Developer

Post Reply
tankcommander
Posts: 9
Joined: 22 Apr 2017, 01:24

How can I see the supply range?

Post by tankcommander »

Hello.

I asked some players how can I see how far logistics‐supply units and buildings can reload other units and buildings, and they answered that I should see a yellow circle that indicates their range. However, I see no such yellow circle, including in the latest development revision (d25e4ff). When I hold shift and hover the cursor over supply buildings and units, I see a green circle, but I know that this is not the resupply range, because I see units with yellow crosses beyond that green circle, which indicated that they are still within the supply radius according to the wiki (http://spring1944.net/wiki/index.php?title=Logistics).

Could you please help me troubleshot this problem? Can you provide a screenshot so that I know how this yellow circle is supposed to look like?

Thanks.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: How can I see the supply range?

Post by Forboding Angel »

Can you post your infolog.txt? Possibly a shader error causing them not to be shown-- This thought is a random wild speculation --(you would think this wouldn't be an issue, but Intel HD gfx cards do really weird crap sometimes and I've had similar things happen in evo with Intel HD users).
User avatar
ThinkSome
Posts: 387
Joined: 14 Jun 2015, 13:36

Re: How can I see the supply range?

Post by ThinkSome »

A screenshot too.

I am slowly working on a proper fix to this as I have an Intel GPU and I cannot see these dotted yellow circles either.
User avatar
FLOZi
MC: Legacy & Spring 1944 Developer
Posts: 6240
Joined: 29 Apr 2005, 01:14

Re: How can I see the supply range?

Post by FLOZi »

It's a pretty ancient widget and uses FFP OpenGL only afaik, no shaders. Still it probably just renders glPoints which can be a bit funky on intel iirc.
User avatar
ThinkSome
Posts: 387
Joined: 14 Jun 2015, 13:36

Re: How can I see the supply range?

Post by ThinkSome »

I believe the current workaround is to replace those GL_POINTS with GL_LINES. It works, but is not pretty.
tankcommander
Posts: 9
Joined: 22 Apr 2017, 01:24

Re: How can I see the supply range?

Post by tankcommander »

I changed "local GL_POINTS = GL.LINES" to "local GL_POINTS = GL.POINTS" in "LuaUI/Widgets/gui_s44_supplyradius.lua" and now I can see the yellow circles.
Post Reply

Return to “Spring: 1944”