This tool allows you to draw up plans for facilities from Foxhole's new Inferno update. It takes power and resource needs into account to help you efficiently design your facilities.

Overview

Foxhole Facility Planner

Foxhole Facility Planner

This tool allows you to draw up plans for facilities from Foxhole's new Inferno update. It takes power and resource needs into account to help you efficiently design your facilities. You can save your plans to be loaded later and share them with fellow members of your regiment!

Made with ❤️ by the PEG Regiment using Vue.js and Pixi.js

Features

  • Facility Blueprint Editor
    • Saving and Loading
    • Mostly Accurate Building Placement ;)
    • Rail Construction
  • Statistics Overview
    • Construction Costs
    • Power Consumption
    • Facility Resource Input and Output
    • Garrison Supply Consumption

Screenshots

Screenshot

Live Website (Latest Release)

https://foxholeplanner.com

Authors

Potential Future Features

Note: These are things we might add in the future.

  • Facility Image Export: Save an image of your facility locally.
  • Statistics CSV Export: Save your Facility stats to a spreadsheet.
  • Pipe & Power Line Construction (Building Connection Points)
  • Selection Tool: Select and manipulate multiple objects at once.
    • Moving, Rotation, Copy & Paste, Deletion, etc.
  • Redo & Undo: Revert mistakes and boo-boos.

Run Locally

Clone the project

  git clone https://github.com/brandon-ray/foxhole-facility-planner

Go to the project directory

  cd foxhole-facility-planner

Install dependencies

  npm install

Start the server

  node app.js

Go to http://localhost:3000/ in your browser

Support & Feedback

If you need help or have any feedback, e-mail [email protected]

Comments
  • Selection of placed building/foundations is inconsistent

    Selection of placed building/foundations is inconsistent

    When trying to move a preplaced building it is quite difficult depending on the building.

    Maint. tunnels are almost impossible to move or select once placed. And for most other buildings it is hard to find the right spot to click to drag them around or modify their properties.

    Possible solutions:

    • Use the icon image in the middle as the selector for all buildings
    • Use the colored outline as the selector
    • Both of the above

    Foundations have a related issue, when trying to select a building that is on top of foundations it sometimes selects the foundation and that is what gets dragged

    Possible solutions:

    • Add a lock position to the left menu when the foundation is selected
    • Don't allow selecting of foundation if a building is on top
    bug 
    opened by Romboter 11
  • Input/Output calculations being off due to rounding

    Input/Output calculations being off due to rounding

    I don't know why you came up with "let's round the value of production cycles per time unit down" (even at all), but it's a huge oversight as it just throws off the numbers completely. Let me put a brief example: A refinery making petrol from oil will show up as producing/consuming 0 per minute because the production cycle is 150s, and if you try to divide 60 by 150 and round that down, that is simply 0. Same is for oil wells, where 60 by 50 would be 1.2, but it's rounded down to 1, so it shows as 50 per minute despite actually being 60. For both the value shows correctly for 1 hour, because 3600 is nicely divided by both 150 and 50 to clean values of 24 and 72 respectively, which do not need any rounding thus calculate correctly. Instead take a cracking unit, which has a cycle time of 160s, which would be 22.5 cycles per hour, and it calculates only 22 cycles ... I think you get the issue, the rounding shouldn't be there at all. https://github.com/brandon-ray/foxhole-facility-planner/blob/072f4d83644fde5cc574f2454a494d70cb5c7c3b/public/menu/components/buildMenu.js#L345

    opened by Leif-The-Head 4
  • Request Zoom out further

    Request Zoom out further

    Hello.

    I'm trying to build a facility and planning for Tier 2 and Tier 3 buildings. I've noticed that you've made a fixed zoom. Is there a way to improve that edit that?

    Thank you in advance for reading this.

    Great tool! :D

    opened by djassoRaph 2
  • Suggestion: Add filter by tech requirement

    Suggestion: Add filter by tech requirement

    When planning for facilities, it would be nice to know which plans would be available in the early/mid/late by being able to filter by the different facility tech tier.

    opened by ykgamma 1
  • Power Pole is missing

    Power Pole is missing

    The Power Pole is an essential structure in every Facility. They don't need to behave correctly. As in respecting building hitboxes and the correct connection point of buildings.

    But the bare minimum is the ability to just place them so that we can better calculate the Garrison Supply cost of our facility.

    opened by Darxo 1
  • Everything seems to cost 2 GS per hour

    Everything seems to cost 2 GS per hour

    The ingame descriptions say that Foundations cost 2x more Garrison Supplies while non of the other Facility related structures have that line.

    And yet you calculate the same upkeep cost for both Foundations and non-Foundations.

    I wish I could also tell you the correct cost but I have no Idea how what 2x more means. It could be 100% increased cost or 200% increased cost depending on how you interpret it.

    opened by Darxo 1
  • Petrol Power Plant Upgrade cost is wrong

    Petrol Power Plant Upgrade cost is wrong

    The website says it costs 50 processed construction materials(tier 2 material) to upgrade a diesel power plant into a petrol power plant. This is incorrect, it costs 100 construction materials(the tier 1 material)

    image

    opened by MarnusStoop 1
  • Rounding down error fix

    Rounding down error fix

    Hopefully fixes https://github.com/brandon-ray/foxhole-facility-planner/issues/10 and any other non-1-hour interval for accuracy's sake. Ideally it would need truncation of display value.

    opened by AlecWhite 1
  • Add panning

    Add panning

    Some method of panning around the facility since it's hard to make it all fit on screen. Couple ideas on the mechanics of it:

    • Left Click hold empty area to drag the view around
    • Shift left click-hold to drag the view around
    opened by Romboter 1
  • Maintenance Tunnel min distance between

    Maintenance Tunnel min distance between

    Something to model is the min distance allowed between maintenance tunnels, maybe with a secondary circle that is a red line denoting the min distance? Current min distance is 15m from another maintenance tunnel

    enhancement 
    opened by Romboter 1
  • Dev - coal and oil refinery upgrades

    Dev - coal and oil refinery upgrades

    Hello! I wanted to introduce myself real quick via pull request. I'm Leastwise, and I'm working on FoxHoleLab https://leastwise.github.io/foxholelab/, which I think shares some DNA with your facility planner! In any case, if you don't mind me working on the facility planner, I'm happy to submit more pull requests as I have time. For this first one, I've added the upgrade data for the coal refinery and petrol refinery.

    opened by Leastwise 1
  • Load from file.

    Load from file.

    I can't load from this file. It was saved less than 12 hr ago.

    {"name":"Unnamed Facility","faction":"c","entityIds":50,"entities":[{"id":5,"x":null,"y":null,"z":0,"rotation":null,"type":"building","subtype":"materials_factory_smelter","productionScale":null},{"id":6,"x":null,"y":null,"z":0,"rotation":null,"type":"building","subtype":"light_vehicle_assembly_station","productionScale":null},{"id":47,"x":5152,"y":5280,"z":0,"rotation":3.141592653589793,"type":"building","subtype":"liquid_transfer_station","productionScale":null},{"id":44,"x":4624,"y":5472,"z":0,"rotation":0,"type":"building","subtype":"bms_foreman_stacker","productionScale":null},{"id":45,"x":5104,"y":5008,"z":0,"rotation":0,"type":"building","subtype":"maintenance_tunnel","productionScale":16,"selectedProduction":0},{"id":23,"x":4608,"y":5712,"z":0,"rotation":0,"type":"building","subtype":"resource_transfer_station","productionScale":null},{"id":24,"x":5152,"y":5664,"z":0,"rotation":0,"type":"building","subtype":"material_transfer_station","productionScale":null},{"id":43,"x":4832,"y":5664,"z":0,"rotation":0,"type":"building","subtype":"material_transfer_station","productionScale":null},{"id":21,"x":5408,"y":5648,"z":0,"rotation":6.283185307179586,"type":"building","subtype":"ammunition_factory_large_shell_factory","productionScale":null},{"id":41,"x":5648,"y":5648,"z":0,"rotation":3.141592653589793,"type":"building","subtype":"materials_factory_smelter","productionScale":null},{"id":46,"x":5552,"y":5248,"z":0,"rotation":10.995574287564276,"type":"building","subtype":"metalworks_factory_blast_furnace","productionScale":null},{"id":42,"x":4720,"y":5232,"z":0,"rotation":1.5707963267948966,"type":"building","subtype":"light_vehicle_assembly_station","productionScale":null},{"id":30,"x":4752,"y":4992,"z":0,"rotation":1.5707963267948966,"type":"building","subtype":"coal_refinery","productionScale":null},{"id":48,"x":5248,"y":4848,"z":0,"rotation":-1.5707963267948966,"type":"building","subtype":"power_station","productionScale":null},{"id":36,"x":4608,"y":4752,"z":0,"rotation":3.141592653589793,"type":"building","subtype":"liquid_transfer_station","productionScale":null},{"id":22,"x":null,"y":null,"z":0,"rotation":null,"type":"building","subtype":"metalworks_factory_blast_furnace","productionScale":null},{"id":8,"x":null,"y":null,"z":0,"rotation":null,"type":"building","subtype":"power_station","productionScale":null},{"id":31,"x":5664,"y":4752,"z":0,"rotation":3.141592653589793,"type":"building","subtype":"liquid_transfer_station","productionScale":null},{"id":35,"x":4880,"y":4752,"z":0,"rotation":0,"type":"building","subtype":"diesel_power_plant","productionScale":null},{"id":40,"x":4656,"y":5712,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":37,"x":5616,"y":5712,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":38,"x":5296,"y":5712,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":39,"x":4976,"y":5712,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":17,"x":5616,"y":5392,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":16,"x":5296,"y":5392,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":14,"x":4656,"y":5392,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":15,"x":4976,"y":5392,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":11,"x":5296,"y":5072,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":10,"x":4976,"y":5072,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":12,"x":5616,"y":5072,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":9,"x":4656,"y":5072,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":1,"x":4976,"y":4752,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":3,"x":5616,"y":4752,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":0,"x":4656,"y":4752,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null},{"id":2,"x":5296,"y":4752,"z":0,"rotation":0,"type":"building","subtype":"foundation_2x2","productionScale":null}]}

    opened by soltsmank 0
  • Add the ability to share a plan

    Add the ability to share a plan

    The URL should be able to store all the info needed to generate a plan... hopefully. Similar to this:

    https://github.com/jstrieb/urlpages

    This way, I could share my plan with my regiment without having to teach them to upload the json file to the planner.

    opened by Greg-Boggs 3
  • Suggestion: Toggleable setting in assembly factories to enable power usage.

    Suggestion: Toggleable setting in assembly factories to enable power usage.

    For completeness of factory planning, it would be nice if we had a way of seeing the power draw of assembly factories in the stats tab. This could be done by adding an option inside of the popup for each assembly factory building you click on, which could turn on/off the power draw of that building. Would help a lot with planning out very precise power grids and knowing how much power you actually have to work with.

    opened by AntiToni 0
Owner
Brandon Ray
I like to make games and software.
Brandon Ray
My terrible attempt at a promposal. Update: She said yes LMFAO Update Update: I got friendzoned right after 😭

TypeScript Next.js example This is a really simple project that shows the usage of Next.js with TypeScript. Deploy your own Deploy the example using V

John Li (Tet) 7 Oct 27, 2022
Utility for collecting resource-based policies from an AWS account

AWS resource-based policy collector This library aims to collect resource-based policies from an AWS account. NOTE: This library does not cover all AW

Will Dady 22 Dec 5, 2022
portfolio-project is a npm package to automatically update your projects section in your portfolio website. It will fetch the selected repositories directly from your GitHub account.

portfolio-project Those days of manually updating portfolio website after every new project made are gone ⚡ Yesss . . . you read that right. ?? portfo

Gaurav Gulati 15 Aug 3, 2021
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
VanillaSelectBox - A dropdown menu with lots of features that takes a select tag and transforms it into a single or multi-select menu with 1 or 2 levels

vanillaSelectBox v1.0.0 vanillaSelectBox : v1.00 : Adding a package.json file New : Possibility to change the dropdown tree and change the remote sear

philippe MEYER 103 Dec 16, 2022
A generative engine that takes various png layers on a sprite sheet format, combines them and then converts them into a .gif file

Welcome to the Generative GIF Engine v2.0.4 ?? [8 minute read] This python and node app generates layered-based gifs to create NFT gif art! It is fast

Jalagar 112 Jan 2, 2023
A generative engine that takes various png layers on a sprite sheet format, combines them and then converts them into a .gif file

Welcome to the Generative Animated Engine v3.0.1 ?? [8 minute read] This repo used to be called jalagar/Generative_Gif_Engine but because it now suppo

Jalagar 47 May 24, 2022
A new Node.js resource built using Gatsby.js with React.js, TypeScript, and Remark.

Nodejs.dev Nodejs.dev site built using Gatsby.js with React.js, TypeScript, SCSS, and Remark. You can find the latest Figma design protype here. ?? Ge

Node.js 2.2k Jan 5, 2023
Palaemon is an open-source developer tool for monitoring health and resource metrics of Kubernetes clusters and analyzing Out of Memory (OOMKill) errors

Palaemon ?? ?? An Electron based developer tool for Kubernetes cluster monitoring and error analysis Palaemon is a Greek, child sea-god who came to ai

OSLabs Beta 99 Dec 28, 2022
e-ONG, an authorial project, whose objective is to help ONGs to find people who need help or would like to help them

This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: npm start Runs the app in the developmen

Lucas Lima 2 Nov 11, 2022
A hub for web developers that offers a variety of tools to help with any developing needs.

WebDevHub - A place for developers WebDevHub is designed to be one central place for developers, that offers a variety of tools to help with any devel

Thomas Hamilton-Smith 87 Dec 11, 2022
Sheetzapper imports your account value accross Zapper.fi supported wallets and dapps into a Google Sheet

Overview Sheetzapper imports your account value accross Zapper.fi supported wallets and dapps into a Google Sheet. This allows you to chart your net w

null 4 Nov 27, 2022
To-do list" is an app that helps to organize your day. the user simply lists the things that needs to done and the app allows the to mark them as complete when they are done. Made with webpack, JavaScript ES6 , HTML 5 and CSS 3.

Todo-list project This is a Microverse project that entails a to-do-list. Built With HTML CSS Javascript Webpack VS code Live Demo (if available) Live

Youta Lactio Christabelle 10 Aug 3, 2022
Offer a translation system to your users! a plugin capable of translating your website, simply and efficiently!

TranslateForMe Offer a translation system to your users, a plugin capable of translating your website, simply and efficiently! View Demo · Report Bug

Eduardo Castro 3 Jan 12, 2022
Cindy Dorantes 12 Oct 18, 2022
The Basement SDK has sensible defaults and flexibility to allow you to get the data you want efficiently and effortlessly.

Basement SDK The Basement SDK has sensible defaults and flexibility to allow you to get the data you want efficiently and effortlessly. Installation B

Basement for Developers 10 Dec 6, 2022
This plugin can generate timestamps for video, audio and Bilibili video, it takes you to the corresponding video/audio position when clicked.

logseq-plugin-media-ts 本插件能够生成视频、音频以及 B 站视频的时间戳,点击时间戳后会跳转到对应的音视频位置。 This plugin can generate timestamps for video, audio and Bilibili video, it takes

Seth Yuan 58 Jan 3, 2023