I found another problem, i think you cannot set attribs individually in the .py, the are sets and you assign one ot each lord
knight_attrib_1 = str_15|agi_14|int_8|cha_16|level(22)
knight_attrib_2 = str_16|agi_16|int_10|cha_18|level(26)
knight_attrib_3 = str_18|agi_17|int_12|cha_20|level(30)
knight_attrib_4 = str_19|agi_19|int_13|cha_22|level(35)
knight_attrib_5 = str_20|agi_20|int_15|cha_25|level(41)
as above the same applies to skills. Its a shame that editor doesnt work, i could set them individually that way.
EDIT: I might had found a workaround, its so cheap it might work
, ill send you the troops.py when its done so you can check it/compile/whatever.