My Mining Game
by Trace Kern · 05/09/2007 (7:12 am) · 2 comments
Here are some excerpts from the ad-hoc design document for my latest hare-brained game project.
Gameplay:
The game is a mining and resource management sim. Concept and game goal is similar to the flash game Motherload. Genre and style is sci-fi/futuristic.
Each 'level' of depth represents 10 meters, and each underground tile represents 10 square meters. Each tile (surface or mine) can contain up to two drones at once, with the exception of elevators, which are discussed below. Ore veins have an ore type, and a density which represents the percentage of that tile which contains ore. Each ore type has different values and volume. Volume determines the maximum amount of ore that can be contained in a single tile.
Player starts with all surface assets already in place, a small amount of cash, a small supply of drone fuel and supplies, one Utility drone, and a mine shaft prepared in the center of the map cut to a minimal depth. A single vein of low-value ore has already been located for the player.
Before mining, player must locate a suitable ore deposit using a surface scan, drill down to that depth, then start blasting tunnels to reach the ore vein.
After blasting a rock square, the rubble must be cleared and the new tunnel shored up to prevent collapse. When a drone is full, the rubble is brought to the sorting hopper. All rock sqaures within 3 squares of an ore vein will contain trace amounts of that ore, roughly 5% of the value of the nearest vein tile.
Once a tunnel to the vein has been blasted open and shored up, the drone/s can start mining the vein. As the drone mines, it will bring full loads of ore to the hopper. The hopper will discard any waste rubble and pass the ore to the smelter, which will melt out inpurities and produce finished metals/gems based on the vein tile's value/density.
When a vein tile is depleted, it converts to a standard rock tile and must be blasted open.
When a drone is down to 10% of it's fuel reserves, it stops working to return to the surface and refuel. The same is true when running out of explosives or construction material.
Utility drones can be used for any mine function, but perform poorly at scanning, mining, and ore hauling. The Utility drone is primarily needed for shoring new tunnels, laying down roadway, building new elevators, and installing cameras. Utility drones can only perform depth scans.
The Scanner drone is used to detect and assay ore veins before mining begins. Scans can be performed in two ways: depth scan and vein scan. Depth scans reveal the presence of ore veins on levels below the scanner, but do not determine exact location, type, or density. Vein scans only reveal ore on the same level as the scanner, but will reveal the location and size of the vein. Upgrades to the Scanner drone will reveal the type of ore, then the density of each tile scanned.
Digger drones are best at blasting new tunnels and mining ore veins. Diggers have small on-board 'Moles' which can drill into a tile to place shaped charges to blow open the tile. These moles also allow the Digger to mine ore veins. Each upgrade to the Digger increases the number and sophistication of the Moles, allowing more precision in blasting, the ability to blast more than one square at a time, and faster mining rates. While mining, the Digger itself is removed from view, and the newly-mined ore is deposited as a rubble pile in the previous square, waiting for pickup. Diggers are also the only drones which can drill new or deeper mine shafts.
Collector drones serve two purposes: collecting ore and re-supplying other drones in the field. Collectors have a larger ore bay than Utility drones, plus a small supply bay and reserve fuel tanks. Collectors can refuel all other drones, as well as deliver explosives, construction material, and cameras to Utility and Digger drones. Upgrades to the the Collector allow faster movement without roadways, and larger fuel tanks, ore bay, and supply bays.
The player must purchase fuel, supplies (explosives, construction material, cameras), and new drones. Starting players are given enough fuel and supplies to reach the first revealed ore vein before running out. Also, the costs are low enough that even low-value ores will be enough to re-supply in short order.
Construction materials can be used by Utility drones to shore up tunnels, build roadways, and install elevators in new mine shafts. Each task requires an increasing amount of materials.
Normally, mine tunnels are clouded by a fog of war effect. Drones possess on-board cameras allowing them to see up to three tiles around them, with upgraded drones having larger fields of view. Cameras allow the player to monitor the mine tunnels when no drones are present. Cameras can be purchased and need to be moved from the train depot to the installation site, then installed by a Utility drone. Utility drones can only carry one camera at a time, while Collectors can carry more (based on upgrade level).
Roadways allow all drone types to move faster, but can only be installed on the surface and in cleared and shored tunnels.
All mine tiles have a stability rating. When stability reaches zero, that tile will collapse in a cave-in. Blasting or other explosions will degrade the stability in that tile and nearby tiles. Cave-ins also degrade the stability of nearby tiles, which can result in chain-reactions. Shoring up a tile will improve it's stability. Higher grades of shoring can be installed by upgraded Utility drones, but uses more materials. Whenever a tile is bordered on four sides or more (including above and below) by open space (IE: tunnels), that tile's stability will gradually degrade over time. Because of this, large caverns and tunnels layered on top of each other tend to be prone to eventual collapse. To prevent extensive mine complexes from collapsing, old tunnels can be manually collapsed to return the tile to a rock state. Cave-ins also destroy all shoring, cameras, roadways, and drones caught in collapsing tiles.
New elevator shafts cannot be drilled within three tiles of an existing shaft, and have a maximum depth based on the upgrade level of the elevator to be installed there. Once a shaft is drilled, a new elevator must be installed before the Digger at the bottom of the shaft can be retrieved. Elevators cannot be placed on top of one another. Elevators can not be upgraded while in service, and must be deconstructed before a new elevator can be installed. Also, each level of upgrade has both a maximum cable length, as well as a maximum depth it can be installed at. The basic elevator can hold up to two drones at a time. Elevators are purchased like cameras, and are stored as an upgrade kit until installed.
After a depth of 500 meters (depth level 50), the player will encounter hidden gas pockets. After exposing a pocket, gas will start to leak into surrounding tunnel tiles. All gas pockets have a maximum volume of gas, which corrosponds to the number of tiles that pocket can fill with gas before being depleted. If detected early, a Utility or Collector drone with the right upgrades can siphon the gas from the pocket, rendering the pocket harmless. Siphoned gas can then be taken to the fuel depot and converted into drone fuel.
As gas leaks from the pocket, surrounding tiles will start to fill with gas. Once a tile has reached 30% density, the gas will spread outwards by another tile. Gas density will not rise above 30% as long as there are empty tiles not filled with gas adjacent to the current cloud. When the spreading cloud of gas reaches a mineshaft, the gas will spread down to lower levels, gradually thinning the density as it spreads outwards. Only when the growing cloud hits an obstacle, or else fills all available space will density levels climb above 30%.
Any explosion within one tile of a gas-filled tile of 50% or greater density will trigger a chain of explosions in all adjacent tiles filled with gas, regardless of density level. The player can see gas leaks so long as there is a camera or drone within visual range. Gas leaks can be cleared by activating the fans in elevator shafts. When fans are active, the gas will be drawn gradually towards the elevator, then up the shaft to the surface. Multiple shafts may need to be crossed before the gas reaches the surface safely. Upgraded elevators possess more powerful fans which can draw out the gas faster.
Controls
Controls are RTS style, select a drone or building and issue commands via interface buttons or hotkeys.
Drone universal commands:
Move - This command changes the selection cursor into a waypoint cursor. Left-click on the target tile and the drone will begin moving to that location. Movement targets can be on different depth levels. Holding down shift will allow the player to mark a series of waypoints, which the drone will move to in sequence.
Stop - This command cancels all movement and other orders, telling the drone to stay at it's present location.
RTB - This tells the drone to stop it's current orders and return to the drone garage on the surface.
Shut down - This commands the drone to shut down it's engine and go into an idle stat. This can be used to conserve fuel while waiting for a Collector, or for a Digger at the bottom of a new elevator shaft. When in an idle state, this button changes to 'Start Up', which restarts the engine if the drone has fuel in it's tanks. Drones which run out of fuel automaticly shut down.
Utility commands:
Build menu - This is a sub-menu where all construction options are listed. Unless specified, clicking on a single tile will perform that action on that tile. Click dragging will perform that action on multiple adjacent tiles. Holding shift before clicking or click-dragging will allow the player to mark multiple tiles, not necessarily adjacent to each other.
Shore Tunnel - After clicking this option, left-click on a tunnel tile to shore it up. This action can be used on existing shoring to repair or replace the shoring already in place. This option will use whatever materials are in the drone's supply bay.
Lay Road - Left click on a target tile to start laying down roadways. Roadways automaticly link with adjacent roadway. Roadways can only be installed on the surface or in shored and cleared tunnels.
Install Camera - Oders the Utility drone to install a camera. Left-click on the target tile to install a camera. Drone must have a camera stored in it's supply bay for this option to work.
Install Kit - This tells the Utility to install a new construction kit. Left-click on the location for the kit to be installed. The utility drone will return to the garage to load the kit onto a carry-sled, then lead the sled to the install site, and begin construction.
Repair - Utility drones can repair other drones and elevators while in the field by using on-board materials. Left-click on the drone or elevator to be repaired.
Scan - Orders the drone to perform a depth scan.
Mine - Left click on a target ore vein to order the drone to start mining. Unlike Diggers, a Utility drone performing mining operations remains on the tile adjacent to the vein, and mined ore is stored within the drone's ore bay. Drone will automaticly return to the surface to unload, then return to the mine until the vein is depleted or ordered to stop mining.
Tunnel - Left-click on a target rock or ore vein tile to order the drone to set charges to blast a tunnel into that tile. Once charges are set, the tunnel button changes to 'Detonate Charge'. Be sure to move all drones out of adjacent tiles before detonating the charge. Drone must have explosive charges in the supply bay to perform this order.
Clear Rubble - This order can be performed on a rubble-filled tile to order the drone to clear the rubble. The drone will automatically start loading rubble into it's ore bay, unload the rubble into the hopper on the surface, and return for another load till the tunnel is clear.
Unload - This commands the drone to unload it's ore bay onto the current tile, forming a rubble pile which can either be left behind, or retrieved by another drone. By default a Utility drone will return to the surface when it's ore hold is full, right-clicking on this button on a Utility drone will order the drone to dump the mined ore into and adjacent tunnel tile instead of returning to the surface. This option can be useful for when the player possesses a Collector drone, but is using the Utility drone to mine.
Digger commands:
Mine - Left-click on a target ore vein to order the drone to start mining. The digger will deploy against the face of the vein and deploy it's moles. Mined ore will be deposited in a pile in any empty adjacent tiles.
Tunnel - Left-click on a target rock tile to deploy moles to set charges. Click-drag or shift-click to order an upgraded Digger to set charges in multiple rock tiles. Once charges are set, the tunnel button changes to 'Detonate Charge'. Be sure to move all drones out of adjacent tiles before detonating the charge. Drone must have explosive charges in the supply bay to perform this order.
Drill shaft - This orders the drone to start drilling a new elevator shaft at the present location. After clicking this button, a dialogue with a slide-bar and text box appears, allowing the player to specify the number of depth levels to drill downwards.
Destroy Tunnel - This orders the Digger to set charges to manually collapse the target tunnel tile, turning it back into a rock tile. This can be used to stop the gradual degradation of stability from having too many adjacent tunnel sqaures.
Scanner commands:
Depth Scan - Orders the drone to perform a depth scan. After clicking this button, a dialogue with a slide-bar and text box appears, allowing the player to specify the number of depth levels to scan. The drone will anchor itself in the current tile, and send out a scanner pulse into the levels specified. The deeper the pulse, the longer the scan will take and the more fuel will be used.
Ore Scan - This orders the drone to perform a location scan, which reveals the location of all ore vein tiles within the scan range. Upgraded Scanner drones have larger scan ranges, however Ore scans only reveal vein information on the same level as the drone.
Assay Scan - An assay scan will reveal the location and type of all ore vein tiles in range. Upgraded Scanner drones have larger scan ranges, however ore scans only reveal vein information on the same level as the drone. Assay scans can only be performed by Mk II Scanners.
Density Scan - A density scan can only be performed by a Mk III Scanner, but reveals the location, type, and density of all ore vein tiles in range. Upgraded Scanner drones have larger scan ranges, however ore scans only reveal vein information on the same level as the drone.
Collector commands:
Clear Rubble - This order can be performed on a rubble-filled tile to order the drone to clear the rubble. The drone will automatically start loading rubble into it's ore bay, unload the rubble into the hopper on the surface, and return for another load untill the tunnel is clear.
Refuel Drone - Left click on a target drone to refuel in the field. After clicking on the target drone, a dialogue appears with a slidebar showing both the target and collector's fuel tanks. Moving the slidebar towards the target's end will determine how much fuel is transferred. After selecting a target and amount of fuel to transfer, the drone will move to the target's loction and perform the transfer.
Resupply Drone - Left click on the target Utility or Digger drone to transfer explosives, materials, or cameras. After clicking the button and target, an inventory window will appear with the Collector on the left and the target on the right. Inventory transfers are carried out as described in the Garage controls.
Fill Shaft - This orders the drone to start filling in the target empty elevator shaft. In order to perform this order, the target elevator shaft cannot have an active elevator, and must be surrounded by rock tiles on all sides on each level the shaft intersects. The Collector loads rubble from the rubble pile and starts dumping it into the shaft. The number of loads to fill one tile at the bottom of the shaft is based on the upgrade level of the Collector's ore bay, but is equal to the number of loads required to clear a collapsed tile of rubble.
Unload - This commands the drone to unload it's ore bay onto the current tile, forming a rubble pile which can either be left behind, or retrieved by another drone.
Elevator commands:
De/Activate Fans - This toggles the gas venting fans on and off. While the fans are active, drones will be unable to use this elevator.
Deconstruct - This orders the elevator to being shutting down and deconstruct itself, leaving the shaft empty.
Control Booth commands:
All RTB - This orders all drones to halt their current orders and return to the drone garage. This can be useful in the event of an earthquake.
Abandon Site - After storing all drones in the Garage, a mining site which has been completely depleted can be abandoned. After selecting this option, a confirmation dialogue appears. All installed upgrade kits, as well as any drones not in the garage will be lost when the player moves to a new site. The game map will be re-initialized, with a brand new ore distribution underground. However, no starting elevator shaft will be deployed at the new site, and the player must start fresh. Commodities, supplies, and upgrade kits in storage are moved along with the player's drones.
Train depot commands:
Purchase Menu - This menu is where all drones, supplies, and upgrade kits can be purchased.
Sales Menu - This is where drones, metals, gems etc can be sold for profit.
Contracts - This brings up the contract window, where the player can browse and select contracts. Contracts are discussed elsewhere.
Drone garage commands:
Repair - This menu will allow you to select a damaged drone to repair. You can choose to repair using stored materials, or by paying for the repairs. Material repair takes time to complete, while purchased repair is instant and uses no materials.
Upgrade - This sub-menu will allow you to select a drone to upgrade. After selecting a drone in the garage, the upgrade menu appears, which is discussed elsewhere.
Supplies - This brings up the inventory trade window for the selected drone in the garage. The inventory trade window is discussed elsewhere.
Refuel - Similar to the Collector drone's refuel command, this brings up a slidebar allowing the transfer of fuel from the garage to the selected drone.
Deploy - This allows the player to select a drone to re-deploy into the field. The drone will exit the garage and move two tiles in a random direction, then stop and wait for orders.
Sales:
All metals, gems, coal, and other commodities which have been mined by the player can be sold off for profit, or delivered to fulfill a contract goal. In addition, any drones or upgrade kits in the garage can be sold off. An inventory window will allow the player to select items to be sold, with tabs dividing Commodities, Drones, and Supplies. Note that upgrade kits are listed on the Supplies tab. The window is divided between the player's inventory on the left, and items to be sold on the right.
After selecting an item from the left side, a slidebar/text dialogue similar to that of a Digger given a Drill Shaft order appears. Use the slidebar or text entry to indicate the amount desired. A confirm button finalizes the sale and deposits the cash into the player's inventory, a clear button removes all items from the right side, and a cancel button cancels the sale and closes the window.
Purchases:
Like the sales menu, items are divided by tabs. However the player only has tabs for Drones and Supplies, additionally the left side of the window lists items for sale, while the right side lists the items to be purchased. Items which the player cannot afford will be marked in red on the left side of the screen.
After selecting an item from the left side, a slidebar/text dialogue similar to that of a Digger given a Drill Shaft order appears. Use the slidebar or text entry to indicate the amount desired. A confirm button finalizes the sale and deposits the cash into the player's inventory, a clear button removes all items from the right side, and a cancel button cancels the sale and closes the window.
Inventory:
This window appears when a Collector is re-supplying a drone in the field, or when managing the inventory of drones in the garage. The left side of the window shows the Collector/Garage's inventory, and the right side lists the selected drone's inventory. Note that scanner drones do not carry supplies and will not be listed in the garage's Inventory menu. Note that Digger drones can only carry explosives.
After selecting an item from the left side, a slidebar/text dialogue similar to that of a Digger given a Drill Shaft order appears. Use the slidebar or text entry to indicate the amount desired. A confirm button finalizes the sale and deposits the cash into the player's inventory, a clear button removes all items from the right side, and a cancel button cancels the sale and closes the window. In addition, another button will allow you to select a different drone to manage.
Contracts:
Contracts act as game goals. Contracts ask the player to mine a required amount of specific commodities to be delivered to the client. There is no time limit on contracts, however only one contract can be active at a time. In addition, commodities which are already in storage before accepting the contract do not count against the contract goals.
Contracts pay the sale value of the required commodities, plus allow the player access to purchase upgrade kits, drone upgrades, and supply purchase discounts.
Prototype Checklists:
Prototype Points:
Basic interface
Title Screen / Pause Menu
Start/Resume Game button
Quit Game button
Surface level map with Train Depot, Smelter, Control Booth, and Garage.
Assets:
Basic ground terrain tile
Mag-lev tracks (corners and straights), alpha layers to show tiles underneath
Mag-lev depot
Smelter complex
Control Center
Vehicle Garage
Mine shaft tile
Elevator at surface
One mine level map, with elevator connecting to surface.
Assets:
Unmined rock tile
Fresh tunnel tile
Shored tunnel tile
Rock rubble filling tunnel
One Utility, Scanner, Digger, and Collector drone.
Assets:
Utility drone. 8-direction rotation
Scanner drone. 8-direction rotation
Digger drone. 8-direction rotation
Collector drone. 8-direction rotation
One gold vein NW of elevator, 3x4 tiles, 40-70% density.
Assets:
Gold vein tile overlays. Alpha layered to show rock beneath. Center and edge tiles.
One silver vein S of elevator, 2x4 tiles, 20-60% density.
Assets:
Silver vein tile overlays. Alpha layered to show rock beneath. Center and edge tiles.
Ability to scan deposits with all scan types.
Assets:
Generic ore tile overlays. Alpha layered to show rock beneath. Center and edge tiles.
Percentage text tile overlays, 10%-100%, 10% increments.
Ability to tunnel to each deposit.
Assets:
Ability to mine each deposit.
Assets:
Movement of rubble and ore to hopper.
Assets:
Detection of ore vs rubble.
Assets:
Smelting of ore to metals.
Assets:
Storage of metals.
Assets:
Sale of metals with train pickup.
Assets:
Purchase of new drones with train delivery.
Assets:
Storage of drones in Garage.
Assets:
Abandon mining site with reinitialization of map.
Assets:
2nd Prototype:
Add additional depth levels, up to lvl 10.
Test drone movement pathfinding between multiple levels.
Test Elevator behavior with multiple drones on multiple levels.
Addition of more ore types.
Random generation of ore veins locations, sizes, types, and densities.
Introduce fuel consumption and auto-refuel behavior of drones.
Add purchase of fuel and fuel storage to garage and depot.
Add explosive supplies and auto re-supply to drones.
Add RTB behavior to drones.
3rd Prototype:
Add stability to tunnels.
Introduce and test degrading stability.
Introduce shoring and Materials. Test shoring on stability.
Introduce cave-ins as result of lost stability.
Drone damage and destruction.
Repair of damage at Garage.
Estimated Required Art Assets:
Here's a list of required assets:
Surface assets: Each terrain tile should be represented by a 256x256 pixel texture. All sprites (buildings, drones, etc) are 128x128 base, so as many as four sprites can fit into a single terrain tile.
Static assets:
Generic rock/ground tiles for surface map.
Mag-lev train tracks.
Mag-lev docking station/platform.
Supply depot adjacent to train platform.
Ore/metal smelter and processing plant. (This one is fully automated, and would take up a decent bit of space, think 2x4 'tiles) Can be static or with minor animations.
Animated conveyor belt running from smelter to supply depot.
Animations for moving belt, and/or metals moving across belt (though this could be accomplished with seperate scrollers I think?)
Ore hopper connected to smelter. (A smaller unit which sorts rubble/rock and ore). Again, can be static or with animations.
Animated conveyor belt between hopper and smelter.
Scrollers/Animated sprites of metals moving from smelter to train loading bay.
Scrollers/Animated sprites of ore moving from hopper to smelter.
Animated sprites of refuse rubble being dumped from hopper into rubble pile.
Road tiles, generic asphalt road which will be built by player and placed as seperate layer from gorund.
Handful of static lightposts.
Mine shaft sprite which can be layer-placed onto the map.
Animated elevator which fits into mine-shaft sprite.
Small control booth. (Think along the lines of portable offices/trailers, with an antennae on the roof)
Drone Garage.
Small cargo sled tracks connecting Garage to Train Depot.
Animated cargo sleds moving between Garage and Depot.
Mag-lev train cars. (Five cars: Engine, Metals, Fuel, Supplies, and Vehicle Delivery).
Cargo sleds moving from depot in and out of Metals, Supplies, and Vehicle cars.
Four types of mining drones. All drones should be automated, remote-controlled vehicles. Either tracked or wheeled. Additionally, each type of drone has three upgrade classes, and each should look slightly different and/or more advanced.
Worker/Utility drone. This one should have some kind of 'arms'. It's used for building roads, shoring up tunnels, installing cameras, and can double as the other three in a crisis.
Scanner drone. Used for doing deep sonar scans from the surface, as well as detailed ore scans from underground. No initial ideas on looks.
Excavator/Digger/Drill drone. Used for cutting new tunnels and mining from ore veins. Open to ideas for looks.
Collector/Truck drone. Used to scoop up rubble from new tunnles, clear out cave-ins, and collect ore debris to cart it back to the smelter facility. Should look something like a dump-truck, only more compact.
Animated explosion for when drones are destroyed.
Underground assets:
Generic rock tiles used for much of the un-mined map.
Empty tunnel tiles for freshly cut tunnels.
Rubble/debris for collapsed tunnels, with or without cave-in animations. Should be same size as other tiles.
Shoring/bracing supports for tunnels. Probably just pillars at edges of tile. Will be layered onto tunnel tiles.
Survailance camera sprites, either static or animated.
Small rubble pile sprites for partially cleared new tunnels. Prefer multiple frames to show progress.
Ore tile overlays. Instead of replacing the default rock tiles, overlays will be used to indicate ore veins. List of ores below.
Gas pocket explosion. Animated explosion sprites for hitting a gas pocket.
Animated sprite of explosion and collapsing rock, for converting rock tiles into tunnel tiles.
Ore types:
Ores: 26 resource types / 7 categories
Radioactives - Uranium/Plutonium/Iriduim/Palladium
Common Metals - Lead/Iron/Copper/Nickel/Tin/Zinc
Precious Metals - Silver/Gold/Platinum
Industrial Metals - Tungsten/Cobalt/Chromium/Titanium
Precious Gemstones - Diamond/Emerald/Ruby/Sapphire/Amber
Common Gemstones - Obsidian/Quartz/Topaz
Non-Metals - Coal
For the ore overlays, I'm not expecting one of each, but at least two from each category. Feel free to do more or all if you wish.
I believe that is all the art which will be needed for this project at this time.
Gameplay:
The game is a mining and resource management sim. Concept and game goal is similar to the flash game Motherload. Genre and style is sci-fi/futuristic.
Each 'level' of depth represents 10 meters, and each underground tile represents 10 square meters. Each tile (surface or mine) can contain up to two drones at once, with the exception of elevators, which are discussed below. Ore veins have an ore type, and a density which represents the percentage of that tile which contains ore. Each ore type has different values and volume. Volume determines the maximum amount of ore that can be contained in a single tile.
Player starts with all surface assets already in place, a small amount of cash, a small supply of drone fuel and supplies, one Utility drone, and a mine shaft prepared in the center of the map cut to a minimal depth. A single vein of low-value ore has already been located for the player.
Before mining, player must locate a suitable ore deposit using a surface scan, drill down to that depth, then start blasting tunnels to reach the ore vein.
After blasting a rock square, the rubble must be cleared and the new tunnel shored up to prevent collapse. When a drone is full, the rubble is brought to the sorting hopper. All rock sqaures within 3 squares of an ore vein will contain trace amounts of that ore, roughly 5% of the value of the nearest vein tile.
Once a tunnel to the vein has been blasted open and shored up, the drone/s can start mining the vein. As the drone mines, it will bring full loads of ore to the hopper. The hopper will discard any waste rubble and pass the ore to the smelter, which will melt out inpurities and produce finished metals/gems based on the vein tile's value/density.
When a vein tile is depleted, it converts to a standard rock tile and must be blasted open.
When a drone is down to 10% of it's fuel reserves, it stops working to return to the surface and refuel. The same is true when running out of explosives or construction material.
Utility drones can be used for any mine function, but perform poorly at scanning, mining, and ore hauling. The Utility drone is primarily needed for shoring new tunnels, laying down roadway, building new elevators, and installing cameras. Utility drones can only perform depth scans.
The Scanner drone is used to detect and assay ore veins before mining begins. Scans can be performed in two ways: depth scan and vein scan. Depth scans reveal the presence of ore veins on levels below the scanner, but do not determine exact location, type, or density. Vein scans only reveal ore on the same level as the scanner, but will reveal the location and size of the vein. Upgrades to the Scanner drone will reveal the type of ore, then the density of each tile scanned.
Digger drones are best at blasting new tunnels and mining ore veins. Diggers have small on-board 'Moles' which can drill into a tile to place shaped charges to blow open the tile. These moles also allow the Digger to mine ore veins. Each upgrade to the Digger increases the number and sophistication of the Moles, allowing more precision in blasting, the ability to blast more than one square at a time, and faster mining rates. While mining, the Digger itself is removed from view, and the newly-mined ore is deposited as a rubble pile in the previous square, waiting for pickup. Diggers are also the only drones which can drill new or deeper mine shafts.
Collector drones serve two purposes: collecting ore and re-supplying other drones in the field. Collectors have a larger ore bay than Utility drones, plus a small supply bay and reserve fuel tanks. Collectors can refuel all other drones, as well as deliver explosives, construction material, and cameras to Utility and Digger drones. Upgrades to the the Collector allow faster movement without roadways, and larger fuel tanks, ore bay, and supply bays.
The player must purchase fuel, supplies (explosives, construction material, cameras), and new drones. Starting players are given enough fuel and supplies to reach the first revealed ore vein before running out. Also, the costs are low enough that even low-value ores will be enough to re-supply in short order.
Construction materials can be used by Utility drones to shore up tunnels, build roadways, and install elevators in new mine shafts. Each task requires an increasing amount of materials.
Normally, mine tunnels are clouded by a fog of war effect. Drones possess on-board cameras allowing them to see up to three tiles around them, with upgraded drones having larger fields of view. Cameras allow the player to monitor the mine tunnels when no drones are present. Cameras can be purchased and need to be moved from the train depot to the installation site, then installed by a Utility drone. Utility drones can only carry one camera at a time, while Collectors can carry more (based on upgrade level).
Roadways allow all drone types to move faster, but can only be installed on the surface and in cleared and shored tunnels.
All mine tiles have a stability rating. When stability reaches zero, that tile will collapse in a cave-in. Blasting or other explosions will degrade the stability in that tile and nearby tiles. Cave-ins also degrade the stability of nearby tiles, which can result in chain-reactions. Shoring up a tile will improve it's stability. Higher grades of shoring can be installed by upgraded Utility drones, but uses more materials. Whenever a tile is bordered on four sides or more (including above and below) by open space (IE: tunnels), that tile's stability will gradually degrade over time. Because of this, large caverns and tunnels layered on top of each other tend to be prone to eventual collapse. To prevent extensive mine complexes from collapsing, old tunnels can be manually collapsed to return the tile to a rock state. Cave-ins also destroy all shoring, cameras, roadways, and drones caught in collapsing tiles.
New elevator shafts cannot be drilled within three tiles of an existing shaft, and have a maximum depth based on the upgrade level of the elevator to be installed there. Once a shaft is drilled, a new elevator must be installed before the Digger at the bottom of the shaft can be retrieved. Elevators cannot be placed on top of one another. Elevators can not be upgraded while in service, and must be deconstructed before a new elevator can be installed. Also, each level of upgrade has both a maximum cable length, as well as a maximum depth it can be installed at. The basic elevator can hold up to two drones at a time. Elevators are purchased like cameras, and are stored as an upgrade kit until installed.
After a depth of 500 meters (depth level 50), the player will encounter hidden gas pockets. After exposing a pocket, gas will start to leak into surrounding tunnel tiles. All gas pockets have a maximum volume of gas, which corrosponds to the number of tiles that pocket can fill with gas before being depleted. If detected early, a Utility or Collector drone with the right upgrades can siphon the gas from the pocket, rendering the pocket harmless. Siphoned gas can then be taken to the fuel depot and converted into drone fuel.
As gas leaks from the pocket, surrounding tiles will start to fill with gas. Once a tile has reached 30% density, the gas will spread outwards by another tile. Gas density will not rise above 30% as long as there are empty tiles not filled with gas adjacent to the current cloud. When the spreading cloud of gas reaches a mineshaft, the gas will spread down to lower levels, gradually thinning the density as it spreads outwards. Only when the growing cloud hits an obstacle, or else fills all available space will density levels climb above 30%.
Any explosion within one tile of a gas-filled tile of 50% or greater density will trigger a chain of explosions in all adjacent tiles filled with gas, regardless of density level. The player can see gas leaks so long as there is a camera or drone within visual range. Gas leaks can be cleared by activating the fans in elevator shafts. When fans are active, the gas will be drawn gradually towards the elevator, then up the shaft to the surface. Multiple shafts may need to be crossed before the gas reaches the surface safely. Upgraded elevators possess more powerful fans which can draw out the gas faster.
Controls
Controls are RTS style, select a drone or building and issue commands via interface buttons or hotkeys.
Drone universal commands:
Move - This command changes the selection cursor into a waypoint cursor. Left-click on the target tile and the drone will begin moving to that location. Movement targets can be on different depth levels. Holding down shift will allow the player to mark a series of waypoints, which the drone will move to in sequence.
Stop - This command cancels all movement and other orders, telling the drone to stay at it's present location.
RTB - This tells the drone to stop it's current orders and return to the drone garage on the surface.
Shut down - This commands the drone to shut down it's engine and go into an idle stat. This can be used to conserve fuel while waiting for a Collector, or for a Digger at the bottom of a new elevator shaft. When in an idle state, this button changes to 'Start Up', which restarts the engine if the drone has fuel in it's tanks. Drones which run out of fuel automaticly shut down.
Utility commands:
Build menu - This is a sub-menu where all construction options are listed. Unless specified, clicking on a single tile will perform that action on that tile. Click dragging will perform that action on multiple adjacent tiles. Holding shift before clicking or click-dragging will allow the player to mark multiple tiles, not necessarily adjacent to each other.
Shore Tunnel - After clicking this option, left-click on a tunnel tile to shore it up. This action can be used on existing shoring to repair or replace the shoring already in place. This option will use whatever materials are in the drone's supply bay.
Lay Road - Left click on a target tile to start laying down roadways. Roadways automaticly link with adjacent roadway. Roadways can only be installed on the surface or in shored and cleared tunnels.
Install Camera - Oders the Utility drone to install a camera. Left-click on the target tile to install a camera. Drone must have a camera stored in it's supply bay for this option to work.
Install Kit - This tells the Utility to install a new construction kit. Left-click on the location for the kit to be installed. The utility drone will return to the garage to load the kit onto a carry-sled, then lead the sled to the install site, and begin construction.
Repair - Utility drones can repair other drones and elevators while in the field by using on-board materials. Left-click on the drone or elevator to be repaired.
Scan - Orders the drone to perform a depth scan.
Mine - Left click on a target ore vein to order the drone to start mining. Unlike Diggers, a Utility drone performing mining operations remains on the tile adjacent to the vein, and mined ore is stored within the drone's ore bay. Drone will automaticly return to the surface to unload, then return to the mine until the vein is depleted or ordered to stop mining.
Tunnel - Left-click on a target rock or ore vein tile to order the drone to set charges to blast a tunnel into that tile. Once charges are set, the tunnel button changes to 'Detonate Charge'. Be sure to move all drones out of adjacent tiles before detonating the charge. Drone must have explosive charges in the supply bay to perform this order.
Clear Rubble - This order can be performed on a rubble-filled tile to order the drone to clear the rubble. The drone will automatically start loading rubble into it's ore bay, unload the rubble into the hopper on the surface, and return for another load till the tunnel is clear.
Unload - This commands the drone to unload it's ore bay onto the current tile, forming a rubble pile which can either be left behind, or retrieved by another drone. By default a Utility drone will return to the surface when it's ore hold is full, right-clicking on this button on a Utility drone will order the drone to dump the mined ore into and adjacent tunnel tile instead of returning to the surface. This option can be useful for when the player possesses a Collector drone, but is using the Utility drone to mine.
Digger commands:
Mine - Left-click on a target ore vein to order the drone to start mining. The digger will deploy against the face of the vein and deploy it's moles. Mined ore will be deposited in a pile in any empty adjacent tiles.
Tunnel - Left-click on a target rock tile to deploy moles to set charges. Click-drag or shift-click to order an upgraded Digger to set charges in multiple rock tiles. Once charges are set, the tunnel button changes to 'Detonate Charge'. Be sure to move all drones out of adjacent tiles before detonating the charge. Drone must have explosive charges in the supply bay to perform this order.
Drill shaft - This orders the drone to start drilling a new elevator shaft at the present location. After clicking this button, a dialogue with a slide-bar and text box appears, allowing the player to specify the number of depth levels to drill downwards.
Destroy Tunnel - This orders the Digger to set charges to manually collapse the target tunnel tile, turning it back into a rock tile. This can be used to stop the gradual degradation of stability from having too many adjacent tunnel sqaures.
Scanner commands:
Depth Scan - Orders the drone to perform a depth scan. After clicking this button, a dialogue with a slide-bar and text box appears, allowing the player to specify the number of depth levels to scan. The drone will anchor itself in the current tile, and send out a scanner pulse into the levels specified. The deeper the pulse, the longer the scan will take and the more fuel will be used.
Ore Scan - This orders the drone to perform a location scan, which reveals the location of all ore vein tiles within the scan range. Upgraded Scanner drones have larger scan ranges, however Ore scans only reveal vein information on the same level as the drone.
Assay Scan - An assay scan will reveal the location and type of all ore vein tiles in range. Upgraded Scanner drones have larger scan ranges, however ore scans only reveal vein information on the same level as the drone. Assay scans can only be performed by Mk II Scanners.
Density Scan - A density scan can only be performed by a Mk III Scanner, but reveals the location, type, and density of all ore vein tiles in range. Upgraded Scanner drones have larger scan ranges, however ore scans only reveal vein information on the same level as the drone.
Collector commands:
Clear Rubble - This order can be performed on a rubble-filled tile to order the drone to clear the rubble. The drone will automatically start loading rubble into it's ore bay, unload the rubble into the hopper on the surface, and return for another load untill the tunnel is clear.
Refuel Drone - Left click on a target drone to refuel in the field. After clicking on the target drone, a dialogue appears with a slidebar showing both the target and collector's fuel tanks. Moving the slidebar towards the target's end will determine how much fuel is transferred. After selecting a target and amount of fuel to transfer, the drone will move to the target's loction and perform the transfer.
Resupply Drone - Left click on the target Utility or Digger drone to transfer explosives, materials, or cameras. After clicking the button and target, an inventory window will appear with the Collector on the left and the target on the right. Inventory transfers are carried out as described in the Garage controls.
Fill Shaft - This orders the drone to start filling in the target empty elevator shaft. In order to perform this order, the target elevator shaft cannot have an active elevator, and must be surrounded by rock tiles on all sides on each level the shaft intersects. The Collector loads rubble from the rubble pile and starts dumping it into the shaft. The number of loads to fill one tile at the bottom of the shaft is based on the upgrade level of the Collector's ore bay, but is equal to the number of loads required to clear a collapsed tile of rubble.
Unload - This commands the drone to unload it's ore bay onto the current tile, forming a rubble pile which can either be left behind, or retrieved by another drone.
Elevator commands:
De/Activate Fans - This toggles the gas venting fans on and off. While the fans are active, drones will be unable to use this elevator.
Deconstruct - This orders the elevator to being shutting down and deconstruct itself, leaving the shaft empty.
Control Booth commands:
All RTB - This orders all drones to halt their current orders and return to the drone garage. This can be useful in the event of an earthquake.
Abandon Site - After storing all drones in the Garage, a mining site which has been completely depleted can be abandoned. After selecting this option, a confirmation dialogue appears. All installed upgrade kits, as well as any drones not in the garage will be lost when the player moves to a new site. The game map will be re-initialized, with a brand new ore distribution underground. However, no starting elevator shaft will be deployed at the new site, and the player must start fresh. Commodities, supplies, and upgrade kits in storage are moved along with the player's drones.
Train depot commands:
Purchase Menu - This menu is where all drones, supplies, and upgrade kits can be purchased.
Sales Menu - This is where drones, metals, gems etc can be sold for profit.
Contracts - This brings up the contract window, where the player can browse and select contracts. Contracts are discussed elsewhere.
Drone garage commands:
Repair - This menu will allow you to select a damaged drone to repair. You can choose to repair using stored materials, or by paying for the repairs. Material repair takes time to complete, while purchased repair is instant and uses no materials.
Upgrade - This sub-menu will allow you to select a drone to upgrade. After selecting a drone in the garage, the upgrade menu appears, which is discussed elsewhere.
Supplies - This brings up the inventory trade window for the selected drone in the garage. The inventory trade window is discussed elsewhere.
Refuel - Similar to the Collector drone's refuel command, this brings up a slidebar allowing the transfer of fuel from the garage to the selected drone.
Deploy - This allows the player to select a drone to re-deploy into the field. The drone will exit the garage and move two tiles in a random direction, then stop and wait for orders.
Sales:
All metals, gems, coal, and other commodities which have been mined by the player can be sold off for profit, or delivered to fulfill a contract goal. In addition, any drones or upgrade kits in the garage can be sold off. An inventory window will allow the player to select items to be sold, with tabs dividing Commodities, Drones, and Supplies. Note that upgrade kits are listed on the Supplies tab. The window is divided between the player's inventory on the left, and items to be sold on the right.
After selecting an item from the left side, a slidebar/text dialogue similar to that of a Digger given a Drill Shaft order appears. Use the slidebar or text entry to indicate the amount desired. A confirm button finalizes the sale and deposits the cash into the player's inventory, a clear button removes all items from the right side, and a cancel button cancels the sale and closes the window.
Purchases:
Like the sales menu, items are divided by tabs. However the player only has tabs for Drones and Supplies, additionally the left side of the window lists items for sale, while the right side lists the items to be purchased. Items which the player cannot afford will be marked in red on the left side of the screen.
After selecting an item from the left side, a slidebar/text dialogue similar to that of a Digger given a Drill Shaft order appears. Use the slidebar or text entry to indicate the amount desired. A confirm button finalizes the sale and deposits the cash into the player's inventory, a clear button removes all items from the right side, and a cancel button cancels the sale and closes the window.
Inventory:
This window appears when a Collector is re-supplying a drone in the field, or when managing the inventory of drones in the garage. The left side of the window shows the Collector/Garage's inventory, and the right side lists the selected drone's inventory. Note that scanner drones do not carry supplies and will not be listed in the garage's Inventory menu. Note that Digger drones can only carry explosives.
After selecting an item from the left side, a slidebar/text dialogue similar to that of a Digger given a Drill Shaft order appears. Use the slidebar or text entry to indicate the amount desired. A confirm button finalizes the sale and deposits the cash into the player's inventory, a clear button removes all items from the right side, and a cancel button cancels the sale and closes the window. In addition, another button will allow you to select a different drone to manage.
Contracts:
Contracts act as game goals. Contracts ask the player to mine a required amount of specific commodities to be delivered to the client. There is no time limit on contracts, however only one contract can be active at a time. In addition, commodities which are already in storage before accepting the contract do not count against the contract goals.
Contracts pay the sale value of the required commodities, plus allow the player access to purchase upgrade kits, drone upgrades, and supply purchase discounts.
Prototype Checklists:
Prototype Points:
Basic interface
Title Screen / Pause Menu
Start/Resume Game button
Quit Game button
Surface level map with Train Depot, Smelter, Control Booth, and Garage.
Assets:
Basic ground terrain tile
Mag-lev tracks (corners and straights), alpha layers to show tiles underneath
Mag-lev depot
Smelter complex
Control Center
Vehicle Garage
Mine shaft tile
Elevator at surface
One mine level map, with elevator connecting to surface.
Assets:
Unmined rock tile
Fresh tunnel tile
Shored tunnel tile
Rock rubble filling tunnel
One Utility, Scanner, Digger, and Collector drone.
Assets:
Utility drone. 8-direction rotation
Scanner drone. 8-direction rotation
Digger drone. 8-direction rotation
Collector drone. 8-direction rotation
One gold vein NW of elevator, 3x4 tiles, 40-70% density.
Assets:
Gold vein tile overlays. Alpha layered to show rock beneath. Center and edge tiles.
One silver vein S of elevator, 2x4 tiles, 20-60% density.
Assets:
Silver vein tile overlays. Alpha layered to show rock beneath. Center and edge tiles.
Ability to scan deposits with all scan types.
Assets:
Generic ore tile overlays. Alpha layered to show rock beneath. Center and edge tiles.
Percentage text tile overlays, 10%-100%, 10% increments.
Ability to tunnel to each deposit.
Assets:
Ability to mine each deposit.
Assets:
Movement of rubble and ore to hopper.
Assets:
Detection of ore vs rubble.
Assets:
Smelting of ore to metals.
Assets:
Storage of metals.
Assets:
Sale of metals with train pickup.
Assets:
Purchase of new drones with train delivery.
Assets:
Storage of drones in Garage.
Assets:
Abandon mining site with reinitialization of map.
Assets:
2nd Prototype:
Add additional depth levels, up to lvl 10.
Test drone movement pathfinding between multiple levels.
Test Elevator behavior with multiple drones on multiple levels.
Addition of more ore types.
Random generation of ore veins locations, sizes, types, and densities.
Introduce fuel consumption and auto-refuel behavior of drones.
Add purchase of fuel and fuel storage to garage and depot.
Add explosive supplies and auto re-supply to drones.
Add RTB behavior to drones.
3rd Prototype:
Add stability to tunnels.
Introduce and test degrading stability.
Introduce shoring and Materials. Test shoring on stability.
Introduce cave-ins as result of lost stability.
Drone damage and destruction.
Repair of damage at Garage.
Estimated Required Art Assets:
Here's a list of required assets:
Surface assets: Each terrain tile should be represented by a 256x256 pixel texture. All sprites (buildings, drones, etc) are 128x128 base, so as many as four sprites can fit into a single terrain tile.
Static assets:
Generic rock/ground tiles for surface map.
Mag-lev train tracks.
Mag-lev docking station/platform.
Supply depot adjacent to train platform.
Ore/metal smelter and processing plant. (This one is fully automated, and would take up a decent bit of space, think 2x4 'tiles) Can be static or with minor animations.
Animated conveyor belt running from smelter to supply depot.
Animations for moving belt, and/or metals moving across belt (though this could be accomplished with seperate scrollers I think?)
Ore hopper connected to smelter. (A smaller unit which sorts rubble/rock and ore). Again, can be static or with animations.
Animated conveyor belt between hopper and smelter.
Scrollers/Animated sprites of metals moving from smelter to train loading bay.
Scrollers/Animated sprites of ore moving from hopper to smelter.
Animated sprites of refuse rubble being dumped from hopper into rubble pile.
Road tiles, generic asphalt road which will be built by player and placed as seperate layer from gorund.
Handful of static lightposts.
Mine shaft sprite which can be layer-placed onto the map.
Animated elevator which fits into mine-shaft sprite.
Small control booth. (Think along the lines of portable offices/trailers, with an antennae on the roof)
Drone Garage.
Small cargo sled tracks connecting Garage to Train Depot.
Animated cargo sleds moving between Garage and Depot.
Mag-lev train cars. (Five cars: Engine, Metals, Fuel, Supplies, and Vehicle Delivery).
Cargo sleds moving from depot in and out of Metals, Supplies, and Vehicle cars.
Four types of mining drones. All drones should be automated, remote-controlled vehicles. Either tracked or wheeled. Additionally, each type of drone has three upgrade classes, and each should look slightly different and/or more advanced.
Worker/Utility drone. This one should have some kind of 'arms'. It's used for building roads, shoring up tunnels, installing cameras, and can double as the other three in a crisis.
Scanner drone. Used for doing deep sonar scans from the surface, as well as detailed ore scans from underground. No initial ideas on looks.
Excavator/Digger/Drill drone. Used for cutting new tunnels and mining from ore veins. Open to ideas for looks.
Collector/Truck drone. Used to scoop up rubble from new tunnles, clear out cave-ins, and collect ore debris to cart it back to the smelter facility. Should look something like a dump-truck, only more compact.
Animated explosion for when drones are destroyed.
Underground assets:
Generic rock tiles used for much of the un-mined map.
Empty tunnel tiles for freshly cut tunnels.
Rubble/debris for collapsed tunnels, with or without cave-in animations. Should be same size as other tiles.
Shoring/bracing supports for tunnels. Probably just pillars at edges of tile. Will be layered onto tunnel tiles.
Survailance camera sprites, either static or animated.
Small rubble pile sprites for partially cleared new tunnels. Prefer multiple frames to show progress.
Ore tile overlays. Instead of replacing the default rock tiles, overlays will be used to indicate ore veins. List of ores below.
Gas pocket explosion. Animated explosion sprites for hitting a gas pocket.
Animated sprite of explosion and collapsing rock, for converting rock tiles into tunnel tiles.
Ore types:
Ores: 26 resource types / 7 categories
Radioactives - Uranium/Plutonium/Iriduim/Palladium
Common Metals - Lead/Iron/Copper/Nickel/Tin/Zinc
Precious Metals - Silver/Gold/Platinum
Industrial Metals - Tungsten/Cobalt/Chromium/Titanium
Precious Gemstones - Diamond/Emerald/Ruby/Sapphire/Amber
Common Gemstones - Obsidian/Quartz/Topaz
Non-Metals - Coal
For the ore overlays, I'm not expecting one of each, but at least two from each category. Feel free to do more or all if you wish.
I believe that is all the art which will be needed for this project at this time.
#2
*if you are going to make the game cost money to but I want a free copy for helping
i could send you some graffix from your ideas and if you approve i will start right away ( just email me at
jot@scientist.com
and ill send you some)
if not then i hope you make a good game.
03/18/2008 (6:17 pm)
Ifyou are looking for graffix (sos for spelling) then look no further as i could make most/all the graffix you need for your game totaly free of charge**if you are going to make the game cost money to but I want a free copy for helping
i could send you some graffix from your ideas and if you approve i will start right away ( just email me at
jot@scientist.com
and ill send you some)
if not then i hope you make a good game.
Torque Owner Jason Larabie