Skip to content

Commit

Permalink
Random Content Update
Browse files Browse the repository at this point in the history
- Added "No Self-Control" campaign tweak
- Moved the Extended Flamer muzzle connector
- Reduced the spawn rates of Normal Wheels on Beta 5
- Added Commando Turret
- Swapped places of the Excessive Flamer and Bunker Buster 3 artifacts
- Made Triple Viper available as an artifact on Gamma 4
- The Mystery Box now always spawns Mini Vipers on the first use
- Renovated the Alpha 3 right path
- Added shortcut doors on Alpha 4 & 5
- Disabled the Remover Tool on Insane
- Fixed an assert involving a missing "WIN" message
- Added more Fungible Cannons
- Made the Transport occasionally stretch its wings during flight
  • Loading branch information
DARwins1 committed Jun 24, 2024
1 parent 7c3690b commit 1a470cc
Show file tree
Hide file tree
Showing 43 changed files with 1,479 additions and 576 deletions.
6 changes: 3 additions & 3 deletions audio/cursed-audio-overrides.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{ "fileName": "pcv413.ogg", "loop": false, "range": 1800, "volume": 70, "z_comment": "Needler Fire" },
{ "fileName": "pcv414.ogg", "loop": false, "range": 1800, "volume": 100, "z_comment": "Needler Supercombine Explosion" },
{ "fileName": "pcv415.ogg", "loop": false, "range": 1800, "volume": 30, "z_comment": "Needler Impact" },
{ "fileName": "pcv416.ogg", "loop": false, "range": 1800, "volume": 70, "z_comment": "Scorch Shot" },
{ "fileName": "pcv416.ogg", "loop": false, "range": 1800, "volume": 70, "z_comment": "Scorch Shot Fire" },
{ "fileName": "pcv417.ogg", "loop": false, "range": 1800, "volume": 100, "z_comment": "Arrow fire" },
{ "fileName": "pcv418.ogg", "loop": false, "range": 1800, "volume": 100, "z_comment": "Arrow Impact" },
{ "fileName": "pcv419.ogg", "loop": false, "range": 1800, "volume": 200, "z_comment": "TNT Explosion 1" },
Expand All @@ -34,8 +34,8 @@
{ "fileName": "pcv424.ogg", "loop": false, "range": 1800, "volume": 100, "z_comment": "Sword Sweep" },
{ "fileName": "pcv425.ogg", "loop": false, "range": 1800, "volume": 100, "z_comment": "Metal Hit" },
{ "fileName": "pcv426.ogg", "loop": false, "range": 1800, "volume": 100, "z_comment": "Enderman Teleport" },
{ "fileName": "pcv429.ogg", "loop": false, "range": 1800, "volume": 20, "z_comment": "Flare Impact" },
{ "fileName": "pcv420.ogg", "loop": false, "range": 1800, "volume": 200, "z_comment": "Blaster Charge" }
{ "fileName": "pcv428.ogg", "loop": false, "range": 1800, "volume": 20, "z_comment": "Flare Impact" },
{ "fileName": "pcv429.ogg", "loop": false, "range": 1800, "volume": 200, "z_comment": "Blaster Charge" }
]
},
"TutorialStuff": {
Expand Down
528 changes: 528 additions & 0 deletions components/bodies/drtransflap.pie

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion components/weapons/gneflmr.pie
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ POLYGONS 24
200 3 15 12 13 116 67 116 61 116 67
200 3 15 13 14 116 67 116 67 116 73
CONNECTORS 1
0 -31 3
0 -414 3
121 changes: 121 additions & 0 deletions components/weapons/gnmcanhydra.pie
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
PIE 2
TYPE 200
TEXTURE 0 page-503-cursedcannons.png 0 0
LEVELS 1
LEVEL 1
POINTS 40
-5 7 -34
0 12 -15
-5 7 -20
0 2 -25
5 7 -20
0 20 -61
5 25 -61
0 30 -61
-5 25 -61
0 20 -39
5 25 -34
0 30 -29
-5 25 -34
0 7 -39
5 7 -34
0 12 -29
0 12 -34
13 7 -61
18 2 -61
23 7 -61
18 12 -61
13 7 -39
18 2 -34
23 7 -29
18 12 -34
-5 7 -39
0 2 -34
5 7 -29
0 2 -34
-13 7 -61
-18 12 -61
-23 7 -61
-18 2 -61
-13 7 -39
-18 12 -34
-23 7 -29
-18 2 -34
5 7 -39
0 12 -34
-5 7 -29
POLYGONS 70
200 3 14 13 0 16 64 12 64 12 60
200 3 14 0 15 16 64 12 60 16 60
200 3 15 0 2 6 58 12 58 12 50
200 3 15 2 1 6 58 12 50 6 52
200 3 0 13 3 6 58 12 58 12 48
200 3 0 3 2 6 58 12 48 6 50
200 3 13 14 4 6 58 12 58 12 50
200 3 13 4 3 6 58 12 50 6 48
200 3 14 15 1 6 58 12 58 12 52
200 3 14 1 4 6 58 12 52 6 50
200 3 8 7 6 16 64 12 64 12 60
200 3 8 6 5 16 64 12 60 16 60
200 3 5 6 10 6 66 12 66 12 55
200 3 5 10 9 6 66 12 55 6 57
200 3 6 7 11 6 66 12 66 12 53
200 3 6 11 10 6 66 12 53 6 55
200 3 7 8 12 6 66 12 66 12 55
200 3 7 12 11 6 66 12 55 6 53
200 3 8 5 9 6 66 12 66 12 57
200 3 8 9 12 6 66 12 57 6 55
200 3 12 11 10 16 64 12 64 12 60
200 3 12 10 9 16 64 12 60 16 60
200 3 9 10 14 6 58 12 58 12 50
200 3 9 14 13 6 58 12 50 6 52
200 3 10 11 15 6 58 12 58 12 48
200 3 10 15 14 6 58 12 48 6 50
200 3 11 12 0 6 58 12 58 12 50
200 3 11 0 15 6 58 12 50 6 48
200 3 12 9 13 6 58 12 58 12 52
200 3 12 13 0 6 58 12 52 6 50
200 3 20 19 18 16 64 12 64 12 60
200 3 20 18 17 16 64 12 60 16 60
200 3 17 18 22 6 66 12 66 12 55
200 3 17 22 21 6 66 12 55 6 57
200 3 18 19 23 6 66 12 66 12 53
200 3 18 23 22 6 66 12 53 6 55
200 3 19 20 24 6 66 12 66 12 55
200 3 19 24 23 6 66 12 55 6 53
200 3 20 17 21 6 66 12 66 12 57
200 3 20 21 24 6 66 12 57 6 55
200 3 24 23 22 16 64 12 64 12 60
200 3 24 22 21 16 64 12 60 16 60
200 3 21 22 26 6 58 12 58 12 50
200 3 21 26 25 6 58 12 50 6 52
200 3 22 23 27 6 58 12 58 12 48
200 3 22 27 26 6 58 12 48 6 50
200 3 23 24 16 6 58 12 58 12 50
200 3 23 16 27 6 58 12 50 6 48
200 3 24 21 25 6 58 12 58 12 52
200 3 24 25 16 6 58 12 52 6 50
200 3 32 31 30 16 64 12 64 12 60
200 3 32 30 29 16 64 12 60 16 60
200 3 29 30 34 6 66 12 66 12 55
200 3 29 34 33 6 66 12 55 6 57
200 3 30 31 35 6 66 12 66 12 53
200 3 30 35 34 6 66 12 53 6 55
200 3 31 32 36 6 66 12 66 12 55
200 3 31 36 35 6 66 12 55 6 53
200 3 32 29 33 6 66 12 66 12 57
200 3 32 33 36 6 66 12 57 6 55
200 3 36 35 34 16 64 12 64 12 60
200 3 36 34 33 16 64 12 60 16 60
200 3 33 34 38 6 58 12 58 12 50
200 3 33 38 37 6 58 12 50 6 52
200 3 34 35 39 6 58 12 58 12 48
200 3 34 39 38 6 58 12 48 6 50
200 3 35 36 28 6 58 12 58 12 50
200 3 35 28 39 6 58 12 50 6 48
200 3 36 33 37 6 58 12 58 12 52
200 3 36 37 28 6 58 12 52 6 50
CONNECTORS 3
0 -61 25
18 -61 7
-18 -61 7
27 changes: 27 additions & 0 deletions components/weapons/trmcanwide.pie
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
PIE 2
TYPE 10200
TEXTURE 0 page-17-droid-weapons.png 0 0
LEVELS 1
LEVEL 1
POINTS 8
-9.875 13 -12
10.125 13 -12
16.125 15 15
-17.875 15 15
24.125 0 -22
32.125 0 18
-31.875 0 18
-23.875 0 -22
POLYGONS 12
200 3 3 2 1 16 19 2 19 4 0
200 3 3 1 0 16 19 4 0 13 0
200 3 1 2 5 5 21 24 20 25 27
200 3 1 5 4 5 21 25 27 0 27
200 3 7 4 5 2 19 14 19 16 0
200 3 7 5 6 2 19 16 0 0 0
200 3 0 1 4 4 29 14 29 16 37
200 3 0 4 7 4 29 16 37 2 37
200 3 2 3 6 2 38 16 38 18 47
200 3 2 6 5 2 38 18 47 0 47
200 3 3 0 7 24 20 5 21 0 27
200 3 3 7 6 24 20 0 27 25 27
4 changes: 2 additions & 2 deletions messages/briefdemo.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
MBDEMO_MSG,0,1,2,brfcom.ogg,1,TRANS_MSG1,0,0000,fastplay.ogg,3,CAM1A_MSG1,CAM1A_MSG2,CAM1A_MSG3,0,0000
END,0,1,1,dummy.ogv,0,0,0000
WIN,0,1,1,victory.ogg,1,WIN_MSG1,0,0000
END,0,1,1,novideo.ogv,0,0,0000
WIN,0,1,1,novideo.ogv,1,WIN_MSG1,0,0000
11 changes: 8 additions & 3 deletions messages/resmessages1.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,9 +120,14 @@
"imdName": "MICAPSUL.pie",
"sequenceName": "res_com.ogg",
"text": [
"New Systems Turret Available for Design",
"New battlefield computer system",
"Commander leads groups acts as factory delivery point",
"New Turret Available for Design",
"Pew Pew Pew Pew Pew Pew Pew Pew",
"Pew PewPewPew Pew Pew Pew",
"Pew Pew Pew Pew Pew Pew Pew Pew Pew",
"Pew Pew Pew Pew PewPew Pew Pew",
"Pew Pew Pew Pew Pew Pew Pew",
"Pew Pew PewPew Pew Pew Pew Pew",
"Pew Pew Pew Pew Pew Pew Pew",
"Body Points: High"
]
},
Expand Down
13 changes: 13 additions & 0 deletions mod-info.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,18 @@
"default": false,
"userEditable": false
}
],
"customTweakOptions": [
{
"id": "cw_noSelfControl",
"type": "bool",
"default": false,
"displayName": {
"en": "No Self-Control"
},
"description": {
"en": "Makes the Mystery Box unobtainable. For people with a severe gambling addiction."
}
}
]
}
27 changes: 21 additions & 6 deletions script/campaign/alpha1.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,12 +304,24 @@ function eventStartLevel()
},
});

camSetArtifacts({
"base1ArtifactPos": { tech: "R-Wpn-MG-Damage01" }, // Hardened MG Bullets
"base2Factory": { tech: "R-Sys-Engineering01" }, // Engineering
"base3Factory": { tech: "R-Defense-Tower01" }, // MG Guard Tower
"base4Factory": { tech: "R-Struc-BlackBox" }, // Black Box
});
if (tweakOptions.cw_noSelfControl)
{
camSetArtifacts({
"base1ArtifactPos": { tech: "R-Wpn-MG-Damage01" }, // Hardened MG Bullets
"base2Factory": { tech: "R-Sys-Engineering01" }, // Engineering
"base3Factory": { tech: "R-Defense-Tower01" }, // MG Guard Tower
// Mystery box not included
});
}
else
{
camSetArtifacts({
"base1ArtifactPos": { tech: "R-Wpn-MG-Damage01" }, // Hardened MG Bullets
"base2Factory": { tech: "R-Sys-Engineering01" }, // Engineering
"base3Factory": { tech: "R-Defense-Tower01" }, // MG Guard Tower
"base4Factory": { tech: "R-Struc-BlackBox" }, // Mystery Box
});
}

camSetFactories({
"base2Factory": {
Expand Down Expand Up @@ -340,4 +352,7 @@ function eventStartLevel()
templates: [ cTempl.bjeep, cTempl.bloke, cTempl.trike, cTempl.bloke ]
},
});

// Add the shortcut door for Alpha 4
camUpgradeOnMapFeatures("TreeSnow2", "GiantDoorVert");
}
6 changes: 5 additions & 1 deletion script/campaign/alpha5.js
Original file line number Diff line number Diff line change
Expand Up @@ -341,7 +341,11 @@ function eventStartLevel()
// If there's any doors from the previous mission (if the player cheated), remove them
for (const door of enumFeature(ALL_PLAYERS, "GiantDoorHoriz").concat(enumFeature(ALL_PLAYERS, "GiantDoorVert")))
{
camSafeRemoveObject(door, true);
// ...Except for the bottom-most door
if (door.y < 100)
{
camSafeRemoveObject(door, true);
}
}

// Replace all snowy trees with funny explosive barrels
Expand Down
1 change: 1 addition & 0 deletions script/campaign/beta1.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,7 @@ function cam2Setup()

camCompleteRequiredResearch(bonziRes, CAM_BONZI_BUDDY);
camCompleteRequiredResearch(mis_alphaResearchNew, CAM_HUMAN_PLAYER);
if (!tweakOptions.cw_noSelfControl) camCompleteRequiredResearch(["R-Struc-BlackBox"], CAM_HUMAN_PLAYER);
}

//Get some higher rank droids.
Expand Down
4 changes: 2 additions & 2 deletions script/campaign/beta5.js
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ function eventStartLevel()
assembly: "bbNormAssembly1",
order: CAM_ORDER_ATTACK,
groupSize: 3,
throttle: camChangeOnDiff(camSecondsToMilliseconds(80)),
throttle: camChangeOnDiff(camSecondsToMilliseconds(90)),
data: {
regroup: false,
repair: 20,
Expand All @@ -415,7 +415,7 @@ function eventStartLevel()
assembly: "bbNormAssembly2",
order: CAM_ORDER_ATTACK,
groupSize: 4,
throttle: camChangeOnDiff(camSecondsToMilliseconds(90)),
throttle: camChangeOnDiff(camSecondsToMilliseconds(120)),
data: {
regroup: false,
repair: 20,
Expand Down
17 changes: 14 additions & 3 deletions script/campaign/beta6.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,20 @@ function doorEffects()
setMissionTime(getMissionTime() + camChangeOnDiff(camMinutesToSeconds(30)));

// Add the Remover artifact
camSetArtifacts({
"labyrinthChest": { tech: "R-Wpn-SpyTurret" }, // Remover Tool
});
if (difficulty < INSANE)
{
camSetArtifacts({
"labyrinthChest": { tech: "R-Wpn-SpyTurret" }, // Remover Tool
});
}
else
{
// ...Except on Insane
camSetArtifacts({
"labyrinthChest": { tech: "R-Comp-Deny" }, // Nuh Uh
});
}

}

// Check if the Nextbot is near any waypoints, and send it to the next one if so
Expand Down
1 change: 1 addition & 0 deletions script/campaign/gamma1.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ function cam3Setup()

camCompleteRequiredResearch(mis_alphaResearchNew, CAM_HUMAN_PLAYER);
camCompleteRequiredResearch(mis_betaResearchNew, CAM_HUMAN_PLAYER);
if (!tweakOptions.cw_noSelfControl) camCompleteRequiredResearch(["R-Struc-BlackBox"], CAM_HUMAN_PLAYER);
camCompleteRequiredResearch(mis_spamtonRes, CAM_SPAMTON);
}

Expand Down
2 changes: 1 addition & 1 deletion script/campaign/gamma3.js
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ function eventStartLevel()
camSetArtifacts({
"spamCC": { tech: "R-Sys-Engineering03" }, // what nerds call "Advanced Engineering"
"spamFactory1": { tech: "R-Wpn-CannonBison" }, // Righteous Bison
"spamFactory2": { tech: "R-Wpn-Flame2" }, // Excessive Flamer
"spamFactory2": { tech: "R-Wpn-Rocket03-HvAT3" }, // Bunker Buster III
});

camSetFactories({
Expand Down
3 changes: 2 additions & 1 deletion script/campaign/gamma4.js
Original file line number Diff line number Diff line change
Expand Up @@ -938,9 +938,10 @@ function eventStartLevel()
markedTiles = [];

camSetArtifacts({
"spamFactory1": { tech: "R-Wpn-Rocket03-HvAT3" }, // Bunker Buster III
"spamFactory1": { tech: "R-Wpn-Flame2" }, // Excessive Flamer
"spamMonoEmp": { tech: "R-Wpn-Rocket02-MRL" }, // Mono-Rocket Array
"spamFactory2": { tech: "R-Wpn-Rocket-ROF01" }, // Moar Rockets
"spamCC": { tech: "R-Vehicle-BodyTriple" }, // Triple Viper
});

camSetEnemyBases({
Expand Down
15 changes: 10 additions & 5 deletions script/campaign/libcampaign.js
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,8 @@ var __camFungibleCanSwapList = [
"Script-FungibleCannon-Swap5", "Script-FungibleCannon-Swap6", "Script-FungibleCannon-Swap7",
"Script-FungibleCannon-Swap8", "Script-FungibleCannon-Swap9", "Script-FungibleCannon-Swap10",
"Script-FungibleCannon-Swap11", "Script-FungibleCannon-Swap12", "Script-FungibleCannon-Swap13",
"Script-FungibleCannon-Swap14", "Script-FungibleCannon-Swap15"
"Script-FungibleCannon-Swap14", "Script-FungibleCannon-Swap15", "Script-FungibleCannon-Swap16",
"Script-FungibleCannon-Swap17"
];
var __camMobGlobalGroup; // Default group for Silverfish and enraged Endermen
var __camAllowSilverfishSpawn; // Whether Silverfish can spawn randomly out of destroyed buildings
Expand Down Expand Up @@ -719,7 +720,8 @@ const __camSpamtonReplacableStructs = [
"WallTower03Mk5","WallTower03Mk6","WallTower03Mk7",
"WallTower03Mk8","WallTower03Mk9","WallTower03Mk10",
"WallTower03Mk11","WallTower03Mk12","WallTower03Mk13",
"WallTower03Mk14","WallTower03Mk15", "WallTower01",
"WallTower03Mk14","WallTower03Mk15","WallTower03Mk16",
"WallTower03Mk17", "WallTower01",
];
const __camSpamtonReplacementStructs = [
"GuardTower-MEGASpam", "Spawner-ZombieSpam", "Spawner-SkeletonSpam",
Expand All @@ -736,7 +738,8 @@ const __camSpamtonReplacementStructs = [
"WallTower03Mk5Spam","WallTower03Mk6Spam","WallTower03Mk7Spam",
"WallTower03Mk8Spam","WallTower03Mk9Spam","WallTower03Mk10Spam",
"WallTower03Mk11Spam","WallTower03Mk12Spam","WallTower03Mk13Spam",
"WallTower03Mk14Spam","WallTower03Mk15Spam", "WallTower01Spam",
"WallTower03Mk14Spam","WallTower03Mk15Spam","WallTower03Mk16Spam",
"WallTower03Mk17Spam", "WallTower01Spam",
];
const __camSpamtonSigns = [
"SpamSign1", "SpamSign2", "SpamSign3",
Expand Down Expand Up @@ -771,14 +774,16 @@ var __camFungibleCannonList = [ // List of Fungible Cannon variants
"Cannon2A-TMk5", "Cannon2A-TMk6", "Cannon2A-TMk7",
"Cannon2A-TMk8", "Cannon2A-TMk9", "Cannon2A-TMk10",
"Cannon2A-TMk11", "Cannon2A-TMk12", "Cannon2A-TMk13",
"Cannon2A-TMk14", "Cannon2A-TMk15",
"Cannon2A-TMk14", "Cannon2A-TMk15", "Cannon2A-TMk16",
"Cannon2A-TMk17",
];
var __camFungibleCanHardList = [ // List of Fungible Cannon Hardpoint variants
"WallTower03Mk2", "WallTower03Mk3", "WallTower03Mk4",
"WallTower03Mk5", "WallTower03Mk6", "WallTower03Mk7",
"WallTower03Mk8", "WallTower03Mk9", "WallTower03Mk10",
"WallTower03Mk11", "WallTower03Mk12", "WallTower03Mk13",
"WallTower03Mk14", "WallTower03Mk15",
"WallTower03Mk14", "WallTower03Mk15", "WallTower03Mk16",
"WallTower03Mk17",
];

//tactics
Expand Down
Loading

0 comments on commit 1a470cc

Please sign in to comment.