[BtS MOD] Wolfshanze 1850-1920 Enhancement Mod v2.0

I fixed that problem when I implemented JKP's custom events. Just be sure you keep those tabs!
Huh? You lost me there.

Also, I was nosing around a bit... I saw the Harbormaster event referenced in the CvRandomEventInterface.py but it didn't seem to mention anything other then Caravels in that Harbormaster section. Maybe the reward is listed in some other file?

Guess I need to do more digging or get a little help on this.
 
Guess I need to do more digging or get a little help on this.

Check CIV4EventInfos.xml, EVENT_HARBORMASTER_DONE_1 and EVENT_HARBORMASTER_DONE_3. I guess those are the ones where you need to add your naval categories (haven't verified it though).
 
Check CIV4EventInfos.xml, EVENT_HARBORMASTER_DONE_1 and EVENT_HARBORMASTER_DONE_3. I guess those are the ones where you need to add your naval categories (haven't verified it though).
Thanks... I was looking in Python... didn't think it was as simple as XML.

EDIT:
Okay... found it... updated/corrected it... thanks... the HarborMaster quest will officially be fixed in the next release.
 
When you edit python files, be sure you don't delete or add extra tabs. That screws up the code. I learned this the hard way while I was adding JKP's events.

Of course it does. Python uses indention to know what code-blocks belong together (no 'begin' and 'end' or '{' and '}'). Imagine adding begin's and end's all over the place, those will screw up the code too :)
 
I just fixed something in Python the other day... my "free" bonus unit when discovering flight (you get a free early flyer) cost -1 to make it unpurchaseable (you only get it if you're first to flight), and I had it as upgradeable to WWII Fighters, but because it initially cost -1, it's upgrade cost was phenomenal... I was able (in Python) to set the upgrade cost to whatever I wanted it to be (upgrade cost over-ride)... quite cool actually!
 
Thanks a lot for looking into it!

Also, there's a random event, while not broken, might be worth looking into.

Spoiler :
Event137
Experienced Captain
Prereq: City with Drydock AND GALLEY or TRIREME or CARAVEL or GALLEON or PRIVATEER or FRIGATE or SHIP_OF_THE_LINE or IRONCLAD or TRANSPORT DESTROYER or STEALTH_DESTROYER or BATTLESHIP or MISSILE_CRUISER or SUBMARINE or ATTACK_SUBMARINE or CARRIER unit with 7 or more XP
Obsolete: None
Active/Weight: 95/200
Result:
1.City gains +2 gold for its drydock
2.you pay 250 gold AND city gains Military Academy


As you can see by its prerequisites, it obviously doesn't include the new units that were added into the mod. So it might be worth putting in some of the new units so there isn't a huge gap between the Steel technology (which gives the Drydock) and the attainment of the more modern naval units.
 
Thanks a lot for looking into it!

Also, there's a random event, while not broken, might be worth looking into.

Spoiler :
Event137
Experienced Captain


As you can see by its prerequisites, it obviously doesn't include the new units that were added into the mod. So it might be worth putting in some of the new units so there isn't a huge gap between the Steel technology (which gives the Drydock) and the attainment of the more modern naval units.
Okay... the Experienced Captain event has been updated (well for the next version) to include all the new ship classes introduced in the Wolfshanze Mod... no more gaps, no more waiting for a new generation of ships. Thanks again for pointing it out.
 
Apologies for the barging in, but in that code snippet, it looks like there's an "or" missing between transport and destroyer. Is this a bug? And is it with the mod, or with Civ4?
 
Apologies for the barging in, but in that code snippet, it looks like there's an "or" missing between transport and destroyer. Is this a bug? And is it with the mod, or with Civ4?
None of the above... the actual code looks nothing like that. It's fixed regardless.
 
Okay, when the next update comes out (not imminent, just something in-work)... Dreadnoughts will now be removed from the modern-age build que (you can still build them during the Dreadnought Age of course). Once Battleships arrive, you can't build Dreadnoughts... I've avoided this in the past because I didn't want people cheaply upgrading WWI Dreadnoughts to WWII Battleships for a mere 80-gold a pop... I wanted it either impossible or incredibly expensive (as such a conversion would be in real life).

Thanks to some recent Python revelations, I'm finally able to prevent both the building of Dreadnoughts in the Battleship age, and make them incredibly expensive to upgrade if one is so inclined to do so (1,000 a pop, should make people think twice). This should still encourage folks to keep old Dreadnoughts around un-upgraded, and at the same time force a switch from dreadnought production to battleship production.
 
I've been merging your mod with RevDCM. Most of it is XML and easy to handle. If you do make any pertinant Python changes, please point to them so I can more easily incorporate it. Python has a way of crashing when it conflicts.

Also any chance the "Motorized Infantry" could be included in the next update? When you announced that it sounded like a good change, and historically accurate. Right now it's odd you have to wait until the late information age before you can upgrade your WWI infantry.
 
I've done a couple of Python changes in this current in-work version... both in the same file and both in the same place in that same file (upgrade costs of Early Flyers and Dreadnoughts... one made cheaper, one made more expensive).

On the WWII Infantry thing... it's under consideration... not sure if it will make this version or not... depends on my free time and patience.
 
Was just playing and I think the American shield looks a bit goofy. Any thought on retexturing it as the good ol' bald eagle or something more appropriate for a shield crest?
 
Was just playing and I think the American shield looks a bit goofy. Any thought on retexturing it as the good ol' bald eagle or something more appropriate for a shield crest?
Maybe... Not sure how well the Bald Eagle would look on a shield that size though... under consideration though.
 
Okay, when the next update comes out (not imminent, just something in-work)... Dreadnoughts will now be removed from the modern-age build que (you can still build them during the Dreadnought Age of course). Once Battleships arrive, you can't build Dreadnoughts... I've avoided this in the past because I didn't want people cheaply upgrading WWI Dreadnoughts to WWII Battleships for a mere 80-gold a pop... I wanted it either impossible or incredibly expensive (as such a conversion would be in real life).

Thanks to some recent Python revelations, I'm finally able to prevent both the building of Dreadnoughts in the Battleship age, and make them incredibly expensive to upgrade if one is so inclined to do so (1,000 a pop, should make people think twice). This should still encourage folks to keep old Dreadnoughts around un-upgraded, and at the same time force a switch from dreadnought production to battleship production.

Will the AI upgrade Dreadnoughts if you do that? I could see this change hurting the AI potentially if it does what I think it will.

I'd love the motorized/mechanized infantry as well. One change I'd like to see changed is that you can't draft Motorized or Mechanized Infantry, just plain Infantry. The drafted Infantry could be upgraded though, but with gold
 
Will the AI upgrade Dreadnoughts if you do that? I could see this change hurting the AI potentially if it does what I think it will.
I don't see that as a problem...

#1) the AI rarely upgrades its units in the first place...
#2) if I'm not mistaken, the AI does do some sort of "value" calculation to see if it's worth it to the AI to upgrade in the 1st place.
#3) the upgrade cost of the Dreadnought to the Battleship is not a little high... considering 80 would be the default cost... the upgrade cost is quite literally 1,000. More then 10x the default upgrade cost... I doubt the AI would consider that a value upgrade, and even if it did, the AI probably doesn't have 1,000 in gold anyways.


I'd love the motorized/mechanized infantry as well. One change I'd like to see changed is that you can't draft Motorized or Mechanized Infantry, just plain Infantry. The drafted Infantry could be upgraded though, but with gold
I wouldn't have it any other way... the default WWII infantry (on foot) would still be the draft unit... the motorized infantry wouldn't replace it, just be "another unit" you could purchase (and upgrade too)... it would be a lot like the WWII "Tank" and "Heavy Tank"... they both coexist, can both be purchased at the same time, but one can be upgraded to the other.


Was just playing and I think the American shield looks a bit goofy. Any thought on retexturing it as the good ol' bald eagle or something more appropriate for a shield crest?
Okay... how about this? Instead of the default shield being the American flag, I've offered two versions... one has the white star in blue field in the center... for the "cheesier" units... and the other has the Great Seal of the United States in the center (the Bald Eagle)... for the top-of-the-line units like the Heavy Footman and Knight.

See below:

AmericanMedieval.png
 
They are both much, much better visually. The seal one is top notch.
 
The shields are interchangeable between the units... so if wanted, they could all be stars or all be the great seal.
 
Back
Top Bottom