Search results

  1. davidlallen

    modular python loading in ffh

    In the download database, I happened to find this recent entry: Modular Python Loading by arcticnightwolf. There is no discussion thread listed, and I wasn't able to find one easily in the ffh forums, so I added a comment to the download page. It appears to "grep" in user python files for...
  2. davidlallen

    best way to iterate adjacent plots?

    I have a common code segment I use in python to look at all the adjacent plots: maxX = CyMap().getGridWidth() ; maxY = CyMap().getGridHeight() curX = pPlot.getX() ; curY = pPlot.getY() for iX in range (curX - 1, curX + 2): if (iX < 0) or (iX >= maxX): continue for iY in range (curY - 1...
  3. davidlallen

    art question: borrowing flames feature?

    This should be easy, but I cannot quite figure it out. I would like to use the flames feature in a standalone mod. So, I packaged up the flame feature and all the files in art/terrain/features/flames, and copied it into an empty mod. I replaced the fallout feature with flames, using the...
  4. davidlallen

    only display highest level promo?

    I know some other mods have done this, but I can't find a place to get started. To reduce the number of promotions shown for high level units, I'd like to suppress drawing of Combat 1 for a unit which also has Combat II, and so on. The screenie shows a warrior with Combat IV. I'd like to only...
  5. davidlallen

    reordering/adding pedia tabs in vanilla?

    I am working on a mod which does not use bug/bull/bat and it does not use the "sevopedia" mod. I would like to add a top level entry to the civilopedia. I am sure there are a number of steps but I am stuck at the first one. In the vanilla pedia, I tried to mod just the *order* of the...
  6. davidlallen

    Post-1.8 patches

    This thread is for internal discussion about patches, after the 1.8 release. Anybody is welcome to try out patches, but the installation may be a little more complicated, and the results may be ... unexpected. Official releases are announced on the welcome thread, and you can assume they are...
  7. davidlallen

    how can ""stranded"" unit request pickup?

    (Not a Dune Wars question) So, I have a different mod where a unit may suddenly have a need to cross water. For some background, see this thread. The idea is that a magic item may become available, but it is on a different island, and a unit is dispatched to pick it up. I have gotten the...
  8. davidlallen

    How do AI's handle items like Orthus' Axe?

    I am starting a new mod and it will have magic items, similar to Orthus' Axe. I do not want to drag in all of the large FFH changes, let alone mod-mods, and I am implementing the items in a very simple way. But, I am curious to know how the AI handles items such as Orthus' Axe. I understand...
  9. davidlallen

    *title* text for promotions?

    This seems simple, but I can't figure it out. I want to dynamically change the name of a promotion during the game. I have added: void CvPromotionInfo::setText(const TCHAR* szText) { m_szTextKey = szText; } And I can see this is working as demonstrated by: pPromo =...
  10. davidlallen

    howto: create a release

    In case I get run over by a truck, or somebody else wants to create a release, this thread describes the steps to follow. I do not think there is anything magic here, but the thread may be useful as a checklist for how to prepare a release.
  11. davidlallen

    QuestInfo object?

    There are bits and pieces of some "quest" object in vanilla bts. For example, vanilla file (not BTS, *vanilla* vanillla) assets/xml/misc/civ4questinfo.xml. There are access functions in the sdk, CvInfos.h defines class CvQuestInfo. Some of it is exposed to python. There is even a Quest tab...
  12. davidlallen

    why don't some bonuses tree-cut?

    If you add bonuses in world builder, some of them perform "tree cutting" and some don't. For example, put down a sheep resource in a forest plot, and almost all the trees in the plot disappear except for one or two in the corners. But, put down silver or marble and only a few trees disppear...
  13. davidlallen

    leaderhead customization questions

    Starting with The_J's civ spawning code, I would like to have a number of different minor civs appear during the game. I have some questions about how to accomplish the customization of their leaders. a. I want to have a number of different leader names, like fifty or a hundred so there is...
  14. davidlallen

    combat mechanic for "slayer"?

    I would like some starting point suggestions for a mechanic I am trying to implement for a fantasy mod. The idea is to have single powerful monster units, like a dragon. The dragon has a high regular combat strength and can, in fact destroy armies singlehandedly. Say, a 24 strength for the...
  15. davidlallen

    what xml effects go with this unit?

    I have borrowed a couple of units from FFH to use in another mod. I can easily cut/paste the needed bits out of the unitclass, unit, and artdefines_unit xml files. But, when I use the units in the mod, their effects are missing. For example, when a dragon attacks, he just yawns. There is no...
  16. davidlallen

    Fury Road and Mad Max are back!

    After a one year delay, the Mad Max mod called Fury Road has been updated to BTS 3.19. Plus, I have added great new artwork by deliverator, deon, c.roland and others. Come back and check it out at the welcome post!
  17. davidlallen

    Version 11 playtest feedback

    Please post any questions or suggestions for Version 11 of Fury Road on this thread. If you find a bug, please attach a save game.
  18. davidlallen

    multiple files with same name?

    If my mod has a python file which has the same name as a vanilla python file, it is clear that my file is loaded instead of the vanilla file. But what if my python file has a unique name, and by accident there are two copies of it in my mod directory? There is a common file CvModName.py. I...
  19. davidlallen

    late game tech tree

    This thread is for discussion of a redesign for the late game tech tree. Some recent changes and discussion at this post. Some previous issues mentioned in the issue spreadsheet: AHR84. Its still way too easy to buy units far ahead of your tech; beelining a single tech suddenly lets...
  20. davidlallen

    Pick Your Leader Challenge 1

    To get more information about play-balancing the civs, I would like to ask your help by participating in a Pick Your Leader Challenge. I have created a 9 player, noble difficulty map with 9 fixed start locations. Then I made 9 copies of the map, where a different civ is at each start location...
Top Bottom