Add reload bar to Summits

Moderator: keyser

Add reload bar to Summits

Postby SC-Account » 04 Apr 2013, 22:19

What about adding a reload bar for Summits like the one missile launchers and artillery got?
It is really annoying to micro their shots due to no indication of there readiness. Other units like the tempest at least indicate when they are about to fire...
SC-Account
Evaluator
 
Posts: 541
Joined: 07 Feb 2013, 05:10
Location: Colonial district of Germany
Has liked: 48 times
Been liked: 77 times
FAF User Name: Tnuoccacs

Re: Add reload bar to Summits

Postby pip » 05 Apr 2013, 00:02

Good idea.

EDIT: Though it has 3 canons / weapons, so I'm not sure it would work well.
pip
Supreme Commander
 
Posts: 1826
Joined: 04 Oct 2011, 15:33
Has liked: 191 times
Been liked: 86 times
FAF User Name: pip

Re: Add reload bar to Summits

Postby Golol » 05 Apr 2013, 11:50

i think a lot more units need reload bars
User avatar
Golol
Contributor
 
Posts: 700
Joined: 07 May 2012, 15:56
Has liked: 24 times
Been liked: 21 times
FAF User Name: Golol

Re: Add reload bar to Summits

Postby The Mak » 09 Apr 2013, 05:44

Well the good news is that it is really easy to add a reload bar or fire clock as it is coded in the game. All you need to do is add

RenderFireClock = true,

to the weapon that you are most interested in seeing if it is ready to fire. Now be aware that this can get kind of messy interface wise on units with multiple weapons of the same type (summit has three gauss cannon turrets).

First issue is each bar stacks on top of the other, so if one is firing you cannot easily see when it is ready or if the other cannons are ready. If you only want to assign it to one turret, the you need to decide which one (center one most likely).

Now to the point Golol made, I have been trying to place a fire clock on bombers for instance by using the above method. The problem is the fuel bar and the fire clock bar occupy the same location. When a bomb drops it will show the yellow fuel bar till the fire clock (which is orange) reaches the same point as the fuel bar and then the bar switches to the fire clock hiding the fuel bar (which now makes it difficult to see if T1 bombers are out of fuel, if they last that long). I am still trying to find where the actual health bar, fuel bar, fire clock, and shield bar are coded so they appear on screen to see if I can move the bars down vertically. The only unit which has three bars is the UEF T3 Transport as that shows health, shield, and fuel all stacked one on top of the other neatly. If we can figure that out then perhaps we can put fire clocks for each turret on the Summit or other units and have them stacked neatly.
User avatar
The Mak
Contributor
 
Posts: 342
Joined: 03 Mar 2012, 21:09
Location: New York, NY, USA
Has liked: 5 times
Been liked: 39 times
FAF User Name: The_Mak

Re: Add reload bar to Summits

Postby SC-Account » 09 Apr 2013, 17:20

I think adding a fire bar to one of the centre weapons of the summit would already be pretty useful. If there are 2 or 3 bars that probably would be even more useful as it is not so important to know which of the weapons is ready to fire as long as you can tell when the next shot will be fired. Maybe that would look rather ugly, though...
SC-Account
Evaluator
 
Posts: 541
Joined: 07 Feb 2013, 05:10
Location: Colonial district of Germany
Has liked: 48 times
Been liked: 77 times
FAF User Name: Tnuoccacs

Re: Add reload bar to Summits

Postby pip » 12 Apr 2013, 07:44

In the Test Mod, I've added a reload bar for the 2 main canons that usually shoot together and not for the third one that shoots most of the time a bit later. You can check how it looks in the Balance Testing featured mod.
pip
Supreme Commander
 
Posts: 1826
Joined: 04 Oct 2011, 15:33
Has liked: 191 times
Been liked: 86 times
FAF User Name: pip

Re: Add reload bar to Summits

Postby SC-Account » 13 Apr 2013, 03:02

Yup, this is awesome :)
Maybe a second bar for the other single weapon would be even cooler.

Thx anyway :)
SC-Account
Evaluator
 
Posts: 541
Joined: 07 Feb 2013, 05:10
Location: Colonial district of Germany
Has liked: 48 times
Been liked: 77 times
FAF User Name: Tnuoccacs

Re: Add reload bar to Summits

Postby pip » 13 Apr 2013, 08:07

SC-Account wrote:Yup, this is awesome :)
Maybe a second bar for the other single weapon would be even cooler.

Thx anyway :)


You can't have another bar if the other canon has a bar too, it will just owerwrite the other one all the time, and when you move the unit, the difference in timings between the rear and front canons will be increased, messing your knowledge of when the main damage will be dealt.
pip
Supreme Commander
 
Posts: 1826
Joined: 04 Oct 2011, 15:33
Has liked: 191 times
Been liked: 86 times
FAF User Name: pip

Re: Add reload bar to Summits

Postby SC-Account » 14 Apr 2013, 19:35

AH, thought it would be on top of the other when you have two. Never mind then.
SC-Account
Evaluator
 
Posts: 541
Joined: 07 Feb 2013, 05:10
Location: Colonial district of Germany
Has liked: 48 times
Been liked: 77 times
FAF User Name: Tnuoccacs

Re: Add reload bar to Summits

Postby MushrooMars » 15 Apr 2013, 01:12

You could probably add separate bars with a LOT of messing around with scripts. That, or it is another one of those lamesauce things that GPG put in the Source Code.
User avatar
MushrooMars
Avatar-of-War
 
Posts: 167
Joined: 08 Jan 2012, 05:26
Has liked: 0 time
Been liked: 1 time
FAF User Name: MushrooMars

Next

Return to FAF Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest