function terrainGen($mapDoc, $terrainDoc) { $this->terrain->addTerrainFeature("frozenswamp", "frozenswamp", "s", 2, 1, 0, true, false); parent::terrainGen($mapDoc, $terrainDoc); $this->terrain->addTerrainFeature("redoubtfront", "redoubtfront", "d", 0, 0, 0, false); $this->terrain->addAltTraverseCost('redoubtfront', 'cavalry', 1); }
function terrainGen($mapDoc, $terrainDoc) { parent::terrainGen($mapDoc, $terrainDoc); if (!empty($this->scenario->mudMovement)) { $this->terrain->addTerrainFeature("clear", "", "c", 2, 0, 0, true); $this->terrain->addTerrainFeature("road", "road", "r", 2, 0, 0, false); } }
function terrainGen($mapDoc, $terrainDoc) { parent::terrainGen($mapDoc, $terrainDoc); $this->terrain->addTerrainFeature("forta", "forta", "f", 0, 0, 0, false); $this->terrain->addNatAltEntranceCost('forta', 'French', 'artillery', 'blocked'); $this->terrain->addNatAltEntranceCost('forta', 'French', 'cavalry', 'blocked'); $this->terrain->addNatAltEntranceCost('forta', 'French', 'infantry', 'blocked'); }
function terrainGen($mapDoc, $terrainDoc) { $this->terrain->addTerrainFeature("wadi", "wadi", "v", 0, 2, 0, false); $this->terrain->addTerrainFeature("slope", "slope", "s", 0, 1, 0, false); parent::terrainGen($mapDoc, $terrainDoc); $this->terrain->addTerrainFeature("road", "road", "r", 0.75, 0, 0, false); $this->terrain->addNatAltEntranceCost('forest', 'Beluchi', 'infantry', 1); $this->terrain->addNatAltEntranceCost('forest', 'Sikh', 'infantry', 1); $this->terrain->addAltEntranceCost('forest', 'horseartillery', 4); }
public function terrainGen($mapDoc, $terrainDoc) { parent::terrainGen($mapDoc, $terrainDoc); for ($col = 2200; $col <= 2500; $col += 100) { for ($row = 1; $row <= 18; $row++) { $this->terrain->addReinforceZone($col + $row, 'B'); } } for ($col = 100; $col <= 700; $col += 100) { for ($row = 1; $row <= 18; $row++) { $this->terrain->addReinforceZone($col + $row, 'A'); } } }
function terrainGen($mapDoc, $terrainDoc) { parent::terrainGen($mapDoc, $terrainDoc); $this->terrain->addTerrainFeature("river", "river", "v", 0, 2, 0, false); }
function terrainGen($mapDoc, $terrainDoc) { parent::terrainGen($mapDoc, $terrainDoc); $this->terrain->addAltEntranceCost('forest', 'artillery', 3); $this->terrain->addAltEntranceCost('forest', 'cavalry', 3); }
function terrainGen($mapDoc, $terrainDoc) { $this->terrain->addTerrainFeature("frozenswamp", "frozenswamp", "s", 2, 0, 1, true, false); parent::terrainGen($mapDoc, $terrainDoc); }
function terrainGen($mapDoc, $terrainDoc) { parent::terrainGen($mapDoc, $terrainDoc); $this->terrain->addTerrainFeature("swamp", "swamp", "s", 3, 0, 1, true, false); $this->terrain->addAltEntranceCost('swamp', 'cavalry', 5); }
function terrainGen($mapDoc, $terrainDoc) { parent::terrainGen($mapDoc, $terrainDoc); $this->terrain->addAltEntranceCost('forest', 'wagon', 'blocked'); }