Results 1 to 10 of 10

Thread: Bring out y'r deaaaad !

  1. #1
    Village special needs person Member Kobal2fr's Avatar
    Join Date
    Nov 2006
    Location
    Paris, France
    Posts
    914

    Default Bring out y'r deaaaad !

    This was brought to my attention by Whacker, praise be-eth to his soul.

    Has anyone noticed that the plague happens a lot more in 1.2 than it used to ? I'm not talking about the scripted Black Plague event that is supposed to happen historically, but rather the random outbreaks of plague in high population cities ?

    Now, I'm playing Lusted's LtC which, among other things, boosts pop growth a bit and ups population thresholds as well (meaning you need more folks to become a City, Huge City etc...) which may compound the issue but even in vanilla I've had outbreaks pretty much all over the place as soon as my walls reach the last or next-to-last levels.

    I tried searching the /data *.txt and *.xml files for the word "plague", but all I found was the effect of the disease on public order (in descr_settlement_mechanics.xml), and a trigger for an advisor. That advisor pops up when a city has high pop, low health and no sewers. Obviously a leftover from Rome, but it leads me to believe that maybe, just maybe, plague outbreaks might still hinge upon the existence of sewers, which we can't build in M2TW...

    I'm probably wrong of course, in this as in all things, but it's bugging me. Anyone know whether the plague mechanics are hardcoded or not ? And if not, where are they ?
    Last edited by Kobal2fr; 06-05-2007 at 00:40.
    Anything wrong ? Blame it on me. I'm the French.

  2. #2
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Bring out y'r deaaaad !

    descr_disasters.txt:

    Code:
    event		plague
    frequency	20
    winter		false
    summer		false
    min_scale	2
    max_scale	5
    Now the 20 is probably to be divided by some number that is hidden somewhere and it certainly is higher than 100 as otherwise you'd have massive plague outbreaks every turn. I'm also guessing this is run at end of turn for each settlement a faction owns, simple reason that you see the symbol popup once you press end turn and it only occurs in settlements.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  3. #3
    Village special needs person Member Kobal2fr's Avatar
    Join Date
    Nov 2006
    Location
    Paris, France
    Posts
    914

    Default Re: Bring out y'r deaaaad !

    Good find ! I figured descr_disasters was meaningless, but that's because I checked the /data one, not the /date/world/base/ one.

    But there's gotta be more to it than that... not only is 20 not a percentage, but a min number of turns between events (check the comments at the beginning of the file), but health/sewers/poplevel isn't taken into account, and that goes against empirical evidence.

    The file is interesting though. Anyone ever got locusts ? :)
    Anything wrong ? Blame it on me. I'm the French.

  4. #4
    Amphibious Trebuchet Salesman Member Whacker's Avatar
    Join Date
    Nov 2006
    Location
    in ur city killin ur militias
    Posts
    2,934

    Default Re: Bring out y'r deaaaad !

    So you HAD to go and post a thread about it!!! I was honestly about to PM you my short findings so far, but I'll just go ahead and do it here...

    As Factionhair pointed out, that file seems to govern this. I edited mine and made it something nuts like 200, but I still get plague almost every turn in at least one settlement. Methinks one needs to start a new campaign to make these changes happen. Am about to do so, will report back with results.


    "Justice is the firm and continuous desire to render to everyone
    that which is his due."
    - Justinian I

  5. #5
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Bring out y'r deaaaad !

    Disaster file is only loaded for new campaigns, yes.
    And I have yet to find a pun for Whacker.
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  6. #6
    Amphibious Trebuchet Salesman Member Whacker's Avatar
    Join Date
    Nov 2006
    Location
    in ur city killin ur militias
    Posts
    2,934

    Default Re: Bring out y'r deaaaad !

    Quote Originally Posted by FactionHeir
    Disaster file is only loaded for new campaigns, yes.
    That's what I've read so far, yessir.

    And I have yet to find a pun for Whacker.
    Replace a certain letter of my handle with the letter 'n'. Or get on the IRC channel, the regulars in there have a few good ones that probably shouldn't be mentioned in here.

    "Justice is the firm and continuous desire to render to everyone
    that which is his due."
    - Justinian I

  7. #7
    Village special needs person Member Kobal2fr's Avatar
    Join Date
    Nov 2006
    Location
    Paris, France
    Posts
    914

    Default Re: Bring out y'r deaaaad !

    @Whacner : I can't help it, I'm both morbidly curious and terminally anal . What I don't understand I just can't get out of my head
    Anything wrong ? Blame it on me. I'm the French.

  8. #8
    Relentless Bughunter Senior Member FactionHeir's Avatar
    Join Date
    Dec 2006
    Location
    London, UK
    Posts
    8,115

    Default Re: Bring out y'r deaaaad !

    Well either of those modifications would get me banned :p
    Want gunpowder, mongols, and timurids to appear when YOU do?
    Playing on a different timescale and never get to see the new world or just wanting to change your timescale?
    Click here to read the solution
    Annoyed at laggy battles? Check this thread out for your performance needs
    Got low fps during siege battles in particular? This tutorial is for you
    Want to play M2TW as a Vanilla experience minus many annoying bugs? Get VanillaMod Visit the forum Readme
    Need improved and faster 2H animations? Download this! (included in VanillaMod 0.93)

  9. #9

  10. #10
    Cynic Senior Member sapi's Avatar
    Join Date
    Oct 2004
    Location
    Brisbane
    Posts
    4,970

    Default Re: Bring out y'r deaaaad !

    Asked and Answered
    From wise men, O Lord, protect us -anon
    The death of one man is a tragedy; the death of millions, a statistic -Stalin
    We can categorically state that we have not released man-eating badgers into the area -UK military spokesman Major Mike Shearer

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