[addressed] Inconsitency in Laser energy consumption

Report problems and bugs you have encountered while playing the beta.

Moderator: SolC Development Leads

InVader
Beta Tester
Posts: 65
Joined: 04 Nov 2015, 12:42

[addressed] Inconsitency in Laser energy consumption

Postby InVader » 07 Nov 2015, 11:46

This is something I noticed when I used the laser while in a recharge station.

When I use the Quad Laser in the recharge station, my energy level is consistently rising (like +5 energy every second). However, when I switch the laser to rapid-fire mode, it gets suddenly very hard to recharge (about +1.5 energy every second). My best guess is that the truncation is messed up somewhere in the code. I can't really imagine mixing floats with integers, because that should give me some ridiculous numbers instead.

Outside recharge stations the energy consumption is consistent. Quad laser and rapid fire laser drain the same amount of energy/second.
Whiteshark
Beta Tester
Posts: 103
Joined: 19 Oct 2014, 19:44
Contact:

Rapid fire lasers regen energy slower

Postby Whiteshark » 08 Nov 2015, 10:30

I noticed that while shooting quad lasers, an energy center will regenerate your energy faster than if you were using rapid fire lasers.
InVader
Beta Tester
Posts: 65
Joined: 04 Nov 2015, 12:42

Re: Rapid fire lasers regen energy slower

Postby InVader » 08 Nov 2015, 10:57

Whiteshark
Beta Tester
Posts: 103
Joined: 19 Oct 2014, 19:44
Contact:

Re: Rapid fire lasers regen energy slower

Postby Whiteshark » 08 Nov 2015, 11:35

Oh the title was misleading so I didn't notice
User avatar
MadMax1998
Site Admin
Posts: 1554
Joined: 07 Nov 2012, 13:43
Location: Berlin, Germany
Contact:

Re: Inconsitency in Laser energy consumption

Postby MadMax1998 » 08 Nov 2015, 16:30

Yeah it may have to do with the fact that rapid fire lasers eat 0.25 units of energy and the fuel center charges you in integers. The fuel center is done all in Kismet though, not code. Hawk might be able to say more.
Max
Sol Contingency Programming Lead
Sol Contingency Website
User avatar
1/2Hawk
SolC Development Lead
Posts: 824
Joined: 10 Nov 2013, 04:10
Location: Atlanta, GA
Contact:

Re: Inconsitency in Laser energy consumption

Postby 1/2Hawk » 08 Nov 2015, 21:56

I'll dig into it. Conversion to Int does seem like a probable cause.
UDK & UE4 - Visual FX (Particle Systems, Custom Materials, Lighting), Modeling, Animation/Rigging, Mapping, Coding

Return to “Bug Reports”

Who is online

Users browsing this forum: No registered users and 1 guest