Hmmm. I recently did update my trunk build.
Now something's wrong. Very wrong.
My Caduceus turrents suddenly fire so rapidly that there's a green wall around my ship! I've never seen anything like this.
Since I am locally using the "turrets use energy" thing, I've my banks depleted in less than 2 seconds now. That wasn't this way before and I did not make changes there...thus I do wonder if other people using trunk do see the same rapid-firing problem or not - and if someone has an idea of what is going on.
Screet
Uhhh....where do those rapid-turrets come from?
Moderators: winston, another_commander, Getafix
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
-
- Quite Grand Sub-Admiral
- Posts: 6683
- Joined: Wed Feb 28, 2007 7:54 am
Screet, you are doing own builds, right? So, you can try this: Locate in ShipEntity.h the line that reads
and change the expression in brackets to an actual number. Currently the above calculation results in 0.27 (TURRET_SHOT_DURATION is 3.0). This gives the turrets a 0.27 fire rate, which is pretty fast. Change this to a number that matches the previous situation (smaller is faster) and let me know which number this is so we can fine tune it.
Code: Select all
#define TURRET_SHOT_FREQUENCY (TURRET_SHOT_DURATION * TURRET_SHOT_DURATION * TURRET_SHOT_DURATION / 100.0)
Have there been two changes to the speed yesterday? After updating another time, there appeared to be a further slowdown (yet not enough).another_commander wrote:Screet, you are doing own builds, right? So, you can try this: Locate in ShipEntity.h the line that readsand change the expression in brackets to an actual number. Currently the above calculation results in 0.27 (TURRET_SHOT_DURATION is 3.0). This gives the turrets a 0.27 fire rate, which is pretty fast. Change this to a number that matches the previous situation (smaller is faster) and let me know which number this is so we can fine tune it.Code: Select all
#define TURRET_SHOT_FREQUENCY (TURRET_SHOT_DURATION * TURRET_SHOT_DURATION * TURRET_SHOT_DURATION / 100.0)
I now tried it with 0.4 and this does look OK to me.
Screet