Results 1 to 10 of 10

Thread: Anti-resources

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default Anti-resources

    I would really like to know, how do you word multiple anti-resources in export-descr-building. What I mean is I have hidden resources in Athens and Corinth. I can write "and hidden_resource athens" and build units only in Athens. Or I can write "and not hidden_resource athens" (anit-hidden resource athens) and not be able to build that unit there. But how do I make is to that I can't build hoplites and armoured hoplites in Athen, Corinth, and Sparta? I have gotten this to work for Sparta but not for the other two. Somebody, please help me.
    The enemy of my enemy dies next.
    GLADIO VIVERE SPONDENTES IN QVISQVAM NISI NEX GLADIO NON DESINABIMVS
    There are no rights, only privleges. How do you earn yours?

  2. #2
    MasterOfNone's Avatar RTW Modder 2004-2015
    Join Date
    May 2005
    Location
    England
    Posts
    16,707

    Default Re: Anti-resources

    Write down the conditions in English and we can let you know the negative conditionals needed. I am not sure I fully understand your request as it is.
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

  3. #3
    alpaca's Avatar Harbinger of saliva
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    4,811

    Default Re: Anti-resources

    You'd use the natural approach:
    not hidden_resource athens and not hidden_resource sparta and not hidden_resource corinth
    Don't forget to add the hidden_resources though

    No thing is everything. Every thing is nothing.

  4. #4
    MasterOfNone's Avatar RTW Modder 2004-2015
    Join Date
    May 2005
    Location
    England
    Posts
    16,707

    Default Re: Anti-resources

    I'm sure he knows that, alpaca. He must be getting at something else. Though I may be completely wrong
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

  5. #5

    Default Re: Anti-resources

    Well actually I wrote "and not hidden_resource sparta and not hidden_resource athens" but it CTDs and say "unexpected". I'll have to try it again though.
    The enemy of my enemy dies next.
    GLADIO VIVERE SPONDENTES IN QVISQVAM NISI NEX GLADIO NON DESINABIMVS
    There are no rights, only privleges. How do you earn yours?

  6. #6
    MasterOfNone's Avatar RTW Modder 2004-2015
    Join Date
    May 2005
    Location
    England
    Posts
    16,707

    Default Re: Anti-resources

    Post the code. "Unexpected" means you have typed something wrongly.
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

  7. #7

    Default Re: Anti-resources

    i have the same problem, it is about the unit ''Mounted Arian Priest'', but this time i cannot recruit this unit anywhere...and it is not a horde unit; so what should i do to enable me recruitin it ?

  8. #8

    Default Re: Anti-resources

    i didnt precise this is in BI and as the Vandals/

  9. #9

    Default Re: Anti-resources

    Okay I think I got it to work. But that status may change. Must have typed something wrong the first time. Hey, is it possible to make a unit require a particular building in order to be built? I don't want it built in that building I just want it to be present before I can build said unit.
    The enemy of my enemy dies next.
    GLADIO VIVERE SPONDENTES IN QVISQVAM NISI NEX GLADIO NON DESINABIMVS
    There are no rights, only privleges. How do you earn yours?

  10. #10
    MasterOfNone's Avatar RTW Modder 2004-2015
    Join Date
    May 2005
    Location
    England
    Posts
    16,707

    Default Re: Anti-resources

    Yes you can. It takes the same format as the conditional for the building itself. However, I would advise against it as there are limitations and unavoidable CTDs in doing so. The problems of using BCs for units are thus:

    * you may not have bonus capabilities in the same building
    * you may encounter a CTD after a certain number of such units exist in a building (4 seems to be the amount it CTds on) simply by opening up the building scroll (though sometimes it occurs just by clicking on the city or even when it is built)
    * because BC units displace normal units in the right-click feature (in the building scroll) you may not use the right-click, though it will work for most units. The last one will always cause a CTD.
    * There seems another CTD which seems connected to the right-click feature and models/textures. How the two relate is anyone's guess but there is definitely some conection.
    * oh and you will have the building name at the end of the unit name in the building scroll too

    BCs are meant for buildings, not units.
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •