Opened 6 years ago

Last modified 5 years ago

#4963 new enhancement

Use trigger difficulty on Jebel Barkal, Danubius, Survival Of The Fittest

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

Description (last modified by elexis)

Since r20760 / Phab:D1189, we have support of difficulty levels in scripts. But they are not used yet. We have always wished different difficulties in survival and danubius, and the maps have been (re)written in alpha 22 to be as easily modifyable as possible.

Change History (9)

comment:1 by elexis, 6 years ago

Milestone: BacklogAlpha 23
Priority: Nice to HaveShould Have

Will consume two precious days, but will be worth it and an important precedent for any scenario/random/campaign map with different difficulties.

comment:2 by elexis, 6 years ago

Description: modified (diff)

comment:3 by elexis, 6 years ago

In 21445:

Refactor and move random template composition triggerscript code used for gaia attacker waves from Danubius (rP19434 / D204) and Survival Of The Fittest (rP19359 / D145) to the TriggerHelper.

Eases implementation of new maps with diverse scripted attackers, refs #5040, D11 and map difficulties, refs #4963, D1189.
Replaces hardcoded templatenames with calls to a new TriggerHelper function to query template names, given Classes, Civ, Rank or Packed state.
Removes the duplicated template counting logic, that was intertwined with map specific unit classes balancing logic, refs #4805.

Use mimos garrison function from rP20659 / D1146 to support doubleclicking on garrisoned gaia heroes on Danubius, fixing the bug described in comment:10 of #4291.
Fix wrong (Trigger) prototype reference in rP21416.

comment:4 by elexis, 6 years ago

In 21563:

Display the map difficulty in the gamedescription (gamesetup and objectives window), refs #4963 / D1189 / rP20760.

Differential Revision: https://code.wildfiregames.com/D1391
Reviewed By: bb

comment:5 by elexis, 6 years ago

Summary: Use trigger difficulty on Danubius and Survival Of The FittestUse trigger difficulty on Jebel Barkal, Danubius, Survival Of The Fittest

comment:6 by elexis, 6 years ago

In 21565:

Add a difficulty setting for Jebel Barkal, refs #4963.
Allow random map scripts to read the difficulty setting.

Very Easy: Only temples and civil buildings
Easy: CivicCenter, Stables, Barracks, Embassy
Medium: Walls, Fortress, ElephantStables, Tower
Hard: Garrisoned wall turrets and one citizen archer on the walls
Very Hard: 3 Archer champions per wall segment

comment:7 by elexis, 6 years ago

Milestone: Alpha 23Backlog

comment:8 by elexis, 6 years ago

In 21631:

Let the difficulty setting of Jebel Barkal proportionally influence the number of attackers spawned, refs #4963.

Remove iberian starting walls but keep the towers as requested by lobby players.
Update mappreview to include the walls from rP21556.
Use Basic rank, since Gaia doesn't have a TechnologyManager and since the rank bonuses are autoresearched-techs
(noted by temple recently and FeldFeld in a match before the first version of D204).

comment:9 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.