Knuckle Cracker

Creeper World 4 => Making Maps, Units, and Scripts => Topic started by: Grabz on August 18, 2021, 11:57:13 am

Title: [CPACK] Mystery Boxes
Post by: Grabz on August 18, 2021, 11:57:13 am
(https://i.imgur.com/KreEvQu.png)

How to play (https://knucklecracker.com/wiki/doku.php?id=cw4:cpack:docs:091a3a10-294e-41ee-bebf-98c51ca3a3be#how_to_play)

Download (https://github.com/grabz-dev/CW4-Mystery-Boxes/raw/main/Mystery%20Boxes.cpack)

Github (https://github.com/grabz-dev/CW4-Mystery-Boxes)
Changelog (https://raw.githubusercontent.com/grabz-dev/CW4-Mystery-Boxes/main/changelog.txt)

Description
This CPACK adds new units called Mystery Boxes which have a chance to give you all sorts of things, good or bad! Get your gambling fix here. I recommend playing on easier maps, as you will be your own worst enemy.

READ THIS TO LEARN HOW TO IMPORT THIS PROPERLY
1. Make sure you are using the latest version of the game.
The latest version of the game as of this writing is V2.3.3. If you're not updated to this version or higher, make sure you are.

2. Import the Mystery Boxes CPACK (Download (https://github.com/grabz-dev/CW4-Mystery-Boxes/raw/main/Mystery%20Boxes.cpack)).

3. Disable units!
To make this work you generally want to disable most of the units from being built (although it is not required, it is kinda the point of the mode).

Titans should stay disabled. The Mystery Boxes CPACK bundles its own versions of Titans inside itself.
I recommend not disabling: Lab, Factory, ERN Portal, Tower, Nullifier.
I recommend enabling Nullifier Overload, so that players can clear out nullifiable obstacles.
I suggest not disabling: Pylon, Miner, Beacon.
Reasoning: Allowing Pylons can be nice for big maps. When Miners spawn from boxes they come with some resource ground. If they die, keeping Miner enabled allows the player to utilize that resource ground again. Beacons might help the players against a Dark Tower if they have access to Greenar.

4. Do not change special terrain slots.
This CPACK assumes that special terrain slots weren't modified. You can change the values on them but don't change the type. For example, if you change the default Resource terrain slot to another type, that new type will now spawn under Miners instead of resource. You can freely use the None special terrain slot.

Units
Currently there are three boxes - Friend, Mystery and Titan.

Recycler
The Recycler is a unit you can pre-place in a level. Send units into it to recycle them into scrap, then use your collected scrap to create a unit from the list of units in the Recycler's UI panel.
Recycled units are worth the following amount of scrap:
1 scrap - Cannon, Mortar
2 scrap - Shield, Sprayer, Sniper, Missile
3 scrap - Terp
8 scrap - Flare
8 scrap - AC Bomb
1 scrap - 3x3 Unit Capsule
2 scrap - 5x5 Unit Capsule
3 scrap - 7x7 Unit Capsule
Units not listed here cannot be scrapped.

Mverse
Starting from Version 3 this pack is fully Mverse compatible!

Difficulty & Chances
This section always pertains to the latest version. It may be inaccurate for older versions, just assume things are similar but slightly different most likely.
Starting with Version 4 players can now choose difficulty at the start of the map. Here's a short breakdown of the effect of difficulty on each box.
Note that mapmakers could choose to edit the scripts and alter these chances, this is the default configuration.
* Peaceful difficulty has no bad effects. Play for a relaxing/very easy mode.
* Easy difficulty has most bad effects disabled.
* Normal difficulty is a balanced experience.
* Nightmare difficulty
   * Has the highest chance for some potentially very tough outcomes
   * The first three Titan boxes are predetermined, in this order - Orb Volcano, Egg Volcano, A Lot of Creeper
   * Each mystery box opened increases your Evil Multiplier which amplifies bad results from the Mystery Box (not Titan)

In Mverse, friend box scaling is increased for each player, and chances of finding currency producing effects are divided by the amount of players in the level.

Friend
Friend box is unchanged between difficulties.

Mystery
Mystery box chances:
Where:

Titan
Titan box chances:
Where:

Attributions
Made by Grabz.
Thanks to:
 * Hypnotic22 for ideas and balance,
 * cornucanis for an optimized selection algorithm,
 * Fire for ideas

Credit for the Flare goes to Alophox (though I have heavily edited it now).

Maps
Please tag maps using this CPACK with the BOX tag

#3150: Gravitier (https://knucklecracker.com/forums/index.php?topic=40998) By: Grabz (Version 7.8)
#3132: Mystical box madness 8 (https://knucklecracker.com/forums/index.php?topic=40958) By: Hypnotic22 (Version 7.6)
#3130: Mystical box madness 6 (https://knucklecracker.com/forums/index.php?topic=40956) By: Hypnotic22 (Version 7.5)
#3106: Mystical box madness 3 (https://knucklecracker.com/forums/index.php?topic=40921) By: Hypnotic22 (Version 7.5)
#3104: Gravitar (https://knucklecracker.com/forums/index.php?topic=40918) By: Grabz (Version 7.5)
#2420: Maelstrom of Chaos (https://knucklecracker.com/forums/index.php?topic=39594) By: Grabz (Version 6 dev4)
#2404: Cloudy Day with a Chance of Rain (https://knucklecracker.com/forums/index.php?topic=39570) By: Grabz (Version 6 dev2)
#2301: Channel of Tranquility (https://knucklecracker.com/forums/index.php?topic=39402) By: Grabz (Version 4 dev2)
#2252: Mystical box madness 3 (https://knucklecracker.com/forums/index.php?topic=39316) By: Hypnotic22 (Version 3 dev9)
#2206: Tale of the Mysterious Fortress (https://knucklecracker.com/forums/index.php?topic=39250) By: Grabz (Version 2 dev6)
#2196: Mystical box madness (https://knucklecracker.com/forums/index.php?topic=39233) By: Hypnotic22 (Version 1 dev8)
#2197: Mystical box madness 2 (https://knucklecracker.com/forums/index.php?topic=39238) By: Hypnotic22 (Version 1 dev8)

Videos
https://www.youtube.com/watch?v=hr4JW6rqbJY
https://www.youtube.com/watch?v=FZ7vyuVGMo4
Title: Re: [CPACK] Mystery Boxes
Post by: Grabz on August 18, 2021, 11:58:09 am
Changelog (https://raw.githubusercontent.com/grabz-dev/CW4-Mystery-Boxes/main/changelog.txt)

Download (https://github.com/grabz-dev/CW4-Mystery-Boxes/raw/main/Mystery%20Boxes.cpack)
Title: Re: [CPACK] Mystery Boxes
Post by: Grabz on November 02, 2021, 02:10:25 pm
reserved
Title: Re: [CPACK] Mystery Boxes
Post by: Grabz on April 26, 2022, 08:48:50 pm
New Mystery Boxes version 7.5! Look in Changelog (https://raw.githubusercontent.com/grabz-dev/CW4-Mystery-Boxes/main/changelog.txt) for a list of changes.
The new version includes a Peaceful difficulty where no bad outcomes occur from boxes. All CPACK addons have now also been merged into the main CPACK, so you only have to download the one CPACK now.

Check out the new version in my latest box map Gravitar (https://knucklecracker.com/forums/index.php?topic=40918.0)

Download (https://github.com/grabz-dev/CW4-Mystery-Boxes/raw/main/Mystery%20Boxes.cpack)
Title: Re: [CPACK] Mystery Boxes
Post by: Grabz on April 30, 2022, 08:04:53 am
New Mystery Boxes version 7.6! Look in Changelog (https://raw.githubusercontent.com/grabz-dev/CW4-Mystery-Boxes/main/changelog.txt) for a full list of changes.

This version aims to polish and fix several things, as well as give a sizable buff to Titan units.

Download (https://github.com/grabz-dev/CW4-Mystery-Boxes/raw/main/Mystery%20Boxes.cpack)
Have fun!
Title: Re: [CPACK] Mystery Boxes
Post by: Grabz on May 08, 2022, 06:14:22 pm
New Mystery Boxes version 7.8! Look in Changelog (https://raw.githubusercontent.com/grabz-dev/CW4-Mystery-Boxes/main/changelog.txt) for a full list of changes.

This version renames Hard difficulty to Nightmare, with a new feature exclusive to Nightmare difficulty where for each Mystery Box that opens, all outcomes from Mystery Boxes (not Titan) will be amplified.

From now on I will link to github for the latest download. The link below will always lead to the latest version:
Download (https://github.com/grabz-dev/CW4-Mystery-Boxes/raw/main/Mystery%20Boxes.cpack)

Have fun!