Skip to content

jtakacs/homm3_battlefields

Repository files navigation

#homm3_battlefields

version 1.0.0

#Download

BattlefieldExplorer.jar Test map

#changelog

  • remote control - change battlefields from other programs, possibly from Unleashed Map Editor
  • 28 swamp locations fixed - accidentally, by making the code a bit more readable :)
  • Test map update - Valeska can visit these 28 swamp locations
  • Area selection dialog - you can restrict the searched area
  • Visual aid for area selection - you can use your own map image
  • Pattern mirroring - manually, or automatically during search
  • Pattern fixing - for searching specific blocked hexes
  • War machine display - visual aid mainly for fixed patterns
  • Anchor cell display - if you wonder, why can't you put a force field on some cells.
  • HDmod plugin to hook into the real battlefield generator - test was successful.
  • Keyboard event filter - you can now enter wasd into text fields without side effects
  • BigIntegers were replaced with BitVector - search is approximately 10x faster

#remote control

You can use HTTP POST to change the current battlefield. The software is listening on localhost:7777, and it accepts messages in the following form:

<TERRAIN;XXX;YYY>

where TERRAIN can be one of the following:

  • DIRT
  • SAND
  • GRASS
  • SNOW
  • SWAMP
  • ROUGH
  • UNDERGROUND
  • LAVA
  • SHIP
  • SHORE
  • MAGIC_PLAINS
  • CURSED_GROUND
  • HOLY_GROUND
  • EVIL_FOG
  • CLOVER_FIELDS
  • LUCID_POOLS
  • FIERY_FIELDS
  • ROCKLANDS
  • MAGIC_CLOUDS

and XXX and YYY can be any integer between 0 and 143.

Example:

curl -X POST -d "<SNOW;1;143>" http://localhost:7777/setfield

This will set the terrain type to snow, and the coordinates to x=1 and y=143.

#todo

  • non standard large map support
  • HotA new terrains support

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published