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): dark smoke of a vehicle death is gone in three seconds

Olcay Seygan4457def29447
diff --git a/CHANGELOG.md b/CHANGELOG.md
index b225eeeca..5cce4e5ad 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1832,6 +1832,7 @@ The whole HUD is on the hardware. Four colours carry it, and they mean the same
- Smoke and fire no longer end on a straight line where they meet the ground or a building. A puff that sinks into a hillside or drifts against a wall thins out over its last few metres, softly enough that a nuke's haze and a Scud's grey smoke no longer come out as stacked, stair-stepped terraces, and a toxin cloud lying low over the ground keeps its body instead of breaking into hard-edged green islands. A China mine field blinks where you can see it again: its lights hang just off the ground, and the fade had eaten all but a thirtieth of their bright middle. No effect fades over more than its own size now, so a small spark close to the ground keeps its light. This is the default renderer; Classic and the old renderer keep the hard edge they had in 2003.
- Fire burns instead of fading. Every flame and fireball in the game, 182 kinds from a burning soldier to a nuke's mushroom, starts white-hot and cools through yellow, orange and red to a sooty dark as it dies, eats away from its thin edges in rather than going see-through all at once, and licks and flickers, so a fire that used to be a still picture getting dimmer now moves. Green toxin and anthrax fires keep their colour. Default renderer only; Classic and the old renderer draw fire as they did.
- A tank dying and a mid-sized building going down leave a column of dark smoke climbing out of the wreck after the fireball, and a building no longer goes down behind a white flare. From 3.3.0 to 3.4.1 those two and a tank shell landing went off as a smooth orange ball with grey smoke puffs stacked over it like cotton wool, which looked like a toy; they explode in the game's own fire again, ragged and streaked with soot.
+- That smoke no longer outstays the fight. The black column over a dead tank hung for almost seven seconds and a building's for ten, in a game where the next tank is usually dead by then, and it was the darkest thing on the field. A burning tanker truck's soot ran for seventeen. All of it now thins out and is gone about three seconds after the blast, along with the brown cloud of EA's own tank explosion and the ribbons behind thrown wreckage. The fire on the hull is untouched.
- Gunfire shows at the zoom you play at. A rifle's tracer was a third of a unit wide, about one pixel from the default camera, and a bullet hit nothing you could see. Tracers from rifles, Gattlings, Humvees, Technicals and Quad Cannons are now twice as wide and half again as long, the muzzle flash is half as big again, and every hit kicks up sparks and a puff of dirt where it lands. A tank shell burns a short hot streak behind it all the way to the target, where it used to be a grey sliver you could not pick out between the flash and the blast. A Crusader's, Battlemaster's, Scorpion's, Paladin's or Overlord's shot used to be a soft white glow drifting out in front of the gun, wider than the tank; it is now a short orange blast at the barrel tip, with a bigger flame and smoke puff behind it. A shell landing throws dirt and sparks around its blast. The colours are the ones the game always used, and no weapon does anything different.
- Blasts throw fragments that smoke. The bigger explosions fling hot sparks into the air, each drawing a thin dark line of smoke that climbs, fans around the blast and curves down. A Stinger, a rocket pod, a tank shell or a rocket used to throw them too, and a fight filled with them; they now show on a bomb, a heavy shell, a Scud or a building, five that climb several times a tank's length, and on a nuke, a MOAB, a Daisy Cutter or a large building, eight that arc over its own fireball and hang for a couple of seconds. A vehicle that blows up throws burning pieces that drag near-black smoke and bounce where they land, and the turret, wheels and plates it throws off trail smoke and flame too, then smoulder a moment on the ground. The fragments and their smoke are the first effects the particle limit and a lower detail setting drop, so a bigger fight keeps its explosions and loses some lines. What a weapon does is unchanged. Rather have the explosions as they always were? Explosion Debris Trails in the launcher's Options turns all of it off, for you alone: the other players in your match keep whatever they picked, and nobody's game falls out of step over it.
- A China mine field tells you what kind it is. EA's field had no model at all, only a soft white glint swelling and fading on each of its eight spots, so your own minefield looked like a patch of fireflies. Each mine is now marked by a small arming light that snaps on for a quarter of a second every second and a half, red on standard and cluster mines and blue on EMP mines, with a white-hot point and a dark rim that keep it readable on grass, sand or snow. No mine body is drawn on the ground, only the light. The enemy still sees nothing until he detects the field. A mine going off under a tank now throws a column of dark earth twice the tank's height, scatters clods round it and leaves a low black smoke and a scorch, with a short jolt of the screen; it used to puff a pale spray of specks that looked like dust kicked up. An EMP mine throws no earth, so you can tell which kind went off: it lights a blue ring across the ground, a crackle of blue sparks and a short blue flash at the spot; EA's flash grew until it washed the whole screen white for a fifth of a second. What a mine does is unchanged.
diff --git a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
index 9af8b3227..245d234dc 100644
--- a/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
+++ b/GeneralsMD/Code/Data/INI/ParticleSystemReforged.ini
@@ -6481,7 +6481,9 @@ End
; fireball; the fireball was one smooth, opaque, slowly swelling orange ball and each smoke puff the
; same hard-edged round blob, so a building going down looked like modelling clay and cotton wool.
; EA's photographed fireballs are back, and the column kept its shape on EA's soft smoke. EXCloud01
-; was tried first: its alpha is too thin for a column, which all but vanished.
+; was tried first: its alpha is too thin for a column, which all but vanished. The column hung for
+; almost seven seconds on a tank and ten on a building, near-black over a fight that had moved on, so
+; both now stop emitting early and the last puff is out about three seconds after the blast.
ParticleSystem ReforgedTankSmoke
Priority = DEATH_EXPLOSION
@@ -6494,22 +6496,22 @@ ParticleSystem ReforgedTankSmoke
AngularDamping = 0.99 0.99
VelocityDamping = 0.94 0.96
Gravity = 0.00
- Lifetime = 150.00 180.00
- SystemLifetime = 45
+ Lifetime = 60.00 70.00
+ SystemLifetime = 25
Size = 14.00 18.00
StartSizeRate = 0.00 0.00
SizeRate = 0.45 0.60
SizeRateDamping = 0.985 0.99
Alpha1 = 0.00 0.00 0
- Alpha2 = 0.80 0.90 10
- Alpha3 = 0.55 0.65 70
- Alpha4 = 0.00 0.00 150
+ Alpha2 = 0.80 0.90 8
+ Alpha3 = 0.55 0.65 28
+ Alpha4 = 0.00 0.00 60
Alpha5 = 0.00 0.00 0
Alpha6 = 0.00 0.00 0
Alpha7 = 0.00 0.00 0
Alpha8 = 0.00 0.00 0
Color1 = R:170 G:158 B:146 0
- Color2 = R:215 G:208 B:200 120
+ Color2 = R:215 G:208 B:200 50
Color3 = R:0 G:0 B:0 0
Color4 = R:0 G:0 B:0 0
Color5 = R:0 G:0 B:0 0
@@ -6552,22 +6554,22 @@ ParticleSystem ReforgedStructureSmoke
AngularDamping = 0.99 0.99
VelocityDamping = 0.94 0.96
Gravity = 0.00
- Lifetime = 220.00 260.00
- SystemLifetime = 75
+ Lifetime = 60.00 70.00
+ SystemLifetime = 30
Size = 30.00 40.00
StartSizeRate = 0.00 0.00
SizeRate = 0.60 0.80
SizeRateDamping = 0.985 0.99
Alpha1 = 0.00 0.00 0
- Alpha2 = 0.80 0.90 12
- Alpha3 = 0.55 0.65 100
- Alpha4 = 0.00 0.00 220
+ Alpha2 = 0.80 0.90 8
+ Alpha3 = 0.55 0.65 28
+ Alpha4 = 0.00 0.00 60
Alpha5 = 0.00 0.00 0
Alpha6 = 0.00 0.00 0
Alpha7 = 0.00 0.00 0
Alpha8 = 0.00 0.00 0
Color1 = R:170 G:158 B:146 0
- Color2 = R:215 G:208 B:200 160
+ Color2 = R:215 G:208 B:200 50
Color3 = R:0 G:0 B:0 0
Color4 = R:0 G:0 B:0 0
Color5 = R:0 G:0 B:0 0
@@ -6599,11 +6601,46 @@ ParticleSystem ReforgedStructureSmoke
WindPingPongEndAngleMax = 6.283185
End
+; EA's own tank blast, the dark cloud of every tank and big vehicle death, under the column or without
+; it: it turned the brown of soot at frame 60 of 100, still at 40% opacity. A fifth off its life ends
+; it on the same three seconds as the column, with the colour ramp pulled in to match. Only these
+; fields change; the rest stays retail's or a mod's.
+
+ParticleSystem MammothTankExplosionSmoke
+ Lifetime = 80.00 80.00
+ Alpha2 = 0.00 0.00 80
+ Color2 = R:63 G:53 B:43 48
+End
+
+ParticleSystem BattleMasterTankExplosionSmoke
+ Lifetime = 80.00 80.00
+ Alpha2 = 0.00 0.00 80
+ Color2 = R:63 G:53 B:43 48
+End
+
+ParticleSystem OverlordExplosionSmoke
+ Lifetime = 80.00 80.00
+ Alpha2 = 0.00 0.00 80
+ Color2 = R:63 G:53 B:43 48
+End
+
+ParticleSystem ScudLauncherExplosionSmoke
+ Lifetime = 80.00 80.00
+ Alpha2 = 0.00 0.00 80
+ Color2 = R:63 G:53 B:43 48
+End
+
+; The burning tanker truck's column of soot ran for seventeen seconds over the wreck.
+
+ParticleSystem SootySmokeColumn
+ SystemLifetime = 10
+End
+
; The wreck pieces a vehicle's death throws as models (turrets, wheels, doors, hull plates; the
; ParticleSystem line of their CreateDebris in ObjectCreationListReforged.ini) trail the same dark
; ribbon as the shrapnel above, with a small flame on each of its points that is gone in a quarter
; of a second, so the fire stays at the piece (ReforgedShrapnelFlame, the ribbon's slave: its Size
-; and SizeRate are factors on the ribbon's). The system lives two seconds and then stops: a piece
+; and SizeRate are factors on the ribbon's). The system lives just under two seconds and then stops: a piece
; is in the air for one to one and a half, and for the rest it smoulders where it lies, its new
; points rising off it on the drift into a short column. Only the large named pieces carry it, two to five a vehicle, never the
; scrap bits.
@@ -6623,7 +6660,7 @@ ParticleSystem ReforgedDebrisTrail
SlaveSystem = ReforgedShrapnelFlame
SlavePosOffset = X:0.00 Y:0.00 Z:0.00
Lifetime = 40.00 40.00
- SystemLifetime = 60
+ SystemLifetime = 50
Size = 2.20 2.20
StartSizeRate = 0.00 0.00
SizeRate = 0.10 0.10