2025-07-20 16:42 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0004056Spring engineGeneralpublic2013-10-14 20:56
ReporterGoogle_Frog 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version94.1.1+git 
Target VersionFixed in Version 
Summary0004056: 94.1.1.-1353 Incorrect EmitSfx direction for BeamLaser
DescriptionThe Starlight in ZK (mahlazor) emits a BeamLaser towards the ground, in the latest engine it emits the laser in the opposite direction to the correct one.

I have cut down the unit script to create a simple demonstration of the bug. It seems that if the BeamLaser is to be emitted in the direction of a vector with a negative y component (in world space) then it is emitted in the opposite direction of that vector. This does not occur if the piece it is emitted from is close to the unit origin as demonstrated by the movement of the piece 'flashpoint'.

Of course my explanation of the bug is probably wrong in general. It just explains my test case.
Steps To ReproduceRun Spring with ZK 11752 (the exact version is important) and '/give mahlazor'.
Additional InformationThe script can be viewed here. http://code.google.com/p/zero-k/source/detail?r=11752
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0011750

Kloot (developer)

This sounds like an artefact of the fix for 0003861 which would mean EmitSfx does not set targetPos far enough away or along the wrong dir.
+Notes

-Issue History
Date Modified Username Field Change
2013-10-14 17:55 Google_Frog New Issue
2013-10-14 18:39 Kloot Note Added: 0011750
2013-10-14 20:56 Kloot Changeset attached => spring develop c0d70487
2013-10-14 20:56 Kloot Assigned To => Kloot
2013-10-14 20:56 Kloot Status new => resolved
2013-10-14 20:56 Kloot Resolution open => fixed
+Issue History