@adatechnology/game-vfx 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.global.js +99 -53
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +99 -53
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3173,6 +3173,17 @@ var FUEL_LEAK = {
|
|
|
3173
3173
|
])
|
|
3174
3174
|
]
|
|
3175
3175
|
};
|
|
3176
|
+
var FUEL_LEAK_ONLY = {
|
|
3177
|
+
id: "fuel_leak_only",
|
|
3178
|
+
pageId: "vazamento",
|
|
3179
|
+
team: "vehicles",
|
|
3180
|
+
budget: { particles: 200, lights: 0 },
|
|
3181
|
+
loop: 11,
|
|
3182
|
+
view: FUEL_LEAK.view,
|
|
3183
|
+
setup: FUEL_LEAK.setup,
|
|
3184
|
+
timeline: [decal(POOL[0], 0, POOL[2], 2.2, 2040368, { grow: 3, life: 60, ar: 0.6, fluid: "oil" })],
|
|
3185
|
+
tick: [emit("drip", "normal", 12, { p: TANK, box: [0.05, 0, 0.05], sp: 0, life: 1, size: 0.03, c0: 5921402, a: 0.9, g: 9.8, fi: 0, gnd: 1 })]
|
|
3186
|
+
};
|
|
3176
3187
|
|
|
3177
3188
|
// src/effects/vehicles/car-explosion.ts
|
|
3178
3189
|
var CAR_EXPLOSION = {
|
|
@@ -3546,6 +3557,8 @@ var EVENT_EFFECTS = [
|
|
|
3546
3557
|
// src/effects/weapons/viewmodel.ts
|
|
3547
3558
|
var PI = Math.PI;
|
|
3548
3559
|
var SMOKE = { color: 9079430, width: 10, height: 8, gravity: -0.08, drag: 2.2, growth: 2.1 };
|
|
3560
|
+
var DEFAULT_SMOKE = { puffs: 2, radius: 0.01, opacity: 0.14, life: 0.7, drift: 0.2, rise: 0.06, growth: 2.1, flash: 1 };
|
|
3561
|
+
var DEFAULT_SPREAD = { drift: 0.1, rise: 0.04, side: 0.06 };
|
|
3549
3562
|
var FLASH_SECONDS = 0.055;
|
|
3550
3563
|
var FLASH_RAMP = [0.6, 0.9];
|
|
3551
3564
|
var FLASH_OPACITY = 0.95;
|
|
@@ -3553,8 +3566,10 @@ var FLAME_COLORS = [16742946, 16760896, 13121050, 16773296];
|
|
|
3553
3566
|
var FLAME_ADDITIVE = 3;
|
|
3554
3567
|
var ORIGIN2 = [0, 0, 0];
|
|
3555
3568
|
var SIZE = variable("size");
|
|
3569
|
+
var FLASH_SCALE = variable("flash");
|
|
3570
|
+
var fallback = (name, defaultValue) => ite(ne(variable(name), void 0), variable(name), defaultValue);
|
|
3556
3571
|
var wide = (width) => mul(sub(rand(), 0.5), width);
|
|
3557
|
-
var puff2 = (point, velocity, world, radius, life, opacity) => mesh({
|
|
3572
|
+
var puff2 = (point, velocity, world, radius, life, opacity, growth = SMOKE.growth) => mesh({
|
|
3558
3573
|
shape: "sphere",
|
|
3559
3574
|
p: point,
|
|
3560
3575
|
v: velocity,
|
|
@@ -3569,7 +3584,7 @@ var puff2 = (point, velocity, world, radius, life, opacity) => mesh({
|
|
|
3569
3584
|
lit: true,
|
|
3570
3585
|
g: SMOKE.gravity,
|
|
3571
3586
|
drag: SMOKE.drag,
|
|
3572
|
-
grow:
|
|
3587
|
+
grow: growth
|
|
3573
3588
|
});
|
|
3574
3589
|
var flameBit = (point, velocity, world, radius, life) => [
|
|
3575
3590
|
set("bitPoint", point),
|
|
@@ -3602,37 +3617,55 @@ var MUZZLE_FLASH2 = {
|
|
|
3602
3617
|
id: "viewmodel_muzzle_flash",
|
|
3603
3618
|
pageId: "event:viewmodel_muzzle_flash",
|
|
3604
3619
|
team: "weapons",
|
|
3605
|
-
budget: { particles:
|
|
3620
|
+
budget: { particles: 14, lights: 1 },
|
|
3606
3621
|
loop: 0.1,
|
|
3622
|
+
setup: [
|
|
3623
|
+
set("size", fallback("size", 1)),
|
|
3624
|
+
set("puffs", fallback("puffs", DEFAULT_SMOKE.puffs)),
|
|
3625
|
+
set("radius", fallback("radius", DEFAULT_SMOKE.radius)),
|
|
3626
|
+
set("opacity", fallback("opacity", DEFAULT_SMOKE.opacity)),
|
|
3627
|
+
set("life", fallback("life", DEFAULT_SMOKE.life)),
|
|
3628
|
+
set("drift", fallback("drift", DEFAULT_SMOKE.drift)),
|
|
3629
|
+
set("rise", fallback("rise", DEFAULT_SMOKE.rise)),
|
|
3630
|
+
set("growth", fallback("growth", DEFAULT_SMOKE.growth)),
|
|
3631
|
+
set("flash", fallback("flash", DEFAULT_SMOKE.flash)),
|
|
3632
|
+
set("driftSpread", fallback("driftSpread", DEFAULT_SPREAD.drift)),
|
|
3633
|
+
set("riseSpread", fallback("riseSpread", DEFAULT_SPREAD.rise)),
|
|
3634
|
+
set("sideSpread", fallback("sideSpread", DEFAULT_SPREAD.side)),
|
|
3635
|
+
set("lifeSpread", ite(ne(variable("lifeSpread"), void 0), variable("lifeSpread"), mul(variable("life"), 0.3)))
|
|
3636
|
+
],
|
|
3607
3637
|
timeline: [
|
|
3608
3638
|
set("angles", []),
|
|
3609
3639
|
repeat(4, append("angles", add(div(mul(INDEX, PI), 2), mul(rand(), 0.6)))),
|
|
3610
3640
|
set("roll", mul(rand(), PI)),
|
|
3611
|
-
|
|
3612
|
-
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3641
|
+
when(gt(FLASH_SCALE, 0), [
|
|
3642
|
+
flash(ORIGIN2, 16756832, mul(4, SIZE, FLASH_SCALE), FLASH_SECONDS, mul(2, SIZE, FLASH_SCALE), true, true),
|
|
3643
|
+
flashPiece("cone_open", mul(0.013, SIZE, FLASH_SCALE), mul(0.085, SIZE, FLASH_SCALE), 10, [mul(0.042, SIZE, FLASH_SCALE), 0, 0], [0, 0, -PI / 2], 16757575),
|
|
3644
|
+
repeat(
|
|
3645
|
+
4,
|
|
3646
|
+
set("angle", pick(variable("angles"), INDEX)),
|
|
3647
|
+
flashPiece(
|
|
3648
|
+
"cone",
|
|
3649
|
+
mul(5e-3, SIZE, FLASH_SCALE),
|
|
3650
|
+
mul(0.04, SIZE, FLASH_SCALE),
|
|
3651
|
+
6,
|
|
3652
|
+
[mul(0.012, SIZE, FLASH_SCALE), mul(cos(variable("angle")), 0.016, SIZE, FLASH_SCALE), mul(sin(variable("angle")), 0.016, SIZE, FLASH_SCALE)],
|
|
3653
|
+
[variable("angle"), 0, -PI / 2],
|
|
3654
|
+
16757575
|
|
3655
|
+
)
|
|
3656
|
+
),
|
|
3657
|
+
flashPiece("sphere", mul(0.016, SIZE, FLASH_SCALE), void 0, 12, [mul(8e-3, SIZE, FLASH_SCALE), 0, 0], [0, 0, 0], 16773568)
|
|
3658
|
+
]),
|
|
3627
3659
|
repeat(
|
|
3628
|
-
|
|
3660
|
+
variable("puffs"),
|
|
3629
3661
|
puff2(
|
|
3630
3662
|
ORIGIN2,
|
|
3631
|
-
[add(
|
|
3663
|
+
[add(variable("drift"), mul(rand(), variable("driftSpread"))), add(variable("rise"), mul(rand(), variable("riseSpread"))), mul(sub(rand(), 0.5), variable("sideSpread"))],
|
|
3632
3664
|
[0, 0, 0],
|
|
3633
|
-
mul(
|
|
3634
|
-
add(
|
|
3635
|
-
|
|
3665
|
+
mul(variable("radius"), SIZE),
|
|
3666
|
+
add(variable("life"), mul(rand(), variable("lifeSpread"))),
|
|
3667
|
+
variable("opacity"),
|
|
3668
|
+
variable("growth")
|
|
3636
3669
|
)
|
|
3637
3670
|
)
|
|
3638
3671
|
]
|
|
@@ -3681,10 +3714,23 @@ var FLAME_JET = {
|
|
|
3681
3714
|
};
|
|
3682
3715
|
var VIEWMODEL_EFFECTS = [MUZZLE_FLASH2, SMOKE_PUFF, BACKBLAST, FLAME_JET];
|
|
3683
3716
|
|
|
3717
|
+
// src/effects/vehicles/game-effects.ts
|
|
3718
|
+
var aliasOf = (base, id, changes) => ({ ...base, id, pageId: `vehicle:${id}`, anchor: CAR_ORIGIN2, ...changes });
|
|
3719
|
+
var VEHICLE_EFFECTS = [
|
|
3720
|
+
/** The engine on fire: `engine_smoke` at its worst condition (black smoke, flames in the hood, a light). */
|
|
3721
|
+
aliasOf(ENGINE_SMOKE, "vehicle_fire", { params: { id: "condition", options: ["100", "60", "30", "10"], default: 3 }, loop: 12 }),
|
|
3722
|
+
/** The exhaust of a car under way: `engine_smoke` in the best condition, for half a second so a moving car asks again. */
|
|
3723
|
+
aliasOf(ENGINE_SMOKE, "vehicle_exhaust", { params: { id: "condition", options: ["100", "60", "30", "10"], default: 0 }, loop: 0.5 }),
|
|
3724
|
+
/** A hole in the tank: the page's petrol leak without the fire and the blast (the pool and the drips). A normal bullet does only this. */
|
|
3725
|
+
aliasOf(FUEL_LEAK_ONLY, "vehicle_leak", {}),
|
|
3726
|
+
/** The leak caught fire (an incendiary or tracer round, a spark, a fire near): the page's whole sequence, the fire running along the pool to the tank and the blast. */
|
|
3727
|
+
aliasOf(FUEL_LEAK, "vehicle_leak_ignited", {})
|
|
3728
|
+
];
|
|
3729
|
+
|
|
3684
3730
|
// src/effects/catalog.ts
|
|
3685
3731
|
var ALL_EFFECTS = [BLOOD_HIT, HEADSHOT, DISMEMBER, BLOATER_CLOUD, SCREAMER_SHRIEK, CORPSE_DECAY, REANIMATION, EYES_IN_FOG, MUZZLE_FLASH, IMPACT_BY_MATERIAL, PENETRATION, CASINGS_AND_MAGAZINE, MOLOTOV, GRENADE, EXPLOSIVE_BARREL, SHOPFRONT_GLASS, DOOR_STAGES, BUILDING_COLLAPSE, BLOCK_WALL, METAL_DOOR_EFFECT, IRON_RAILING, WOODEN_FENCE, HIT_POINT_BREAKAGE, PRESSURE_CYLINDERS, BUILDING_FIRE, RAIN_AND_PUDDLES, FOG_AND_ASH, SCRAPING_SPARKS, ENGINE_SMOKE, FUEL_LEAK, CAR_EXPLOSION, WINDSHIELD, HEADLIGHTS_IN_RAIN, DAMAGE_AND_BITE, INFECTION_PHASES, PANIC, BLOATER_BLINDNESS, CAMPFIRE, COUGH_AND_BREATH];
|
|
3686
3732
|
var WORKSHOP_EFFECTS = Object.fromEntries(ALL_EFFECTS.map((effect) => [effect.id, effect]));
|
|
3687
|
-
var GAME_EFFECTS = { ...WORKSHOP_EFFECTS, ...Object.fromEntries([...EVENT_EFFECTS, ...VIEWMODEL_EFFECTS].map((effect) => [effect.id, effect])) };
|
|
3733
|
+
var GAME_EFFECTS = { ...WORKSHOP_EFFECTS, ...Object.fromEntries([...EVENT_EFFECTS, ...VIEWMODEL_EFFECTS, ...VEHICLE_EFFECTS].map((effect) => [effect.id, effect])) };
|
|
3688
3734
|
function patchEffects(base, changes) {
|
|
3689
3735
|
const result = { ...base };
|
|
3690
3736
|
for (const [id, change] of Object.entries(changes)) {
|
|
@@ -7482,7 +7528,7 @@ var en = {
|
|
|
7482
7528
|
blood_hit: {
|
|
7483
7529
|
name: "Blood by infection age",
|
|
7484
7530
|
short: "A mist on the way in, a jet on the way out, a pool that grows. Age changes colour and amount.",
|
|
7485
|
-
cost: "\u2264 70
|
|
7531
|
+
cost: "\u2264 70 particles",
|
|
7486
7532
|
costNote: "1 pool \xB7 6 splashes",
|
|
7487
7533
|
paramLabel: "Age",
|
|
7488
7534
|
when: "Every bullet or blow that hits a zombie. The blood value comes from the bestiary age: 1.0 \xB7 0.7 \xB7 0.35 \xB7 0.1.",
|
|
@@ -7493,7 +7539,7 @@ var en = {
|
|
|
7493
7539
|
headshot: {
|
|
7494
7540
|
name: "Headshot",
|
|
7495
7541
|
short: "The head bursts, the eyes go out on the same frame and the body drops.",
|
|
7496
|
-
cost: "\u2264 70
|
|
7542
|
+
cost: "\u2264 70 particles",
|
|
7497
7543
|
costNote: "8 debris \xB7 1 pool",
|
|
7498
7544
|
when: "A head hit that kills (bestiary rule: a head kills at once).",
|
|
7499
7545
|
look: "A red mist around the head, a jet of drops backwards, 6 to 8 pieces of bone and skin, a swap to the burst-neck mesh. The eye glow goes out on the same frame, which is the most readable signal from afar.",
|
|
@@ -7503,7 +7549,7 @@ var en = {
|
|
|
7503
7549
|
dismember: {
|
|
7504
7550
|
name: "Dismemberment",
|
|
7505
7551
|
short: "The arm comes off whole with physics and the shoulder gushes for half a second.",
|
|
7506
|
-
cost: "\u2264 60
|
|
7552
|
+
cost: "\u2264 60 particles",
|
|
7507
7553
|
costNote: "1 limb \xB7 4 splashes",
|
|
7508
7554
|
when: "Damage to a limb above the threshold (multipliers by region from the bestiary) or an axe blow.",
|
|
7509
7555
|
look: "The limb becomes a loose piece with physics and bounces. A short pulsing jet from the shoulder, drops that form a trail to the pool. The zombie staggers but keeps walking.",
|
|
@@ -7513,7 +7559,7 @@ var en = {
|
|
|
7513
7559
|
bloater_cloud: {
|
|
7514
7560
|
name: "Bloater cloud",
|
|
7515
7561
|
short: "The belly pulses for 0.5 s, bursts and leaves 4 m of gas for 8 s.",
|
|
7516
|
-
cost: "\u2264 180
|
|
7562
|
+
cost: "\u2264 180 particles",
|
|
7517
7563
|
costNote: "server entity",
|
|
7518
7564
|
when: "Death of the Bloater, by any cause.",
|
|
7519
7565
|
look: "A 0.5 s warning with the belly swelling, a burst with pieces and a greenish jet, and a low moss-green cloud that undulates on the ground for 8 s. Loose green glows inside the cloud mark the area.",
|
|
@@ -7523,7 +7569,7 @@ var en = {
|
|
|
7523
7569
|
screamer_shriek: {
|
|
7524
7570
|
name: "Screamer shriek",
|
|
7525
7571
|
short: "A 1.5 s wind-up with steam, a wave on the ground and the horde's eyes light up.",
|
|
7526
|
-
cost: "\u2264 150
|
|
7572
|
+
cost: "\u2264 150 particles",
|
|
7527
7573
|
costNote: "3 rings \xB7 aberration",
|
|
7528
7574
|
when: "The Screamer spots the player and starts the shriek (1.5 s wind-up, calls everyone within 150 m).",
|
|
7529
7575
|
look: "Head back and steam from the mouth during the wind-up. On the shriek, three pressure rings on the ground, dust raised in the radius, a short chromatic aberration on the screen of whoever is near, and the eyes of nearby zombies flare when they hear.",
|
|
@@ -7543,7 +7589,7 @@ var en = {
|
|
|
7543
7589
|
corpse_decay: {
|
|
7544
7590
|
name: "Corpse: darken and dissolve",
|
|
7545
7591
|
short: "15 minutes in 8 seconds: fall, darken, flies and turn to dust.",
|
|
7546
|
-
cost: "\u2264 40
|
|
7592
|
+
cost: "\u2264 40 particles",
|
|
7547
7593
|
costNote: "pool of 400 bodies",
|
|
7548
7594
|
when: "Zombie death. Bestiary timeline: ragdoll 3 s, frozen mesh, darken, dissolve between 14 and 15 min.",
|
|
7549
7595
|
look: "The skin loses colour until almost black, the pool dries to brown, flies appear from minute 5 and in the last minute the body sinks and gives off dark dust.",
|
|
@@ -7553,7 +7599,7 @@ var en = {
|
|
|
7553
7599
|
reanimation: {
|
|
7554
7600
|
name: "Reanimation",
|
|
7555
7601
|
short: "Veins light up, spasms, the eyes switch on and the body gets up.",
|
|
7556
|
-
cost: "\u2264 30
|
|
7602
|
+
cost: "\u2264 30 particles",
|
|
7557
7603
|
costNote: "emissive in the shader",
|
|
7558
7604
|
when: "End of infection of a player or NPC: reanimates in 2 to 6 min as Fresh (70% Slow, 30% Runner).",
|
|
7559
7605
|
look: "Green pulses through the skin (emissive in the shader, not particles), spasms in the arms and head, the eyes light up from the inside out and the body stands. Breath as steam on the first shriek.",
|
|
@@ -7563,7 +7609,7 @@ var en = {
|
|
|
7563
7609
|
muzzle_flash: {
|
|
7564
7610
|
name: "Muzzle flash",
|
|
7565
7611
|
short: "Core, petals and smoke scaled by weapon. The Barrett raises dust.",
|
|
7566
|
-
cost: "\u2264 60
|
|
7612
|
+
cost: "\u2264 60 particles",
|
|
7567
7613
|
costNote: "1 light \xB7 50 ms",
|
|
7568
7614
|
paramLabel: "Weapon",
|
|
7569
7615
|
when: "Every shot. In first person it uses the weapon model; from afar it is only the core sprite.",
|
|
@@ -7574,7 +7620,7 @@ var en = {
|
|
|
7574
7620
|
impact: {
|
|
7575
7621
|
name: "Impact by material",
|
|
7576
7622
|
short: "Concrete, metal, wood, glass, flesh and water: each with its own response.",
|
|
7577
|
-
cost: "\u2264 40
|
|
7623
|
+
cost: "\u2264 40 particles",
|
|
7578
7624
|
costNote: "1 hole",
|
|
7579
7625
|
paramLabel: "Material",
|
|
7580
7626
|
when: "Every bullet that hits something. The material comes from the mesh surface tag.",
|
|
@@ -7585,7 +7631,7 @@ var en = {
|
|
|
7585
7631
|
penetration: {
|
|
7586
7632
|
name: "Bullet through the horde",
|
|
7587
7633
|
short: "Barrett tracer passing through 5 zombies, in 10x slow motion.",
|
|
7588
|
-
cost: "\u2264 250
|
|
7634
|
+
cost: "\u2264 250 particles",
|
|
7589
7635
|
costNote: "aggregate event",
|
|
7590
7636
|
when: "Weapon with penetration: the AK goes through 2, the Remington 700 through 3, the Barrett through 6 and cars.",
|
|
7591
7637
|
look: "A tracer with a hot-air trail, blood exiting each body in the order the bullet passes (each in the colour of its age), bodies falling one after another and a final impact on the concrete.",
|
|
@@ -7605,7 +7651,7 @@ var en = {
|
|
|
7605
7651
|
molotov: {
|
|
7606
7652
|
name: "Molotov cocktail",
|
|
7607
7653
|
short: "A lit wick in the arc, glass breaking and a pool of fire that spreads.",
|
|
7608
|
-
cost: "\u2264 300
|
|
7654
|
+
cost: "\u2264 300 particles",
|
|
7609
7655
|
costNote: "2 lights \xB7 entity",
|
|
7610
7656
|
when: "A molotov hitting the ground or a zombie.",
|
|
7611
7657
|
look: "A bottle in an arc with the wick giving off flame and smoke. On impact, green shards and a splash of fire that opens from 0.5 m to 2.2 m in 0.8 s. Low flames, embers, dark smoke and a flickering light for 6 s, then embers and a burn mark.",
|
|
@@ -7615,7 +7661,7 @@ var en = {
|
|
|
7615
7661
|
grenade: {
|
|
7616
7662
|
name: "Fragmentation grenade",
|
|
7617
7663
|
short: "A bounce on the asphalt, flash, shock wave, shrapnel and a ring of dust.",
|
|
7618
|
-
cost: "\u2264 400
|
|
7664
|
+
cost: "\u2264 400 particles",
|
|
7619
7665
|
costNote: "aggregate event",
|
|
7620
7666
|
when: "A grenade exploding (1.8 s fuse after the throw).",
|
|
7621
7667
|
look: "The grenade bounces twice. A layered explosion: a white flash that paints the screen, a short fireball, a shock ring on the ground and another facing the camera, bright shrapnel that bounces, a ring of low dust, grey smoke that rises and a burn mark. Zombies in the radius fall outwards.",
|
|
@@ -7625,7 +7671,7 @@ var en = {
|
|
|
7625
7671
|
explosive_barrel: {
|
|
7626
7672
|
name: "Explosive barrel",
|
|
7627
7673
|
short: "A mushroom of fire, the lid flying, petrol burning on the ground and a column of smoke.",
|
|
7628
|
-
cost: "\u2264 450
|
|
7674
|
+
cost: "\u2264 450 particles",
|
|
7629
7675
|
costNote: "2 lights \xB7 fire entity",
|
|
7630
7676
|
when: "A red barrel with damage above the threshold, a shot or fire touching it.",
|
|
7631
7677
|
look: "Everything the grenade does, plus: a fireball that rises into a mushroom, the lid and red pieces flying high, three pools of petrol burning for 5 s and a black smoke column that serves as a landmark from afar.",
|
|
@@ -7645,7 +7691,7 @@ var en = {
|
|
|
7645
7691
|
door_stages: {
|
|
7646
7692
|
name: "Door giving way in 3 stages",
|
|
7647
7693
|
short: "Blows shake dust from the frame, a plank cracks and the door falls.",
|
|
7648
|
-
cost: "\u2264 120
|
|
7694
|
+
cost: "\u2264 120 particles",
|
|
7649
7695
|
costNote: "3 stages",
|
|
7650
7696
|
when: "The horde hitting a door or barricade (the Brute does 3x damage). Stages: 66%, 33%, 0% health.",
|
|
7651
7697
|
look: "Each blow shakes the door and loosens dust from the frame and splinters. At stage 2 the middle plank cracks and falls. At 3 the door topples and raises a cloud of low dust, and the zombie comes out of the dark.",
|
|
@@ -7655,7 +7701,7 @@ var en = {
|
|
|
7655
7701
|
building_collapse: {
|
|
7656
7702
|
name: "Collapse",
|
|
7657
7703
|
short: "Dust trickling from the awning, blocks falling and a cloud of dust rolling down the street.",
|
|
7658
|
-
cost: "\u2264 350
|
|
7704
|
+
cost: "\u2264 350 particles",
|
|
7659
7705
|
costNote: "26 debris",
|
|
7660
7706
|
when: "A structure that loses its health: explosion, vehicle impact, a big horde pushing (destruction of the map buildings).",
|
|
7661
7707
|
look: "Before: fine dust trickling and pebbles falling for 1 s, as a warning. Then: large and small blocks fall, the camera shakes and a cloud of grey-beige dust rolls along the ground and hangs in the air for 5 s, hiding zombies.",
|
|
@@ -7665,7 +7711,7 @@ var en = {
|
|
|
7665
7711
|
block_wall: {
|
|
7666
7712
|
name: "Wall brought down with holes",
|
|
7667
7713
|
short: "A burst leaves holes and chips; the wall falls in blocks and the holes stay on them.",
|
|
7668
|
-
cost: "\u2264 300
|
|
7714
|
+
cost: "\u2264 300 particles",
|
|
7669
7715
|
costNote: "30 blocks \xB7 attached holes",
|
|
7670
7716
|
when: "A concrete wall, low wall or barricade that loses health from shots, explosion, the Brute or a car (map and arsenal destruction).",
|
|
7671
7717
|
look: "Each bullet opens a dark hole with a chipped rim, giving off dust and pebbles. When the wall gives way it splits into blocks that topple with physics and a cloud of dust rolls along the ground. The bullet holes are attached to the blocks: they stay on the fallen pieces, turned with them, and do not vanish when the wall breaks.",
|
|
@@ -7675,7 +7721,7 @@ var en = {
|
|
|
7675
7721
|
metal_door: {
|
|
7676
7722
|
name: "Metal door denting",
|
|
7677
7723
|
short: "Each blow sinks the plate, flakes the paint and throws sparks; the hinge bursts.",
|
|
7678
|
-
cost: "\u2264 160
|
|
7724
|
+
cost: "\u2264 160 particles",
|
|
7679
7725
|
costNote: "deformable mesh",
|
|
7680
7726
|
when: "A door, gate or steel plate taking a zombie blow (Brute 3x), a 12-gauge shot or a car hit.",
|
|
7681
7727
|
look: "The plate sinks where it is hit (a deformed mesh, not a model swap), with 3 visible levels. Each blow gives off sparks, flakes of green paint and rust dust. When the health runs out the top hinge bursts in sparks, the door topples and scrapes on the ground giving off more sparks.",
|
|
@@ -7685,7 +7731,7 @@ var en = {
|
|
|
7685
7731
|
iron_railing: {
|
|
7686
7732
|
name: "Iron railing bending",
|
|
7687
7733
|
short: "The horde pushes, the bars bow, the weld pops in a spark and the railing falls.",
|
|
7688
|
-
cost: "\u2264 200
|
|
7734
|
+
cost: "\u2264 200 particles",
|
|
7689
7735
|
costNote: "3 deformable bars",
|
|
7690
7736
|
when: "A railing, iron gate, handrail or chain-link fence with zombies pushing (horde pressure) or a car hitting it.",
|
|
7691
7737
|
look: "The bars bow gradually at the point of pressure and the vertical ones tilt with them. Rust falls in a thread during the strain. At two moments the weld pops with a crackle of sparks. At the end the middle post gives and the railing topples, leaving the bent iron on the ground.",
|
|
@@ -7695,7 +7741,7 @@ var en = {
|
|
|
7695
7741
|
wooden_fence: {
|
|
7696
7742
|
name: "Wooden fence breaking",
|
|
7697
7743
|
short: "Planks snap one by one, chips and dust, and the section topples as the horde passes.",
|
|
7698
|
-
cost: "\u2264 150
|
|
7744
|
+
cost: "\u2264 150 particles",
|
|
7699
7745
|
costNote: "12 planks",
|
|
7700
7746
|
when: "A fence, yard gate or plank barricade taking a shot, blow or horde pressure.",
|
|
7701
7747
|
look: "Each plank snaps at a random point: the stump stays on the rail and the top piece flies off with chips and wood dust. The zombie appears through the gap. At the end the rail cracks and the whole section topples forward.",
|
|
@@ -7705,7 +7751,7 @@ var en = {
|
|
|
7705
7751
|
hit_point_breakage: {
|
|
7706
7752
|
name: "Breakage by the point hit",
|
|
7707
7753
|
short: "A shot to the leg, a machete on the corner, a bat on the top and a 12-gauge up close: each weapon breaks the part it hit.",
|
|
7708
|
-
cost: "\u2264 120
|
|
7754
|
+
cost: "\u2264 120 particles",
|
|
7709
7755
|
costNote: "parts with their own health",
|
|
7710
7756
|
when: "Any destructible item. The damage goes to the part that was hit, not to the whole item.",
|
|
7711
7757
|
look: "A 9 mm shot to the front leg: the lower part of the leg breaks off and the table tips toward that corner. A machete on the corner of the top: the corner comes off whole in a straight cut, with chips in a line. A bat on the other corner: the top cracks and falls apart in pieces with dust. A 12-gauge up close on what is left: 9 grouped holes that stay in the wood.",
|
|
@@ -7715,7 +7761,7 @@ var en = {
|
|
|
7715
7761
|
pressure_cylinders: {
|
|
7716
7762
|
name: "Extinguisher and oxygen cylinder",
|
|
7717
7763
|
short: "A shot to the extinguisher makes a white cloud and a spin; on oxygen the valve breaks and the cylinder becomes a rocket.",
|
|
7718
|
-
cost: "\u2264 250
|
|
7764
|
+
cost: "\u2264 250 particles",
|
|
7719
7765
|
costNote: "cloud entity",
|
|
7720
7766
|
paramLabel: "Cylinder",
|
|
7721
7767
|
when: "A shot, a strong blow or fire on an extinguisher, oxygen cylinder or welding cylinder (extinguisher and oxygen_cylinder keys of the map catalogue).",
|
|
@@ -7726,7 +7772,7 @@ var en = {
|
|
|
7726
7772
|
building_fire: {
|
|
7727
7773
|
name: "Building on fire",
|
|
7728
7774
|
short: "Fire coming out of the windows, licking the facade, embers and smoke with the wind.",
|
|
7729
|
-
cost: "\u2264 600
|
|
7775
|
+
cost: "\u2264 600 particles",
|
|
7730
7776
|
costNote: "2 lights \xB7 reference",
|
|
7731
7777
|
when: "A building fire (molotov, explosion, vehicle). It lasts minutes and spreads to the neighbour.",
|
|
7732
7778
|
look: "Windows lit orange that flicker, tongues of fire coming out of the top of each window and climbing the facade, embers carried by the wind and a thick slanted column of smoke. The light paints the street.",
|
|
@@ -7767,7 +7813,7 @@ var en = {
|
|
|
7767
7813
|
engine_smoke: {
|
|
7768
7814
|
name: "Engine smoke",
|
|
7769
7815
|
short: "White steam, grey smoke, then black with fire, depending on condition.",
|
|
7770
|
-
cost: "\u2264 120
|
|
7816
|
+
cost: "\u2264 120 particles",
|
|
7771
7817
|
costNote: "continuous",
|
|
7772
7818
|
paramLabel: "Condition",
|
|
7773
7819
|
when: "Whenever the engine is on or hot, from the part condition (0 to 100) in the fleet brief.",
|
|
@@ -7778,7 +7824,7 @@ var en = {
|
|
|
7778
7824
|
fuel_leak: {
|
|
7779
7825
|
name: "Tank leak and fire",
|
|
7780
7826
|
short: "Dripping petrol, a pool, a spark and the fire running to the tank.",
|
|
7781
|
-
cost: "\u2264 400
|
|
7827
|
+
cost: "\u2264 400 particles",
|
|
7782
7828
|
costNote: "fire entity",
|
|
7783
7829
|
when: "A tank punctured by a shot or a crash. A spark, a shot or nearby fire lights the pool.",
|
|
7784
7830
|
look: "Drops of petrol with an oily sheen forming a growing pool. A shot on the metal throws a spark, the fire lights on the pool, runs to the car and, if nobody puts it out, the car explodes.",
|
|
@@ -7788,7 +7834,7 @@ var en = {
|
|
|
7788
7834
|
car_explosion: {
|
|
7789
7835
|
name: "Car explosion",
|
|
7790
7836
|
short: "A fireball, the car jumping, the bonnet and doors flying, the shell burning.",
|
|
7791
|
-
cost: "\u2264 600
|
|
7837
|
+
cost: "\u2264 600 particles",
|
|
7792
7838
|
costNote: "rare event",
|
|
7793
7839
|
when: "A tank on fire for more than 4 s, or damage above the threshold on a car with fuel.",
|
|
7794
7840
|
look: "A large explosion (grenade scale 1.8), the car jumps and lands crooked, the bonnet, doors and a wheel fly off, the glass bursts into shards. The bodywork goes black and the shell burns with black smoke for minutes.",
|
|
@@ -7849,7 +7895,7 @@ var en = {
|
|
|
7849
7895
|
bloater_blindness: {
|
|
7850
7896
|
name: "Bloater blindness",
|
|
7851
7897
|
short: "Green gas in the face: a blurred screen for 5 s and mucus on the lens.",
|
|
7852
|
-
cost: "post + 30
|
|
7898
|
+
cost: "post + 30 particles",
|
|
7853
7899
|
costNote: "server entity",
|
|
7854
7900
|
when: "A player inside the Bloater cloud (radius 4 m) when it spawns.",
|
|
7855
7901
|
look: "A green cloud bursts between the zombie and the camera, the screen goes green and blurred and clears in 5 s, with drops of green mucus on the lens that run down. A cough shakes the camera twice.",
|
|
@@ -7859,7 +7905,7 @@ var en = {
|
|
|
7859
7905
|
campfire: {
|
|
7860
7906
|
name: "Campsite fire",
|
|
7861
7907
|
short: "A low flame, embers spiralling up and a flickering warm light.",
|
|
7862
|
-
cost: "\u2264 120
|
|
7908
|
+
cost: "\u2264 120 particles",
|
|
7863
7909
|
costNote: "1 fire light",
|
|
7864
7910
|
when: "A campfire lit by the group or by NPCs. It warms, lights and draws zombies from afar (light).",
|
|
7865
7911
|
look: "Small low flames, embers that rise turning and fade, thin smoke and a warm light that flickers and paints the survivor.",
|
|
@@ -7869,7 +7915,7 @@ var en = {
|
|
|
7869
7915
|
cough_and_breath: {
|
|
7870
7916
|
name: "Cough, breath and flashlight",
|
|
7871
7917
|
short: "Breath vapour in the cold, the fever cough visible to others and the flashlight beam.",
|
|
7872
|
-
cost: "\u2264 40
|
|
7918
|
+
cost: "\u2264 40 particles",
|
|
7873
7919
|
costNote: "1 spot with shadow",
|
|
7874
7920
|
when: "A cold night: breath always. Infection fever: a cough every few seconds, audible at 10 m.",
|
|
7875
7921
|
look: "A short puff of vapour every 2.4 s. On a cough, three quick bigger puffs and the body jolts. The flashlight shows the beam in the fog and is the only light with a shadow.",
|