Quick Questions / Quick Answers

Manufactory on non-fresh water wheat is a very good choice, especially when it also makes a triangle with fresh water farms.
Wasnt sure what were you talk about and i accidentally found this..
Jeeez, this is huge, and i play this game few years, and just learned about that :D
I mean, this make positioning of the first Manufactory really important.
Also, Manufactory can work as third Lumber Mill, which is perfect solution for ackward double forests early game (i usually play with reforestation any way :) )

1736052791001.png
 
Hi peoples,

I have a small question: In Lua I want to check, if an event is "ready" to happen, and then start it from code if so. So e.g. The event "feast" can only happen if the event "hunt" was succesful in the past few turns.
In the file "GameEventsTable.xml" there are several functions, that judging from name should do that, but I cant geht any of them to work (Player:IsEventChoiceActive; Player:IsEventChoiceValid...)

It tried this code:

if (player:IsCityEventChoiceActive(eventchoice) == true) then
print ("can be used")
player: DoStartEvent(event);

(with eventchoice and event being determined before this). Lua.log states : "GatherAndHunt.lua:178: attempt to call method 'IsCityEventChoiceActive' (a nil value)"

Any ideas for this? Thanx in advance!
 
Last edited:
There isn't a IsCityEventChoiceActive for player.
 
Is there any built wonders list? Where can I find in which city the X wonder is built?
Also I want to ask what happens to the gameplay if I don't select any victory type at the game start(because I like playing goal-free games).
 
Last edited:
@Inyah there's a difference between a city event and a player event (just called event). Probably only the lua function for player events exists, not the city events. This is how I interpret Azum's post.
 
@Inyah there's a difference between a city event and a player event (just called event). Probably only the lua function for player events exists, not the city events. This is how I interpret Azum's post.
Thanx! Actually according to the GameEventsTable-file there should be both (City:IsCityEventChoiceActive and Player:IsEventChoiceActive). But its fine: i found a workaround with looping through player:GetRecentCityEventChoices(), which works fine.
 
Aha right I have misunderstood.
It's your code
Code:
if (player:IsCityEventChoiceActive(eventchoice) == true) then
But as you say, it should be
Code:
if (city:IsCityEventChoiceActive(eventchoice) == true) then
 
Sorry if this have been asked.

Did anyone tried the last release (4.18.3) with the following mods?
Do they work?
- (7) VP Community Events (v. 8)
- (9d) Reforestation for VP v.5
- Improved City View (v 20) - this one has not been updated a long time, so I know it is (was) buggy
- InfoAddict (v 22)
- Jarcast's Extraction Outpost (v 2)

Thank you in advance
 
What's the range of land trade routes? Is it tiles, or total movement cost? I just made a caravan for two cities, and it wouldn't let me put the route between them.
 
UU Hunnic Rider cannot be upgraded. Should that be addressed?
The Horse Archer? Mine upgrade to Heavy Skirmisher.

What's the range of land trade routes? Is it tiles, or total movement cost?
It's based on movement. E.g. if there is a big river between your two cities and no bridge, it shuts down.
 
Actually the correct unit name is Hawk Rider, here the pics.
What it does mean 4UC?
 

Attachments

  • a.jpg
    a.jpg
    124.1 KB · Views: 41
  • b.jpg
    b.jpg
    804 KB · Views: 37
  • c.jpg
    c.jpg
    799.7 KB · Views: 39
Last edited:
Actually the correct unit name is Hawk Rider, here the pics.
What it does mean 4UC?
4UC is a mod that adds 3rd and 4th Unique Components to all civs. you can find it on this forum, in Mods Repository.
Base game has 2 UCs for each Civ, for Huns in VP it's Horse Archer, and Eki. I honestly don't know where the Hawk Rider comes from, only thing i found on google is that it's a unit for some modded Mongolian Civ. I guess you have some other mod(s) installed, that are not compatible with VP
 
I am playing version 4.17.8 of VP. Whenever I click on an archaeologist, the game crashes to desktop. Does anyone know a workaround or experience the same?
 
Last edited:
Back
Top Bottom