Results 1 to 9 of 9

Thread: Making units dependent on two buildings?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Making units dependent on two buildings?

    I used this double conditional also to recruit carthaginian sacred band. I noticed the temple appeared besides the unit in the barracks description but I didn't notice the CTD problem (I will check it again).

    Regarding the obligation to destroy the original temples and build those corresponding to the faction, I used the conditional "requires faction {carthage, }" for the temple bonuses. In that way the conqueror shouldn't get those bonuses and it is worthy to build its own temples.
    Even negative bonuses could be included for the foreign cultures or factions to make this effect stronger.

  2. #2
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: Making units dependent on two buildings?

    No, the CTD is likely export_buildings.txt related. I would need to see both entries in both files.

    Yes, the capabilities can be so conditioned (and should be) but I would imagine for even more (and perhaps essential) realism you would want to destroy and build.
    "One of the most sophisticated Total War mods ever developed..."

  3. #3
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Making units dependent on two buildings?

    Quote Originally Posted by Dol Guldur
    Yes, the capabilities can be so conditioned (and should be) but I would imagine for even more (and perhaps essential) realism you would want to destroy and build.
    In general, all those questions about requirements and buildings arrive to a "dead point": the AI.
    I think (please, correct me if I'm wrong) that the AI doesn't destroy any building after conquering a settlement. This means that strong (or complicated) requirements would make the campaign even easier for the human player.

  4. #4
    Axebitten Modder Senior Member Dol Guldur's Avatar
    Join Date
    Apr 2005
    Location
    England
    Posts
    1,550

    Default Re: Making units dependent on two buildings?

    I think that is true - at least I've never seen the AI destroy buildings (not that I've studied it greatly).

    One could argue that this reality should be taken into account when creating the strat_map balance in a mod - the more complex activities being the advantage of the local (human) player. In the end, the player gets more enjoyment from the faction he is playing *and*, of course, may play any playable faction and engage the complexities.

    Such complexities should thus give access to extra bonuses/units rather than the standards otherwise the AI really will be too easy to thrash.
    "One of the most sophisticated Total War mods ever developed..."

  5. #5
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Making units dependent on two buildings?

    [QUOTE]Originally posted by MonkWarrior
    In general, all those questions about requirements and buildings arrive to a "dead point": the AI.
    I think (please, correct me if I'm wrong) that the AI doesn't destroy any building after conquering a settlement. This means that strong (or complicated) requirements would make the campaign even easier for the human player.[/
    QUOTE]

    I agree I don't think the complex requirements work for the AI we are just writing a mod for the faction we are going to play (carthage) so it will only be the human player that has these requirements. (It would need rewriting to get a sensible result playing as another faction, but once we've got the principles working that shouldn't take too long.)

    Will have another look at txt files before posting re: CTD.
    Not used mods before? Looking for something small and fun?!
    Download the:

  6. #6
    CeltiberoRamiroI Member Monkwarrior's Avatar
    Join Date
    Apr 2004
    Location
    Salduie/Caesaraugusta/ Sarakusta/Saragossa
    Posts
    828

    Default Re: Making units dependent on two buildings?

    Quote Originally Posted by Makanyane
    I agree I don't think the complex requirements work for the AI we are just writing a mod for the faction we are going to play (carthage) so it will only be the human player that has these requirements. (It would need rewriting to get a sensible result playing as another faction, but once we've got the principles working that shouldn't take too long.)
    Doesn't the AI use the same recruitment system as the human player?
    Or is it a mod that has Carthage as the only playable faction?

  7. #7
    Finder of Little Oddities Senior Member Makanyane's Avatar
    Join Date
    Jan 2006
    Posts
    2,220

    Default Re: Making units dependent on two buildings?

    We're only making things difficult for Carthage, with the intention of only playing as Carthage - could therefore make all the others factions non-playable.

    Originally posted by Monkwarrior
    I used this double conditional also to recruit carthaginian sacred band. I noticed the temple appeared besides the unit in the barracks description but I didn't notice the CTD problem (I will check it again).
    Please let us know if you do check this out, our main CTD was when right clicking the line where the temple appeared besides the unit. Have since tried various combinations of trying to add a combined infantry_temple line into export_units and export_desrc_units_enums but still have same CTD.
    Not used mods before? Looking for something small and fun?!
    Download the:

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO