Warband Script Enhancer 2 (v1.0.7.6)

Users who are viewing this thread

K700

Sergeant Knight at Arms
WB
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.7.6
WSE2 WFaS 1.0.7.6
WSE2 Launcher source
PHP ogp and rcon classes
C# rcon
Python rcon
WSE Profiler



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.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.



Previous versions
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. :smile:
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

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 Paypal

or
or
 
Last edited:

K700

Sergeant Knight at Arms
WB
Ready documentation for config options. You can use it to tune the game, port and change modules.

Command line options
  • --module <value> runs this module
  • --config-path <value> sets config-path
For client
  • --no-intro skips intro videos
  • --address try connects to server
  • --password sets password for this connection
For dedicated server
  • --auto-restart sets num auto restarts
  • -r <value> or -R <value> sets command file
New dedicated servers console commands
  • get_version returns WSE2 version
  • get_module returns current module
  • set_module <value> changes module and restarts server
  • schedule_exit returns scheduled exit or restart
  • schedule_restart returns scheduled exit or restart
  • schedule_exit <minutes> schedules exit, if <minutes> <= 0, cancels scheduled exit or restart
  • schedule_restart <minutes> schedules restart, if <minutes> <= 0, cancels scheduled exit or restart
  • schedule_exit <minutes> <seconds> schedules exit, if <minutes> and <seconds> <= 0, cancels scheduled exit or restart
  • schedule_restart <minutes> <seconds> schedules restart, if <minutes> and <seconds> <= 0, cancels scheduled exit or restart
  • set_server_fps_limit <value> sets max fps (10-1000)
  • get_server_fps_limit returns max fps
  • set_broadcast_chat <0 or 1> sets if chat messages broadcasted to console window
  • get_broadcast_chat returns if broadcast chat is enabled or not
  • shuffle_maps shuffles maps rotation
  • set_auto_shuffle_maps <0 or 1> sets if maps auto shuffle
  • get_auto_shuffle_maps returns if auto shuffle maps is enabled or not
  • stats list returns players list
  • stats <value> returns info about player. Value can be player name or player no
  • kick_player <value> kicks player from server. Value can be player name or player no
Config system

WSE2 used new configs system.
If bLoadModuleIniOptions enabled, then WSE2 loads Warband's setting from module.ini and they have priority. Otherwise module.ini used only for resource loading and version.
Base config file - Documents\Mount&Blade Warband WSE2\rgl_config.ini.
Module options instead module.ini specified in Modules\module\module_config_template.ini. Every time when you run mod, it is copied to Documents\Mount&Blade Warband WSE2\module_name\module_config.ini and overwrite settings in rgl_config.ini.
Also for server used --config-path server_config.ini for server specific options.
Analogues of settings from module.ini can usually be found in documentation.

Custom Keys

Modules\module\module_controls_template.ini - default binds for Custom Controls inside Options Menu.
In order for custom keys to be active, they need to be assigned a name.
Modules\module\languages\en\wse2.csv
Modules\module\languages\other_lang\wse2.csv

sample

ui_custom_key_1|Clan chat
ui_custom_key_2|Admin chat
ui_custom_key_3|Admin team chat
ui_custom_key_4|Cheer
ui_custom_key_5|Crouch


1)WSE2 use new multi-tier configs system. module.ini used only for resource loading and version. Other Warband's options not used.
Main settings stored in Documents\Mount&Blade Warband WSE2\rgl_config.ini.
Module specific settings stored in YourModule\module_config_template.ini and have priority over main.
Also --config-path command line option used for load additional config and have priority over main and module both. This is mainly used for dedicated server configuration.

First of all, we want to transfer the settings of our module from module.ini to module_config_template.ini.
Check WSE2 settings documentation https://docs.google.com/spreadsheets/d/1IFM5v5maZpIH98H6HYcn8rt55V_wzhYDj0vJGZrBRRE/edit#gid=0
Check your module.ini and for all settings that differ from the default, find an analogue in the documentation and put in module_config_template.ini.

Also check game_variables.txt. There is musket_left_hand setting that is used, for example, in NW.

If the module uses meshes with the same names and this is not a mistake, you may need to set bAllowDuplicateMeshes=true for load and merge duplicates.

After checking the module for errors, you may want to hide warnings for players with bSuppressWarnings=true.

If your module didn't add or change shaders, you can skip to step 5.

2)WSE2 uses its own rendering and shader brf format, so if you use your own shaders in your module, you need to edit and recompile fx, edit postfx and package resource_shaders to brf.
Let's start with edit postFX.fx if your module has it. If not - go to the next step.

WSE2 used FXAA and some postprocess effects. If you get a black screen when you run the module, this step is the problem.

Check WSE2 SDK, open postFX.fx and copy code beginning with #if defined PS_3 until the end. Paste it to the end of your module's postFX.fx.

3)Next brf files with shaders.
If you get a crash with string ERROR: Number of alternatives exceeds 3 for shader, this step is the problem. If not - go to the next step.

Shaders format incompactible in Warband and WSE2 due to WSE2 skinning optimisation. Our task is to remove all warband shaders from the module brf files and compile the brf file with these shaders in the WSE2 format. We have two options.
If the shaders in the module are stored in one brf file mixed with other resources - we can add this shaders to the WSE2 core_shaders.brf and put this core_shaders.brf in module resource folder. Then remove the shaders from the original files.
If shaders stored in a separate brf, then we compile them into a separate WSE2 shader brf file and replace it.

Obenbrf does not support the new shader format, so we use WSE2 SDK for compiling shaders brf.
Check WSE2 SDK\Shaders folder.
resource_shaders.py - shader list, by default contains all shaders from core_shaders.brf
header_shaders.py
- shaders flags
build_shaders.bat - run this bat for compile brf

Shader format:
name
technique name
technique name with skin
flags
requirement flags
alternatives (fallback in openbrf)

If setled flag shf_uses_skinning, then technique name and technique name with skin swapped.
shf_uses_hlsl flag added automatically and does not require manual set.
Texture access field in openbrf not used in WSE2.

4)Last and hardest - edit and recompile fx files. This is requires fx sources. If they are not in the public domain, ask the author of the module.
If there are no mb.fx, mb_2a.fxo, mb_2b.fxo files in the module, go to the next step.

WSE2 added some shaders for skinning and remove vMaterialColor2 for hair. If you get a lack of hairs on agents, this step is the problem.

You will need any compare tool, for example WinMerge.
Download Warband shaders https://download2.taleworlds.com/mb_warband_shaders.zip and compare with mbsrc.fx from WSE2 SDK.
You need to transfer all found changes to your module shader sources file.
After run compile_fx.bat.
If your module is using mb_2a.fxo and mb_2b.fxo, replace them with compiled. If using mb.fx, then rename compiled mb_2b.fxo to mb.fx and replace.

5)Bat file for client
mb_warband_wse2.exe --module YourModule --no-intro

Bat file for server
start mb_warband_wse2_dedicated.exe --config-path server_config.ini -r config.txt --module YourModule

Test if the module works correctly.
If you find bugs in WSE2 that are not in Warband, please report to me.
If everything is fine, please post the files in the WSE2 topic. Include bat files, module_config_template.ini, any edited brf, fx and fxo.
 
Last edited:

K700

Sergeant Knight at Arms
WB
It is now possible to support WSE2 development on patreon or boosty. With financial support, I will be able to devote more time to development.


Roadmap:
  • Scene editor, more convenient and functional than warband.
  • Changing physics engine (required for x64, the latest open havok version is obsolete and does not support x64).
  • x64 build for huge modules.
  • DX11/DX12/Vulkan support.
  • Plugin system.
 
Last edited:

Garedyr

Master Knight
WBVC
You know, now when I think about it I might actually get convinced to use WSE2 :thinking:
Let's see how the development goes. Good luck!
 

Bridge_Troll

Veteran
WBNWVC
Is the source on github or somewhere else in version control? The old WSE was if I remember correctly.
Great stuff you did there  :fruity:
 

horns

Regular
M&BWB
Interesting. Did you get the source from cmp, or did you figure it out from the built files provided with cRPG? In either case, this is impressive. Solid work, yo.

Edit:
Interesting, it encompasses more than the new graphics library. Here are the new addon operations I could find using a diff tool:

  • break_loop                                  = 8 #(break_loop), #Break out of a loop, no matter how deeply nested in try_begin blocks (requires allow_wse_execute_statement_blocks = 1 in wse_settings.ini)
  • continue_loop                              = 9 #(continue_loop), #Continue to the next iteration of a loop, no matter how deeply nested in try_begin blocks (requires allow_wse_execute_statement_blocks  = 1 in wse_settings.ini)
  • try_for_dict_keys                          = 18 #(try_for_dict_keys, <cur_key_string_register>, <dict>), #Loops through keys of <2> (requires allow_wse_execute_statement_blocks = 1 in wse_settings.ini)
  • agent_get_ranged_damage_modifier = 3323 #(agent_get_ranged_damage_modifier, <destination>, <agent_no>), #Stores <agent_no>'s ranged damage modifier into <destination>
  • agent_add_stun                          = 3324 #(agent_add_stun, <agent_no>, <duration>), #Adds stun to <agent_no> for <duration> milliseconds
  • multiplayer_cur_profile_get_skin      = 3414 #(multiplayer_cur_profile_get_skin, <destination>), #Stores current profile's skin into <destination>
  • get_camera_position                    = 3615 #(get_camera_position, <position_register_no>), #Stores camera position and rotation into <position_register_no>
  • item_set_horse_blood_particles      = 3809 #(item_set_horse_blood_particles, <item_kind_no>, <particle_1_no>, <particle_2_no>), #Sets <item_kind_no>'s horse blood <particle_1_no> and <particle_2_no>

New Trigger:

ti_on_shield_penetrated = -107.0 #can only be used in module_mission_templates triggers
# Trigger Param 1: receiver agent no
# Trigger Param 2: dealer agent no
# Trigger Param 3: inflicted damage
# Trigger Param 4: raw damage (before being soaked by armor)
# Trigger Param 5: item kind no
# Trigger Param 6: item modifier
# Trigger Param 7: missile item kind no
# Trigger Param 8: missile item modifier

# Trigger Result: if set, do not penetrate shield


 

MitchPTI

Sergeant
This is super exciting! I'm very keen to get into the arrays and dicts. Btw, with those having save to and load from file options, is that necessary for them to persist if the player quits and restarts the game? Or is it just for the potential to load values into a different save?
 

Antonis

Marquis
WBWF&SVCNW
Really cool stuff. I can't say I'm a WSE man myself, but I will give it a try, now. Thanks for your efforts!
 

Axxoy

Veteran
Awesome! But few things I've noticed;

Characters tab is not accessible from the map, C key is not working and manually clicking doesn't work either. (Tested with Native)

Mods with custom ingame banner creators have transperant banners on world map, thus not showing the banner created by the player, it was working with WSE 1.174. If its something that I can solve can anyone show me what to look for?

IMAGE :

]


 

MitchPTI

Sergeant
Khamukkamu said:
Is there another way to enable Cheat Mode (e.g Ctrl+ Mouse Click for teleport)? Thanks!

options_set_cheat_mode in header_operations_addon.py

EDIT: Actually now that I'm testing it I see what you were asking, there's no option to enable it in launcher, which makes things a bit difficult. Outside of modding it in, it looks like it's impossible to enable cheats...
 

Leonion

Master Knight
Do WSEs by any chance solve the infantry clash lag (caused by too many loads) or any of ctds issues?
 

horns

Regular
M&BWB
Trying to run with NeoGK and I am receiving the following error:
ERROR: Number of alternatives exceeds 3 for shader agent_shader

After some googling, this forum thread from cmp seems to be related, but that config file no longer exists with WSE2: http://forum.melee.org/crpg-client-beta/number-of-alternatives-exceeds-3-for-shader-def_shader/

Any thoughts on this one?
 
Top Bottom