They deleted some fields in database and added new ones, so if you use older VP version, just use v8 instead. It works for any VP that predates the 5-5-2 release.
@HungryForFood Sorry to bother you twice about that, but could you look at this? I remember I used database values you prepared in dll (IsNoCoast), and it seems to be broken. In lua I had some workaround:Hey, Aden. I am using your mod with passion. Yet I'm just wondering why lakes are considered as coasts? Inland cities with lakes attached don't get to build wonders that require coasts be absent. For example, mohejo from ancient world requires coasts be absent yet if you have any sort of Lake, you can't build it![]()
-- checks if city is between River and Sea and adds this condition (normally it would be treated like city with Lake)
-- Sea and Lake = FreshWater == true, Water>=1 == true true
-- Lake and River = FreshWater == true, Water>=1 == true true
-- Sea and River = FreshWater == true, Water>=1 == true true? (should be false)
-- Sea = FreshWater == false, Water>=1 == true false
-- Lake = FreshWater == true, Water>=1 == true true
-- River = FreshWater == true, Water>=1 == false false
function IsLakeWithOcean(ePlayer, eCity, eBuilding)
if not tValidIsNearLake[eBuilding] then return true end
if bReachedMaxEra then return false end
local pPlayer = Players[ePlayer]
if not pPlayer:IsAlive() then return false end
local pCity = pPlayer:GetCityByID(eCity)
local iCityX = pCity:GetX()
local iCityY = pCity:GetY()
if pCity:IsCoastal(1) then -- city is adjacent to at least one water tile
for dir = 0, DirectionTypes.NUM_DIRECTION_TYPES - 1 do
if Map.PlotDirection(iCityX, iCityY, dir):IsLake() then
return true
end
end
end
return false
end
GameEvents.CityCanConstruct.Add(IsLakeWithOcean)
That's right. 10 tiles is the limit. @Denn Can you remember how many tiles had that Lake in your game? Thanks @AndreyK. If you have some more info about this problem, let me know, please.I have built Mohenjo Daro in my current game, no problem. I'm using April version before spy rework. Lakes suppose to be less than 10 tiles
So to summarize, it's working fine, or there's a problem? It should only check for horses in 3-tile range and coast as far as I remember. Code is pure SQL from VP.Just move that horses with IGE. Now works fine.
UPDATE Buildings SET Water = 1, MinAreaSize = 10 WHERE Type = 'BUILDING_QALHAT';
INSERT INTO Building_LocalResourceOrs
(BuildingType, ResourceType)
VALUES ('BUILDING_QALHAT', 'RESOURCE_HORSE');
Fleet of the sun is given by the same mechanics like Imperial Army, so I cannot find the way why it is faulty. With kamikaze, there maybe a mod conflict then. If you say it works fine with only VP. There I cannot help more without more info from you. It seems that only you have similar problem.There seems to be a bug with the kamikaze promotion granted by the Sanbo Honbu wonder. Instead of being given to only air military units, the kamikaze promotion is given to every unit, including civilian units.
edit: I saw the above issue in a playthrough with many modmods that were not blatantly incompatible. On a different test save with only Vox Populi, More Wonders, and in-game editor (to bug test), the above kamikaze promotion issue was not present. However, there was a new issue of not receiving fleet of the sun (naval military promotion) or kamikaze at all. The land military promotion imperial army was working fine. Though this may just be due to a fault in my bug testing methodology.
Yes, it's the latest one. With "this" you mean kamikaze bug or IsNoCoast problem, or something else?Hello! I really liked playing with that mod when I played like 1 year ago.
But using the 0.11 version (is it the newest?) I get this bug![]()
With only VP 7-1-3 and More Wonders loaded, kamikaze has the same issue as fleet of the sun of not appearing at all. Imperial army works fine in both cases I mentioned. What additional information do you need?With kamikaze, there maybe a mod conflict then. If you say it works fine with only VP. There I cannot help more without more info from you. It seems that only you have similar problem.
-- Chevaliers (1)
-- Itsukushima (2)
-- Qalhat (3)
-- Gate of the Sun (4)
-- Great Zimbabwe (5)
-- Kilwa Kisiwani (6)
-- Marae Arahurahu (7)
-- Kuk Swamp (8)
-- St. Peter's Basilica (9)
-- Panama Canal (10)
-- Palm Jumeirah (11)
-- Arecibo Observatory (12)
-- Rockefeller Center (13)
-- Darjeeling Himalayan Railway (14)
-- Sanbo Honbu (15)
Sorry for the delay. I tested the following in VP 7-1-3 with only More Wonders and IGE.There must be issues with the dummies then in latest VP version, but I cannot understand why. Code is same for all dummies. Can you check with IGE if you get SANBO_DUMMY and SANBO_2_DUMMY after building Sanbo Honbu? First gives you Fleet of the Sun, and second Kamikaze. Can you check with previous versions of VP? Can you also check if other dummies (one or two) show up with other World Wonders, f.e.
Code:-- Chevaliers (1) -- Itsukushima (2)Next > -- Qalhat (3) -- Gate of the Sun (4) -- Great Zimbabwe (5) -- Kilwa Kisiwani (6) -- Marae Arahurahu (7) -- Kuk Swamp (8) -- St. Peter's Basilica (9) -- Panama Canal (10) -- Palm Jumeirah (11) -- Arecibo Observatory (12) -- Rockefeller Center (13) -- Darjeeling Himalayan Railway (14) -- Sanbo Honbu (15)
I will try to verify that too when I get back home.
Unfortunately I cannot see anything that would collide with dummies in VP changelogs...
@m0nk3yst1ck Sorry to ask, but can you tell me if in your games IsNoCoast requirement works fine? I'm not aware if it was fixed in VP, and I don't want to escalate the issue without being sure. @HungryForFood is not responding for quite a time and that's a bad sign.
Wow, thanks for complete feedback. Now it's my turn:Sorry for the delay. I tested the following in VP 7-1-3 with only More Wonders and IGE.
There is no bug of not receiving fleet of the sun or kamikaze. I was just being stupid and forgot to spawn the two dummies for Sanbo Honbu when forcibly spawning the wonder with IGE to test for the first bug I mentioned in my original post.
That first bug is very much still present. Kamikaze appears on only air units when the wonder is built, but it does not function until the game is reloaded and one turn is progressed. However, although it functions at this point, kamikaze is given to every friendly unit, including civilian units, so it works with land ranged and naval ranged units too. It is also given to all newly created units after one turn.
Fleet of the sun and imperial army function on the same turn the wonder is built, but there are a few bugs and/or discrepancies with the promotion descriptions. Fleet of the sun doesn't apply at all to naval ranged units like the description says it's supposed to. For melee naval units it works but the bonus to flanking seems to be 15% instead of the stated 10% because there ends up being a 25% strength bonus per flank.
For imperial army, the "10% bonus combat in rough terrain" part of the promotion for land units seems to work fine for melee land units but not for ranged land units. Using melee land units, the bonus is both listed in the strength breakdown and I receive it only when the enemy is in rough terrain, regardless of whether or not my own unit is in rough terrain, so I assume this is the intended effect of the promotion. Using ranged land units, the bonus is still listed in the strength breakdown only when the enemy unit is in rough terrain (as if that is the deciding factor for the bonus to be applied like it was with melee units), but the bonus is actually applied against enemy units regardless of their terrain when my own unit is in rough terrain.
I didn't check previous versions but these bugs are probably not unique to VP 7-1-3 because on the May 28 hotfix version I encountered the kamikaze bug (though at the time I did not explicitly investigate fleet of the sun or imperial army).
I don't think the "isnocoast" requirement is working. In non-coastal lake cities, for both small (1 tile) and large (5+ tile) lakes, I am only able to build coastal wonders and not inland wonders like Red Fort.
Take them and do your best. I didn't plan to program them at all. May I ask what the mod will be?Heads up that I’m taking sagrada familia, Karlstejn castle, and Wat Arun for a different mod