OSP Kit Combat Chopping off hands kit

Slawomir of Aaarrghh

Grandmaster Knight
M&BWBWF&SNWVC
Best answers
0
dunde said:
Masterancza said:
I have problem with this script. Someone can help me?

Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Traceback (most recent call last):
  File "process_global_variables.py", line 8, in <module>
    from module_presentations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_presentation
s.py", line 12750, in <module>
    modmerge(var_set)
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\modmerger.py", line
297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\modmerger.py", line
237, in modmerge__
    _temp = __import__( src_module_name ,{} , {}, [mergefn_name],-1)
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\tournament_presenta
tions.py", line 11, in <module>
    from module_items import *  # Added for Show all Items presentation.
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Exporting strings...
Exporting skills...
Exporting tracks...
Exporting animations...
Exporting meshes...
Exporting sounds...
Exporting skins...
Traceback (most recent call last):
  File "process_map_icons.py", line 6, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Exporting faction data...
Traceback (most recent call last):
  File "process_items.py", line 4, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Exporting troops data
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Traceback (most recent call last):
  File "process_presentations.py", line 4, in <module>
    from module_presentations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_presentation
s.py", line 12750, in <module>
    modmerge(var_set)
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\modmerger.py", line
297, in modmerge
    modmerge__(modcomp_name,var_dict)
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\modmerger.py", line
237, in modmerge__
    _temp = __import__( src_module_name ,{} , {}, [mergefn_name],-1)
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\tournament_presenta
tions.py", line 11, in <module>
    from module_items import *  # Added for Show all Items presentation.
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Exporting quest data...
Exporting info_page data...
Traceback (most recent call last):
  File "process_scripts.py", line 4, in <module>
    from module_scripts import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_scripts.py",
line 48158, in <module>
    (agent_get_bone_position,pos1,":victim_agent_no",hb_hand_r),
NameError: name 'agent_get_bone_position' is not defined
Traceback (most recent call last):
  File "process_mission_tmps.py", line 5, in <module>
    from module_mission_templates import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_mission_temp
lates.py", line 64, in <module>
    (item_get_swing_damage_type, ":item_swing_damage_type", ":item_id"),
NameError: name 'item_get_swing_damage_type' is not defined
Traceback (most recent call last):
  File "process_game_menus.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Traceback (most recent call last):
  File "process_dialogs.py", line 9, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\process_operations.
py", line 13, in <module>
    from module_items import *
  File "C:\Users\pawel\Desktop\mb_warband_module_system_1153\module_items.py", l
ine 1790, in <module>
    ["invisible_left_hand", "Left Handsless", [("invisible_L",0)], itp_type_hand
_armor|itp_show_right_hand  ,0, 0 , weight(0)|abundance(0)|head_armor(0)|body_a
rmor(0)|leg_armor(0)|difficulty(0) ,imodbits_plate ],
NameError: name 'itp_show_right_hand' is not defined
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .
You need WSE as itp_show_right_hand is from WSE.
No, you don't need WSE. It should be there in the latest patch. Add this to header_items.py:

itp_show_left_hand    = 0x0000020000000000
itp_show_right_hand    = 0x0000040000000000

...and it should work.
 

The_dragon

Master Knight
WBNW
Best answers
0
Those two item properties are WSE only. I don't see any mentions that TW added these 2 properties.
Until they release the new module system, WSE is the way to go.
 

Slawomir of Aaarrghh

Grandmaster Knight
M&BWBWF&SNWVC
Best answers
0
Those two item properties are WSE only.
Umm... nope. Values for WSE "show hands" properties are quite different.

I don't see any mentions that TW added these 2 properties.
They're there, trust me. :wink: Only the header_operations changes were mentioned, while there's more of it really.
 

dunde

Count
WB
Best answers
0
So there are new flags also. How about wse's modified triggers like on hit? And is the on init trigger is fired for horses now as New material and meshes operation for items should be used in the trigger?
 

builder of the gods

Sergeant at Arms
Best answers
0
bones dont work for me at all i made a debug script to be sure but :sad:
Code:
common_battle_test_bones = (
    ti_on_agent_hit, 0, 0, [], #when agent got hit
    [
	  (store_trigger_param, ":bone", 5), #store bone needs wse
	  (store_trigger_param, ":agent", 1),
	  (try_begin),
		(this_or_next|eq, ":bone", hb_head),
		(this_or_next|eq, ":bone", hb_thorax),
	    (eq, ":bone", hb_spine),
	    (display_message, "@BONES WORKING", 0xff0000),
	  (else_try),
	    (agent_get_bone_position, pos1, ":agent", hb_head),
		(get_distance_between_positions, ":dist", pos1, pos0),
		(try_begin),
			(lt, ":dist", 20),
			(display_message, "@bone hit", 0xff0000),
		(try_end),
	    (display_message, "@BONE POSITION working", 0xff0000),
	  (else_try),
		(display_message, "@Godarchers code writing sucks :(", 0xff0000),
	  (try_end),
    ])
 

kalarhan

Python Saint
Count
WBNWVCWF&S
Best answers
31
builder of the gods said:
bones dont work for me at all i made a debug script to be sure but :sad:
maybe, just maybe, you are using the wrong parameter there (that was already pointed out in other threads you created)  :shifty:
 

builder of the gods

Sergeant at Arms
Best answers
0
kalarhan said:
builder of the gods said:
bones dont work for me at all i made a debug script to be sure but :sad:
maybe, just maybe, you are using the wrong parameter there (that was already pointed out in other threads you created)  :shifty:
Thank you for your help but thats just looks that way cause i have a very old version of wse (3.2.0) with modsys 1.166
 

builder of the gods

Sergeant at Arms
Best answers
0
Namakan said:
But...what...3.2.0 was for WB 1.153...
yes i know im updating it right now  :roll:
but i got that irritating error that the new wse doesnt inlude store_trigger_param
and well this script uses wse 3.2.0 im afraid
 

K700

Knight at Arms
WB
Best answers
0
omg, store_trigger_param is STANDART operation, not WSE

store_trigger_param        = 2070  # (store_trigger_param, <destination>, <trigger_param_no>),
                                    # Version 1.153+. Retrieve the value of arbitrary trigger parameter. Parameters are enumerated starting from 1. Note that despite the introduction of this operation, there's not a single trigger with more than 3 parameters.
 

builder of the gods

Sergeant at Arms
Best answers
0
K700 said:
omg, store_trigger_param is STANDART operation, not WSE

store_trigger_param        = 2070  # (store_trigger_param, <destination>, <trigger_param_no>),
                                    # Version 1.153+. Retrieve the value of arbitrary trigger parameter. Parameters are enumerated starting from 1. Note that despite the introduction of this operation, there's not a single trigger with more than 3 parameters.
yes your right im feeling really dumb right now, i just found out that my modsys was named 1.166 but was 1.165 that was the problem, :smile:
 

Namakan

Sergeant Knight at Arms
M&BWBWF&SNWVC
Best answers
3
K700 said:
omg, store_trigger_param is STANDART operation, not WSE

store_trigger_param        = 2070  # (store_trigger_param, <destination>, <trigger_param_no>),
                                    # Version 1.153+. Retrieve the value of arbitrary trigger parameter. Parameters are enumerated starting from 1. Note that despite the introduction of this operation, there's not a single trigger with more than 3 parameters.
builder of the gods said:
yes your right im feeling really dumb right now, i just found out that my modsys was named 1.166 but was 1.165 that was the problem, :smile:
Urm...okay...
 

KnightV

Squire
Best answers
0
I have added this but in multiplayer there is not any chopping off hands. Which bots can be chopped and how it works&
 

Roudrac

Grandmaster Knight
WBNWWF&SM&BVC
Best answers
0
Sorry to bring that thread back from the dead but I have tried to add this OSP to my multiplayer mod and I get the following error name 'mtrand' is not defined from the mission_templates.py

Any idea how to fix that? The problem comes from the following line:

Code:
(mtrand, ":rand", 1, 100),
Thanks

 

kalarhan

Python Saint
Count
WBNWVCWF&S
Best answers
31
Roudrac said:
I get the following error name 'mtrand' is not defined from the mission_templates.py
are you using WSE?

if not you will have to adapt the code...