Peit的最近内容

  1. Can't save Noldor units?

    you can't recruit prisoners above lvl 41
  2. Questions about archery

    hello everybody! First of all: great mod, my favorite mod already after the first second of playing. but now my questions: 1. I have good relations with noldor and am allowed in their castle, but is it even possible to win their achery training? (even on easy 30p danage per arrow!) 2. I have...
  3. question concerning character upgrading

    thanks

    this helped me a lot
  4. question concerning character upgrading

    Hello everybody, I am not much of a coder so here is a question for a mod I am creating. Would it be possible to change the upgrading speed for certain stats (like charisma or strength)? For example: Class A upgrades strenght twice the normal speed (a strength upgrade point counts double)    ...
  5. OSP Code Combat [WB] Weapon breaking trigger

    nice work!

    I am implementing this into my own mod as we speak

  6. Massive upgrade at start

    solved

    thanks
  7. Massive upgrade at start

    Hello everyone, I have been modding for a couple of days now. When I start a new game the player automatically upgrades to level 33 (1170091 experience) at character creation. I have been messing around with some factions so I might have accidently deleted or added something. Could anyone...
  8. Problem creating race/Module_skins

    Something changed: now the races apear correctly but the gane still crashes after a few seconds.
  9. Problem creating race/Module_skins

    here are all of the skins

    Adjusting the numbers in game_menus didn't change anything

    skins = [
      (
        "man", 0,
        "man_body", "man_calf_l", "m_handL",
        "male_head", man_face_keys,
        ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
        ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o",  "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
        ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
        ["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], #beard_materials
        [("manface_young_2",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
        ("manface_midage",0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
        ("manface_young",0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),   
    #    ("manface_old",0xffd0d0d0,["hair_white","hair_brunette","hair_red","hair_blonde"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ("manface_young_3",0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_7",0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff007080c]),
        ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
        ("manface_rugged",0xffb0aab5,["hair_blonde"],[0xff171313, 0xff007080c]),
    #    ("manface_young_4",0xffe0e8e8,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_african",0xff807c8a,["hair_blonde"],[0xff120808, 0xff007080c]),   
    #    ("manface_old_2",0xffd5d5c5,["hair_white"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ], #man_face_textures,
        [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_stun,"snd_man_stun"),(voice_victory,"snd_man_victory")], #voice sounds
        "skel_human", 1.0,
        psys_game_blood,psys_game_blood_2,
        [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
        [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
        [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
        [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
        [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
        [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
        ]
      ),
     
      (
        "woman", skf_use_morph_key_10,
        "woman_body",  "woman_calf_l", "f_handL",
        "female_head", woman_face_keys,
        ["woman_hair_p","woman_hair_n","woman_hair_o","woman_hair_q","woman_hair_r","woman_hair_t","woman_hair_s"], #woman_hair_meshes
    #    ["woman_hair_a","woman_hair_b","woman_hair_c","woman_hair_d","woman_hair_e","woman_hair_f","woman_hair_g"], #woman_hair_meshes
        [],
        ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
        [],
        [("womanface_young",0xffe3e8ef,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19, 0xff19100c]),
        ("womanface_b",0xffdfdfdf,["hair_blonde"],[0xffa5481f, 0xff502a19, 0xff19100c, 0xff0c0d19]),
        ("womanface_a",0xffe8dfe5,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
        ("womanface_brown",0xffaf9f7e,["hair_blonde"],[0xff19100c, 0xff0c0d19, 0xff007080c]),
        ("womanface_african",0xff808080,["hair_blonde"],[0xff120808, 0xff007080c]),
    #    ("womanface_midage",0xffe5eaf0,["hair_black","hair_brunette","hair_red","hair_white"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ],#woman_face_textures
        [(voice_die,"snd_woman_die"),(voice_hit,"snd_woman_hit"),(voice_yell,"snd_woman_yell")], #voice sounds
        "skel_human", 1.0,
        psys_game_blood,psys_game_blood_2,
      ),
     
    (
        "small", 0,
        "man_body", "man_calf_l", "m_handL",
        "male_head", man_face_keys,
        ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
        ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o",  "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
        ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
        ["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], #beard_materials
        [("manface_young_2",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
        ("manface_midage",0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
        ("manface_young",0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),   
    #    ("manface_old",0xffd0d0d0,["hair_white","hair_brunette","hair_red","hair_blonde"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ("manface_young_3",0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_7",0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff007080c]),
        ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
        ("manface_rugged",0xffb0aab5,["hair_blonde"],[0xff171313, 0xff007080c]),
    #    ("manface_young_4",0xffe0e8e8,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_african",0xff807c8a,["hair_blonde"],[0xff120808, 0xff007080c]),   
    #    ("manface_old_2",0xffd5d5c5,["hair_white"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ], #man_face_textures,
        [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_stun,"snd_man_stun"),(voice_victory,"snd_man_victory")], #voice sounds
        "skel_human", 0.8,
        psys_game_blood,psys_game_blood_2,
        [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
        [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
        [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
        [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
        [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
        [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
        ]
      ),

    (
        "large", 0,
        "man_body", "man_calf_l", "m_handL",
        "male_head", man_face_keys,
        ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
        ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o",  "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
        ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
        ["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], #beard_materials
        [("manface_young_2",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
        ("manface_midage",0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
        ("manface_young",0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),   
    #    ("manface_old",0xffd0d0d0,["hair_white","hair_brunette","hair_red","hair_blonde"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ("manface_young_3",0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_7",0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff007080c]),
        ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
        ("manface_rugged",0xffb0aab5,["hair_blonde"],[0xff171313, 0xff007080c]),
    #    ("manface_young_4",0xffe0e8e8,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_african",0xff807c8a,["hair_blonde"],[0xff120808, 0xff007080c]),   
    #    ("manface_old_2",0xffd5d5c5,["hair_white"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ], #man_face_textures,
        [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_stun,"snd_man_stun"),(voice_victory,"snd_man_victory")], #voice sounds
        "skel_human", 1.2,
        psys_game_blood,psys_game_blood_2,
        [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
        [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
        [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
        [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
        [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
        [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
        ]
      ),
    ]
  10. Problem creating race/Module_skins

    skins
    (
        "small", 0,
        "man_body", "man_calf_l", "m_handL",
        "male_head", man_face_keys,
        ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
        ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o",  "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
        ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
        ["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], #beard_materials
        [("manface_young_2",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
        ("manface_midage",0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
        ("manface_young",0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),   
    #    ("manface_old",0xffd0d0d0,["hair_white","hair_brunette","hair_red","hair_blonde"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ("manface_young_3",0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_7",0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff007080c]),
        ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
        ("manface_rugged",0xffb0aab5,["hair_blonde"],[0xff171313, 0xff007080c]),
    #    ("manface_young_4",0xffe0e8e8,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_african",0xff807c8a,["hair_blonde"],[0xff120808, 0xff007080c]),   
    #    ("manface_old_2",0xffd5d5c5,["hair_white"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ], #man_face_textures,
        [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_stun,"snd_man_stun"),(voice_victory,"snd_man_victory")], #voice sounds
        "skel_human", 0.8,
        psys_game_blood,psys_game_blood_2,
        [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
        [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
        [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
        [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
        [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
        [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
        ]
      ),

    (
        "large", 0,
        "man_body", "man_calf_l", "m_handL",
        "male_head", man_face_keys,
        ["man_hair_s","man_hair_m","man_hair_n","man_hair_o", "man_hair_y10", "man_hair_y12","man_hair_p","man_hair_r","man_hair_q","man_hair_v","man_hair_t","man_hair_y6","man_hair_y3","man_hair_y7","man_hair_y9","man_hair_y11","man_hair_u","man_hair_y","man_hair_y2","man_hair_y4"], #man_hair_meshes ,"man_hair_y5","man_hair_y8",
        ["beard_e","beard_d","beard_k","beard_l","beard_i","beard_j","beard_z","beard_m","beard_n","beard_y","beard_p","beard_o",  "beard_v", "beard_f", "beard_b", "beard_c","beard_t","beard_u","beard_r","beard_s","beard_a","beard_h","beard_g",], #beard meshes ,"beard_q"
        ["hair_blonde", "hair_red", "hair_brunette", "hair_black", "hair_white"], #hair textures
        ["beard_blonde","beard_red","beard_brunette","beard_black","beard_white"], #beard_materials
        [("manface_young_2",0xffcbe0e0,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff502a19]),
        ("manface_midage",0xffdfefe1,["hair_blonde"],[0xffffffff, 0xffb04717, 0xff632e18, 0xff502a19, 0xff19100c]),
        ("manface_young",0xffd0e0e0,["hair_blonde"],[0xff83301a, 0xff502a19, 0xff19100c, 0xff0c0d19]),   
    #    ("manface_old",0xffd0d0d0,["hair_white","hair_brunette","hair_red","hair_blonde"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ("manface_young_3",0xffdceded,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_7",0xffc0c8c8,["hair_blonde"],[0xff171313, 0xff007080c]),
        ("manface_midage_2",0xfde4c8d8,["hair_blonde"],[0xff502a19, 0xff19100c, 0xff0c0d19]),
        ("manface_rugged",0xffb0aab5,["hair_blonde"],[0xff171313, 0xff007080c]),
    #    ("manface_young_4",0xffe0e8e8,["hair_blonde"],[0xff2f180e, 0xff171313, 0xff007080c]),
        ("manface_african",0xff807c8a,["hair_blonde"],[0xff120808, 0xff007080c]),   
    #    ("manface_old_2",0xffd5d5c5,["hair_white"],[0xffffcded, 0xffbbcded, 0xff99eebb]),
        ], #man_face_textures,
        [(voice_die,"snd_man_die"),(voice_hit,"snd_man_hit"),(voice_grunt,"snd_man_grunt"),(voice_grunt_long,"snd_man_grunt_long"),(voice_yell,"snd_man_yell"),(voice_stun,"snd_man_stun"),(voice_victory,"snd_man_victory")], #voice sounds
        "skel_human", 1.2,
        psys_game_blood,psys_game_blood_2,
        [[1.7, comp_greater_than, (1.0,face_width), (1.0,temple_width)], #constraints: ex: 1.7 > (face_width + temple_width)
        [0.3, comp_less_than, (1.0,face_width), (1.0,temple_width)],
        [1.7, comp_greater_than, (1.0,face_width), (1.0,face_depth)],
        [0.3, comp_less_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [1.7, comp_greater_than, (1.0,eyebrow_height), (1.0,eyebrow_position)],
        [-0.7, comp_less_than, (1.0,nose_size), (-1.0,nose_shape)],
        [0.7, comp_greater_than, (1.0,nose_size), (-1.0,nose_shape)],
        [2.7, comp_greater_than, (1.0,chin_size), (1.0,mouth_nose_distance), (1.0,nose_height), (-1.0,face_width)],
        ]
      ),
    ]
    Game_menus
    [
          ("start_male",[],"Male",
          [
            (troop_set_type,"trp_player", 0),
            (assign,"$character_gender",tf_male),
            (jump_to_menu,"mnu_start_character_1"),
            ]
          ),
          ("start_female",[],"Female",
          [
            (troop_set_type, "trp_player", 2),
            (assign, "$character_gender", tf_female),
            (jump_to_menu, "mnu_start_character_1"),
          ]
          ),
          ("start_small",[],"Small",
          [
            (troop_set_type,"trp_player", 2),
            (assign,"$character_gender",tf_small),
            (jump_to_menu,"mnu_start_character_1"),
            ]
          ),
          ("start_large",[],"Large",
          [
            (troop_set_type,"trp_player", 4),
            (assign,"$character_gender",tf_Large),
            (jump_to_menu,"mnu_start_character_1"),
            ]
          ),  
      ("go_back",[],"Go back",
          [
        (jump_to_menu,"mnu_start_game_0"),
          ]),
        ]
      ),
    header_troops
    tf_male          = 0
    tf_female        = 1
    tf_small          = 2
    tf_large            = 3

    this is everything, thanks in advance
  11. Problem creating race/Module_skins

    Thanks for your reply

    unfortunately it didn't work: I tried almost all combinations of numbers (took a couple of hours) and still the game crashes a couple of second into the game.

    I hope someone can help
  12. Problem creating race/Module_skins

    I have added a small and a large race. the problem is that when i select either one of them in character creation I get the big race (when I switch the two around in module_skins it is the other way around). Could this be a problem with me using the wrong numbers in header_troops and module_gane_menus?
  13. Problem creating race/Module_skins

    dear modders :D, I have recently (a couple of days ago) started modding myself after playing every mod available for mount and blade/warband. I tried to add races(warband 1.127), and I managed to add one of them (by editing Module_skins and adjusting scale) this worked fine. Than I tried to...
后退
顶部 底部