Thanks. the issues seems to be in the hover thrust gauge.
initial setup of hover thrusters
commented lines no ctd
this tells how far to draw the bar
draws the bar
initialized
One thing I did notice it would draw the hover bar full till it refreshed. I was thinking I could just go to one hover thruster. The reason we have it that way is for the 4 exhaust?
initial setup of hover thrusters
Code:
//HOVER
tank2 = CreatePropellantResource(FUELMASS2);
th_hover[0] = CreateThruster(_V(5, 0, 5), _V(0, 1, 0), MAXHOVERTH / 4, tank2, ISP);
th_hover[1] = CreateThruster(_V(-5, 0, -5), _V(0, 1, 0), MAXHOVERTH / 4, tank2, ISP);
th_hover[2] = CreateThruster(_V(-5, 0, 5), _V(0, 1, 0), MAXHOVERTH / 4, tank2, ISP);
th_hover[3] = CreateThruster(_V(5, 0, -5), _V(0, 1, 0), MAXHOVERTH / 4, tank2, ISP);
thg_hover = CreateThrusterGroup(th_hover, 4, THGROUP_HOVER);
Code:
current_thrust_hover_level = GetThrusterGroupLevel(thg_hover);
if (current_thrust_hover_level != thrust_hover_last_drawn){
thrust_hover_last_drawn = current_thrust_hover_level;
redrawpanel = true;
}
Code:
hoverx2 = int(hoverx1 + current_thrust_hover_level * 284);
Code:
Rectangle(hDC, hoverx1, hovery1, hoverx2,hovery2);//HOVERthrust
Code:
current_thrust_hover_level = 0;
thrust_hover_last_drawn = 0;
hoverx1 = 60;
hovery1 = 509;
hoverx2 = 342;
hovery2 = 534;
One thing I did notice it would draw the hover bar full till it refreshed. I was thinking I could just go to one hover thruster. The reason we have it that way is for the 4 exhaust?
