City ranged attack!

City range attack is increased by building walls and arsenals in your cities. If you want to change/remove those bonuses, look in buildingchanges.sql for CityRangedStrikeRange. You can modify the buildings there so they don't give the bonus.

If you modify walls, remember you will also need to modify babylon's walls. If you modify arsenal, remember you will also need to modify the Ostrog.

I couldn't really get this to work, it's still ranged attacks? Something else?
 
I couldn't really get this to work, it's still ranged attacks? Something else?
Not exactly what you want, but it could be a temporary solution for you. You can decrease the strength of the city ranged attack to 10 by adding this line to the end of CoreDefines.sql (or editing the relevant line in the same file) in the Balance Changes folder:

UPDATE Defines SET Value = '-180' WHERE Name = 'CITY_RANGED_ATTACK_STRENGTH_MULTIPLIER';

I fiddled with the values a bit and the lowest damage dealt seems to be oscillating somewhere around this value. If you change the value mid-game, you need to exit at least to the main menu, so that the values are reloaded properly.
 
You want to make it so all cities have 1 range forever, regardless of tech or infrastructure right?

Just ctrl + F the entire VP mod folder on you computer for the word ‘CityRangedStrikeRange’ and delete every instance of that code in every file that contains that code.

Off the top of my head that should be:
Buildingchanges.sql (2instances)
Wonderchanges.sql (1 instance)
DLCleaderchanges.sql (1 instance)
Vanillaleaderchanges.sql (1 instance)
 
Setting them to 0 should work, but he said he tried that already (which I frankly don’t believe, or more likely he messed it up). So just delete them or comment out those lines if there is a problem.
 
i edited those lines like this? (and the others)

UPDATE Buildings
SET CityRangedStrikeRange = '0'
WHERE Type = 'BUILDING_WALLS' AND EXISTS (SELECT * FROM COMMUNITY WHERE Type='COMMUNITY_CORE_BALANCE_BUILDINGS' AND Value= 1 );

and yes.. i would like to remove the city bombard because i really dislike it and have always done that.. (i know others like it)

but for me it´s just annoying and when i have completely bombed a city to zero below red and have my units around a city to create a blockade.. then suddenly it comes ranged attacks from citys that can completely
kill one of my healthy units.. im sorry but i just don´t like it and it is annoying.

thank u for trying to help!
 
Yeah, I don't want to remove the city ranged attack completely, but think the cities deal too much damage in general. You can try my suggestion above, it does almost what you want. Dealing 10 damage is very low. If you have a medic nearby, you will recover next turn if fortified.
 
i did everything you wrote above.. and i edited this UPDATE Defines SET Value = '-180' WHERE Name = 'CITY_RANGED_ATTACK_STRENGTH_MULTIPLIER';
but i can´t see it makes difference either.. it is still strong and kill units..
 
Back
Top Bottom