Recent content by LoneTraveller

  1. L

    Adding extra information to plots while in WB

    Everything you said accurate but the problem is that I don't necessarily want the pCity, it's the CvPlot selected (concerned) when the popup is launched that I want. I don't know the command to get this CvPlot. I've been looking into the function 'OnOkClicked(...)' for something similar and...
  2. L

    Adding extra information to plots while in WB

    I have followed your 'debugging' post and VS says that the error comes from the 2nd of the following lines : CvCity* pCity = GET_PLAYER(GC.getGameINLINE().getActivePlayer()).getCity(info.getData1()); int x = pCity->getX(); I honestly am not sure how 'data1' is being generated so here is...
  3. L

    Adding extra information to plots while in WB

    back from a month of 55 hours of work per week I'm in the process of debugging this new mod and I'm wondering how to get the CvPlot where the user in WB is modifying the amount of bonus resources (I'll just start with that for now) but from the CvDLLButtonPopup::OnOkClicked(...) function...
  4. L

    Adding extra information to plots while in WB

    Also I need to call my ISRM.py (only once) from somewhere python object in the game. Is there a suggested place to put it ? Also :) I need to call a function in my ISRM object declared above from the SDK with the CvPlot concerned in 'args'. I saw a function call that resembled...
  5. L

    Adding extra information to plots while in WB

    Back later than I thought... I'm slowly editing the CvPlot::setBonusType() function and I'm at the point where I want to launch a popup (through Python, in WB) in which the user will enter an integer representing the amount of resources he/she wants on the plot. Not knowing how to launch a...
  6. L

    Adding extra information to plots while in WB

    Thanks for all your input :) I thought of something else after reading your comments and being naturally hard-headed I ignored all that you have said and tried something else :) I found a file in the Python folder of the Vanilla version named 'CvWBPopups.py'. On examination of this file I...
  7. L

    Adding extra information to plots while in WB

    How do I do that from the SDK ? I can launch a popup with text from python but not to the point of launching one with a 'textfield' that would require an integer. Thanks for the tip about if WB is open :)
  8. L

    Adding extra information to plots while in WB

    There must be a way to do this by hand... I fiddled a bit into the python file for WB (CvWBDesc.py) and...I'm not sure what to do with it. I wanted to generate a popup when a strategic resource would be added. I saw the popup while loading a game but it disappeared before I could click 'ok'...
  9. L

    Adding extra information to plots while in WB

    I hate python. I started out with Java then C++. I'm used to a serious programing language. An indentation sensitive language is a joke to me sorry. I will try your links and will still hope that there is another way out Thank you for your answer
  10. L

    Adding extra information to plots while in WB

    hi, it's been a while since I have modded Civ4 so I might of forgotten some things over time. I've been playing Civ5 for a month and I want to reproduce it's Strategic Resources (SR) 'management' but in Civ4. Now so far, I have edited the CvPlot and CyPlot classes for accessors, modifiers...
  11. L

    Need Modding Help.

    In the following code sections the '...' indicate only that the code between the above and following line are not important for this discussion. I also assume that you have already created an unit that I have chosen to call UNIT_CHEVALIER that represents your unique unit. Make sure that your...
  12. L

    Need Modding Help.

    What do you want to do exactly ? Change the text, the model, the characteristics ?
  13. L

    World War II 1939 - A Civilization IV Modification

    I havent tried this game in multiplayer so I don't know about the problems that arises from it sorry
  14. L

    Implementing CiV's strategic resource management for Civ4

    As anyone done this ? It's one of the features of CiV I like but modding CiV is boring compared to Civ4. I've looked around but only saw ppl doing unit fuel mods.
  15. L

    Road to War - Historical

    Are there any plans to integrate custom corporations into your mod ?
Top Bottom