Skip to content

Zero Hour rebuilt from EA's source: x64, Direct3D 11, VS2022/CMake, ~60 original bugs fixed, an AI that builds a base. Bring your own game.

fix(data): mine light leans toward the opening camera onto the plate

Olcay Seygancf4263d6c51f
diff --git a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
index 0b06bc5e7..1e0413e97 100644
--- a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
+++ b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
@@ -3413,8 +3413,11 @@ End
; Both are high enough that the ground behind them along the player's line of sight, which looks down
; at about 39 degrees, is further than their half width, because the soft particle fade thins a
; sprite over its half width wherever the ground is closer behind it than that; the light before
-; this was a 30-across glow on the plate and came out at about a tenth of its colour. Higher still
-; and the glow parts from the dot on screen. The light comes on at full strength,
+; this was a 30-across glow on the plate and came out at about a tenth of its colour. Raised that far
+; straight up, the light showed about 8 px above the plate's middle from the opening camera, so each
+; is also moved towards that camera (south, -Y, the opening view's yaw being 0) by its height over
+; the tangent of the 37.5 degree pitch, which puts it back over the middle there. A player who turns
+; the camera sees it drift off centre. The light comes on at full strength,
; holds for eight frames and is gone two frames later, then stays dark until the next plate a second
; and a half on: the lens flare it replaced was a soft blob that swelled and faded over 24 frames.
;
@@ -3430,7 +3433,7 @@ ParticleSystem MineFXGlow
Shader = ADDITIVE
Type = PARTICLE
ParticleName = ReforgedMineGlowRed.tga
- SlavePosOffset = X:0.00 Y:0.00 Z:2.40
+ SlavePosOffset = X:0.00 Y:-3.10 Z:2.40
AngleZ = 0.00 0.00
AngularRateZ = 0.00 0.00
AngularDamping = 1.00 1.00
@@ -3486,7 +3489,7 @@ ParticleSystem MineFXGlowPurple
Shader = ADDITIVE
Type = PARTICLE
ParticleName = ReforgedMineGlowBlue.tga
- SlavePosOffset = X:0.00 Y:0.00 Z:2.40
+ SlavePosOffset = X:0.00 Y:-3.10 Z:2.40
AngleZ = 0.00 0.00
AngularRateZ = 0.00 0.00
AngularDamping = 1.00 1.00
@@ -3543,7 +3546,7 @@ ParticleSystem MineFXLight
Type = PARTICLE
ParticleName = ReforgedMineLedRed.tga
SlaveSystem = MineFXGlow
- SlavePosOffset = X:0.00 Y:0.00 Z:1.00
+ SlavePosOffset = X:0.00 Y:-1.30 Z:1.00
AngleZ = 0.00 0.00
AngularRateZ = 0.00 0.00
AngularDamping = 1.00 1.00
@@ -3600,7 +3603,7 @@ ParticleSystem MineFXLightPurple
Type = PARTICLE
ParticleName = ReforgedMineLedBlue.tga
SlaveSystem = MineFXGlowPurple
- SlavePosOffset = X:0.00 Y:0.00 Z:1.00
+ SlavePosOffset = X:0.00 Y:-1.30 Z:1.00
AngleZ = 0.00 0.00
AngularRateZ = 0.00 0.00
AngularDamping = 1.00 1.00