Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

Amm... NOT being an experienced modder myself, but a C++ programmer, which I've noticed you need.

If you need some minor SDK programming, I don't mind doing it.
I suggest exposing some missing events or methods to the python API (to CyPlot, for example). Minimum work for me, maximum flexibility for you

Quote:

Originally Posted by Baldyr

I can't even get confirmation on that the canDoCivic() call is happening, so I guess I'm missing something here.

You should set USE_CAN_DO_CIVIC_CALLBACK in PythonCallbackDefines.xml to 1.

I suggest exposing some missing events or methods to the python API (to CyPlot, for example). Minimum work for me, maximum flexibility for you

I'm pretty much done with the improvements solution for the Picts at this point, but I guess that if tile yields could be changed properly with Python by including a custom DLL file to the mod, then I'd say we should go for it... I can wait.

But ask j_mie6 before doing any actual work!

Quote:

Originally Posted by Asaf

You should set USE_CAN_DO_CIVIC_CALLBACK in PythonCallbackDefines.xml to 1.

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

Map tiles are actually counted bottom-up, so tile 0/0 is the lower left corner of the map. But you don't actually have to count individual tiles to get the coordinates. See above.

Try again? And I'll make it really easy for you to tweak the coordinates once my work is done. So practically any valid coordinates should do for testing purposes - even if it means that the code will process the whole map...

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

1. enable cheat mode in CivilizationIV.ini
2. start your scenario
3. decide on a rectangular map area that is the area of effect for the Pictic ability
4. hover the lower left corner of this map area with the mouse arrow while holding down the shift key
5. repeat #4 with the upper right corder of the area
6. write down the map coordinates displayed in the information field in the lower left corner of the game interface while looking them up

So what I need are the map coordinates of two map tiles, like 23/34 and 45/56, or whatever. Either that or I need to know how many tiles the map spans on the X and Y axis respectively. (Don't count! Look it up in the WBS.)

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

I worked it out in 2 mins lol anyway I think I will take Britain only...

No you didn't. See above.

Quote:

Originally Posted by j_mie6

ANYWAY I don't really know what asaf was saying elaborate?

The CivIV Python is basically mirroring the C++ code in the SDK. But not everything is available for the Python modder - tons of things seem not to have been "exposed" to Python. But this is something that obviously can be done in the SDK - add functions, methods and constants to the Python API. Which opens up new possibilities not available before.

BTW - did you get the Greek ability working yet? Because Asaf explained that you need to enable a Python callback in the XML. Look if you can't find the file and the entry for canDoCivic. Please?

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.

Q: Who is the woman in the avatar image?A: Miss Li.
Q: Why does she have a brass-eye?
A: It's a conceptual thing. More of the same on the profile page.
Q: What does you title mean?A: That is the title of Miss Li's latest single.