Repository navigation
04/12 #57
Pannoniae
announced in
Announcements
04/12
#57
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
REX / M2EX - 04/12
Three and a half months since August, another monster of a changelog. <3 This covers everything since the August release.Lots of people shipped lots of stuff, and we threw a fair chunk of it back out before release, so everything below is what actually ships. Here's the quick summary.
Big thanks to ArthurMorgan42 (water, terrain, Extended Settings and 40-unit armies, custom battle rulesets, mounts), Nikita (campaign AI, client kingdoms, lighting, fog and blood, Rome modding, half of everything else), Klerski (campaign map editor, cavalry dismount and unit merging, map wonders, the Rescaled interface, campaign options), MiroslavSapunar (HD battle interface, display modes, crash fixes), ARGUS9000 (Dynamic Fires, Gift Units, multiplayer resync), Chris (native-resolution UI, quality of life), Suberdube (monsters, unit attributes, battle timer), DLOCK (camera, cavalry, javelins, navies), Tafferwocky (Rome skies, city viewer, menus), carrb007 (campaign shadows, HD campaign HUD scripting), rsslcs (HD interface art), Aster (console commands, battle difficulty), aeonflux (PBR campaign sea), TMAC, Klargus, Nebulas, WalhallaZ, NonOriginalName, probe, Pfadfinder, Dagovax, Angletonian, cp200s, KuroGuroChan, Lom1138 and Anton Zhukov. <3
Important: old REX/M2EX saves still load. As usual, new saves use a slightly upgraded format, and this time the unit save format changed too (building morale bonuses are saved now), and campaigns save their army size and map wonders, so saves made with this build won't load in older builds. A campaign keeps the army size it was started with. Multiplayer needs everyone on the same build.
Battle: Water
enable_file_toggles truein their own descr_caps_ex.txt, otherwise they keep the classic water. Modders tune it indescr_water_ex.txt(per-weathertint_brightness/tint_saturation, andweather_transitionso the sea fades into new weather mid-battle instead of switching instantly). Below Cinematic terrain detail it runs a lighter wave simulation and skips its extra depth passes, and Rome's water reflects only the land and sky there; Cinematic gets the full thing. (RTW/M2TW)descr_water_effects_ex.txtwith classes like wading, swimming and impact, mounts can get their own set withwater_trail_effectin descr_mount.txt (so elephants splash like elephants), and elephants blowing water throw a real stream using thesprayeffect type. (RTW/M2TW)water_corpsesin descr_ex.txt picks spin (the old merry-go-round), float or sink (the default, tuned withwater_corpse_sink_delayandwater_corpse_sink_speed),water_corpse_driftsets how fast the dead drift with the waves and the river (M2TW), andwater_death_anim_swelldecides whether a dying swimmer rides the waves or plays his death animation in place. In Rome the bodies drift with the river current only so multiplayer and replays stay in sync, they play their full death animation before bobbing, and drowned or overboard bodies no longer block living swimmers. (RTW/M2TW)shadow_height(descr_underwater.txt, default 15 m) above the sea floor no longer cast shadows straight down onto it. (RTW/M2TW)allow_underwater_camera,underwater_camera_depthin descr_ex.txt), with tint and fog indescr_underwater.txt. (RTW/M2TW)Battle: New Systems
can_dismountattribute and can set the on-foot stats with optionaldismount_attack,dismount_armour,dismount_health,dismount_moraleanddismount_speedlines, andhorse_rework 0in descr_caps_ex.txt turns dismounting off. (M2TW)immune_fireunits don't). It's off by default: turn it on in Options > Video > Dynamic Fires. In multiplayer the host's setting applies. (M2TW)unit_overlays enabledin descr_ex.txt and tunable indescr_unit_overlays.txt(climate and season dirt multipliers, blood intensity, texture thresholds, higher-res overlay sets). Burning soldiers and charred corpses now use M2's fire and charring textures regardless of that setting. (RTW)descr_hero_abilities.xml(ai_mode,ai_radius,ai_min_enemies,ai_min_rangeand friends), and the ability animation now plays even when the man is mid-fight. (M2TW)ai_dismount_field,ai_dismount_min_armour,ai_dismount_infantry_shareandai_dismount_max_sharein descr_ex.txt. (M2TW)Battle
descr_unit_sizes.txtnow get those sizes in battle and in custom battles, not only in the menu, and custom steps are kept exactly. Rome no longer ignores multipliers above 4x. Tip: 8.0 gives you historically accurate legionary cohorts. (RTW/M2TW)mount_effectin the EDU) now also applies to its missiles, not just its melee attack. Only bonuses carry over, penalties stay melee-only. Against elephants, thrown weapons use whichever is larger, this bonus or the general javelin bonus, so the two don't stack. (RTW/M2TW)precattribute (javelins, pila). They now show until the unit has thrown all its ammo. (RTW/M2TW)Battle: Sieges
Battle Controls & Camera
[and](rebindable), and there's a speed slider. Rome got Medieval II's speed steps up to 12x (was 6x), its minimal HUD got the speed control too, and both games have the same slower, pause and faster buttons. (RTW/M2TW)Campaign Map
region <name>use every region with that name, so storms hit fleets in every sea instead of only the Red Sea, and disasters placed byclimateland in the listed climate instead of a random lower-numbered one. (RTW/M2TW)farming_level bonus -Nnow also works in settlements without a farm, and a barefarming_level -Nis read asbonus -Nwith a warning instead of stopping the game. (RTW/M2TW)recruits_morale_bonus) are now kept when you save and reload. (RTW/M2TW)settlement_label_zoom truein descr_ex.txt) and draws with properly sized fonts instead of scaled text. (RTW/M2TW)fog_of_war_shroud blackin descr_caps_ex gives the M2-style one. (RTW)map_heights.tgathat only got a newer file date no longer replaces the exact heights, and every campaign rebuilds its map.rwm once on first load. (RTW/M2TW)Campaign AI & Diplomacy
client_status_enable truein descr_ex.txt). You can demand that an enemy or ally becomes your client: it joins all your wars, inherits your alliances, shares vision and pays tribute, and can only leave by going to war; a weak AI faction at war may also offer itself as your client. One suzerain each, clients can't have clients, and nobody is a client and a protectorate at once. (RTW/M2TW)invade_nonefor that neighbour. (RTW/M2TW)num_busy_enemiescondition in descr_campaign_ai_db_ex.xml;num_enemieskeeps its old meaning. (RTW/M2TW)random_persona_weightsgained a loyal weight:random_persona_weights <loyal> <steadfast> <neutral> <opportunist> <treacherous>. (RTW/M2TW)controlcommand. (RTW/M2TW)Graphics & Rendering
cloud_drift_speedandcloud_sunset_rim_strengthin descr_ex.txt tune it, and the dated lens flare is off by default (lens_flare truebrings it back). (RTW)solar_lighting falsein descr_ex.txt brings back the old fixed clock. (RTW)descr_daytypes.txtgetting black or broken battle lighting. Battles now always use the enhanced day types, so a mod's own weather list is not used. (RTW)City Viewer
gate_route_*andgate_trip_*policies indescr_lbc_db.txt. (RTW)descr_lbc_dbanddescr_sounds_lbw. (RTW)descr_lbc_db.txtno longer stops the city viewer from loading. Another citizen model stands in. (RTW/M2TW)UI & Settings
enable_file_togglesstart on Classic and can switch to Rescaled. (RTW/M2TW)enable_file_toggles truein their owndescr_caps_ex.txt; without it a mod stays on 20 units. (RTW/M2TW)settlement_units_per_row 11workaround in descr_ex.txt for this. (M2TW).sd.xmlpage size disagreed with the actual.tga. (RTW/M2TW)recruitment_sort_simplein descr_campaign_db.xml, the recruitment panel lists land units first, then ships, then agents. (RTW/M2TW)video.moviesandvideo.intro_moviesin medieval2.preference.cfg (or on the command line) turn off all movies or just the intro ones. (M2TW)HD Interface
Multiplayer
debug.rand_tracefor when we ask you for a desync report. (M2TW)Custom Battles
descr_custom_battle_categories.txtand can allow or exclude byunit_type, mount, engine or unit, cap groups withlimit N(with per-faction overrides likefaction parthia 10), cap each unit withlimit_per_unit N, and fix money (individual_budget/shared_budget), max experience and max upgrades withbattle_setup. Unit cards show a limit overlay once a capped group is full. (RTW/M2TW)lock_category <name> [exclude]in custom_locations.txt or the map's descr_battle.txt. (RTW/M2TW)Editors
--editor.campaign <dir>(relative to data/world/maps/campaign/), and the battle editor with--editor.battle <name>. (RTW/M2TW)preferences/editor_ui_size.txt). (RTW/M2TW)data/world/maps/base,data/world/maps/campaign/<campaign>/descr_strat.txtanddata/text/<campaign>_regions_and_settlement_names.txtinside the save folder, ready to copy into a mod. Characters'house_nameis kept when it saves. (RTW/M2TW)map_heights_ex.png. The 8-bit map_heights.tga is what made saved maps terrace and grow those "coastal glitches"; the 16-bit one just works whether you use the editor or edit it externally, and the editor round-trips its full precision. A map_heights.tga edited outside the editor now overrides an older .hgt, so you don't have to delete the .hgt by hand. See docs/modding/heightmaps.md in the repo. (RTW/M2TW)ai_labelsave correctly, ground-type painting sticks (no more random sea tiles, low-fertility specks or coastal red smear), the heights TGA saves the sea as blue instead of black, and the editor refuses to save when descr_strat had entries it couldn't load instead of silently wrecking your map. It also supports the new EX descr_strat entries (random_persona_weights,turns_per_year,seasons,intro_fmv,intro_pic,rand,do_not_rescale_units,restrict_autoresolve,show_date_as_turns_remaining). (RTW/M2TW)_Provincelike the game's own (so a region named like its settlement doesn't share its name key; existing labels are only changed when you rename the region), a new region no longer lands in a stale slot after undo, and new settlements get afaction_creatorso their town plan is saved. Painting a region over another until it disappears no longer sends the following strokes to the wrong region (which could save land and sea mixed up in map_regions.tga), region colours refresh when regions are added or removed, and region borders show the settlement owner's colours. (RTW/M2TW)no_default_faction_setand loaded back as the first faction. New settlements start like the last one you made or edited: city or castle, level, population and buildings, though port buildings stay with their own settlement. Both are remembered between sessions inpreferences/editor_region_last.txtandpreferences/editor_settlement_last.txt. (RTW/M2TW)create_fortchecks the placement the same way descr_strat does. (RTW/M2TW)Scripting & Console
eopData/eopScripts/luaPluginScript.lua(or the olderyouneuoy_Data/plugins/lua/luaPluginScript.lualayout) is loaded the way EOP loads it, with theM2TWEOP/M2TWAPI and its events, so EOP mods like AGO and SSHIP start and run without the EOP launcher. Rome mods get the scripting too, includinggetScriptCounter/setScriptCounter. (RTW/M2TW)script/manifest.nutplugin per mod, loaded after the base game's, and any base script file can be overridden by shipping one at the same path. New hooks there include forever wars between two factions (no diplomacy can end them, the money, trade and marriage terms of a deal still go through, and it's saved with the campaign), fort construction prices with a surcharge per existing fort plus togglingcan_build_forts, and non-destroyable building chains (setNoDestroy/isNoDestroy). (RTW/M2TW)::UISquirrel API) and thebattle_tooltipsplugin are gone, so scripts that drew their own windows with it have to be ported. (RTW/M2TW)models.addLayerOnTile(drawn on top of the tile's own model, animated ones included), and remove them withremoveLayerOnTile/clearLayersOnTile. (RTW/M2TW)onRemoveFromBuildingQueuefires when an item is cancelled from a settlement's construction queue. (RTW/M2TW)character:swapBodyguard(unitType, experience, weapon, armour)replaces a general's bodyguard unit with another type. It refuses during a battle and returns false if the new unit can't be made. (RTW/M2TW)timeRemaining) get the right value. It used to count down ten times too slowly. (RTW/M2TW)army.prebattleWithdrawlets scripts forbid or force-allow a stack's withdrawal before a campaign battle (Enum.PrebattleWithdraw.engine,preventorallow), for players and the AI, armies and fleets alike. Underpreventthe pre-battle Withdraw button is greyed out (Medieval II's Flee button is hidden) with a tooltip mods can change throughEMT_NO_WITHDRAW_SCRIPT, and a defending AI stack stands and fights.allowlifts the fleet, ambush and movement point restrictions, but never lets a stack out of a siege. The setting is saved with the campaign. (RTW/M2TW)CharacterTurnStarthandler, now updates his queued multi-turn move: the move line and the end-of-turn walk follow the new points, and giving points back to a character who ran out lets him carry on. Movement point setters refuse invalid (NaN or infinite) values. (RTW/M2TW)character.visitingArmyjoins an agent to the stack properly (or to the fleet carrying it), and setting it to null steps him off onto a free tile next to the stack. It refuses generals, other factions' stacks, garrisons, stacks with 20 agents, stacks in battle and characters marked to die.character:moveToonto your own stack or fleet now joins it, just like dropping the character on it in the interface, and refuses joins that won't fit instead of overfilling the stack. Targeted orders are refused when there's no route to the target. (RTW/M2TW)spawnArmy,relocate, disembarking,Settlement.garrison) being invisible to movement, so anything ordered onto their tile walked onto them and pushed them aside.transportedArmy/transportingNavyno longer overfill a fleet with agents. (RTW/M2TW)character:moveTorefuses a character who is still moving or being pushed aside. It used to crash once the walk ended. (RTW/M2TW)ui.events.accept,declineanddismisswork on event messages whose buttons are grouped, such as the princess suitor message, which scripts previously couldn't answer or close. (RTW/M2TW)ui.endTurnnow refuses while the scroll is open, as it already did in Medieval II. (RTW)freecam(Q/E for up and down, 360-degree pivot, can leave the battlefield edge and go down to the sea and under water, and the mouse wheel moves it in steps that scale with height),toggle_cursor,showtime(also shows weather, time, battle speed and sun and moon position in Rome) andsnd_reload(reloads all sound files and descriptions so you can tweak them without restarting) (RTW/M2TW), plusset_time(set_time 22.5orset_time 22:30),set_weather(set_weather clear 10for a 10 second transition),lens_flare,cloud_drift,cloud_sunset_rim,solar_lightingandspawn_projectilefor testing projectiles (RTW).create_character <faction> <type> "<full name>" [bodyguard_unit] <age> <x>,<y> [portrait_id]creates a character, with a bodyguard for generals and named characters.rename_character <faction> "<old name>" "<new name>"renames a character.attach_character <faction> "<child>" "<father>"adopts a character into a father's family, anddetachin place of the father removes them from it.force_marry <faction> ["<member>" ["<spouse>"]]marries a family member, or a widow or widower, to a random or chosen spouse.create_child <faction> "<father>"adds a newborn to a married family member. These commands are not available in multiplayer. (RTW/M2TW)toggle_collisionsshows the collision volumes of mounts (footprint, elephant tusk reach, chariot wheels, pole and scythes, scorpion cart scorpion) and of projectiles in flight and where area attacks land.toggle_collisions mountortoggle_collisions projectiletoggles one kind, no parameter toggles both. (RTW/M2TW)reload_campaign_terrainreloads the campaign ground textures and cliff and mountain models. (RTW/M2TW)add_money norway, 25000no longer fail with "faction type not recognised". (RTW/M2TW)set <name> <value>changes the campaign cost multipliers mid-game (see Modding). (RTW/M2TW)diplomatic_stanceacceptsprotectorate_ofandclient_of(the first faction becomes the subject of the second) and works in release builds, so campaign scripts can use it throughconsole_command. (RTW/M2TW)process_cqandprocess_rqprocess the whole queue again like they used to, with an optional amount, likeprocess_cq York 3. (RTW/M2TW)I_LIKE_CRASHING_MY_GAMEfully silences logging, and turning it off brings logging back. (RTW/M2TW)SettlementNameconditions failing on case differences or accented names, andshow_countersand friends not getting or setting counters properly. (RTW/M2TW)BodyguardUnittrigger condition tests the type of a character's bodyguard unit (BodyguardUnit NE Bodyguard). It is false for characters without a bodyguard. (RTW/M2TW)siege_settlementwaits for a pending battle and stops cleanly when the siege can't be ordered, scripted assaults and settlement captures give up when the target is gone or changed hands, andspawn_armywith a father whose family is already full no longer overflows the family tree. (RTW/M2TW)hud.battleText. (RTW/M2TW)battle.unitAnchorsandbattle.claimUnitCards(script-drawn unit cards over the soldiers),ui.tooltipText/ui.tooltipVisible/ui.tooltipRect,ui.characterScrollCharacterandfaction.marriageOfferPartner. (M2TW)Modding: Units & Mounts
stat_health, retail cap 15), up to 600 soldiers per unit (was 500), and up to 9 officers in both games (was 3), with Medieval II's general in a slot of his own. Soldiers can be up to 255 years old and the kill counter goes to 31, so men can actually reach three gold chevrons from kills.mount_effectlines are no longer capped (Rome had a limit of 3). (RTW/M2TW)category monster, profiles indata/descr_monsters.txt) with configurable and diminishing area damage, gate smashing,monster_effectbuffs and debuffs against them, and projectiles without hidden extra units (no more orcs in a suit for Sauron); trolls can grab and throw. Animations can be bound to units from Squirrel as special moves with their own cooldowns, speeds and attack timing. (M2TW)immune_arrows,immune_fire,resistance_projectiles(+10 armour against projectiles),shielded(+5 shield against projectiles),enduring_fortitude(at most 1 hit point lost per second of combat), strong against armour or shields, ignores armour, shield piercing, melee area attacks, and abody_piercing <n>hit limit for projectiles in descr_projectile.txt instead of infinite or zero piercing. (M2TW)slightly_hardyandhardy_N(N = 0..123 fatigue points) attributes, andlife_steal, which heals a soldier 1 HP per kill up to his starting health. Readable from scripts ashardyLevel/lifeSteal. (RTW/M2TW)spacing_factor,status_spacing,fatigue_spacingandmorale_spacinglines in export_descr_unit.txt, directly afterstat_mental. (M2TW)unit_merging 0in descr_caps_ex.txt (from the test builds) is no longer read.horse_rework 0still turns off dismounting. (M2TW)armour_ug_cardandarmour_ug_infotake card names without # or extension and fall back to the unit's defaults, andarmour_ug_levels/armour_ug_modelscount mismatches are logged clearly now. (RTW/M2TW)general_unit_upgrade "event_name". Fixed bodyguards not upgrading after the Marian reforms (or other upgrade events) when the campaign was loaded from a save. (RTW/M2TW)general_offsetgives the general his own seat instead of taking a crew slot. (RTW/M2TW)driver_offset x, y, zfor chariots and elephants: a separate driver seat on top of the riders, optionally with his own model (model barb_peasant, using his own skeleton and animations), ormodel undefinedfor no driver at all, which suits ships and war wagons. (RTW/M2TW)texture <faction> <path>lines in descr_mount.txt. (RTW/M2TW)clamp_ridersso their riders tilt with them on slopes and waves. (RTW)elephant_thrown_damageline in descr_caps_ex.txt sets the bonus damage thrown weapons deal to elephants (default 4, as before). (RTW/M2TW)sub_class torpedoandsub_class depth_chargefor naval weapons, with their own water effects and sounds. (RTW)thrown_weaponprojectile flag shows the thrower's own weapon model and faction texture, with the normal projectile model as a fallback. (RTW/M2TW)texture_parts/texture_part/texture_part_attin descr_model_battle.txt) instead of a single composed page. (M2TW)texture allin descr_model_battle makes a model type available to every faction with that texture. (RTW)shipline used by naval battle mods. (RTW)campaignVoice.defineSetin Squirrel and map EDU types or character labels to them indata/unit_campaign_voicelines.txt. (M2TW)dismount_model(take the men on foot from a battle_models.modeldb entry) ordismount_skeleton <primary>[, <secondary>],dismount_as <foot unit type>(fight with that infantry's weapons),dismount_stat_pri/dismount_stat_secwith their_attrlines for a full on-foot weapon, anddismount_attack_sec. They go next todismount_attackand friends. (M2TW)immune_fireattribute, and scripts can read it. It has no battle effect in Rome yet. (RTW)Modding: Campaign & Data
mods/americas/my_mod, orbi/my_modin Rome), using the parent mod's files for anything they don't change. (RTW/M2TW)descr_sm_landmarks.txtdefines any number of wonder types (model, picture, tooltip radius, blocked tiles, height offset, rotation, alpha-blended ground plates), and descr_strat places them withlandmark <type>, x, y[, degrees]lines or with the campaign editor. A wonder's owner (whoever holds the region capital) gets itseffectlines: any building capability, plus sea and land trade, movement, training time, storm losses and culture bonuses, scoped to the faction, its culture or only the local region, and an optional public order bonus after capture. (RTW/M2TW)effectlines in the shippeddescr_sm_landmarks.txt, so mods can change or remove them. The Colossus description now says 20%, which is what it always gave. (RTW)can_homelessin descr_sm_factions (beforecan_sap): when they lose all their settlements but still have a leader and an army, they survive and march to take the nearest settlement, a bit like Rome 2. They're marked on the minimap like a horde, don't get horde units and don't sack. Works for any faction except the Senate, slaves and the Papal States. (RTW/M2TW)faction_relationships nabataea, protectorate_of egypt) and clients (client_of), and scale recruitment cost, upkeep and building cost withunit_cost_multiplier/unit_upkeep_multiplier/building_cost_multiplier(default 1.0; mercenary prices stay the same). The HUD income uses them too. (RTW/M2TW)exp,armourandweapon_lvl, as army units do. (RTW)seaorlakein the settlement line followed by its colour gives that sea region its own name. (RTW/M2TW)region_income_multiplierin descr_regions.txt being ignored from the second launch on (once the map was cached). (M2TW)battle_time_multiplier(how fast the battle clock moves),unit_group_mode(leave it out and G makes a draggable line while Ctrl+G locks the formation;unit_group_mode vanillarestores the original),protectorate_invasions_enable(protectorates can attack other factions, off like retail), and off-by-defaultpass_through_neutral_armies(armies and navies of factions you're not at war with stop blocking you; settlements and forts still do),strat_move_cuts_idle(moves start at once instead of waiting for a long idle animation),etw_ship_flags(Empire-style ship flags),land_bridge_roads(roads across land bridges, for speed and trade) androad_wagon_shadows false(no trade wagon shadows). (RTW/M2TW)descr_ex.txtwithsettlement_building_queue_limit(1-9) andsettlement_recruitment_queue_limit(1-11). Without them Medieval II keeps its army-size limits and Rome keeps 6 and 9. After a mod lowers a limit, orders already queued stay visible and can be reordered, and new ones can be added once the queue is below the limit. The construction and recruitment grids resize to match, with up to 9 construction or 11 recruitment orders in one row and every slot reachable. (RTW/M2TW)settlement_buildings_per_row,settlement_units_per_rowandsettlement_card_rowsindescr_ex.txtset how many cards the classic settlement panel shows per row and how many rows. In 20-unit Medieval II campaigns the per-row values also set the queue lengths (6 to 9 buildings, 9 to 11 units). 40-unit games keep their own layout. (RTW/M2TW)stratmap_selection_colour(selection and hover markers),stratmap_own_extents_colourandstratmap_enemy_extents_colour(movement range) andstratmap_zoc_colour(enemy zones of control), as sRGB 0-255 values. (RTW/M2TW)player_adoption(false turns adoption off for the player only) andchild_birth_multiplier(how often married family members have children). (RTW/M2TW)faction: dummyfor names that should never be picked at random. (RTW/M2TW)data/text/<campaign_folder>_description.txt, and Rome provincial campaigns can ship their ownexpanded_bi.txtwith their own faction names. (RTW/M2TW)descr_aerial_map_ex.txtsets the campaign map look per climate: road textures for each road type (with optional winter versions, road width and a fade between neighbouring climates' roads), cliff and high mountain models and textures, and trade wagons. Sea trade boats are set per faction. When climates or factions use different wagons or boats, wagons and boats that reach a foreign settlement head back home along the same route. Without the file, or without a section, the map looks as before. (RTW/M2TW)descr_aerial_map_ex.txt. Script-placed campaign models can play the animations in their .cas and cast correctly rotated shadows, anddata/descr_skeleton_ex.txtadds skeletons and loose animations without repacking the animation pack. (RTW/M2TW)recruit_pool/retrain_pool), faction-wideunit_limitandagent_limit, character model levels (several strat_model/battle_model lines in descr_character picked by Effect Level, or by office for heirs and leaders), and campaign event counters (set_event_counter,inc_event_counter,historic_event,I_EventCounter, theEventCountertrigger andevent_counterin building requirements) plusMajorEventActive. (RTW)Combat_V_Faction_<faction>orCombat_V_<faction>). (RTW)}in descr_climates.txt and the other campaign map block files no longer makes the game skip the rest of the file. (RTW/M2TW)default_campaignwas set in the config without a mod. (M2TW)NAin descr_cursor_actions.txt logging an error for every entry that used it, and the spy's strat model logging an auto-promote warning every time it loaded. (RTW/M2TW)animated_script_models truein descr_ex.txt (off by default). Without it they draw as one still piece. (RTW/M2TW)Modding: Graphics
enable_file_toggles trueto its own descr_caps_ex.txt, which also unlocks the Extended Settings choices for its players. The test builds'enhanced_terrainin descr_caps_ex.txt andhd_terrain*/water_exin descr_ex.txt are no longer read. (RTW/M2TW)descr_toggles_ex.txtlets mods define their own sets for each Extended Settings choice. Each configuration in the AERIAL_MAP section picks its ground_types and tilemodels files plus a text key for the dropdown; BATTLE_TERRAIN configurations taketiling,anti_tiling,smooth_blend,normal_strength,far_tilingandfar_tiling_range, and BATTLE_WATER ones takewaterandeffects. descr_aerial_map_ground_types files takepbr*tuning andblend_smoothness, and descr_aerial_map_tile_models files take PBR,texture_path,surf_textureandbeach_texture, so coastline surf and beach strips aren't hardcoded any more. Without the file the game behaves exactly as before. (RTW/M2TW)_pbr/_pbrnmaterial textures,_pbrnnormal maps can be BC5-compressed, and authored mip chains are kept. HD terrain textures can set their own tiling (tiling <0-64>in the texture's .txt), and a BATTLE_TERRAIN configuration'sfar_tilingandfar_tiling_rangehide repetition in the distance. (RTW/M2TW)descr_ground_cover_ex.txtsets grass density per ground type and climate for HD terrain (it reloads every battle), and ground cover files takecolour R G B [A],summer_only/winter_onlyandwinter_texture_pagefor tinted grass and separate winter grass. (RTW/M2TW)pbr_water_surface.tgawater colours for the PBR sea, next to itswater_surface.tga. (RTW/M2TW)shadow_model_flexi_mkeyword in descr_model_battle. (RTW/M2TW)team_colour_texture <file.tga>: one 32-bit TGA whose alpha marks the team-colour areas; the game makes a copy per faction tinted with the faction's primary colour, for factions without their own texture line. (M2TW)no_shadowcast no campaign map shadow. (RTW/M2TW)no_scaleoption (imageandtitle_imagein descr_event_images.txt) to keep their source size. (RTW/M2TW)play_time(fire can carry on after the death animation ends), and the charring opacity is configurable in descr_burning_men.txt. (RTW)bloom_thresholdandbloom_weight. (RTW)blood_pool_limitin descr_ex.txt sets two separate caps (up to 4096 each), one for blood pools and one for the stains left by landed drops, so at 4096 the battlefield holds 4,096 of each. New stains only push out older stains, so a heavy fight can't wipe the pools. Airborne blood drops get a quarter of the limit, and 0 still turns the effect off. (RTW/M2TW)descr_font_db_ex.txt. Without that file they are taken fromdescr_font_db.txt. (RTW/M2TW)--ui-unpack <dir>and--ui-pack <dir>(Rome:-ui_unpack:<dir>/-ui_pack:<dir>) explode every UI spritesheet into one named .png per sprite and pack them back into the page .tga files and the .sd.xml. File names carry the metadata (name@cursor1,2.pngfor a cursor hotspot,@noalpha,@48x64for logical size), old binary .sd/.rsd definitions unpack too, and sprites get transparent padding against bleeding at non-native UI scales. (RTW/M2TW)font_gammain descr_ex.txt sets how dark and heavy UI text renders (default 1.45), andkhaki_textin descr_ui_colour_db.txt sets the khaki scroll text colour. Medieval II fonts can also take their owngamma=in descr_font_db.txt. (RTW/M2TW)ui_sprite_sizes.txt:unit_card_texels,character_card_texels,ancillary_texels,family_tree_texels,pip_texelsandbuilding_icon_texelsset the atlas slot size for higher-res art, andunit_info_hd_factor/building_preview_hd_factorset the scale of unit info pictures and building previews. (M2TW)texture_uv_scale <u> [<v>](use whole numbers so it meets itself at the tile edges). (RTW/M2TW)sun_disc_intensity, andsun_below_horizon_direct_light_full/sun_below_horizon_direct_light_outset how direct sunlight fades out around sunset. (RTW)Sound
Performance
unit_limitoragent_limitlines. (RTW/M2TW)Stability & Crash Fixes
soldier Some_Crew, 1, 2). (M2TW)control-ing a faction now load as the faction you were playing. (RTW/M2TW)spawn_armyandcreate_unitcrashing when the script names a unit that isn't in the mod's EDU. You get a passive-aggressive message instead. (RTW/M2TW)console_command add_moneyat the very start of a new campaign. (RTW)This discussion was created from the release 04/12.
All reactions