Help turn off City bombard

Tarzan737

Warlord
Joined
Dec 18, 2015
Messages
236
Hello.. i still really dislike City bombard.. i downloaded a modmod but it doesent work with VP..

so i tried by myself to edit some files like city bombard.sql and custom mod options.xml

i tried to edit those lines for example

-- Bombard Changes
UPDATE Technologies SET BombardRange=0 WHERE Type='TECH_AGRICULTURE';
--UPDATE Technologies SET BombardRange=0 WHERE Type='TECH_MATHEMATICS';
--UPDATE Technologies SET BombardIndirect=0 WHERE Type='TECH_GUNPOWDER';
--UPDATE Technologies SET BombardRange=0 WHERE Type='TECH_DYNAMITE';

--INSERT OR REPLACE INTO Defines(Name, Value) SELECT 'MAX_CITY_ATTACK_RANGE', max(BombardRange) FROM Technologies;
--UPDATE CustomModOptions SET Value=0 WHERE Name='EVENTS_CITY_BOMBARD';

but it still work with ranged bombard ingame


anyone that can help?
 
check CORE_NO_RANGED_ATTACK_FROM_CITIES in custom mod options. should be all you need.
Yes i think i tried that! I will try tonight again.. is it to much to ask to add that in advanced options to disable it?



Edit: I changed value to 1 but still ranged attacks.. in this line
CORE_NO_RANGED_ATTACK_FROM_CITIES
 
Last edited:
Top Bottom