Search results

  1. M

    affecting missionary success?

    You finde the code in the file CvUnit.cpp in the function CvUnit::spread() In short words: Get the value of iReligionSpread for the missionary in CIV4UnitInfos.xml. Divide this value by 2 if you are trying to spread the religion to a player not in your team. The result is called...
  2. M

    AI doesn't use bombers

    Hi Solver! Please notice this post and the following: http://forums.civfanatics.com/showthread.php?p=7073089#post7073089 Seem like your patch prevents the AI from using bombers. Matze
  3. M

    Version 0.3 discussion thread

    So, Solver's patch seems to be responsible. Matze
  4. M

    Version 0.3 discussion thread

    I second this. I realized the same behavior. Matze
  5. M

    Messing around with onGameStart

    OK, some more infos for you: The pop up launches for all human players in the game. But only the admin of a multiplayer game or the single player can make changes (there are some checkboxes) or press the exit button. It is launched just like the dawn of man screen by CyPopupInfo().addPopup()...
  6. M

    Messing around with onGameStart

    You seem to be right. But my problem is a bit more tricky. The event handler which shall be executed first launches a pop up. It seems like after launching the pop up the other event handlers are executed. But I want them to wait until the player closes the pop up. Matze
  7. M

    Messing around with onGameStart

    Hi! I have a little problem using the python event onGameStart. I am using Dr Elmer Jiggle's event manager and in the CustomEM I add about 18 event managers. Four of them add the event handler 'onGameStart'. Now I want to make sure that one of them is handled first, because it makes some...
  8. M

    Development Thread

    Hi! I've made a little addition to the domestic advisor. I added three new columns to show how many experience points a land/sea/air unit will get in each city. Well, there's a little glitch if a city gives experience points just to units of one UnitCombat like the spanish citadel, the...
  9. M

    SDK - bug in the CvPlot class

    It looks like you are right. Matze
  10. M

    Merging .DLL

    For merging the source code, the fastest way is to use a merge tool like Winmerge. Matze
  11. M

    Great General points from barbarians

    http://forums.civfanatics.com/showthread.php?t=180991 Matze
  12. M

    [MOD] Assimilation

    Hi Kael, there is a little Bug. If you capture a city, which was once barbarian (or minor civ), you can't build any UU or UB there, because it assimilates the barbarian civ. Maybe, it is intended this way but I think you should be able to build your own UUs and UBs in such a city. Matze
  13. M

    For modders & mergers

    The code on the right is the same in BTS 3.17, Solver 0.19 (I think 0.17 too) and Revolution 1.61. You must have changed your code on the left. Matze
  14. M

    Merging .DLL

    1) Get the source code for both DLLs 2) Merge the source code 3) Recompile Matze
  15. M

    3.17 and Revolutions incompatible?

    And there were two new 3.17 compatible versions of this mod in the last two weeks. So, where is your problem? Matze
  16. M

    Quick C++ or possibly python question.

    Take a look at all those read and write functions in CvInfos.cpp Matze
  17. M

    [MOD] Assimilation

    The problem occurs in CvDLLWidgetData:doTrain (doConstruct). You have to make sure that widgetDataStruct.m_iData2 is valid. This code should do it: void CvDLLWidgetData::doTrain(CvWidgetDataStruct &widgetDataStruct) { UnitTypes eUnit; //Assimilation Start //eUnit =...
  18. M

    CyInterface questions

    Many classes are not part of the SDK. Take a look here: http://civilization4.net/files/modding/PythonAPI/ Some classes are marked as not in SDK. Matze
  19. M

    Unofficial Patch requests

    I agree. This ist not a request for this patch but for a mod. Matze
  20. M

    Horst Wessel Lied request

    That's not the full truth. After the war, all three stanzas were part of the national anthem. But the chancellor and the president decided to play only the third stanza at official occasions. After the reunification at 1990 the chancellor and the president discussed again and decided to drop...
Top Bottom