OSP Kit Combat Chopping off hands kit

Users who are viewing this thread

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.
 
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.
 
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?
 
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),
    ])
 
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:
 
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
 
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.
 
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:
 
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...
 
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

 
Back
Top Bottom