Login
Create
Developful

Heat Street: Pathmap Creator + 1 sources

Create your own heat street maps.

Bored of the usual heat street maps? Why not create your own heat street map!

Through the use of an application and this code, you're able to add your maps to heat street.

How to use?

  • Start off by, obviously, using the code and making a pathmap.
  • Once you're done, press "Acknowledge" (by default: G), enter inspector, and save all global variables.
  • Install all files from [https://github.com/Preciseful/pathfind/blob/main/distance%20heat%20street], and run mainFile.py. Insert your nodes and edges similar to the example. Run it, and the distance matrix action should be copied to clipboard. After that, just add to your map rule in heat street the node positions, edges and the distance matrix.
  • Other than obviously having to set up the shop locations, etc., you're good to go! Just make sure you also add the map in the Global init rule.
  • The code also allows you to import maps, just add nodes and edges to a global INIT rule. This way, you can preview or modify your maps or shingen's.

What does this error mean? "IndexError: string index out of range"

In some rare circumstance, the alphabet might not be long enough. Solve this by entering distanceMatrix.py nand search for the variable "unusedalpha". Add a letter or more until the error's solved. However, you must also enter the Global Init rule (second one) in heat street and modify Global.char_string.

How does it work?

This is a recreation of the tool that shingen most likely used. After testing on 4 maps that he has made, they all passed with exact accuracy. The way it works is that it runs a BFS algorithm from each node, to each node. The amount of nodes needed in each path is then saved, then added in the distance matrix.


Sources

This post utilizes other codes either in part or in full. This could be because they remixed them, used parts of them, were inspired by them, or other reasons.

Players | 1 - 1
Categories: Team Deathmatch
Heroes: D.va, Junker Queen, Orisa, Reinhardt, Roadhog, and 29 more...
Created at:
Last updated:
Current version: 1.0.0

Users Also Like

Similar Codes

Elo Hell Logo_H-M-Dark
Join the Elo Hell Workshops Discord