Commit Graph

13380 Commits

Author SHA1 Message Date
Alexandermb fe8f284869 Remove duplicated vertex groups and props from elephants
Mentioned by @stan in this thread:
https://wildfiregames.com/forum/index.php?/topic/26012-task-animations-re-export-and-unit-meshes-fix/page/21/&tab=comments#comment-386080

This was SVN commit r23059.
2019-10-05 14:51:22 +00:00
Alexandermb dc21504b5d Fix weight on ship sails missing in the mastiff.
This was SVN commit r23058.
2019-10-05 14:20:50 +00:00
Alexandermb e61d6ac8d2 Remove unused animation and tweak levy idle ready.
This was SVN commit r23057.
2019-10-05 13:21:07 +00:00
Alexandermb a5c2cc6cd5 Replace gather meat animation on camel riders.
Fix latest issues mentioned by @stan in this thread:
https://wildfiregames.com/forum/index.php?/topic/26012-task-animations-re-export-and-unit-meshes-fix/page/21/&tab=comments#comment-386055

This was SVN commit r23056.
2019-10-05 13:19:23 +00:00
Stan ae50e10339 Add missing garrisoned flag on the cart temple missing since 9a4fcd55a8
Reported by: @faction02
Thread:
https://wildfiregames.com/forum/index.php?/topic/26896-fixed-ninja-stuff-or-bug/&tab=comments#comment-386061

This was SVN commit r23055.
2019-10-05 12:27:06 +00:00
Alexandermb 92f7df696d Make generic the infantry swordsman idles so it can be used by all sword infantry shield kinds.
Add base variant file for the romans/infantry_swordsman_c3.xml.

This was SVN commit r23052.
2019-10-05 02:11:58 +00:00
Alexandermb 9a95d21760 Replace run on female variant with proper running.
Reported by @stan

Change running animation speed to match the movement ingame.

Rotate spear while running for the hoplite/run_relax.dae animation.

This was SVN commit r23051.
2019-10-05 01:25:32 +00:00
Alexandermb e0e892efec Separate skirts from legs in short and long tunic meshes.
Re-export some body meshes with the proper vertex groups.

Fix rotation in hand while carrying meat in the cavalry riders.

This was SVN commit r23050.
2019-10-05 01:13:30 +00:00
Alexandermb 2a1681d5c7 Camel riders animations re-export.
This was SVN commit r23049.
2019-10-05 00:52:32 +00:00
Alexandermb 170bfed010 Mauryan trader animation re-export.
Tweaked the male walk animation.

This was SVN commit r23048.
2019-10-05 00:16:52 +00:00
Alexandermb 46de7fe751 Replace death animation on turret elephant riders.
replace variant in elephant rider capes.

This was SVN commit r23047.
2019-10-05 00:04:33 +00:00
Alexandermb 04745e7fdf Continue the cleaning of the unused files with the recent elephant animations re-export.
This was SVN commit r23045.
2019-10-04 21:35:23 +00:00
Alexandermb 273d7949a2 Replace asian_armored variant in two heros elephants + fix a wrong face in elephant_asian_armored_04.dae model.
This was SVN commit r23043.
2019-10-04 20:13:44 +00:00
Alexandermb 893a727cd5 Fix a typo in last commmitt.
This was SVN commit r23042.
2019-10-04 19:30:22 +00:00
Alexandermb 5512fdb9ef Remove an unused elephant variant and replace african forest variant.
This was SVN commit r23041.
2019-10-04 19:29:07 +00:00
Alexandermb 40f0f3d455 Elephant re-export and animations for the riders.
This was SVN commit r23040.
2019-10-04 17:15:51 +00:00
Alexandermb ed4208c538 Reduce frame lenght on new citizen idles to keep in sync with global idle frame lenght.
This was SVN commit r23037.
2019-10-04 03:09:22 +00:00
Alexandermb eff68a51c0 Citizen animations for the slave and siege engine operators.
Added frequency tags on variants.

12 Citizen animations.
1 tweak on hoplite static idle.

This was SVN commit r23035.
2019-10-03 17:31:17 +00:00
Alexandermb 491987fd69 More lifelike idle animations and some new sword attacking animations for scutum like shields.
Sync hoplite idles time/frames so the cape follows the body.

This was SVN commit r23030.
2019-10-02 17:27:44 +00:00
Alexandermb f1395c947a New idle relax animations for the hoplite.
5 new animations and renamed 1.

This was SVN commit r23024.
2019-10-01 20:21:45 +00:00
Stan d5b9919b00 Add missing round when calculating trader gain, removed in 026ce76e3f
Fixes loot tooltip and market tooltip.
Reviewed by: @wraitii
Differential Revision: https://code.wildfiregames.com/D2327
This was SVN commit r23016.
2019-09-29 13:19:58 +00:00
Stan 89fadf8b3a Actually fix band-aid from 40289e4a1a. Missing garrison flags date back from e63a938529 (Stoa, Theater, Sentry Tower)
Fix typo from b0b0495fc9 which caused erratic garrison flag behavior on
the Brit Scout Tower
Reported by: @faction02
Thread:
https://wildfiregames.com/forum/index.php?/topic/26896-ninja-stuff-or-bug/&tab=comments#comment-385787

This was SVN commit r23015.
2019-09-29 13:16:57 +00:00
wraitii db4fabcc4c Fix phase notification accidentally deleted in e16c4c4800
Reported By: elexis
Tested By: Freagarach
Differential Revision: https://code.wildfiregames.com/D2336
This was SVN commit r23014.
2019-09-29 08:53:28 +00:00
wraitii 6b29cbac10 Add simple tests for Attacking.
Forgot to 'svn add' in 38b2e37a61

This was SVN commit r23013.
2019-09-29 07:03:09 +00:00
wraitii 38b2e37a61 Fix bonus multiplier issue in 16b452cf91 (multiple attack effects) and consider more entities in EntitiesNearPoint
- the bonus multiplier would self-multiply with every effect, so an
attack with multiple effect would have a broken multiplier.
- EntitiesNearPoint used IID_Resistance, which is now facultative. To
not miss entities, it now returns all entities owned by enemy players.
For GAIA it checks for Health to avoid returning trees.
This means enemy units have higher priority over missed projectiles, but
that should generally be OK.

This also adds simple tests.

Reported By: Freagarach
Differential Revision: https://code.wildfiregames.com/D2322
This was SVN commit r23012.
2019-09-29 06:58:03 +00:00
wraitii 81e084d616 Remove specific macedonian workshop code and template usage now that all civilisations ahve them.
All civilisations were given workships in da973b81f1.

Patch By: Nescio
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D2323
This was SVN commit r23011.
2019-09-29 06:42:02 +00:00
Stan 5d88955e14 Fix sounds fileendings and add distanceless and owner only tags to fit D944
This was SVN commit r23001.
2019-09-26 14:45:28 +00:00
Stan 69381e0489 Fix broken legionnaries introduced in 35dcdb263f
This was SVN commit r23000.
2019-09-26 14:42:13 +00:00
elexis b247e8b830 Chat filter to allow players to only read network or game notifications during the match.
Differential Revision: https://code.wildfiregames.com/D1605
This was SVN commit r22999.
2019-09-26 13:03:40 +00:00
elexis 23543383e3 Display observercount in the lobby gamelist.
Differential Revision: https://code.wildfiregames.com/D284
Based on patch by: fpre, Krinkle
This was SVN commit r22997.
2019-09-26 11:48:33 +00:00
elexis 0817d5d715 Always inform clients why the server chose to disconnect them, i.e. stop using NDR_UNKNOWN as a disconnect reason when the reason is known and add a LOGWARNING for future authors.
Differential Revision: https://code.wildfiregames.com/D1561
Tested on: clang 8.0.1, Jenkins

This was SVN commit r22996.
2019-09-26 11:36:03 +00:00
elexis 767c7f5856 Fix alphabetic template order using templatessorter.sh.
This was SVN commit r22995.
2019-09-26 10:07:36 +00:00
elexis 3521218df5 Fix lineendings.
This was SVN commit r22994.
2019-09-26 09:46:01 +00:00
elexis 35408e7e7e Save replay metadata for non-visual games too, refs #4577, #5548, fixes #5565.
Remove gui/common/ hack by going through the GUIInterface and fragile
EndGame() hardcoding by saving if and only if a ReplayLogger exists
following 7470e88624, refs #4020.
Refs D2211, D2213.

Differential Revision: https://code.wildfiregames.com/D2197
Based on patch by: irishninja
Tested on: clang 8.0.1, Jenkins

This was SVN commit r22991.
2019-09-25 10:06:12 +00:00
Stan 9425572bb1 Fix projectiles fired from sky / missing cast in Vector3D in b1659e7618. Removes a trailing .0
Reported by: @faction02
Reviewed by: @wraitii
Differential Revision: https://code.wildfiregames.com/D2326
This was SVN commit r22990.
2019-09-24 14:21:06 +00:00
Stan f06907da02 Fix blood sometimes appearing below cattle, because of a variant having a frequency set to 1. It should only be switched to by code.
This was SVN commit r22987.
2019-09-23 13:58:02 +00:00
Stan ec040fba08 New cattle sounds by @Samulis
Sound repartition suggested by @Samulis

Also reduce the max range of the bull as it looks really weird. They now
cross horns.

Thread:
https://wildfiregames.com/forum/index.php?/topic/26396-cattle-sounds/&tab=comments#comment-385360

This was SVN commit r22986.
2019-09-23 13:57:16 +00:00
elexis aefb75090c Rewrite Savegame page to use class syntax, enabled by bdc6a7d3fd / D2290, refs #5387.
Uses simple event subscription to make the classes independent of each
other.
Removes all globals except two variables and one function (that may be
avoided in the future too).
Allows the reader to focus on the relevant aspect of the implementation
(encapsulation, information hiding) and makes implementation more
modifiable and extensible.

Differential Revision: https://code.wildfiregames.com/D2310
This was SVN commit r22985.
2019-09-23 10:06:29 +00:00
wraitii da973b81f1 Enable workshops for all civilisations.
Also in this patch:
- reorder workshop training queue to ram, boltshooters, stonethrowers,
siege towers
- remove all siege units and technologies from all fortresses
- list champions before heroes in the production queues of fortresses
- update tooltips of fortresses accordingly.

Patch By: Nescio
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D1761
This was SVN commit r22984.
2019-09-23 08:34:54 +00:00
wraitii 47671d1987 Fix mistakes in 74897ebc2d
Some files were not completely changed.

This was SVN commit r22983.
2019-09-23 08:17:25 +00:00
wraitii 74897ebc2d Move palisades from other/ to structures/
Following D1881 which introduced a common parent, palisade templates can
be moved:
 - other/palisades_rocks_* to structures/palisades_*
 - other/palisades_*_spike* to structures/palisades_spike*

Map scripts were updated accordingly.

Patch By: Nescio
Reviewed By: wraitii
Refs #4770

Differential Revision: https://code.wildfiregames.com/D2234
This was SVN commit r22982.
2019-09-23 07:48:00 +00:00
wraitii d69da4c948 Fix undefined resource in PetraAI diplomacy manager after D1846/077c4f2576.
Patch By: Freagarach
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D2319
This was SVN commit r22980.
2019-09-23 06:46:40 +00:00
LordGood 83b7dac3f4 Split ptolemaic house actors into old and new files
This was SVN commit r22977.
2019-09-23 00:58:02 +00:00
Alexandermb cc494ec5df Celtic iron Sheath
This was SVN commit r22973.
2019-09-22 15:24:01 +00:00
Alexandermb 979150283d Enable greaves for some greek cavalry.
This was SVN commit r22972.
2019-09-22 15:23:18 +00:00
wraitii 987b36d53c Do not send Reflection and Refraction matrices to shader when not needed
Patch By: Angen
Reviewed By: wraitii
Differential Revision: https://code.wildfiregames.com/D1954
This was SVN commit r22971.
2019-09-22 14:56:22 +00:00
wraitii 077c4f2576 Adds a "properties"-property to resources and let mods be able to prevent resources from being bartered, traded and/or tributed.
Patch By: Freagarach
Comments By: elexis, Stan`, Nescio
Reviewed By: wraitii, Angen
Fixes #4370

Differential Revision: https://code.wildfiregames.com/D1846
This was SVN commit r22970.
2019-09-22 14:53:47 +00:00
bb e771ff40ea Use arrow functions in AI filters
Comments By: elexis, wraitii
Differential Revision: https://code.wildfiregames.com/D1883
This was SVN commit r22968.
2019-09-22 14:01:49 +00:00
wraitii db4637f73a Fix issue with D274/e16c4c4800 - modifications are a list of effects, not a single effect
D274 introduced a silent change that modifications would only have one
effect per value-path, which was an unnoticed regression.

Detected following the comments from SonarQube reported here:
e16c4c4800#inline-4214

Comments By: elexis
Differential Revision: https://code.wildfiregames.com/D2315
This was SVN commit r22967.
2019-09-22 12:05:04 +00:00
elexis 31a2dd294e Fix top panel being hidden during pause mode following 702cdbf0c7 / D2292 reported by Freagarach, ValihrAnt, Krinkle et al.
Remove the false misleading default.cfg z value that is always
overwritten by CGUI::Xeromyces_ReadObject, both introduced in
e21ebb37f5.
Remove multiline property since its redundant with the default C++
boolean, making the default style more agnostic of final GUI Object
classes.

Close advanced locale dialog correctly upon cancel following 86c151ebaa
/ D1684.
Don't switch the background image when closing the credits dialog
following bcf2c75513, refs #3744.

This was SVN commit r22966.
2019-09-22 10:51:08 +00:00