Add random map Fert.
The 'raster' lib is only used by this map so far so I'd suggest to import it in the map rather than in library.js.
I didn't see this map before and so far it looks good!
Eager to test it ;)
Is there no way to force victory conditions?
Why not allow the host to vary the map more by playing with other or additional victory conditions?
Currently when selecting a skirmish/random map that comes with VictoryConditions, that choice is overwritten.
So the user still has to actively decide against the preference of the map.
(When playing in conquest, the player gaining the middle still has a big strategical advantage, and its the primary passage connecting the players, so the victory condition doesnt change the gameplay that much in case Conquest is enabled)
(It is quite easy to change the VictoryCondition format of maps to differentiate between forcing and overwriting a setting, the change could be local to VictoryConditions.js, except for the fact that Atlas would also need to be changed and perhaps the Gamesetup.cpp Autostart code)
- If one wants both the unconquerable spiral hill and this proposed hill in the same mapgen, one could use the Landscape option from rP23392/D2564
- What is a fert?
rmgen2 unused? perhaps even more?
The template can't have the DamageReceiver removed (or is it the CaptureTheRelic gaia bug preventing that)?
(I didnt check how performance critical it is, but perhaps the clone can be avoided by passing an iterator vector and assigning the x/y value using the vector set method)
(that clone can be avoided with an iterator)
(Not sure how often it is called, but it sounds like the array construction can be avoided. Irrelevant for 10 arrays, but relevant for thousands to hundreds of thousands)
Nothing. Made up. I initially wanted to name it "King of the hill" but sounded too cheesy. An alternative would be to translate it to Latin or such. Google tells me "king of the hill" in Latin is "Rex Monte" which sounds OK.
Google tells me "king of the hill" in Latin is "Rex Monte" which sounds OK.
Don't trust Google. Use the proper case (genitivus): rex montis (mons means mountain; same root). Better still would be rex collis (collis means hill).
Latin: fert -> counts
fert is the third singular present of the verb fero, ferre, which means to carry, convey, transport, take (and a lot of other, similar things; it has eleven columns (four pages) in P. G. W. Glare Oxford Latin Dictionary (Oxford 2012)).