Commit Graph
100 Commits
Author SHA1 Message Date
DjWarmonger 9e07b5c5de Merge pull request #4954 from vcmi/curved_roads
Curved roads
2024-12-04 07:54:41 +01:00
DjWarmongerandIvan Savenko 82501dc553 Update lib/rmg/RmgPath.h
Co-authored-by: Ivan Savenko <saven.ivan@gmail.com>
2024-12-02 13:15:27 +01:00
Tomasz Zieliński b3b525d282 Better docs 2024-11-25 17:34:13 +01:00
Tomasz Zieliński 9e6cd9b94d Add "special" property for secondary skills 2024-11-23 12:37:30 +01:00
Tomasz Zieliński 6bdb10444f New type of zone - "sealed" 2024-11-23 12:19:25 +01:00
Tomasz Zieliński e5b151991b Fix duplicated offroad connections 2024-11-23 10:43:14 +01:00
Tomasz Zieliński c8e3458dfb Handle connections by unique id 2024-11-23 10:07:34 +01:00
Tomasz Zieliński c8fcc6ffca Fix broken roads to portals or gates by the lower zone border 2024-11-23 08:25:55 +01:00
Tomasz Zieliński f95bb58433 Implement curved paths for all road node objects 2024-11-22 09:28:37 +01:00
Tomasz Zieliński 9277c5f4e7 Fixed main issue with custom path routing 2024-11-21 22:30:21 +01:00
Tomasz Zieliński 855ab0f0e9 First attempt to enforce curved paths 2024-11-21 22:00:24 +01:00
DjWarmonger 59a15c5ff0 Merge pull request #4790 from kodobi/bugfix/fix-incorrect-battlefield-while-attacking-town-without-fort
Fix battle setup for sieges without forts
2024-10-28 08:38:14 +01:00
DjWarmonger 7ddbf492f0 Merge pull request #4789 from Laserlicht/last_map
fix remembering last map
2024-10-17 12:18:52 +02:00
DjWarmonger ffed9480e0 Merge pull request #4483 from vcmi/custom_objects_per_zone
Customizable objects in RMG zones
2024-10-01 14:58:35 +02:00
Tomasz Zieliński a4392fce36 Allow mod name in camelCase 2024-09-23 20:34:26 +02:00
Tomasz Zieliński 54ba4d50d6 Allow to ban spell scrolls 2024-09-23 17:09:46 +02:00
Tomasz Zieliński 79c4d7d51f Merge remote-tracking branch 'origin/develop' into custom_objects_per_zone 2024-09-21 14:20:56 +02:00
Tomasz Zieliński dbee822454 Update json schema 2024-09-21 13:52:25 +02:00
Tomasz Zieliński 55e2a99154 Default object limit to unlimited 2024-09-21 13:36:51 +02:00
Tomasz Zieliński ec603f46ae - Handle new configurable banks
- Handle "all" object banned option
2024-09-21 13:36:28 +02:00
Tomasz Zieliński 54e47c20b0 Add docs for new options 2024-09-14 13:20:24 +02:00
Tomasz Zieliński 2fe54504ab Merge remote-tracking branch 'origin/develop' into custom_objects_per_zone
# Conflicts:
#	lib/rmg/CRmgTemplate.cpp
2024-09-14 10:19:22 +02:00
Tomasz Zieliński 4d4538a48d Use CompoundMapObjectID in ObjectInfo 2024-09-14 09:23:28 +02:00
Tomasz Zieliński 9591ce1ab4 Move CompoundMapObjectID to separate file 2024-09-14 08:55:28 +02:00
Tomasz Zieliński e89649ec1c Move ObjectConfig to separate file 2024-09-14 08:41:00 +02:00
Tomasz Zieliński 4b263b6d41 Add specific objects and configure their frequency / value 2024-09-12 21:04:27 +02:00
Tomasz Zieliński bfe75a6a02 It is now possible to copy object settings between zones 2024-08-24 20:18:36 +02:00
Tomasz Zieliński 64fc2e5ed0 Move ObjectConfig to ObjectInfo.cpp. Preliminary version of banning object categories. 2024-08-24 15:12:22 +02:00
Tomasz Zieliński 85ee859b6e First version that works - banning objects is possible 2024-08-21 20:16:41 +02:00
Tomasz Zieliński 4413f03276 Cleanup 2024-07-30 08:50:33 +02:00
Tomasz Zieliński a7fa3c7d8b Ignore new connections for zone placement. 2024-07-30 05:07:05 +02:00
Tomasz Zieliński d10711928f Allow connecting zone to itself (always through the portal) 2024-07-29 21:56:07 +02:00
Tomasz Zieliński f4f416eb16 Add RMG option "forcePortal" 2024-07-29 20:36:23 +02:00
Tomasz Zieliński 5eabadd7db Use vstd 2024-07-09 06:50:00 +02:00
Tomasz Zieliński bfa93be765 Limit predicted damage / loses to actual stack health 2024-07-09 06:39:41 +02:00
Tomasz Zieliński 5b99974d31 Route roads even further away from zone boundary 2024-07-04 14:22:22 +02:00
Tomasz Zieliński d7a4ea9f32 Draw random artifact as an atomic operation 2024-06-24 20:06:50 +02:00
Tomasz Zieliński 6d9f83a376 Protect lakes accessed from both zones with lock 2024-06-17 19:00:37 +02:00
DjWarmonger 7d56541495 Merge pull request #4076 from Alexander-Wilms/patch-1
ChangeLog.md: Fix bullet points
2024-06-03 14:43:00 +02:00
Tomasz Zieliński 098c88eff4 Update serialization version 2024-05-29 20:52:59 +02:00
Tomasz Zieliński 6e3d9302c0 Update docs 2024-05-29 20:28:47 +02:00
Tomasz Zieliński 3ac603767d Basic config for regular unit placement in Black Tower 2024-05-29 20:20:33 +02:00
Tomasz Zieliński e9b5441b3d Add first version of documentation for RMG algorithms 2024-05-13 17:48:10 +02:00
DjWarmonger 560d53a07c Merge pull request #3960 from vcmi/fix-3941
#3941 - recruit hero when no heroes
2024-05-13 11:30:11 +02:00
Tomasz Zieliński 5a979e42e2 Satisfy SonarCloud 2024-05-10 21:14:15 +02:00
Tomasz Zieliński ee27a79aa1 Sonarcloud issues 2024-05-10 17:07:09 +02:00
Tomasz Zieliński 21bb61fc4d Unused variable 2024-05-10 15:56:49 +02:00
Tomasz Zieliński 7cb17afe7a Fix diagonal paths if we need to use them 2024-05-10 15:53:54 +02:00
Tomasz Zieliński a6fa6855dc Route roads away from zone borders 2024-05-10 15:35:33 +02:00
DjWarmonger 8e04608dd2 Merge pull request #3913 from dydzio0614/polish-qt-translations
Update polish translations
2024-05-09 07:49:56 +02:00
Tomasz Zieliński 2297e09fcb Clean up excessive operations and logs 2024-05-08 15:51:42 +02:00
Tomasz Zieliński 37d062f1eb Fix incorrect comparison operator 2024-05-08 15:09:11 +02:00
Tomasz Zieliński eece03d24f Fix for centering the tiles, extra logs 2024-05-08 13:16:26 +02:00
Tomasz Zieliński ec20e9e907 Shift center of tiling to center of the map 2024-05-08 12:16:42 +02:00
Tomasz Zieliński 9763ea2ecb Style 2024-05-07 09:14:16 +02:00
DjWarmonger 4949b98ed3 Merge pull request #3759 from Laserlicht/bio
Let's try this
2024-05-07 09:05:14 +02:00
Tomasz Zieliński dd55188b77 Option to define surface or underground level for obstacle set 2024-05-07 07:15:00 +02:00
DjWarmonger 0e36b9651a Merge pull request #3885 from ToRRent1812/patch-2
Updated polish.json
2024-05-05 13:15:22 +02:00
DjWarmonger 1d28f25575 Merge pull request #3869 from vcmi/road_routing
Do not place guards near roads
2024-05-01 18:16:51 +02:00
Tomasz Zieliński 20176521eb Actually revert this change, it's not better. 2024-05-01 15:27:19 +02:00
Tomasz Zieliński 4d13c3b94f Final fixes and tweaks 2024-05-01 13:58:24 +02:00
Tomasz Zieliński 186b6629c7 Do not hide roads behind objects 2024-05-01 12:15:07 +02:00
Tomasz Zieliński d5b6e31223 Fix guard check 2024-05-01 11:38:44 +02:00
Tomasz Zieliński 5315beec8c Fixes for guard condition 2024-05-01 11:34:34 +02:00
Tomasz Zieliński acab1d38cf Build fix 2024-05-01 10:45:01 +02:00
Tomasz Zieliński 7f3cf607a7 Allow guards not stronger than 1/3 max value next to roads 2024-05-01 10:24:21 +02:00
Tomasz Zieliński 67447acd0e First implementation that works 2024-05-01 09:16:10 +02:00
Tomasz Zieliński 4d948e8c6d Also, this 2024-05-01 07:58:47 +02:00
Tomasz Zieliński 9301bb9af5 Do not place guardes treasure on roads. Do not place guards next to roads. 2024-05-01 07:58:17 +02:00
DjWarmonger 86bf4f98af Merge pull request #3846 from vcmi/triple_resource_window
Handle triple resources in creature recruitment window
2024-04-29 12:23:10 +02:00
Tomasz Zieliński 34d8afaa67 Even better alignment 2024-04-28 12:40:55 +02:00
Tomasz Zieliński 4f7a8d83cc Tweak text alignment 2024-04-28 10:29:22 +02:00
Tomasz Zieliński f28438902a Fit 3 resources in creature recruitmnet window 2024-04-28 07:54:19 +02:00
Tomasz Zieliński 914cea5877 Tweaks 2024-04-26 19:33:26 +02:00
Tomasz Zieliński 04691c851f Fixes issue of bonuses not correctly removed 2024-04-26 19:22:20 +02:00
Tomasz Zieliński 4e9e006cdb Add missing docs 2024-04-20 17:33:12 +02:00
Tomasz Zieliński d22f42d58a Tweak numbers to ensure tiling covers entire map 2024-04-14 07:25:52 +02:00
DjWarmonger 0808a8b36f Merge pull request #3714 from vcmi/biome_system
Biome system implementation
2024-04-13 21:32:13 +02:00
Tomasz Zieliński 9305f360d1 Actually, lava will only have 3 obstacle sets without mods 2024-04-13 20:56:05 +02:00
Tomasz Zieliński 50ae067a60 Build fix 2024-04-13 19:33:47 +02:00
Tomasz Zieliński f491f10d81 Final tweaks 2024-04-13 19:21:01 +02:00
Tomasz Zieliński c13ef0a4bd Remove special overlays 2024-04-13 15:36:20 +02:00
Tomasz Zieliński e28fd869aa Remove empty obstacle sets, just in case. 2024-04-13 14:53:00 +02:00
Tomasz Zieliński f95f6de46d Remove thsi file 2024-04-12 14:55:30 +02:00
Tomasz Zieliński a7d0f0626a Docs & final touches 2024-04-12 14:53:07 +02:00
Tomasz Zieliński be9813b4fb Remove temporary workaround 2024-04-12 11:51:15 +02:00
Tomasz Zieliński 4fa7f0e93d Also allow filtering biomes by faction(s) 2024-04-12 10:25:13 +02:00
Tomasz Zieliński 6899acc1d7 Fix alignments check 2024-04-12 09:38:45 +02:00
Tomasz Zieliński 1f81ddbac4 Fixes in object loading 2024-04-12 06:29:01 +02:00
Tomasz Zieliński 68bb36f7c7 Compile fixes 2024-04-11 18:38:50 +02:00
Tomasz Zieliński a356fdaf2a Allow filtering obstacles by faction aligmnment 2024-04-11 18:10:14 +02:00
Tomasz Zieliński 6c9d18a85c Allow multiple terrains per biome 2024-04-10 09:40:12 +02:00
Tomasz Zieliński 5c4d1703ca Fix for loading templates from other mods 2024-04-09 22:09:03 +02:00
Tomasz Zieliński 8d9489c368 Fix conflicts with templates loaded from mods 2024-04-09 17:29:33 +02:00
Tomasz Zieliński bf2c9237b2 Register templates for new objects from mods 2024-04-08 16:39:41 +02:00
Tomasz Zieliński c7149103ce Compile fix 2024-04-08 15:24:52 +02:00
Tomasz Zieliński d9a598ad9c Merge remote-tracking branch 'origin/develop' into biome_system 2024-04-08 15:01:17 +02:00
Tomasz Zieliński c9f8742334 Remove some unused templates, hand-tweak existing ones 2024-04-08 14:56:48 +02:00
Tomasz Zieliński 224e971c4b Unused variable 2024-04-08 14:56:21 +02:00
Tomasz Zieliński 3e3959d360 Move all OH3 objects and obstacle sets to a mod 2024-04-08 12:50:41 +02:00