Commit Graph

16317 Commits

Author SHA1 Message Date
1b3e8a0218 Fix wrong default in "scaleByMapArea"
Noticed and patch proposed by @Feldfeld in 480228f964
Doesn't have any consequences as the function is only called via
"scaleByMapAreaAbsolute" in the codebase.

accepted by @Feldfeld @marder

Differential revision: https://code.wildfiregames.com/D5248
This was SVN commit r28042.
2024-02-28 06:44:09 +00:00
04ce68f42e rmgen: var -> let -> const
One should always use the variable declaration with the least possible
scope.
This patch cleans up many (but not all) of the `var` in rmgen and
replaces them with `let` or `const`.
The same is done for `let` -> `const`.

comments by: @sera @Stan
Differential revision: https://code.wildfiregames.com/D5214
This was SVN commit r28036.
2024-02-17 11:13:52 +00:00
c1d7ac6182 [Art] Materials | Adjust normal affect on a couple terrain materials. The previous numbers were way too extreme.
This was SVN commit r28030.
2024-02-12 07:11:44 +00:00
7e433b5053 [Art] [Fix] Add 'garrisoned' prop points to the 3 Carthaginian ethnic Embassy structures.
Reported by: @Gurken_Khan
Thread:
https://wildfiregames.com/forum/topic/107313-alpha-27-pre-releaserelease-candidate-build-testing/?do=findComment&comment=564191

This was SVN commit r28029.
2024-02-12 07:09:50 +00:00
789cfb8cf5 [Fix] Add "pair" property forgotten in some techs.
Without the "pair" attribute API3..GameState.prototype.canResearch
doesn't check if the other tech is already researched (or is being
researched).

Patch by: @phosit
Accepted by: @wowgetoffyourcellphone
Differential Revision: https://code.wildfiregames.com/D5238
This was SVN commit r28026.
2024-02-05 06:14:29 +00:00
62db78beec [PetraAI] - Fix resources (dead animals) coming in the defense army.
When a wild animal was in a defenseArmy and it was killed, its resource
got into the army as well. This caused a call to GetUnitAIOrder data
which was undefined for the resource.
Fixed by checking for UnitAI-ness and also for attack-ability whilst at
it.

Reported by @seregadushka at the forums:
https://wildfiregames.com/forum/topic/110098-petra-error-winter-is-coming5/.

Investigated and MWE by @Norse_Harold.
Fixes #6899

This was SVN commit r28025.
2024-02-02 12:40:52 +00:00
ca0f8d9bce [Art] Improve the look of the new Roman Antesignanus unit, based on descriptions posted on the forum.
This was SVN commit r28023.
2024-02-02 05:32:27 +00:00
7fd0365f8e [Art] A bunch of minor actor and texture improvements that would too inconsequential to have their own commits.
This was SVN commit r28022.
2024-02-02 03:43:48 +00:00
aee9c54b04 [Gameplay][fix] Use a promotion approach for Roman reforms special tech
Patch by: @real_tabasco_sauce
Accepted by: @borg-, @Riesi, @wowgetoffyourcellphone
Comments by: @phosit, @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5206
Fixes #6888

This was SVN commit r28021.
2024-02-02 02:44:30 +00:00
15dca2c0c9 [GUI] Improve and Combine in-game HUD panel textures into a texture sheet
Patch by: @wowgetoffyourcellphone
Comments by: @Stan @vladislavbelov @sera
Accepted by: @real_tabasco_sauce

Differential Revision: https://code.wildfiregames.com/D5231
This was SVN commit r28016.
2024-01-22 05:59:23 +00:00
e3f46bb809 Adds compute shaders support and scaling with FSR.
Fixes #6842

Comments By: phosit, Stan
Differential Revision: https://code.wildfiregames.com/D5218
This was SVN commit r28010.
2024-01-17 19:40:27 +00:00
f9f798158a [Mixins] Change the metal cost effect from multiply to add. Multiply didn't work correctly with Pirate Scout Ships.
This was SVN commit r28006.
2024-01-07 23:10:44 +00:00
d753fe9fca Missed this file in previous commit.
This was SVN commit r28005.
2024-01-07 20:33:44 +00:00
6913d8f167 [Fix] Ramming Ships do not deal double damage against Siege Ships
This was SVN commit r28004.
2024-01-07 08:09:30 +00:00
ec416a9ada [Art | Templates] Improve the look of the Persian civic center with Lamassu statues.
Also add: A lamassu stone ruin object and a Persian Shrine capturable
map object.

Modeling by: @stan'
This was SVN commit r28003.
2024-01-06 22:08:46 +00:00
f3f1ac6d6c [Templates] Add a new mixin for Pirate ships.
This was SVN commit r28002.
2024-01-06 18:11:40 +00:00
c76b8bed2b [GUI] Add a new loading tooltip for Shrines.
This was SVN commit r28001.
2024-01-06 17:58:21 +00:00
c28782a163 Checkref fixes for the Naval commit
This was SVN commit r27998.
2024-01-05 05:27:20 +00:00
3914b61068 [Fix] Oversight in d51b4687e9
Reported by: @stan'
This was SVN commit r27997.
2024-01-04 18:01:00 +00:00
d51b4687e9 [Gameplay] Complete Naval Overhaul (UnitAI and Warship Classes)
Warships now use the Unit AI instead of the Building AI. This allows
players to specifically target fire onto desired targets.
Warship combat now revamped with completely new Warship classes, which
soft counter each other, and new behavior for Fire Ships. With an
all-new ship tech tree at the Dock.
Commit includes fixing maps to switch from the old to the new ship
templates. Also includes revamped Cycladic Archipelago skirmish maps and
some other special surprises. And improved/additional ship UI portraits.

New Warship classes:

Scout Ship
Arrow Ship
Ramming Ship
Siege Ship

Forum discussion:
https://wildfiregames.com/forum/topic/104332-naval-overhaul-alpha-27/#comment-539713

Patch by: @wowgetoffyourcellphone
Accepted by: @real_tabasco_sauce
Comments and suggestions by: @borg-, @phosit (more comments and
discussion at the forum link)

Differential Revision: https://code.wildfiregames.com/D5213
Refs #4000 for a sound issue for actors without an attack animation.

This was SVN commit r27996.
2024-01-04 06:18:50 +00:00
b9da1cd823 Add files that are missing in 28e3b3fd62
This was SVN commit r27994.
2023-12-30 13:01:10 +00:00
28e3b3fd62 [Maps] Add water level support to Flood
In addition to the existing "Shallow" water level two water levels are
added:
- Deep: Only ships can reach other islands
- Rising: The water level changes from Shallow to Deep to a level where
the home islands are flooded.

Accepted By: @real_tabasco_sauce
Comments By: @marder, @vladislavbelov
Differential Revision: https://code.wildfiregames.com/D5139
This was SVN commit r27992.
2023-12-28 20:22:48 +00:00
ba61b93f94 [Art] Improved fish portrait
This was SVN commit r27991.
2023-12-26 20:03:24 +00:00
2c4a230ad5 [Gameplay] Move Persian Immortals to the Barracks, make them cheaper, weaker. Now they can be massed more easily, but not be OP.
Patch by: @real_tabasco_sauce
Comments from: @borg-
Accepted by: @wowgetoffyourcellphone

Differential Revision: https://code.wildfiregames.com/D5202
This was SVN commit r27990.
2023-12-26 04:15:40 +00:00
c4e082bf9b Make QuitConfirmationReplay extend QuitConfirmation
Comments By: @Freagarach
Fixes: #6894

Differential Revision: https://code.wildfiregames.com/D5224
This was SVN commit r27989.
2023-12-23 09:36:36 +00:00
6dfe29959f [Art] Tech portrait. A goat.
This was SVN commit r27985.
2023-12-17 22:46:36 +00:00
ea96002363 [Art] Two new tech portraits for Naval techs
This was SVN commit r27983.
2023-12-15 17:20:43 +00:00
a719a2176b [Gameplay] Remove TerritoryDecay from Roman Army Camp and Siege Walls
The territory decay of these structures didn't make much sense (gameplay
wise) and made those structures a pain to use.

Patch by: @wowgetoffyourcellphone
Accepted by: @real_tabasco_sauce
Differential Revision: https://code.wildfiregames.com/D5215
This was SVN commit r27978.
2023-12-09 04:24:24 +00:00
83df75c8b5 [Fix] Set priority to 80 per the wiki sound guide
This was SVN commit r27976.
2023-12-08 06:03:29 +00:00
19a290aa28 [Art] Improve some foundations and scaffolds.
This was SVN commit r27975.
2023-12-06 07:53:05 +00:00
2abf0d8db2 Fix missing includes when building without precompiled headers
Patch By: @Riesi
Comments By: @sera
Differential Revision: https://code.wildfiregames.com/D5209
This was SVN commit r27973.
2023-12-04 20:23:37 +00:00
3a3ecb6727 [Audio] Add a new arrow impact sound and reduce the volume of ram and catapult attacks
This was SVN commit r27972.
2023-12-04 17:51:54 +00:00
7104a7f694 Change name of Persian "Apadana" to "Tachara"
The name "Apadana" will eventually be used for the Persian Wonder:
https://wildfiregames.com/forum/topic/17552-task-wonder-persians-apadana-of-darius/

Differential Revision: https://code.wildfiregames.com/D5204
This was SVN commit r27970.
2023-12-04 02:37:31 +00:00
deebde3e0d [Fix] Typo in Cataphract mixin caused Loot to be placed incorrectly in the template
Reported by: @gameboy
Here:
https://wildfiregames.com/forum/topic/109371-a-cheat-code-caused-the-problem/

This was SVN commit r27968.
2023-12-03 18:26:02 +00:00
b6776c1801 Remove unnecessary arguments in map tests
RandomMap only takes two arguments (baseHeight, baseTerrain) not three.
Originally introduced in 5fe58d80fd.

Noticed by & accepted by @phosit

Differential revision: https://code.wildfiregames.com/D5212
This was SVN commit r27967.
2023-12-03 12:14:46 +00:00
9b6aa5fd0e Adds a medium-class Pirate ship for maps
This was SVN commit r27966.
2023-12-03 00:48:19 +00:00
71cd4ecf98 [Fix] 2e68fccd1d -> restore loyalty_regen.json
Patch by: @marder
Accepted by: @wowgetoffyourcellphone
Differential Revision: https://code.wildfiregames.com/D5210
Fixes #6891

This was SVN commit r27964.
2023-12-02 19:00:34 +00:00
37a49249fa [Gameplay] New temple tech "Sacrificial Ritual"
Patch by: @borg-
Accepted by: @real_tabasco_sauce
Comments by: @chrstgtr, @wowgetoffyourcellphone
Differential Revision: https://code.wildfiregames.com/D5188
This was SVN commit r27963.
2023-12-02 18:44:06 +00:00
5ce3478317 Fix typo in serapis_cult noticed by @rollieoo at Transifex.
This was SVN commit r27960.
2023-11-27 07:55:07 +00:00
955c1d9183 [Art] Improve the UV mapping of the pers_palace model
This was SVN commit r27959.
2023-11-25 21:51:48 +00:00
9c0e458f2d [Gameplay] New Mauryan paired food techs.
Patch by: @borg-
Accepted by: @real_tabasco_sauce, @wowgetoffyourcellphone
Comments by: @chrstgtr, @genava55

Differential Revision: https://code.wildfiregames.com/D5175
This was SVN commit r27958.
2023-11-25 18:49:15 +00:00
75812d43e6 Improve the wording of the Delian League description
This was SVN commit r27957.
2023-11-24 20:53:45 +00:00
71d45cd9ce [Gameplay] "Woad Warriors" civ bonus for the Britons
Patch by: @borg-
Accepted by: @wowgetoffyourcellphone
Comments by: @real_tabasco_sauce, @chrstgtr
Differential Revision: https://code.wildfiregames.com/D5190
This was SVN commit r27956.
2023-11-24 20:03:51 +00:00
a0592a3c37 [Gameplay] "Satrapy Tribute" feature for the Persian Throne Hall structure
This adds an upgrade option for the Persian "Apadana" (will be renamed
later to "Tachara"), where the player can choose to receive a trickle of
a desired resource, like taxes or tribute from their subject peoples.
Call this the "Satrapy Tribute" feature.

Patch by: @wowgetoffyourcellphone
Accepted by: @real_tabasco_sauce
Comments by: @chrstgtr, @borg-

Differential Revision: https://code.wildfiregames.com/D5192
This was SVN commit r27954.
2023-11-24 02:58:32 +00:00
63a4799f56 Fix mapgeneration of ambush & frontier in atlas
56f15f0869 broke those maps in atlas where g_MapSettings.TeamPlacement
is never initialized.

Bug found by @elexis
Fix not objected by @elexis (comments: committable if 56f15f0869 should
not be reverted and developer time is limited)

Differential revision: https://code.wildfiregames.com/D5200
This was SVN commit r27952.
2023-11-21 21:44:31 +00:00
62ab340622 [Gameplay] Ptolemaic Polybolos attack rate increased
Patch by: @borg-
Accepted by: @real_tabasco_sauce, @wowgetoffyourcellphone
Differential Revision: https://code.wildfiregames.com/D5170
This was SVN commit r27951.
2023-11-21 17:37:04 +00:00
5494110015 [Gameplay] Add forgotten loot in the new cataphract mixin
Patch by: @borg-
Differential Revision: https://code.wildfiregames.com/D5197
This was SVN commit r27950.
2023-11-21 17:31:58 +00:00
a2e7e4a08c [Gameplay] Fix apartment and academy loot
Patch by: @borg-
Differential Revision: https://code.wildfiregames.com/D5191
This was SVN commit r27949.
2023-11-21 17:24:14 +00:00
6a43f91630 Fix oversight in 56f15f0869 regarding iber wall placement
Needed until / if D5082 lands.
Until then we also still need: `g_PlayerbaseTypes`.

Differential revision: https://code.wildfiregames.com/D5196
This was SVN commit r27946.
2023-11-19 20:54:12 +00:00
56f15f0869 Move createBasesByPattern() functionality from rmgen2 to rmgen-common
This means deprecate `createBasesByPattern` in rmgen2 and add new
function `playerPlacementByPattern` in common

Differential revision: https://code.wildfiregames.com/D5194
This was SVN commit r27943.
2023-11-19 15:21:26 +00:00