Opened 6 years ago

Last modified 5 years ago

#5147 new enhancement

Starting walls gamesetup option

Reported by: elexis Owned by:
Priority: Nice to Have Milestone: Backlog
Component: UI – Game setup Keywords:
Cc: Patch:

Description

From https://wildfiregames.com/forum/index.php?/topic/1321-0-ad-the-vision/

If the host wishes, a player's starting Territory can also be surrounded by attrition borders to reduce early rushes.

We just need to run the same rmgen code for every civ if the option is enabled. The wall templates should be added to SkirmishReplacer object of all civ files. The civ file will need a boolean deciding whether the civ (iberians) comes with walls by default or not (maybe a multiple choice value too for walls,palisades,turrets only or even a fortress).

Relevant files: gamesetup.js, rmgen/, SkirmishReplacer.js, simulation/data/civs/.

Change History (2)

comment:1 by FeXoR, 6 years ago

There's no need for code to be added. Setting a variable will actually do and then override the starting entity placement's argument with that if set.

comment:2 by Imarok, 5 years ago

Component: UI & SimulationGame setup

Move tickets to Game Setup as UI & Simulation got some sub components.

Note: See TracTickets for help on using tickets.