Is there a way to make gunners and other low-accuracy ranged aim for the body rather than the head?wse2 already have agent_set_action_speed_modifier
Is there a way to make gunners and other low-accuracy ranged aim for the body rather than the head?wse2 already have agent_set_action_speed_modifier
This won't make shots more accurate, just lower. Try agent_set_look_target_positionIs there a way to make gunners and other low-accuracy ranged aim for the body rather than the head?
mesh map_flag_f14 riggedI know this has been partially answered already, but do the performance warnings given when using native assets matter much? If so, has anyone shared a version of Native files with these already fixed?
Why are the map_flags giving me these warnings? Surely they aren't skinned anyway?
17:17:31 - PERFORMANCE WARNING: Mesh map_flag_f14 with material banners_f and shader tex_mul_color_mul_factor_alpha uses CPU skinning
Thank you! If you like WSE2, you can support the development on Patreon or Boosty.Thank you for your continual support of WSE
The best you can do is set the required options using scripts. Players can change any limiting settings through the config file.Hey K700, I was wondering if there is a possibility to allow limiting of module options. By that I mean not allowing the player to change the Combat AI, Combat Speed, Damage to Player and so on. I would like to set those to be values the player cant change in my mod (makes balancing the mod a lot more easy).
Thanks for the explanation. Yes, that's probably the reason.Hello. I don't think fixed point multiplier has anything to do with it.
It's a matter of different implementations of try_for_agents.
Warband directly iterates through all agents and compares distances - what you can do yourself with scripts.
WSE and WSE2 uses the mission grid for optimized iterate between agents already placed on the grid.
This is much better in terms of performance, but the problem is that the mission grid only have x and y coordinates, not z.
Therefore, in this case it works not only under the bridge, but also on it.
I will make the optimized behavior of try_for_agents optional, but for now, as a temporary solution, you can additionally compare distance using scripts, which will still be faster than searching through all the agents on the scene.
I always got 'EXCEPTION_STACK_OVERFLOW (0xC00000FD, 0x00000000, 0x01206000)' when playing a mod, could you help me investigate this error?
Thanks. I do have many agent_deliver_damage_to_agent operations inside ti_on_agent_hit trigger because this is a fantasy mod and I used lots of such operations to simulate spells and enchantments. Shall I use a different operation, and which one do you suggest in this case?This is script error. Used agent_deliver_damage_to_agent operation inside ti_on_agent_hit trigger, so this causes a loop and stack overflow error
Also pay attention to the warnings "Unmatched try_end"
It's a recursion, it should crash on every instance of the engine. Your loop that inflicts the damage checks for an item, then inflicts damage using that same item. So it's an endless loop.I personally feel this problem is easier to solve if we can have a flag in wse2, and the flag determines whether agent_deliver_damage_to_agent shall trigger on_hit again.
In a fantasy mod this operation is critical because it is the best way to mimic enchanted weapon, just imagine an enemy is hit by a frost sword, and not only the vicitim of the weapon, but some foes nearby will also be damaged and frozen.
Is it possible to add such flag? This mod works fine in old WSE, so I guess this loop-trigger is a new feature in WSE2, and can be opt in and out?
send full rgl_log.txtI removed all agent_deliver_damage_to_agent operations but my module now crashes with a different error
EXCEPTION_STACK_OVERFLOW (0xC00000FD, 0x00000000, 0x01406000)
What operation is wrong now? Thanks.