Login

russian armor

[Beta] Randomly Generated Map

17 Oct 2015, 23:19 PM
#1
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11


Seemingly endless warrens, fields and groves weave and envelop the farmsteads in this region. With every encounter, each battlefield seems to be completely different, making preparation increasingly difficult for the commanders who fight here. Use your wits and audacity to make this battlefied your own. Each battle will be spawned in a completely unique way, and no battlefield will ever be the same. Adapt to your surroundings, or face defeat.


Workshop Page

Backstory & The Concept

I've been playing around with this concept for a long time. I developed the first prototypes during COH1 and the approach pretty much stayed the same, until now. With the help of our very own Master Mapmaker MonolithicBacon, I've managed to take this concept to the next level & possibly create something unique and interesting.

Some time ago Asset packs were released as the continuing modding support for COH2. The interesting part about asset packs is that they can contain stamp files. Basically, stamp files are chunks of actual maps (like Angoville, Faymonville Approach, etc.). A good example of stamp usage is US and UK Forces bases. Every time a US/UK Forces base is spawned, a stamp is applied to the map.

The way the randomly generated map works:

  • The map contains a predefined territory sector layout and a generic base texture
  • Softborder area is randomly filled with pines, bushes, branches, and plants
  • The remaining area of the map is populated with 16x16 "tiles", randomly
  • At the moment, there are 4 kinds of tiles:
    • Generic tiles
    • Tiles with buildings
    • Tiles designed for base sector (no objects obstructing building placement)
    • Territory sector tiles (no cover-providing objects in the capturing circle)

  • Most of the map is just randomly filled with generic and/or tiles with buildings. Each tile is also randomly rotated either 0, 90, 180, or 270 degrees.
    • Building tile spawning is not limited at the moment, which may result in unbalanced maps. This will be sorted out in the future.

  • The map atmosphere setting is randomly chosen from the 6 (currently) available presets:
    • Autumn
    • Summer
    • Morning
    • Midday
    • Night
    • Rain

Goals
  • Randomly generate a map to increase replay value
  • Maintain both balance and variety at the same time
  • Maintain high artistical/graphical quality
  • Maintain compatability with other mods
  • Possibly see a randomly generated map being used as a tournament map one day


Known Issues
  • At the moment, several features are not carried over with stamps from WorldBuilder to in-game:
    • Grass
    • Water
    • Terrain height
    • Object Splines

  • I'm hoping to see these issues being fixed at some point in the future.


Example results

The map plays exactly like a regular map. Ambient buildings are marked on the minimap and even an AI Player knows what to do.

Example screenshots of randomly generated map:

Example screenshots of randomly selected atmosphere setting:

Future
  • Documentation
    • How to create your own tiles
    • How to create your own randomly generated maps

  • Limited spawning of tiles with buildings to ensure balanced maps
  • Winter tiles
  • More tiles with hedgerows and dense groves
  • More base sector tiles
  • More territory sector tiles
  • Possibly, once Relic has fixed the issues/implemented the missing support:
    • Tiles with water


Workshop Page
18 Oct 2015, 15:14 PM
#2
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Implemented random atmosphere presets based on Workshop feedback.

The map atmosphere setting is randomly chosen from the 6 (currently) available presets:

  • Autumn
  • Summer
  • Morning
  • Midday
  • Night
  • Rain
19 Oct 2015, 07:39 AM
#3
avatar of Mithiriath
Director of Social Media Badge

Posts: 830 | Subs: 3

Another Janne252 creation with also MonolithicBacon ! :hansGASM:
Thank you. I'll test it this evening.
19 Oct 2015, 08:09 AM
#4
avatar of Kreatiir

Posts: 2819

I can see so much potential in this for new tournaments. This is looking a-wesome.
JANNE DID IT AGAIN !
19 Oct 2015, 09:11 AM
#5
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

Thanks guys! I added 6 new screenshots of the randomly selected atmospheric settings.
20 Oct 2015, 14:50 PM
#6
avatar of squippy

Posts: 484

This is awesome. I'd love to see random maps.
22 Oct 2015, 10:47 AM
#7
avatar of Janne252
Admin Black Badge
Patrion 15

Posts: 3421 | Subs: 11

​Update:
  • Added 6 new tiles (5 hedgerows and 1 grove)
  • Base sectors are now surrounded by grove tiles
  • Center line of the map is now populated with hedgerow tiles
  • As a result of this, building tiles are quite rare, and they are forced to spawn in at least 2 locations
  • Added some hardcoded grass

The map looks quite different now and it's certainly not as open as it used to be. Let me know what you think guys!
1 user is browsing this thread: 1 guest

Ladders Top 10

  • #
    Steam Alias
    W
    L
    %
    Streak
Data provided by Relic Relic Entertainment

Replay highlight

VS
  • U.S. Forces flag cblanco ★
  • The British Forces flag 보드카 중대
  • Oberkommando West flag VonManteuffel
  • Ostheer flag Heartless Jäger
uploaded by XXxxHeartlessxxXX

Board Info

426 users are online: 426 guests
12 posts in the last 24h
45 posts in the last week
154 posts in the last month
Registered members: 45216
Welcome our newest member, plasticboxesuk
Most online: 2043 users on 29 Oct 2023, 01:04 AM