Resource icon

bal's Gameplay Mods (reduced supply, dynamic lines etc.) latest: Engineer boost) v 2

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
So I was testing a separate naval supply cap modmod when the issue of naval units in lakes was brought up. It took only a few minutes to modify the code to prevent lake navies, and it turned to be more useful than a separate naval cap (how the turn tables!), so here it is.

No Navy by Lake Cities
Download here
Prevents lake cities from producing naval units. By default, it blocks all naval units (including workboats&cargo), but can be easily customized to disallow just melee&submarines (or any combat class you like), instructions are in Buildings.sql. It works by creating a new Dock building which is granted to all coastal cities upon founding. Naval units are locked behind the Dock, hence lake cities cannot produce them.

Separate Naval Supply
Download here (Still requires No Navy by Lake Cities, even if that functionality is in VP after 2.5)
- Capitals, Lighthouses and each coastal city provide 1 naval supply. Great Admirals' ability (voyage of discovery, was it?) provides 2
- Harbors provide 1 supply for every 10 citizens, Seaports for every 5 citizens. Venetian Arsenale provides 1 for every 15 citizens (in addition to +3 flat supply).
- Naval wonders provide naval supply:
Great Cothon (Carthage NW): 2 / Great Lighthouse, Colossus: 2 / Piazza San Marco & Venetian Arsenale: 3 / Grand Canal: 4 . Venetian NWs have their usual (land) supply bonus reduced.

Use this Compatibility patch when using with Reduced Unit Supply
Haven't specifically tested but both should work with 4UC and Enhanced Naval Warfare.
Credits: Kwadjh for Dock icon: https://forums.civfanatics.com/resources/buildings-units-icons.18591/

Weaker Cities
Download here
- Buildings provide ~25% less Defense and ~50% less HP to Cities.
- Palace bonus lowered to 200 (default 300)

The following are included in the sql but disabled (commented out), you can enable them by removing the dashes before UPDATE .
- Default city strength lowered to 400 (default 500)
- Hill bonus for cities lowered to 100 (default 200)

Dynamic Battle Lines
Download here
- All melee units receive a tweaked version of Heavy Charge. Victorious melee units will push back the defending units, unless they are stationed in a city, fort or citadel. Units unable to retreat take 25 damage. (Polish Winged Hussar gains Blitz to compensate)
- Civilian units retreat with military units to prevent easy captures.
- Units suffer 5 attrition damage in turns they move in hostile lands. Recon, submarine and barbarian units are immune. Can be disabled by removing Attrition.sql

Unit Production AI Improvements
Download here

- Introduces soft checks to AI army composition to help it create more balanced armies. This is done by introducing new AIMilitaryStrategies, Flavors and UNITAIs for each unit type. When an AI player has too few of a certain unit type, it gets a bonus to prioritize the production of that type, and vice versa when it has too much. For a long description on what it does and why, please refer to: https://forums.civfanatics.com/threads/unit-production-ai-tweaks-experimental.676462/
 
Last edited:

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
Reduced Military Supply
Download here
Extensive changes to reduce supply cap throughout the game.
Spoiler Changes :

SupplyLower.sql:
- Base SupplyFromPopulation is lowered by 60% for all difficulties (from 10% to 4%)
- SupplyFromPopulation from common buildings lowered by 60%, from wonders (national&global) by 40%.
- Global Supply From Population from Wonders lowered by 40% (currently Red Fort only, 5% to 3%)
- Flat supply from Brandenburg lowered by 2 (10 to 8), from other wonders (that provided more than 3) lowered by 1.
- SupplyFromPopulation from Policies lowered by 40%

- Removed Barracks from Pioneers&Colonists, Conquistador keeps Barracks but loses Armory.

- Military units require 50% more production and strategic resources are tweaked in accordance.
Double strategic resource costs.

- Buildings provide ~25% less Defense and ~50% less HP to Cities, doesn't affect Palace.

- Land units blockade undefended adjacent tiles

- (Option: Lower the defense bonus from Citadels and Forts by 20% (to 80 and 40), and Jungles, Forests and relevant UIs by 5 (to 20) / disabled by default)

Formations.xml:
- Updates Formations table so that AI needs fewer units to form an army group.[/spoiler

NoFlatSupply.sql (disabled by default):
-
Barrack line buildings and Lighthouses provide SupplyFromPopulation bonuses instead of flat +1, can be used to balance Tall vs. Wide. (uncomment rows 1 to 25 to use)
- (Option: Remove the free unit supply given by each city to further nerf Wide / disabled by default, uncomment to use)

Be sure to download the compatibility patch when using Reduced Supply Cap and Separate Naval Supply together!

Late-Game Supply Cap Reduction
Download here
Minor changes to reduce the late-game supply cap bump.
- Supply From Population bonuses of Arsenal, Seaport and Military Base are reduced to 10% (same as Walls and Castles), Hospital's supply bonus is removed.

Miscellaneous Tweaks
Download here
Various tweaks to reduce micro
Spoiler Changes :

More Movement (Movement.sql):
Two options:
- Units starting their turn in friendly territory gain +1 movement for the turn. Can be a bit iffy at times, e.g. it takes two turns for the bonus to apply in the lands of a newly founded city.
- (Option: +1 movement for all units, all the time / disabled by default)

Increased Minimum City Settle Distance (CityDistance.sql):
- Increases minimum city distance by one (4 to 5).

Purchase Civilians in Puppets (PuppetCivilianPurchase.sql):
- Allows the purchase of Workers and Workboats in puppet cities, through HungryForFoods' Faith Purchases in Puppets modmod.

Slightly Faster Animations (FasterAnimations.sql):
- Work in progress, currently only makes the basic movement animation and the annoying refacing animation before combat (most obvious with ranged units) faster. I'll eventually try to edit animation files to make them faster, SQL only comes this far.

Colonies (Colonies.sql)
- Pioneers and Colonists found puppet cities that can be annexed at a later data.I may add some depth to this as long as it's AI friendly. Will probably make annexation locked behind a policy or tech.


Simplified Promotions
Download here

Biggest and Noobest of all. Replaces VP's promotion with something similar to Ranks or Veteran bonuses found in other games, with linear bonuses.
Spoiler :
The goal is to keep low and high level units mechanically the same (so no new abilities or specializations, e.g. +1 attack from logistics), but still have a strength difference. Currently there are 6 ranks, accounting for 3 from common buildings and 3 from uniques&experience (may increase this to 8). All units (except Scouts) have a single promotion line that provides bonuses to the "core abilities" of a unit, with the same bonuses given at every level. "Core abilities" is of course subjective, I tried to capture the main role of a unit and use the bonuses provided by the VP promotion line with the most general application (decided by going through the forum basically).

Here are the new Rank promotions:

Melee Units: +10% CS, +10% vs Cities, +10% Ranged Defense per level.
Mounted Melee/Armor: +10% CS, +10% in open terrain, +5% Flank modifier per level.
Ranged Units: +15% RCS, +5% vs Units Above 50 HP.
Skirmishers: +15% RCS, +5% vs Units Below 50 HP.
Siege: +10% RCS, +15% vs Cities per level.
Helicopters: +10% RCS, +10% vs Armor per level.
Naval Melee: +10% CS, +10 HP and +1 boarded inflicted per level.
Naval Ranged: +15% vs Cities, +10% vs Land and Naval units per level.
Carrier: +1 capacity, +10% Defense for first three levels. +15% Defense for last three.
Submarines: +15% RCS, +5% CS in Outside Friendly Lands per level.
Fighters: +15% intercept change, +15% CS in interception and air sweeps, +15% vs Air units per level.
Bombers: +25% vs Cities, +10% vs Land and Naval units, +5% Evasion chance and -5% damage from inteception per level.
AntiAir: +10% inteception chance, +15% vs Air units per level.

- Scout line loses medic promotions, keeps the other two lines.
- Default unit promotions remain, so this doesn't touch the UUs. All VP promotions are set to CannotBeChosen.

PromotionOptions.sql:
-
Here you can enable all or one of Stalker's suggestions for even simpler promotions or increase the number of ranks to 8.

Further thoughts:
I'd like to simplify things further, especially the air promotions, which are a mess and hard to balance while keeping default proms. I don't think these make the AI performance any worse, may even help it since now it's impossible to pick suboptimal promotions.
There's the obvious issue of the removal of Medic promotions. I'm working on a Medic unit line, that'll act as civilian support units, I'll release it when/if I can make the AI properly use them. I'm not sure how good was the AI at using Medic promotions before, probably not good as human players, so this may be another plus for the AI. In the meantime, I should probably nerf healing promotions (like honor's) slightly.

Why this? In the unlikely event that anyone wonders
I know this is partly a "get good" issue, but I (and apparently some others) find the combat in Civ5 simply unfun. VP makes warfare an integral part of the game and the AI much better at it, both are great achievements. Yet in the absence of necessary UI/QoL features, this, unfortunately, brings forward the issues with warfare in Civ5 and it's just hard to get good at an unengaging mechanic. These tweaks helped me to get better, and even enjoy warfare (got my first Domination victory!), so they may serve as a stepping stone for beginners.


GPTI Parity or Manufactory&Engineer Boost
Download here
Boosts manufactory and engineer specialist yields so they scale better, with some other tweaks to Towns and Academies.
Spoiler :

Five modular tweaks, delete the sql files of the the unwanted tweaks:
- Era scaling for Great Engineer's Hurry and Great Merchant's Trade abilities, Trade is also affected by number of Towns. (GPEraScaling.sql)
- Manufactory benefits from Mine & Quarry boosts, so it's always better than them (Manufactory.sql)
- Manufactory benefits from belief boosts to Mine & Quarry (ManufactoryBeliefs.sql)
- Better scaling for Engineer specialists: Forge gives +2 prod, also gains +2 prod in Industrialization and +1 prod in Ballistics. (EngineerSpecialist.sql)
- Town benefits from all village bonuses (Towns.sql)
- Academy does not remove features (Academy.sql)


Custom Farm Resource Placement
Download here
Custom changes to AssignStartPlots that differentiates farm resource placement a bit.
Changes:
Wheat: Cannot spawn near jungles
Maize: Cannot spawn on or be adjacent to desert or tundra. Can spawn only in temperate latitudes. Can spawn on grass and on freshwater, coastal or jungle-adjacent plains.
Rice: Cannot spawn on or be adjacent to desert or tundra. Can spawn in subtropical latitudes on coastal, freshwater or marsh-adjacent grass. Can spawn in temperate marshes on grass or plains.
 
Last edited:

Stalker0

Baller Magnus
Joined
Dec 31, 2005
Messages
9,243
Melee Units: +10% CS, +10% vs Cities, +10% Ranged Defense per level.
Mounted Melee/Armor: +10% CS, +10% in open terrain, +5% Flank modifier per level.
Ranged Units: +15% RCS, +5% in Friendly lands.
Skirmishers: +15% RCS, +5% Outside Friendly lands.
Siege: +10% RCS, +15% vs Cities per level.
Helicopters: +10% RCS, +10% vs Armor per level.
Naval Melee: +10% CS, +10 HP and +1 boarded inflicted per level.
Naval Ranged: +15% vs Cities, +10% vs Land and Naval units per level.
Carrier: +1 capacity, +10% Defense for first three levels. +15% Defense for last three.
Submarines: +15% RCS, +5% CS in Outside Friendly Lands per level.
Fighters: +15% intercept change, +15% CS in interception and air sweeps, +15% vs Air units per level.
Bombers: +25% vs Cities, +10% vs Land and Naval units, +5% Evasion chance and -5% damage from inteception per level.
AntiAir: +10% inteception chance, +15% vs Air units per level.

I think the concept makes sense, and funny enough I would consider this useful for both war beginnings and war experts.....for experts that are used to just "winning" at war all the time, taking away the power magnifying promotions suddenly makes warfare a good point more challenging.

I do think that we can make this even simpler, as I think a lot of the conditional bonuses aren't really needed in your model. I also included the ones I made adjustments on. See what you think.

Mounted Melee/Armor: +10% CS, +10% Flank modifier per level.
Ranged Units: +15% RCS
Skirmishers: +15% RCS
Helicopters: +20% RCS
Naval Melee: +15% CS, +10 HP
Carrier: +1 capacity, +15% defense
Submarines: +30% RCS (seriously, subs need this boost if you're not giving them wolfpack)
Fighters: +30% intercept change, +15% CS in interception and air sweeps, +15% vs Air units per level. (gave them much more interception....else they will be useful at the role).
Bombers: +25% vs Cities, +10% vs Land and Naval units, -10% damage from interception
AntiAir: +20% interception chance, +15% vs Air units per level. (again more interception was needed to make this remotely competent at its job).
 

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
I hoped to receive feedback, but I didn't expect to receive the best feedback! Thank you so much for taking the time.

I think the concept makes sense, and funny enough I would consider this useful for both war beginnings and war experts.....for experts that are used to just "winning" at war all the time, taking away the power magnifying promotions suddenly makes warfare a good point more challenging

Good point! It should make it harder to rely on high-level promotion synergies to counter AI unit spam.

I do think that we can make this even simpler, as I think a lot of the conditional bonuses aren't really needed in your model. I also included the ones I made adjustments on. See what you think.

Mounted Melee/Armor: +10% CS, +10% Flank modifier per level.
Ranged Units: +15% RCS
Skirmishers: +15% RCS
Helicopters: +20% RCS
Naval Melee: +15% CS, +10 HP
Carrier: +1 capacity, +15% defense
Submarines: +30% RCS (seriously, subs need this boost if you're not giving them wolfpack)
Fighters: +30% intercept change, +15% CS in interception and air sweeps, +15% vs Air units per level. (gave them much more interception....else they will be useful at the role).
Bombers: +25% vs Cities, +10% vs Land and Naval units, -10% damage from interception
AntiAir: +20% interception chance, +15% vs Air units per level. (again more interception was needed to make this remotely competent at its job).

Honestly, I like all of them! I think I tried to keep some flavor of VP promotions and give at least two modifiers for each, but it doesn't always work well, especially with the Ranged units. I had in my mind to make a separate, even simpler version with just CS & RCS increases, which would probably destroy unit functionality and balance, and the current version is crowded with unnecessary bonuses, so your suggestions look great!
I only have minor reservations about AntiAir promotions though. In VP AA interception is capped at 60%, Anti-Aircraft Gun starts with 30% interception and can gain +30% more, for SAM it's 45%/15% (and +100% vs Air), after that unique AA promotions end and they have to go through Shock&Drill. They still get their default interception promotions with this mod, while 10% chance is ineffective by itself, it keeps us close to the cap for AA, I now realize SAM can still go over the cap though. With 6 ranks both go over the cap which was a gross oversight on my part. So I'm leaning towards 10% interception, 15% vs Air for the first three levels, 20% vs Air for the last three which leaves us with 60% interception for AA, 75% interception for SAM, and 105% vs Air for both, getting reasonably close to VP. Or we can frontload the vs Air bonuses with 33%, and give 10 CS at the last three levels.
I'll look into numbers a bit closer but I think it was similar for Fighters too, they start with 33% interception and cap at 100% with promotions, so I tried to approximate this with 6 ranks. The same goes for the Carriers, in VP they get a maximum of +3 cargo, so I had to separate the first three ranks from the last three. Differentiating between levels also bothers me, but I don't see any way around it if we're following VP caps.
 

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
I'll probably have two versions then, no need to delete the old one since it's mostly done (I think I'll go over AA&Bombers though).
I prefer your original version than @Stalker0 's, no offence. These are both simple, but yours @balparmak are more interesting and diverse.
 

Boombar

Chieftain
Joined
Aug 19, 2016
Messages
84
Slightly Faster Animations (FasterAnimations.sql):
- Work in progress, currently only makes the basic movement animation and the annoying refacing animation before combat (most obvious with ranged units) faster. I'll eventually try to edit animation files to make them faster, SQL only comes this far.
This is what i am hyped for.
I've always played with animations off which makes it difficult to follow whats going on when big war erupts.
Make them fast like in civ 6 PLEASE
 
Last edited:

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
Oh did civ6 have fast animations, I thought it was mostly the same with Civ5, either painfully slow or instant with quick combat. It's on my list but I haven't dealt with animation files themselves before, so I wouldn't expect any fixes soon.
 

usadefcon1

Prince
Joined
Sep 24, 2016
Messages
317
I conquered a city state costal city and it doesn't have a dock. I'll keep testing to see if this was a fluke.

Edit: Confirmed in IGE, no docks for any city state.
 
Last edited:

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
I conquered a city state costal city and it doesn't have a dock. I'll keep testing to see if this was a fluke.

Edit: Confirmed in IGE, no docks for any city state.

Good find, thanks! It seems there's something blocking city-state settlers from having any additional buildings, this could be buried deep in the code. So for now I'm uploading a workaround, v2 allows the coastal city-states to build Docks. In the rare case that they haven't built it themselves, you can build it in captured city-states. It still takes a turn, but it has 0 production cost so you can overflow all your production to the next item. Sadly this may not be save-game compatible.

edit: Yep, the DLL blocks that. Since city-states build the dock in their first turn in my testing, I don't think there's any need to fiddle with the DLL.
 
Last edited:

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
I've only used SupplyLower.sql, please check out my findings here. amazing mod, def works, performace boost is massive, however maybe changes too massive?

https://forums.civfanatics.com/threads/pineappledan-tweaks-for-vp.668932/page-14#post-16202378

Hi, thanks a lot for the feedback! Nice to see that this also improves the performance. I'm considering upping things from 0.4 to 0.5 (rounded), that probably still be a bit massive though. I'm still a low-level player (just went up to King, yay me) so it isn't surprising to see this performing poorly on Deity. I suspected there was something weird with how protection pledges/diplomacy interact with the supply cap, I'll take a deep look into that following your feedback. In the meantime, maybe you can try settings like 0.6 for buildings and 0.8 wonders, and see how they affect the gameplay.
 
Last edited:

azum4roll

Deity
Joined
Jul 17, 2018
Messages
2,045
Note that the promotion mod makes that melee ships can never see submarines (unless they attack of course).
 

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
Hm I tried now, Subs get revealed if you're adjacent to them. Are they always visible to Destroyers in base VP, I can't remember.

edit: Oh got it, there's a See Submarines prom, Promotion Tree didn't show that for reason and Submarine unit description is outdated it seems. So yeah, promotion submod also disables See Subs prom. I could give that to Destroyers&Miss.Cruisers by default, but that would probably be OP, I need to think a bit more about this.
 
Last edited:

Vaya

Warlord
Joined
Jan 28, 2011
Messages
101
Location
Slovakia, Central Europe
Lake Cities Don't Produce (Melee) Navy:
Prevents lake cities from producing naval units. By default, it blocks all naval units (including workboats&cargo), but can be easily customized to disallow just melee&submarines (or any combat class you like), instructions are in Buildings.sql. It works by creating a new Dock building which is granted to all coastal cities upon founding. Naval units are locked behind the Dock, hence lake cities cannot produce them. I've only tested this with IGE so far, but it's pretty basic and unlikely to break anything, still do not add this to ongoing games.

Does this actually work? Because I have a dock built in my one-lake city and obviously it is considered coastal because I can build there lighthouse too(and naval units). As far as I know last few versions of Vox Populi consider all lake cities coastal. But I am using also other mods - "Better Lakes for Vox Populi (v 2.1)" and "More Wonders..", maybe one of them conflict with this mod.
 

Attachments

  • Lake city.jpg
    Lake city.jpg
    795.2 KB · Views: 49

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
It works fine for me, I'll check if there's any incompatibility issues with Better Lakes though.

edit: So somehow this got borked, No Navy in Lakes currently doesn't work. Though unlikely, maybe I broke something when pushing v2. weird
 
Last edited:

Vaya

Warlord
Joined
Jan 28, 2011
Messages
101
Location
Slovakia, Central Europe
It does work now, thank you. And I can still build lighthouse in lake cities which is probably a good thing. However Dock is only built when city is founded and circumstances can change during gameplay. For example if canal is built (fort or citadel) that connects city to an ocean or some crazy event occurs like draught or earthquake that would destroy dock building. It might be useful for player or AI to be able to built it manually if it is somehow accidentaly destroyed or if game can recognize that city has been connected to an ocean. I read in changelogs recently that there has been added som logic for AIs to build cannals too.
 

Stalker0

Baller Magnus
Joined
Dec 31, 2005
Messages
9,243
I'll probably have two versions then, no need to delete the old one since it's mostly done (I think I'll go over AA&Bombers though).

I would commit to the version you like best, maintaining two versions is just a pain in the butt. Its your modmod, do what you want!
 

balparmak

Prince
Joined
Sep 20, 2015
Messages
536
Updated SWVP! Added some new options and fixed the melee/gun infantry UI issue. Also improved folder structure, so by default you get the LowerSupply option without needing to delete anything.

Changes:
Supply:
- Updated Formations so that AI needs less units to form an army group
- LowerSupply no longer equalizes lategame buildings' supply bonuses, but that can be enabled in LowerSupply/LateGame.sql
- Option to change flat supply bonuses from Barracks/Lighthouse lines to SupplyPerPop (LowerSupply/NoFlatSupply.sql)

Promotions:
- Replaced Skirmisher OutsideFriendlyLands bonus with vs. HealthBelow50
- Replaced Archer FriendlyLands bonus with vs. HealthAbove50. While I don't like how this imposes a certain attack order (not AI friendly), the old version just didn't make sense.

- New options file (PromotionOptions.sql) allows you to:
- Revert Archer&Skirmisher changes back to original.
- Enable all or some of Stalker's suggestions
- Increase promotion ranks to 8 (works but not balanced, also misses unique icons)
Check the main post for further details.

There's one thing to note though, in the earlier (pre 1.4) versions of VP the AI didn't manage its supply cap well, and this behavior was more pronounced at smaller supply cap (i.e. SWVP). VP 1.4 comes with a lot of fixes regarding this, so hopefully AI should do a lot better.

edit: Also updated NavalSupply mod, Great Admirals now provide Sailors instead of increasing the supply cap. Thanks to Flamingcheesepie for the idea!

It does work now, thank you. And I can still build lighthouse in lake cities which is probably a good thing. However Dock is only built when city is founded and circumstances can change during gameplay. For example if canal is built (fort or citadel) that connects city to an ocean or some crazy event occurs like draught or earthquake that would destroy dock building. It might be useful for player or AI to be able to built it manually if it is somehow accidentaly destroyed or if game can recognize that city has been connected to an ocean. I read in changelogs recently that there has been added som logic for AIs to build cannals too.

I can think of a way to do that but sadly it'd be very inefficient.
 
Last edited:
Top Bottom