Recent content by Archid

  1. A

    Need help with adding building to mod!

    If the building appears in the pedia and can be added via the WB then that sounds like the XML is valid and the graphics are there. If it is a UB that replaces the Barracks and that is no longer available then it sounds like you probably have the civ XML updated. My next thought would be to...
  2. A

    Quick Modding Questions Thread

    I was browsing through the forums and spotted this post. The issue you have is the indexing of the TGA icons. I extracted the relevant code to use these large gamefont files a long time ago and made a standalone mod here that add a tag to the ReligionInfos and CorporationInfos to allow you to...
  3. A

    python changes to UI and debugging

    My mod is BUG based and a Shift-F5, Shift-F8 usually does the job if you get errors
  4. A

    Quick Modding Questions Thread

    Like f1rpo says this is a dll issue and unless you have experience with compiling your own DLL the best way is to roll back your changes one by one to find out which one causes the issue. If you are not doing so already I strongly recommend that use a source control repository like GitHub to...
  5. A

    Quick Modding Questions Thread

    Not without either modding the dll or having a kludge. Theoretically, you could define a building that requires the AND bonuses as a prereq for the unit. The difficulty with this is whether the AI would create the building. You could give it a cost of 1 and a high iAIWeight I suppose, but it is...
  6. A

    Quick Modding Questions Thread

    1 - Yes, change the iMoves value 2 - Not exactly sure what you are trying to achieve, but try modifying Civ4CultureLevelInfos.xml.xml and see if that does the job 3 - Have you compiled the dll yet? If not then start by doing that and getting it to work before you hit the C++ mods. Don't worry...
  7. A

    Which mod for me to play?

    I would say it depends on what you are looking for, heavily modded or improved base game also are you looking for one that you can expand with your own mods or a 'finished' mod that you will rely on other people to update. The mod that I would suggest for an improved base game would be K-Mod as...
  8. A

    [MODCOMP] Improvement Decay Component

    I also like this idea. I have been absent from the Civ IV modding scene for a few years now and am rebuilding my mod from scratch so new ideas are very welcome to me. Thanks
  9. A

    Quick Modding Questions Thread

    Have a look at the bottom of CvPlot::updatePlotGroupBonus as that is where the number of bonuses is updated if my reading of the function is correct. eNonObsoleteBonus = getNonObsoleteBonusType(getTeam()); if (eNonObsoleteBonus != NO_BONUS) { if...
  10. A

    What are the Mods that make Peaks Passable?

    The SDK mod that Keldath is probably referring to is here: https://forums.civfanatics.com/threads/sdk-mountains-back-to-service.311211/ I know that I have used a custom version of this code in my own mod.
  11. A

    CvPlayer.m_iFractionalCombatExperience not saved

    I had a look at the Modding Getting started link and it mentions sending my SF login to Koshling to add me as a contributor, but the post is pretty old so wanted to check if that was still the correct process. I will warn you however that I am not the best at playing with the other children and...
  12. A

    CvPlayer.m_iFractionalCombatExperience not saved

    I agree that it should be classified as very low importance given that it only stores values of less than 1 and after the first couple of GG this amount becomes almost insignificant. I only mention it for completeness as my view is that loading a save game should place you in the same exact same...
  13. A

    CvPlayer.m_iFractionalCombatExperience not saved

    My snippet was not shown with the proposed change, just the section to change. The change would have been: int CvPlayer::greatPeopleThreshold(bool bMilitary) const { int iThreshold; if (bMilitary) { iThreshold = GC.getDefineINT("GREAT_GENERALS_THRESHOLD") * std::max(0...
  14. A

    CvPlayer.m_iFractionalCombatExperience not saved

    Looking around the latest svn code I noticed that the m_iFractionalCombatExperience value is not included in the CvPlayer::read & CvPlayer::write functions so is lost between saves. Given that this value only contains the fractional components it is not a major issue, but I believe it should...
  15. A

    WorldView AI question

    Thanks for the info. I had a look through that location earlier but it mostly contains the objects that are availabe. There is a mission in there to remove the world view, but nothing related to the logic to run the WV in the first place. I have done a textual search through the latest svn...
Top Bottom