Version 1.2 is now available for testing. If you want to test it, please send my a private message and I will respond with the download link. Please only apply to be a tester if you can spend a relevant amount of time testing this version within the next 1-2 weeks.
While testing, please pay extra attention to the city economy and other newly added scripts and in general, anything that is listed in the changelog.
Changelog :
While testing, please pay extra attention to the city economy and other newly added scripts and in general, anything that is listed in the changelog.
Changelog :
Code:
Version 1.2.0
WARNING : Save files from previous versions are not compatible, to support the new modding features/additional data.
Avoid downloading the update while you have an ongoing game you are intend to finish and/or make a backup of the previous game version first.
Bug fixes, gameplay, general
-Fixed bug : The game crashes when the player attempts to move a unit outside the map area.
-Fixed bug : Rare and Very Rare spells can be found in treasure when it shouldn't be possible and cannot be found when it should be possible.
-Fixed bug : Armageddon and Doomsday cast by the human player doesn't increase unrest in AI cities.
-Fixed bug : Nightshade has twice the intended effect on Cathedrals
-Fixed bug : When Darkest Hour is cast by the human player, it doesn't reduce enemy research and power.
-When multiple opponents have cast Darkest Hour, the effect will be merged to one displayed line in the resource detail view.
-Fixed bug : Doomsday cast by the human player doesn't cause AI cities to shrink when exceeding maximal population.
-Multiple instances of Doomsday enchantments will now show the total population growth reduction as a single line in the detailed view.
-Racial resistance modifiers now apply to settler units.
-Fixed bug : the Leave Me Alone setting also forces the AI to build at 6 distance from their own or other AI cities in addition to the human player's.
-Fixed bug : Starting a new game with "I am the Boss" and very high player count can freeze in an endless loop.
-Adjusted the AI's "need casting skill" strategy flag to depend on difficulty level.
-Adjusted how the AI's "need troops" strategy flag depends on the number of owned cities per land size setting.
-Fixed bug : Resistance removed by Eternal Night does not display a grey icon.
-Fixed bug : Animate Dead doesn't grant +1 thrown or breath attack strength.
-Fixed bug : When the AI casts Spell Ward, a different city enchantment is applied to the city instead.
-Fixed bug : Scoring screen shows item looted from the final battle.
-The AI will not cast Stasis during Time Stop anymore.
-Fixed bug : The human player could target heroes with Animate Dead even though they were invalid targets.
-Smallest map size is now forced to be 15x15 tiles. Any settings that would result in smaller maps will raise the size to this number.
This is required because on smaller maps, the game sometimes freezes due to not finding valid locations for objects, such as nodes.
-Fixed more spell descriptions in the documentation.
-Fixed bug : Mystic Surge fails to add Adamantium and Mithril to units.
-Fixed bug : Animated status fails to set resulting undead effects until the unit's data is recalculated twice.
-Fixed bug : End of turn healing caused by Regeneration is applied on the wrong unit.
-Fixed bug : Eternal Night reduces the resistance of the owner's units even though it should only apply to enemies.
-Fixed bug : Floating Island can appear in combat on land if it gains Flying.
-Fixed bug : Angels had Exorcise +1 instead of -1.
-Fixed bug : Focus Magic didn't convert thrown attacks to ranged.
-Fixed bug : AI and "Random" wizard starting spell selection doesn't clear selection slots 11 and above or any very rare spell slots.
This could lead to incorrect spells when starting a new game after winning/losing another one.
-The AI will prioritize targeting enemies during war higher when targeting a Raise Volcano spell.
-The AI will prioritize players in range for a war declaration (adjacent empires) higher when targeting a Raise Volcano spell but lower than targets they are alwasy at war with.
-The AI is now allowed to send a magic spirit to any nodes regardless of distance if they already have troops guarding it.
-Fixed bug : Raise Dead and Animate Dead couldn't be used in sea combat.
-The AI will reduce tax rates during the first 40 turns of the game if necessary to get rid of unrest and aims to have no rebels at all to maximize production output.
-Fixed bug : In Automatic Combat, army ammo is sometimes considered zero when ranged units and nonranged units fight together.
-Fixed 1.1.1 bug : Normal Caster units don't have the Fireball Spell in their spellbook.
-Reduced the AI's chance to build Amplifying Tower in the early game.
-Fixed bug : Doom Gaze is applied once per figure instead of once per unit attacking.
-Fixed bug : Carrack consumes 1 food enough though boats should not have upkeep costs.
-Fixed bug : Spell Lock didn't protect units from Great Unsummoning
-Fixed bug : Death Immunity didn't protect units from Final Wave
-Fixed bug : Mithril/Adamantium is now visible on units in the list view.
-Default Tower Budget multiplier for I Am the Boss score modifier is now 70% instead of 50%.
-Fixed 1.1.2 bug : AI starting race selection only sets the city race but fails to set the AI's home race variable. This can lead to poor AI decisions and incorrect unrest values during the game.
-Ice Bolt will no longer freeze Non-Corporeal or Immolating units.
-The AI will not add additional priority to the Ice Bolt spell based on the freezing effect, if the target cannot be frozen.
-Casting Wraith Form on a unit will now instantly remove the effects of the Web spell from the unit. However, movement points will not be refilled until the start of the next turn.
-Cities on the minimap will now glow for better visibility.
-Adjusted Shore/River/Lake/Swamp/Hill pixel color on the minimap.
-Adjusted Myrran Forest pixel color on the minimap.
-Fixed bug : Monster Invasion event sometimes fails to generate monsters.
-Rivers now have a greatly reduced chance to turn in the same direction twice in a row.
-Changed the score modifier for Plane of Earth to 80% from 50%.
-Added new scoring option : "Standardized".
This causes all opponents to use default wizards.
Normal difficulty level no has this effect by default, but Easy does force using this option.
-Added new scoring option : "Plane of Water"
This option increases the Sea to Land ratio, the opposite of the effect of "Plane of Earth".
-Fixed bug : "Mixed" continent size option works incorrectly and generates only continents of one random size on the Myrran plane.
-Slightly increased the default size of continents on Average and Large continent size settings.
-Fixed bug : Stream of Life effect is applied before Chaos Rift damage instead of after
-Pressing Ctrl+1 to 9 saves the current location on the map. You can reset your view to the saved location by pressing 1-9 afterwards.
Starting a new game or loading a save file clears saved locations.
-The AI will not cast the Fire Elemental and Construct Catapult spells if the enemy has Entangle in effect
-Fixed a few bugs that could cause the AI to cast direct damage spells on undesirable targets.
-Scoring : Size multiplier is now based on the number of land tiles in the game, instead of the plane's width.
-"No Overlap" score modifier is now worth 70% instead of 100%. Fewer cities/land tile makes the size modifier overestimate the difficulty compared to the default.
-Clarified ingame help and documentation : Ruler of Heaven protects all of the caster's enchantments from dispel, not only global enchantments.
-Darkest Hour now has an additional effect : The caster's city enchantments are 100% harder to dispel.
-When the player starts on Arcanus, the maximal amount of Myrran wizards rolled is now only 1 higher than the minimal requierd amount instead of allowing all but one wizards to roll the Myrran retort and start there with extremely bad luck.
-Added new scoring option : "Inverted Worlds"
This swaps the number of Arcanus and Myrran wizards with each other.
-Adjusted the amount of ships AI players intend to have in play.
-Fixed bug : The scoring screen sometimes displays the wrong score multiplier value (applied value was correct).
Modding
-Animation Frame count and Vizier priority is now moved to Buildings.INI
-The game will no longer freeze when there are too many buildings to display in a city (as a consequence to modding building data).
However, it's still recommended to use the "replaced by" feature to reduce the number of
possible simultaneous buildings to an amount where this doesn't happen. Excess buildings that
cannot be drawn will be impossible to sell for the player, as they cannot click on the building.
-It is now possible to change the amount of building types in Modding.INI, to add new buildings.
-Added "Iswall" parameter. This determines whether a building should be displayed in the "city wall" area instead of this being hardcoded.
-Added "OnShore" paremter. This determines whether a building should be displayed in the "ship yard" area instead of this being hardcoded.
-Added EcoSkill.CAS script to calculate the base, combat and overland skill of players.
This can be used to add new buildings, spells, or other effects that change casting skill.
Changing the base skill formula is not recommended.
-Added many new script commands and functions, see Scripts.txt for details.
-Tax table is now external in Tax.INI and it is now possible to change the number of different tax levels.
-Added EcoUnrest.CAS script to calculate the unrest of cities.
-Optimized the script engine to run about 50% faster.
Please remember that running scripts is still significantly more computationally expensive than running
an equivalent hardcoded function.
Avoid making scripts too complex or you may experience FPS drops or slow turn times especially
on scripts that are frequently used.
-Fixed bug : %F and %I have each other's effect in scripts
-Fixed bug : Space characters in scripts get removed from within string constants as if they were code.
-Fixed bug : Characters in scripts get turned to uppercase in string constants as if they were code.
-City economy data (unrest, gold, research, power, etc) calculated will be stored and will
only be recalculated when something happens in the game that might cause a change in the result.
This should reduce the number of calls done to these scripts and improve performance overall.
-Added EcoGold.CAS script to calculate the gold of cities.
-Added EcoProd.CAS script to calculate the production of cities.
-Added EcoPower.CAS script to calculate the power generated by cities.
-The scripts now support using <> for "not equal".
-Fixed bug : For/Next loops in scripts fail to run for the last value in the loop.
-Added EcoResearch.CAS script to calculate the power generated by cities.
-Added EcoFood.CAS script to calculate the power generated by cities.
-Added EcoMaxPop.CAS script to calculate the maximal population of cities.
-Removed Waterwalking,Windwalking,Forestwalk,Flying, etc script commands,
and added a generic GETSTAT script command instead to get any unit stat or ability.
-Added Settler.CAS script to set the base stats and abilities or settlers from various races.
-The data tables used by the AI to decide which race they prefer to build settlers from are now external in AIRacepref.INI
-Spells.INI now contains AIWaterMove flag to mark which spells allow the AI to not prioritize early game ship yards.
-Added AIProd.CAS script for the AI's city production decision
-Added AIBuilding.CAS script for the AI's building priority decision
-Script error : "Variable does not exist" will now show the missing variable's name.
-Fixed bug : "Call" keyword in scripts does not work.
-Added Earth Lore area size to MODDING.INI
-Added AI maximal spirit distance and spirit exception parameters to MODDING.INI
-Fixed bug : Offensive stats and abilities had no effect on Shield, Plate and Chain Mail type items.
-Added debug mode logging of AI building priority, mandatory building decision, and unit/building decision.
-Added debug mode logging of Automatic Combat army stats
-Shift-H in debug mode now also shows AI city production and income data. This can be useful for debugging related scripts.
-Added AIPreHousing script to decide which buildings the AI buys before starting to build Housing in a new city.
-AI resources bonus values and other difficulty parameters are now external in DIFFICULTY.INI.
-The unit ID of the starting units (swordsmen) is now included in RACES.INI
-Added the maximal number of races to MODDING.INI. This allows adding new races to the game.
-RACES.INI now contains the name of each race and their home plane.
-RACES.INI now contains data fields to mark races as playable, or valid as neutrals.
(Setting a system race such as Chaos Realm as a playable race will cause the game to crash.)
-Increased the maximal amount of disallowed buildings supported on races to 100.
-Added food upkeep field to Units.INI
-Conversion rate of excess food to gold can be set in MODDING.INI
-To Defend cap and cap effect can now be changed in MODDING.INI
-The AI spell rerolling feature can now be disabled or the difficulty level required to activate it can be changed in Modding.INI
-The spell table used for the AI rerolling feature is now external in AIReroll.INI
-Combat movement costs of each tile type and relevant special movement ability is now in Modding.INI
-Overland movement costs of each tile type and relevant special movement ability is now in Modding.INI
-Road movement costs are in MODDING.INI
-Added a parameter in MODDING.INI to adjust the chance of a river turning in the same direction twice in a row.
-Added a setting to MODDING.INI that disables the side effect of control changing spells (Confusion, Possession, Creature Binding)
where they irrecoverably kill the unit. Disabling this feature might lead to unwanted side
effects, such as Raise Dead reviving units to fight for the enemy side. Use this option at your own risk.
-Added FORTLIG.CAS script to calculate fortress lightning strength and duration.
-Added logging of the fortress lightning strength and duration during debug mode.
-Score modifier names, display order and score value are now external in SCORING.INI
-It is now possible to add new score modifiers by raising the maximal amount in SCORING.INI
-Calculated map size is capped at 200x200. This should prevent any crashes caused by raising map size related values in the modding.ini file too high.
-Added debug mode logging of dispel effect strength and resistance when Dispel Magic, Dispelling Wave, Disillusionise, Disenchant Area, or Disjunction is cast.
-Item power data is now external in ITEMPOW.INI
-Maximal house type ID is now in MODDING.INI
-Increased several data structure sizes to make it possible to implement modding for related features in the future without changing save game compatibility. (such as maximal number of spells)