Warband Script Enhancer 2
What is the Warband Script Enhancer 2?
It is game engine a compatible with any Mount & Blade Warband module, originally written cmpxchg8b for cRPG. Fixed, updated to latest version of Warband and open to support any modules.
Features:
- All Warband 1.174 features.
- All WSE features.
- Optimized and more efficient rendering, advanced graphic settings.
- Sound Occlusion.
- Ragdoll soak - blows is beaten on corpses and thus prevents an unintentional teamhits.
- More informative logs for a dedicated server, autorestart feature, new console commands.
- Flexible and convenient multi-tier configs system, all settings in one place. Moved settings from module.ini and many new ones added.
- Custom reassignable keys for modders.
- New operations, triggers and many more.
- Fixed some Warband's bugs.
- Supports WFaS.
Downloads
WSE2 1.0.9.7
WSE2 WFaS 1.0.9.7
WSE2 Launcher source
PHP ogp and rcon classes
C# rcon
Python rcon
WSE Profiler
WSE2 1.0.6.9
WSE2 WFaS 1.0.6.9
Modules
Napoleonic Wars
Viking Conquest
PW_4.5
Persistent Kingdoms
Mercenaries
Full Invasion Osiris
Neogk - delete core_shaders.brf from Native\Resource folder
WSE2 WFaS 1.0.6.9
Modules
Napoleonic Wars
Viking Conquest
PW_4.5
Persistent Kingdoms
Mercenaries
Full Invasion Osiris
Neogk - delete core_shaders.brf from Native\Resource folder
Installation
Users
1. Download WSE2
2. Extract WSE2 files in Warband folder
3. Run wse2_launcher.exe
Dedicated Server
1. Download WSE2
2. Extract WSE2 files in dedicated server folder
3. Edit server_config.ini for server specific options
4. Run bat file. Example: start mb_warband_wse2_dedicated.exe --config-path server_config.ini -r Native.txt --module Native
Modders
1. Download WSE2
2. Enhance the Module System with the files in the WSESDK directory (see README.txt for more information)
3. Package WSE2 in your mod download
Changelog:
1.0.9.7
-Added CTRL+M hotkey for "Restore module data" option.
-Fixed display of symbol <.
-Fixed text color for checkbox.
-Fixed display extra text for parties.
-Fixed texture offset for oceans and rivers animation.
-Fixed combo button bugs.
-Fixed arguments order for game_missile_dives_into_water mapped script.
-Added overlay_enable, overlay_item_set_text operations.
-Extended start_map_conversation operation.
Previous versions
1.0.9.6
-Added bLocalVariablesZeroInitialization config option (default true).
-Fixed overlay_button_set_type, send_post_message_to_url_advanced operations.
1.0.9.5
-Added agent_kick and party_stack_set_num_upgradeable operations.
-Fixed troop_ensure_inventory_space, item_get_shield_height, item_get_horse_scale operations.
-Added bUseBorderedShadowSampler config option.
-fMissileDamageSpeedPower and fMeleeDamageSpeedPower config options limited to range 1.0-2.0.
1.0.9.4
-Added "Create Language Template" to Edit Mode options.
-Fixed incorrect default value for iMaxNumTreeInstances and iMaxNumFloraInstances.
1.0.9.3
-Added "Edit Mode" tab to Options window.
-Added "Set lod quality" option.
-Fixed character window crash, if it is called from menu window.
-Fixed quests title.
-Fixed incorrect default value for bDontLoadRegularTroopInventories.\
1.0.9.2
-Fixed lua bugs.
-Fixed possible "Too many vertices" crashes for particles and combining meshes.
1.0.9.1
-Fixed an agents spawning bug which caused the operation mission_tpl_are_all_agents_spawned to work incorrectly.
-Fixed transparency for displayed messages.
-Fixed the display of scripting errors for operations performed from lua.
-Fixed lua constants loading.
-Fixed crashes for modules with incorrect item carry flags.
1.0.9.0
-Fixed prop_instance_intersects_with_prop_instance, set_party_creation_random_limits operations.
-Fixed memory leak for arrays operations.
1.0.8.9
-Added get_mouse_map_coordinates operation.
-Fixed array_copy operation.
-Fixed overlay_set_size operation for game button.
-Operations set_physics_delta_time, set_ally_collision_threshold, set_prop_collision_threshold, set_horse_friendly_fire no longer change the global settings in rgl_config.ini.
-Fixed first person view for armors with itp_covers_hair flag.
-MB_MAX_NUM_STATEMENT_OPERANDS and MB_MAX_NUM_STATEMENT_BLOCK_PARAMS increased from 16 to 32. Useful for call_script with more parameters.
1.0.8.8
-Added get_campaign_time and set_campaign_time operations.
-Added savegame slot to wse_game_saved and wse_savegame_loaded scripts.
1.0.8.7
-Removed 32 num samples cap for sounds.
-Added player_get_wse2_version operation.
-Refixed sf_always_send_via_network sound flag.
-Fixed cursor visibility for mbYesNoWindow.
-Added WSE version to xml server info.
-Added joined player's WSE2 version to dedicated server logs.
1.0.8.6
-Fixed map crash.
-Fixed iMultiplayerKills config option.
1.0.8.5
-Added fMouseScrollTime config option.
-Added "Player deaths" value for Kill Messages config option (iMultiplayerKills).
-Refixed shadowmap rendering bug.
-Fixed ai weapon selection.
-Fixed party pathfinging.
-Fixed click sound.
1.0.8.4
-Fixed agent's pathfinding bug.
-Fixed try_for_dict_keys, play_sound operations.
-Added mission debug window.
1.0.8.3
-Removes the engine limit of 16 skins.
-Fixed troop_set_age operation.
-Fixed wse_savegame_loaded trigger - triggered only with savegame loaded.
1.0.8.2
-Fixed ti_on_scene_prop_hit, ti_on_agent_blocked, ti_on_shield_hit, ti_on_shield_penetrated triggers.
-Extended ti_on_item_wielded, ti_on_item_unwielded triggers (param 3: item slot), ti_on_shield_hit trigger (param 6: item modifier, param 7: missile item modifier).
-Fixed proficiency improvement when dealing damage in singleplayer.
-Fixed failure_callback_script_no for send_message_to_url_advanced and send_post_message_to_url_advanced operations.
-Fixed knockdown chance.
1.0.8.1
-Fixed crash with remove invalid parties when saving the game.
-Fixed ai_mesh_face_group_show_hide, party_quick_attach_to_current_battle operations.
-Fixed sokf_type_barrier3d and sokf_type_ai_limiter3d.
-Fixed headshot ui message.
-Fixed + sign in party window with companion level up.
1.0.8.0
-Added cast_ray_agents operation.
1.0.7.9
-Added bServerLockFov, iMultiplayerEventForAnnounce config options.
-bRagdollSoakApplyForce works for multiplayer without enabled bBreakWarbandCompatibility (with latest WSE2 on server and client both).
-Added bRagdollSoak and bRagdollSoakApplyForce to client options menu.
-Added "announce" console command for dedicated server.
1.0.7.8
-Fixed distribute_party_among_party_group, hero_can_join, hero_can_join_as_prisoner, rest_for_hours, rest_for_hours_interactive operations.
1.0.7.7
-Fixed crash with sounds channelCallback.
-Fixed Warband bug - rare crash with autogenerated degradable flora.
-Fixed crash with enabled profiling when the recursion limit is reached.
-Max num nested loops reduced to default 128, which should reduce freezes in badly written scripts with lots of nested loops and recursion.
1.0.7.6
-Fixed stack overflow for local variables.
-Fixed wound treatment - works for the main party, even if main party is disabled.
-Fixed music switch bug.
-Fixed store_free_inventory_capacity operation.
1.0.7.5
-Fixed crash with invalid string in rglFormat.
-Fixed change_screen_equip_other and change_screen_loot operations.
-Fixed ti_on_presentation_run trigger.
-Fixed clear mission after exiting.
-Fixed stopAllSounds bug.
1.0.7.4
-Fixed module resource loading if this file already loaded as core resource.
-Fixed prisoners count for party_count_members_of_type, party_count_prisoners_of_type, store_troop_count_prisoners, party_add_prisoners operations.
1.0.7.3
-Fixed a bug with non-attacking melee bots.
-Fixed store_num_parties_destroyed, store_num_parties_destroyed_by_player operations.
-Restored Warband compatibility for options_get_damage_to_player, options_set_damage_to_player, options_get_damage_to_friends, options_set_damage_to_friends operations.
-Fixed fDamageToFriends config option for game difficulty formula.
1.0.7.2
-Fixed bAiDecideDirectionAccordingToDamage config option.
-Fixed itp_covers_hair_partially item flag.
-Fixed agent_set_attack_action, agent_set_defend_action operations.
1.0.7.1
-Fixed instancing.
-Fixed shadowmap rendering bug.
-Fixed game_missile_launch mapped script.
-Fixed prop_instance_remove_light operation.
-Fixed combo button text size.
1.0.7.0
-Added wse2 launcher.
-Restored shader compatibility.
-Restored hair materials.
-Added bLoadModuleIniOptions, bLimitHairColors config options.
-Warning messages requires enabled edit mode.
1.0.6.9
-Head deformation applied to all helmet's meshes, not just for the first.
-Updated Music manager.
-Fixed overlay_set_size operation for combo button and slider.
1.0.6.8
-Added bSyncBlockDirections config option.
-Fixed fWeaponPointsPerLevel, fSkillPointsPerLevel, fAttributePointsPerLevel config options.
-Fixed icons for items on inventory screen.
-Fixed ti_on_agent_spawn trigger - missing trigger_param_2 (entry_no).
1.0.6.7
-Updated FMOD Ex library.
-Fixed VSync.
-Fixed crash with agent fade out.
-Added missing game variables.
-Refixed set_shader_param_... operations with threaded renderer.
-Fixed itp_cant_use_on_horseback item flag.
-Fixed ti_on_init_map_icon trigger.
-Fixed vertex animation speed for map icon.
1.0.6.6
-Improving loading time for client. Especially on an SSD.
1.0.6.5
-Fixed crash in Viking Conquest.
-arf_stick_item_to_left_hand animation flag works better with cycled animations.
-Fixed iMinNumAgentsForNavMeshReuse config option.
-Fixed default value for bTakeAttackersSpeedForRangedSpeedBonus and iIndexBufferSizeStatic config options.
-Small bugfixes.
1.0.6.4
-Added agent_set_time_speed_multiplier, agent_get_time_speed_multiplier operations.
1.0.6.3
-Added missile hit sounds for dynamic props.
-Fixed deform head for itp_covers_head flag.
-Fixed invalid values processing for hair color gradiant in module skins.
1.0.6.2
-Added iNumPlayersLimit config option.
-Added multiplayer_connect_to_server operation.
-Fixed server_set_max_num_players operation.
1.0.6.1
-Fixed beards and accessories.
-Fixed overlay_set_tooltip operation.
-Increased max number local variables to 1024.
1.0.6.0
-Added bAllowDuplicateMeshes config option.
-Fixed particle system degrade distance.
-Fixed singleplayer bug with the player spawning after allies.
1.0.5.9
-Added iAttributeLimit, iMinBattleAdvantage, iMaxBattleAdvantage config options.
-Fixed bug with battle advantage.
1.0.5.8
-Added bHorseFriendlyFire config option.
-Added set_horse_friendly_fire operation.
-Implemented facecode viewer for edit mod. (Ctrl + E)
1.0.5.7
-Added bMainMenuScene config option.
-Added wse_initial_window_start mapped script.
1.0.5.6
-Fixed spectator camera bug with lock to team members view.
-"Enable edit mode" added to ingame configs menu.
-Debug menu on initial screen shows only with enabled edit mode.
-Added "Restore module data" to debug menu.
1.0.5.5
-Added bDoNotMakeHandsParallelToGround config option.
1.0.5.4
-Fixed reloading bug - only one projectile was loaded, regardless of weapons max ammo.
-Fixed make_screenshot operation.
-Implemented troop viewer for edit mode.
1.0.5.3
-Added warband_compatibility.ini support.
-Fixed brace rotation.
-Minor bugfixes.
1.0.5.2
-Added WFaS build.
-Added bMoreProficiencyEffectForMovingSpeedWhileReloading config option.
-Added sf_use_next_for_far sound flag.
-Fixed sf_always_send_via_network sound flag.
-Fixed sound bugs.
-Fixed backpedal speed.
1.0.5.1
-Fixed shot difficulty message.
1.0.5.0
-Fixed damage type for itcf_overswing_spear.
1.0.4.9
-Fixed bug with troops upgrade to trp_player.
1.0.4.8
-Fixed store_random_party_of_template operation.
1.0.4.7
-Fixed try_for_players operation.
1.0.4.6
-Implemented Stats window and character import/export.
-Fixed troop_set_proficiency operation.
1.0.4.5
-Fixed bug with crossbow reloading.
-Implemented WSE Profiler (Profiling config options).
-Added bEditMode config option (currently only displays messages in rgl_log.txt).
-Fixed sModuleDownloadUrl config option.
1.0.4.4
-Added bAllowKickDuringMeleeAttacks config option.
-Fixed itp_cant_reload_while_moving and itp_cant_reload_while_moving_mounted item flags.
1.0.4.3
-Added some Carribean operations - set_random_seed, store_application_time, is_party_skill, agent_get_horse_rotation_velocity, agent_get_current_vertical_speed, agent_set_current_vertical_speed, agent_get_position_in_group, agent_get_current_ai_mesh_face_group, prop_instance_remove_particle_system, prop_instance_remove_light, prop_instance_get_sound_progress, cur_item_mesh_set_color, cur_item_add_mesh_with_material, party_switch_stacks, party_stack_upgrade, position_get_length, get_dot_product_of_positions, get_cross_product_of_positions, str_store_skill_desc, overlay_button_set_type, overlay_get_scroll_pos, overlay_set_scroll_pos.
-Extended add_point_light and add_point_light_to_entity operations - range parameter.
-Operations that are performed in lua now get context (trigger).
-Fixed particle_system_remove and cur_item_add_mesh operations.
1.0.4.2
-Fixed reloading bug.
-Fixed agent_equip_item, face_keys operations.
-Added undocumented store_main_party_wounded, str_store_agent_face_keys Warband's operations.
1.0.4.1
-Fixed ai weapon usage orders.
1.0.4.0
-Fixed agent_ai_set_simple_behavior operation.
1.0.3.9
-Fixed cooldown for horse charging and weapon alternative usage.
-Fixed bUseAdvancedFormation config option.
-Fixed bug with division's leader assignment.
1.0.3.8
-Added fLancePikeEffectMinLength, fLancePikeEffectMinDamage, bAdjustedAttackHoldFactor, bAdjustedCrushthrough, bAdjustedTwoHandedAndPolearmPenalties, bAdjustedShieldSkillDamage, bAdjustedStagger, bAdjustedKnockdown, bNerfHorseManeuver, bItemSpeedAffectSpeedBonusForDamage, bTakeAttackersSpeedForRangedSpeedBonus, bTweakCrushthroughDamageReduction, bRandomTroopEquipping, bReduceDamageRandomness, bParry, bCouchedLanceChambered, fKickRange, fHorseBumpMinSpeed, fMaxSlowMotionDeltaTimeStep config options.
-Fixed bRagdollHeadshots config option.
1.0.3.7
-Added bAdvancedLogFormat config option.
1.0.3.6
-Fixed chamber and sweetspot for itp_has_upper_stab item flag.
-Added bAdjustedSweetSpot, bPolearmStagger config options.
1.0.3.5
-Unicode support for strings operations.
1.0.3.4
-Fixed troops_can_join, troops_can_join_as_prisoner, remove_troops_from_companions, remove_troops_from_prisoners operations.
1.0.3.3
-Fixed party_can_join, party_can_join_as_prisoner, party_can_join_party operations.
1.0.3.2
-Fixed party_force_add_members and party_force_add_prisoners operations.
1.0.3.1
-Fixed bug with rain sound when it snows.
-Fixed set_shader_param_... operations with threaded renderer.
1.0.3.0
-Fixed position_rotate_x_floating, position_rotate_y_floating, team_get_order_position operations.
-Fixed singleplayer's saving/loading for fDamageToSelf and fDamageToFriends config options (for warband's compatibility only 25%, 50% and 100%).
-Bugfixes.
1.0.2.9
-Bugfixes.
1.0.2.8
-Fixed mission_cam_animate_to_position and mission_cam_animate_to_position_and_aperture operations.
-Fixed Warband's savegame compatibility.
1.0.2.7
-Added skin_set_blood_color, item_set_horse_blood_color operations.
-Fixed mission_tpl_entry_clear_override_items, mission_tpl_entry_add_override_item operations.
-Bugfixes.
1.0.2.6
-Added cheat mode.
-Added bCheatMode, iMaxNumNotificationMessages, bHasOneHanded, bHasTwoHanded, bHasPolearms, bHasArchery, bHasCrossbows, bHasThrowing config options.
-Fixed ingame console.
-Fixed agent_set_max_hit_points operation.
1.0.2.5
-Added Lua support.
-Bugfixes.
1.0.2.4
-Added agent_set_footstep_sound operation.
1.0.2.3
-Added ti_on_scene_prop_is_deforming trigger.
-Added itp_covers_hands item flag.
-Added all scene prop triggers support for add_point_light, particle_system_add_new, particle_system_remove, set_forced_lod, play_sound, add_point_light_to_entity, particle_system_emit operations.
1.0.2.2
-Fixed prop_instance_add_particle_system operation.
-Module music loading without obsolete mtf_module_track music flag.
1.0.2.1
-Fixed crash with game_missile_launch mapped script.
-Fixed ui_cant_reload_this_weapon_on_horseback message spam.
1.0.2.0
-Added TexturesHD folder support.
-Added bAdvancedTurnRateFormulaForMelee config option.
-Fixed bRestrictAttacksMoreInMultiplayer config option.
-Fixed Windows version detect.
-Bugfixes.
1.0.1.9
-Added acf_lock_rotation animation flag.
-Added bRagdollSoak and bRagdollSoakApplyForce config options.
-Fixed fKickCooldown config option for multiplayer client.
1.0.1.8
-Continued work on sound system, fixed crash.
-Fixed reloading sound for muskets.
1.0.1.7
-Added agent_body_meta_mesh_deform_in_range, agent_body_meta_mesh_deform_in_cycle_loop, agent_body_meta_mesh_get_current_deform_progress, agent_body_meta_mesh_get_current_deform_frame operations.
1.0.1.6
-Rewrited sound system for full sf_stream_from_hd support.
-Disabled frequency variation for sf_stream_from_hd sound flag.
-Fixed store_last_sound_channel operation.
-Removed cap for number of music tracks.
-Fixed weapon hud for bUseCrossbowAsFirearm config option.
-Fixed camera height while crouching.
1.0.1.5
-Updated custom game keys. Increased to 20. Custom keys saved separately for each module. You can map default keys to custom game keys with module_controls_template.ini (check WSE2 SDK).
-Added bLogIPs config option.
-Updated game_key_get_key operation.
-Added dummy for options_get_cheat_mode operation.
-Bugfixes.
1.0.1.4
-Added bApplySkillForCouchingDamage config option.
-Fixed display_message operation.
1.0.1.3
-Fixed set_show_messages operation.
1.0.1.2
-Fixed crash with joining on server.
1.0.1.1
-Fixed server_map_rotation_get_map, position_get_vector_to_position, set_spawn_effector_scene_prop_id, agent_set_attached_scene_prop operations.
-Fixed sf_always_send_via_network sound flag.
-Fixed bSyncRagdollEffects, ItemRequirement config options.
-Fixed http response handling.
-Fixed dedicated server's schedule commands.
-Minor bugfixes.
1.0.1.0
-Fixed blocking while kick.
1.0.0.9
-Fixed couching bug on servers with iLanceControl=0.
1.0.0.8
-Fixed str_store_join operation.
-Fixed http server queries.
1.0.0.7
-Added bTurnAgentAsMultiplayer config option.
1.0.0.6
-Fixed bugs with sticked missiles to agents and shields.
1.0.0.5
-Fixed agent_set_item_slot_modifier operation.
-Extended agent_set_animation_progress operation.
1.0.0.4
-Fixed change_screen_give_members operation.
1.0.0.3
-Fixed change_screen_exchange_members operation.
1.0.0.2
-Fixed party_add_xp operation.
-Fixed experience bug.
1.0.0.1
-Added iBattleSizeMin, iBattleSizeMax config options.
-Increased battle size limit.
-Fixed bugs with character screen, date change and display message.
1.0.0.0
-Release.
-Added bLocalVariablesZeroInitialization config option (default true).
-Fixed overlay_button_set_type, send_post_message_to_url_advanced operations.
1.0.9.5
-Added agent_kick and party_stack_set_num_upgradeable operations.
-Fixed troop_ensure_inventory_space, item_get_shield_height, item_get_horse_scale operations.
-Added bUseBorderedShadowSampler config option.
-fMissileDamageSpeedPower and fMeleeDamageSpeedPower config options limited to range 1.0-2.0.
1.0.9.4
-Added "Create Language Template" to Edit Mode options.
-Fixed incorrect default value for iMaxNumTreeInstances and iMaxNumFloraInstances.
1.0.9.3
-Added "Edit Mode" tab to Options window.
-Added "Set lod quality" option.
-Fixed character window crash, if it is called from menu window.
-Fixed quests title.
-Fixed incorrect default value for bDontLoadRegularTroopInventories.\
1.0.9.2
-Fixed lua bugs.
-Fixed possible "Too many vertices" crashes for particles and combining meshes.
1.0.9.1
-Fixed an agents spawning bug which caused the operation mission_tpl_are_all_agents_spawned to work incorrectly.
-Fixed transparency for displayed messages.
-Fixed the display of scripting errors for operations performed from lua.
-Fixed lua constants loading.
-Fixed crashes for modules with incorrect item carry flags.
1.0.9.0
-Fixed prop_instance_intersects_with_prop_instance, set_party_creation_random_limits operations.
-Fixed memory leak for arrays operations.
1.0.8.9
-Added get_mouse_map_coordinates operation.
-Fixed array_copy operation.
-Fixed overlay_set_size operation for game button.
-Operations set_physics_delta_time, set_ally_collision_threshold, set_prop_collision_threshold, set_horse_friendly_fire no longer change the global settings in rgl_config.ini.
-Fixed first person view for armors with itp_covers_hair flag.
-MB_MAX_NUM_STATEMENT_OPERANDS and MB_MAX_NUM_STATEMENT_BLOCK_PARAMS increased from 16 to 32. Useful for call_script with more parameters.
1.0.8.8
-Added get_campaign_time and set_campaign_time operations.
-Added savegame slot to wse_game_saved and wse_savegame_loaded scripts.
1.0.8.7
-Removed 32 num samples cap for sounds.
-Added player_get_wse2_version operation.
-Refixed sf_always_send_via_network sound flag.
-Fixed cursor visibility for mbYesNoWindow.
-Added WSE version to xml server info.
-Added joined player's WSE2 version to dedicated server logs.
1.0.8.6
-Fixed map crash.
-Fixed iMultiplayerKills config option.
1.0.8.5
-Added fMouseScrollTime config option.
-Added "Player deaths" value for Kill Messages config option (iMultiplayerKills).
-Refixed shadowmap rendering bug.
-Fixed ai weapon selection.
-Fixed party pathfinging.
-Fixed click sound.
1.0.8.4
-Fixed agent's pathfinding bug.
-Fixed try_for_dict_keys, play_sound operations.
-Added mission debug window.
1.0.8.3
-Removes the engine limit of 16 skins.
-Fixed troop_set_age operation.
-Fixed wse_savegame_loaded trigger - triggered only with savegame loaded.
1.0.8.2
-Fixed ti_on_scene_prop_hit, ti_on_agent_blocked, ti_on_shield_hit, ti_on_shield_penetrated triggers.
-Extended ti_on_item_wielded, ti_on_item_unwielded triggers (param 3: item slot), ti_on_shield_hit trigger (param 6: item modifier, param 7: missile item modifier).
-Fixed proficiency improvement when dealing damage in singleplayer.
-Fixed failure_callback_script_no for send_message_to_url_advanced and send_post_message_to_url_advanced operations.
-Fixed knockdown chance.
1.0.8.1
-Fixed crash with remove invalid parties when saving the game.
-Fixed ai_mesh_face_group_show_hide, party_quick_attach_to_current_battle operations.
-Fixed sokf_type_barrier3d and sokf_type_ai_limiter3d.
-Fixed headshot ui message.
-Fixed + sign in party window with companion level up.
1.0.8.0
-Added cast_ray_agents operation.
1.0.7.9
-Added bServerLockFov, iMultiplayerEventForAnnounce config options.
-bRagdollSoakApplyForce works for multiplayer without enabled bBreakWarbandCompatibility (with latest WSE2 on server and client both).
-Added bRagdollSoak and bRagdollSoakApplyForce to client options menu.
-Added "announce" console command for dedicated server.
1.0.7.8
-Fixed distribute_party_among_party_group, hero_can_join, hero_can_join_as_prisoner, rest_for_hours, rest_for_hours_interactive operations.
1.0.7.7
-Fixed crash with sounds channelCallback.
-Fixed Warband bug - rare crash with autogenerated degradable flora.
-Fixed crash with enabled profiling when the recursion limit is reached.
-Max num nested loops reduced to default 128, which should reduce freezes in badly written scripts with lots of nested loops and recursion.
1.0.7.6
-Fixed stack overflow for local variables.
-Fixed wound treatment - works for the main party, even if main party is disabled.
-Fixed music switch bug.
-Fixed store_free_inventory_capacity operation.
1.0.7.5
-Fixed crash with invalid string in rglFormat.
-Fixed change_screen_equip_other and change_screen_loot operations.
-Fixed ti_on_presentation_run trigger.
-Fixed clear mission after exiting.
-Fixed stopAllSounds bug.
1.0.7.4
-Fixed module resource loading if this file already loaded as core resource.
-Fixed prisoners count for party_count_members_of_type, party_count_prisoners_of_type, store_troop_count_prisoners, party_add_prisoners operations.
1.0.7.3
-Fixed a bug with non-attacking melee bots.
-Fixed store_num_parties_destroyed, store_num_parties_destroyed_by_player operations.
-Restored Warband compatibility for options_get_damage_to_player, options_set_damage_to_player, options_get_damage_to_friends, options_set_damage_to_friends operations.
-Fixed fDamageToFriends config option for game difficulty formula.
1.0.7.2
-Fixed bAiDecideDirectionAccordingToDamage config option.
-Fixed itp_covers_hair_partially item flag.
-Fixed agent_set_attack_action, agent_set_defend_action operations.
1.0.7.1
-Fixed instancing.
-Fixed shadowmap rendering bug.
-Fixed game_missile_launch mapped script.
-Fixed prop_instance_remove_light operation.
-Fixed combo button text size.
1.0.7.0
-Added wse2 launcher.
-Restored shader compatibility.
-Restored hair materials.
-Added bLoadModuleIniOptions, bLimitHairColors config options.
-Warning messages requires enabled edit mode.
1.0.6.9
-Head deformation applied to all helmet's meshes, not just for the first.
-Updated Music manager.
-Fixed overlay_set_size operation for combo button and slider.
1.0.6.8
-Added bSyncBlockDirections config option.
-Fixed fWeaponPointsPerLevel, fSkillPointsPerLevel, fAttributePointsPerLevel config options.
-Fixed icons for items on inventory screen.
-Fixed ti_on_agent_spawn trigger - missing trigger_param_2 (entry_no).
1.0.6.7
-Updated FMOD Ex library.
-Fixed VSync.
-Fixed crash with agent fade out.
-Added missing game variables.
-Refixed set_shader_param_... operations with threaded renderer.
-Fixed itp_cant_use_on_horseback item flag.
-Fixed ti_on_init_map_icon trigger.
-Fixed vertex animation speed for map icon.
1.0.6.6
-Improving loading time for client. Especially on an SSD.
1.0.6.5
-Fixed crash in Viking Conquest.
-arf_stick_item_to_left_hand animation flag works better with cycled animations.
-Fixed iMinNumAgentsForNavMeshReuse config option.
-Fixed default value for bTakeAttackersSpeedForRangedSpeedBonus and iIndexBufferSizeStatic config options.
-Small bugfixes.
1.0.6.4
-Added agent_set_time_speed_multiplier, agent_get_time_speed_multiplier operations.
1.0.6.3
-Added missile hit sounds for dynamic props.
-Fixed deform head for itp_covers_head flag.
-Fixed invalid values processing for hair color gradiant in module skins.
1.0.6.2
-Added iNumPlayersLimit config option.
-Added multiplayer_connect_to_server operation.
-Fixed server_set_max_num_players operation.
1.0.6.1
-Fixed beards and accessories.
-Fixed overlay_set_tooltip operation.
-Increased max number local variables to 1024.
1.0.6.0
-Added bAllowDuplicateMeshes config option.
-Fixed particle system degrade distance.
-Fixed singleplayer bug with the player spawning after allies.
1.0.5.9
-Added iAttributeLimit, iMinBattleAdvantage, iMaxBattleAdvantage config options.
-Fixed bug with battle advantage.
1.0.5.8
-Added bHorseFriendlyFire config option.
-Added set_horse_friendly_fire operation.
-Implemented facecode viewer for edit mod. (Ctrl + E)
1.0.5.7
-Added bMainMenuScene config option.
-Added wse_initial_window_start mapped script.
1.0.5.6
-Fixed spectator camera bug with lock to team members view.
-"Enable edit mode" added to ingame configs menu.
-Debug menu on initial screen shows only with enabled edit mode.
-Added "Restore module data" to debug menu.
1.0.5.5
-Added bDoNotMakeHandsParallelToGround config option.
1.0.5.4
-Fixed reloading bug - only one projectile was loaded, regardless of weapons max ammo.
-Fixed make_screenshot operation.
-Implemented troop viewer for edit mode.
1.0.5.3
-Added warband_compatibility.ini support.
-Fixed brace rotation.
-Minor bugfixes.
1.0.5.2
-Added WFaS build.
-Added bMoreProficiencyEffectForMovingSpeedWhileReloading config option.
-Added sf_use_next_for_far sound flag.
-Fixed sf_always_send_via_network sound flag.
-Fixed sound bugs.
-Fixed backpedal speed.
1.0.5.1
-Fixed shot difficulty message.
1.0.5.0
-Fixed damage type for itcf_overswing_spear.
1.0.4.9
-Fixed bug with troops upgrade to trp_player.
1.0.4.8
-Fixed store_random_party_of_template operation.
1.0.4.7
-Fixed try_for_players operation.
1.0.4.6
-Implemented Stats window and character import/export.
-Fixed troop_set_proficiency operation.
1.0.4.5
-Fixed bug with crossbow reloading.
-Implemented WSE Profiler (Profiling config options).
-Added bEditMode config option (currently only displays messages in rgl_log.txt).
-Fixed sModuleDownloadUrl config option.
1.0.4.4
-Added bAllowKickDuringMeleeAttacks config option.
-Fixed itp_cant_reload_while_moving and itp_cant_reload_while_moving_mounted item flags.
1.0.4.3
-Added some Carribean operations - set_random_seed, store_application_time, is_party_skill, agent_get_horse_rotation_velocity, agent_get_current_vertical_speed, agent_set_current_vertical_speed, agent_get_position_in_group, agent_get_current_ai_mesh_face_group, prop_instance_remove_particle_system, prop_instance_remove_light, prop_instance_get_sound_progress, cur_item_mesh_set_color, cur_item_add_mesh_with_material, party_switch_stacks, party_stack_upgrade, position_get_length, get_dot_product_of_positions, get_cross_product_of_positions, str_store_skill_desc, overlay_button_set_type, overlay_get_scroll_pos, overlay_set_scroll_pos.
-Extended add_point_light and add_point_light_to_entity operations - range parameter.
-Operations that are performed in lua now get context (trigger).
-Fixed particle_system_remove and cur_item_add_mesh operations.
1.0.4.2
-Fixed reloading bug.
-Fixed agent_equip_item, face_keys operations.
-Added undocumented store_main_party_wounded, str_store_agent_face_keys Warband's operations.
1.0.4.1
-Fixed ai weapon usage orders.
1.0.4.0
-Fixed agent_ai_set_simple_behavior operation.
1.0.3.9
-Fixed cooldown for horse charging and weapon alternative usage.
-Fixed bUseAdvancedFormation config option.
-Fixed bug with division's leader assignment.
1.0.3.8
-Added fLancePikeEffectMinLength, fLancePikeEffectMinDamage, bAdjustedAttackHoldFactor, bAdjustedCrushthrough, bAdjustedTwoHandedAndPolearmPenalties, bAdjustedShieldSkillDamage, bAdjustedStagger, bAdjustedKnockdown, bNerfHorseManeuver, bItemSpeedAffectSpeedBonusForDamage, bTakeAttackersSpeedForRangedSpeedBonus, bTweakCrushthroughDamageReduction, bRandomTroopEquipping, bReduceDamageRandomness, bParry, bCouchedLanceChambered, fKickRange, fHorseBumpMinSpeed, fMaxSlowMotionDeltaTimeStep config options.
-Fixed bRagdollHeadshots config option.
1.0.3.7
-Added bAdvancedLogFormat config option.
1.0.3.6
-Fixed chamber and sweetspot for itp_has_upper_stab item flag.
-Added bAdjustedSweetSpot, bPolearmStagger config options.
1.0.3.5
-Unicode support for strings operations.
1.0.3.4
-Fixed troops_can_join, troops_can_join_as_prisoner, remove_troops_from_companions, remove_troops_from_prisoners operations.
1.0.3.3
-Fixed party_can_join, party_can_join_as_prisoner, party_can_join_party operations.
1.0.3.2
-Fixed party_force_add_members and party_force_add_prisoners operations.
1.0.3.1
-Fixed bug with rain sound when it snows.
-Fixed set_shader_param_... operations with threaded renderer.
1.0.3.0
-Fixed position_rotate_x_floating, position_rotate_y_floating, team_get_order_position operations.
-Fixed singleplayer's saving/loading for fDamageToSelf and fDamageToFriends config options (for warband's compatibility only 25%, 50% and 100%).
-Bugfixes.
1.0.2.9
-Bugfixes.
1.0.2.8
-Fixed mission_cam_animate_to_position and mission_cam_animate_to_position_and_aperture operations.
-Fixed Warband's savegame compatibility.
1.0.2.7
-Added skin_set_blood_color, item_set_horse_blood_color operations.
-Fixed mission_tpl_entry_clear_override_items, mission_tpl_entry_add_override_item operations.
-Bugfixes.
1.0.2.6
-Added cheat mode.
-Added bCheatMode, iMaxNumNotificationMessages, bHasOneHanded, bHasTwoHanded, bHasPolearms, bHasArchery, bHasCrossbows, bHasThrowing config options.
-Fixed ingame console.
-Fixed agent_set_max_hit_points operation.
1.0.2.5
-Added Lua support.
-Bugfixes.
1.0.2.4
-Added agent_set_footstep_sound operation.
1.0.2.3
-Added ti_on_scene_prop_is_deforming trigger.
-Added itp_covers_hands item flag.
-Added all scene prop triggers support for add_point_light, particle_system_add_new, particle_system_remove, set_forced_lod, play_sound, add_point_light_to_entity, particle_system_emit operations.
1.0.2.2
-Fixed prop_instance_add_particle_system operation.
-Module music loading without obsolete mtf_module_track music flag.
1.0.2.1
-Fixed crash with game_missile_launch mapped script.
-Fixed ui_cant_reload_this_weapon_on_horseback message spam.
1.0.2.0
-Added TexturesHD folder support.
-Added bAdvancedTurnRateFormulaForMelee config option.
-Fixed bRestrictAttacksMoreInMultiplayer config option.
-Fixed Windows version detect.
-Bugfixes.
1.0.1.9
-Added acf_lock_rotation animation flag.
-Added bRagdollSoak and bRagdollSoakApplyForce config options.
-Fixed fKickCooldown config option for multiplayer client.
1.0.1.8
-Continued work on sound system, fixed crash.
-Fixed reloading sound for muskets.
1.0.1.7
-Added agent_body_meta_mesh_deform_in_range, agent_body_meta_mesh_deform_in_cycle_loop, agent_body_meta_mesh_get_current_deform_progress, agent_body_meta_mesh_get_current_deform_frame operations.
1.0.1.6
-Rewrited sound system for full sf_stream_from_hd support.
-Disabled frequency variation for sf_stream_from_hd sound flag.
-Fixed store_last_sound_channel operation.
-Removed cap for number of music tracks.
-Fixed weapon hud for bUseCrossbowAsFirearm config option.
-Fixed camera height while crouching.
1.0.1.5
-Updated custom game keys. Increased to 20. Custom keys saved separately for each module. You can map default keys to custom game keys with module_controls_template.ini (check WSE2 SDK).
-Added bLogIPs config option.
-Updated game_key_get_key operation.
-Added dummy for options_get_cheat_mode operation.
-Bugfixes.
1.0.1.4
-Added bApplySkillForCouchingDamage config option.
-Fixed display_message operation.
1.0.1.3
-Fixed set_show_messages operation.
1.0.1.2
-Fixed crash with joining on server.
1.0.1.1
-Fixed server_map_rotation_get_map, position_get_vector_to_position, set_spawn_effector_scene_prop_id, agent_set_attached_scene_prop operations.
-Fixed sf_always_send_via_network sound flag.
-Fixed bSyncRagdollEffects, ItemRequirement config options.
-Fixed http response handling.
-Fixed dedicated server's schedule commands.
-Minor bugfixes.
1.0.1.0
-Fixed blocking while kick.
1.0.0.9
-Fixed couching bug on servers with iLanceControl=0.
1.0.0.8
-Fixed str_store_join operation.
-Fixed http server queries.
1.0.0.7
-Added bTurnAgentAsMultiplayer config option.
1.0.0.6
-Fixed bugs with sticked missiles to agents and shields.
1.0.0.5
-Fixed agent_set_item_slot_modifier operation.
-Extended agent_set_animation_progress operation.
1.0.0.4
-Fixed change_screen_give_members operation.
1.0.0.3
-Fixed change_screen_exchange_members operation.
1.0.0.2
-Fixed party_add_xp operation.
-Fixed experience bug.
1.0.0.1
-Added iBattleSizeMin, iBattleSizeMax config options.
-Increased battle size limit.
-Fixed bugs with character screen, date change and display message.
1.0.0.0
-Release.
FAQ:
How do I know the executable is not a virus?
You don't.
Scan it, sandbox it, run it in virtual machine, whatever. If you don't want to run it then don't.
Isn't modifying/cracking game files illegal?
Warband executable file is not modified. WSE2 is a separate application.
Does this allow people who don't own Warband to play?
You have to buy a Warband key to use WSE2.
When I try to run it, it says that a .dll file is missing.
Try installing the Microsoft Visual C++ 2012 Redistributable Package (x86).
My game crashes/shows weird errors.
Post here and paste the contents of rgl_log.txt file in your game directory.
How can I switch to DirectX 7 mode?
You can't. The WSE2 client does not support DirectX 7.
I can run any mod for Warband with WSE2 without any adjustment?
Yes! Exception - module contains its own postFX.fx module. In this case, you need to edit this file and add to the end this strings
Code:
#if WSE2
#include "postFX_WSE2.fx"
#endif
I run my mod in WSE2 and get a black screen with FXAA or Post Processing Filter enabled.
You need to edit postFX.fx file from your module and add to the end this strings
Code:
#if WSE2
#include "postFX_WSE2.fx"
#endif
I want to add WSE2 to my mod. What do I do?
Add the required WSE2 files to your mod download. Check WSESDK for more info.
Is vanilla and WSE2 server and client compatible?
Yes, you can play from vanilla client on wse2 servers and play from wse2 client on vanilla servers. However, there are some features that work only if both the server and the client use WSE2, Drop Shield button for example.
Where are WSE2 settings?
...\Documents\Mount&Blade Warband WSE2
I can use saves from Warband in WSE2?
Yes. Copy savegames from ...\Documents\Mount&Blade Warband to ...\Documents\Mount&Blade Warband WSE2
I am modder. How in my mod to determine that WSE2 is used?
For WSE2 store_wse_version return 5 for major version, modern WSE return 4.
How can I improve the performance of the mod?
Enable edit mode, run mod and check rgl_log.txt. You need to fix PERFORMANCE WARNING. Meshes with rigging requires material with skinning shader. Meshes without rigging requires material without skinning shader. This will increase performance for both WSE2 and Warband since the CPU is the bottleneck.
Credits:
- cmpxchg8b, initial WSE2 developer
- Useful_Lesbian, WSE2 launcher developer
Sponsors:
- Sir John Hawkwood
- DoDoCat
- Azremen
- SupaNinjaMan
- Vetrogor
- TweT_Anoki
- Gibby Jr
- DetektivAro
- Useful_Lesbian
- OrientSea
External software:
- muParser
- Open Game Protocol
- Source RCON Protocol
- JsonCpp
Disclaimer:
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
You can support developing by

K700 | создаёт Warband Script Enhancer 2 | Patreon
Become a patron of K700 today: Get access to exclusive content and experiences on the world’s largest membership platform for artists and creators.

Руслан Касимов - Warband Script Enhancer 2
What is the Warband Script Enhancer 2? It is game engine a compatible with any Mount & Blade Warband module. Home Page Features: All Warband 1.174 features. All WSE features. Optimized and more efficient rendering, advanced graphic settings. Sound Occlusion. Ragdoll soak - blows is beaten...

Last edited: