19th Century Mod

Discussion in 'Modding' started by Loner, Feb 17, 2019.

  1. Ftoomsh

    Ftoomsh Well-Known Member

  2. Loner

    Loner Active Member

    I have read that guide thanks Ftoomsh, most of my units are new, but as far as I'm aware it doesn't show how to get the A.I to produce anything new.
     
  3. Ftoomsh

    Ftoomsh Well-Known Member

    My suggestion would be this. Find a unit that vanilla A.I. produces all the time or in most A.I. games. A common 17th C pikeman for a standard 18th C nation would be a good target. Search the whole vanilla data file for the name of that unit. Find every occurrence of that unit name in every file where it occurs. This search should reveal every file and line of code where the unit has to be specified to make it work in every respect including the AI. You may or may not want to exclude maps and campaigns from this search to speed it up but then you might not find what is needed to make a unit work correctly in a campaign for example.

    Also, look specifically at the progresseconimicai.inc and maybe progresswarai.inc files and ensure the unit is specified for AI production and fighting, either all the time or sometimes according to a random function. Look at how existing stuff is specified for production. Bear in mind this file is very basic. The AI is basic and scripted, it is not intelligent AI. It would be possible to do a lot of work to make the AI smarter. The Cossacks Annihilation mod by Wralth added new units and put them in the AI if I recall correctly. He also made the AI smarter IIRC. The CA mod doesn't work any more but the code is still available. You can look at his code. His AI makes the new units. The code to look at is for AI extension 1.3.

    I apologize in advance if this advice is too simplistic or if you have already tried these avenues.
     
    Last edited: Nov 8, 2019
    Loner likes this.
  4. Loner

    Loner Active Member

    Thanks Ftoomsh, I'll have a look at that, where I'm concerned the simpler the better.;)
     
  5. Loner

    Loner Active Member

    Ukraines 19th Century Buildings;
    Ukraine Buildings.JPG
     
    Johny, ComDiv and Demoul like this.
  6. Loner

    Loner Active Member

    Can't find this Ftoomsh, can you point me in the right direction please.
     
  7. Johny

    Johny Member

    Those stables looks really nice (mabyle I'm gonna steal that design ;-) )
     
    Loner likes this.
  8. Loner

    Loner Active Member

    By all means Johny, it's Venices with the roof painted green.:D
     
    Johny likes this.
  9. Ftoomsh

    Ftoomsh Well-Known Member

    In Steam go to the Steam Community - Workshop. Search for Cossacks 3. When Cossacks 3 Mods are up, click to browse by tag Gameplay. You should find about 10 entries. Scroll down to Cossacks Annihilation with AI Extension 1.3 by Izy_hh. Download this mod. It probably won't run anymore, not updated. That doesn't matter. You want to look in the Workshop of OCMOD3 to find the files. Then you can open them and check out what he has done. I will try to keep answering any questions (not that I am any kind of expert) but my region will likely be facing a bush-fire crisis for the next two days. I might be very busy... saving my house... or running away. Let's hope it doesn't come to that.
     
    Loner likes this.
  10. Loner

    Loner Active Member

    Thank you Ftoomsh, of course prioritize, can't imagine what that must be like, thinking of you.
     
  11. Loner

    Loner Active Member

    Hope things are safer at home.:)
     
  12. Ftoomsh

    Ftoomsh Well-Known Member

    Yes, things are still safe for us so far. No bush-fires in my general area. No high, hot winds either which is good. But my place is dry as tinder and there is no rain in sight. This weekend is predicted to be very hot too. We won't be able to fully relax until we get some good summer rains, if we get them at all. It could be days, weeks or months before rain.

    In Australia, the authorities have had to add another level to the bush-fire danger scale. The scale used to end at "Extreme". Now, beyond "Extreme" there is "Catastrophic". The new category is necessary too. Imagine, if you will, a day with 40 C temperatures, humidity at 3% and winds of 80 kph gusting to 100 kph. In those conditions, embers are driven kilometers ahead of the fire front and "spot" new fire outbreaks at those points. Even if all the undergrowth is cleared, the fire simply leaps from tree-top to tree-top. The fire can become a fire-storm, the technical definition of which includes the fact that it creates its own winds and weather. Such fires are deadly and un-fightable.
     
  13. Loner

    Loner Active Member

    Frightening, be safe.
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice