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.
C++ cmakecnccommand-and-conquercppdirectx11game-enginegame-preservationgeneralsrtssage-enginex64zero-hour
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.iniindex 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 MineFXGlowShader = ADDITIVEType = PARTICLEParticleName = ReforgedMineGlowRed.tga- SlavePosOffset = X:0.00 Y:0.00 Z:2.40+ SlavePosOffset = X:0.00 Y:-3.10 Z:2.40AngleZ = 0.00 0.00AngularRateZ = 0.00 0.00AngularDamping = 1.00 1.00@@ -3486,7 +3489,7 @@ ParticleSystem MineFXGlowPurpleShader = ADDITIVEType = PARTICLEParticleName = ReforgedMineGlowBlue.tga- SlavePosOffset = X:0.00 Y:0.00 Z:2.40+ SlavePosOffset = X:0.00 Y:-3.10 Z:2.40AngleZ = 0.00 0.00AngularRateZ = 0.00 0.00AngularDamping = 1.00 1.00@@ -3543,7 +3546,7 @@ ParticleSystem MineFXLightType = PARTICLEParticleName = ReforgedMineLedRed.tgaSlaveSystem = MineFXGlow- SlavePosOffset = X:0.00 Y:0.00 Z:1.00+ SlavePosOffset = X:0.00 Y:-1.30 Z:1.00AngleZ = 0.00 0.00AngularRateZ = 0.00 0.00AngularDamping = 1.00 1.00@@ -3600,7 +3603,7 @@ ParticleSystem MineFXLightPurpleType = PARTICLEParticleName = ReforgedMineLedBlue.tgaSlaveSystem = MineFXGlowPurple- SlavePosOffset = X:0.00 Y:0.00 Z:1.00+ SlavePosOffset = X:0.00 Y:-1.30 Z:1.00AngleZ = 0.00 0.00AngularRateZ = 0.00 0.00AngularDamping = 1.00 1.00