搜索结果: *

  1. DasSauerkraut

    Modding Q&A [For Quick Questions and Answers]

    So I'm trying to add towns to an existing faction but the starting quest is all messed up. Wrong scene, wrong troop for the merchant, and the merchant not giving the starting quest.
    Here's all the code I've added. Is there something else I need to add, but haven't?
    module_parties
    插入代码块:
    	Line 106:   ("town_26", "Rothenbach", 	icon_town|pf_town, no_menu, pt_none, fac_neutral, 0, ai_bhvr_hold, 0, (-28,-20), [], 260.0),
    module_troops
    插入代码块:
    	Line 1015: ["town_26_seneschal", "{!}Town 26 Seneschal", "{!}Town 14 Seneschal", tf_hero|tf_is_merchant, 0,reserved,  fac_neutral,[ itm_blue_gambeson,      itm_blue_hose],     def_attrib|level(2),wp(20),knows_common, 0x000000000004728b01c293c694944b05],
    	Line 1093: ["town_26_arena_master","Tournament Master","{!}Tournament Master",tf_hero|tf_randomize_face, scn_town_26_arena|entry(52),reserved,  fac_commoners,[itm_padded_leather,    itm_hide_boots],    def_attrib|level(2),wp(20),knows_common,man_face_middle_1, man_face_older_2],
    	Line 1093: ["town_26_arena_master","Tournament Master","{!}Tournament Master",tf_hero|tf_randomize_face, scn_town_26_arena|entry(52),reserved,  fac_commoners,[itm_padded_leather,    itm_hide_boots],    def_attrib|level(2),wp(20),knows_common,man_face_middle_1, man_face_older_2],
    	Line 1143: ["town_26_armorer","Armorer", "{!}Armorer",  tf_hero|tf_randomize_face|tf_female|tf_is_merchant, 0, 0, fac_commoners,[itm_sarranid_common_dress,         itm_sarranid_head_cloth       ],def_attrib|level(5),wp(20),knows_inventory_management_10, woman_face_1, woman_face_2],
    	Line 1173: ["town_26_weaponsmith","Weaponsmith","{!}Weaponsmith",tf_hero|tf_randomize_face|          tf_is_merchant, 0, 0, fac_commoners,[itm_linen_tunic,     itm_sarranid_boots_a],def_attrib|level(5),wp(20),knows_inventory_management_10, mercenary_face_1, mercenary_face_2],
    	Line 1202: ["town_26_tavernkeeper","Tavern_Keeper","{!}Tavern_Keeper",tf_hero|tf_randomize_face,           scn_town_26_tavern|entry(9),0,  fac_commoners,[itm_sarranid_cloth_robe_b,               itm_sarranid_boots_a],def_attrib|level(2),wp(20),knows_common, mercenary_face_1, mercenary_face_2],
    	Line 1202: ["town_26_tavernkeeper","Tavern_Keeper","{!}Tavern_Keeper",tf_hero|tf_randomize_face,           scn_town_26_tavern|entry(9),0,  fac_commoners,[itm_sarranid_cloth_robe_b,               itm_sarranid_boots_a],def_attrib|level(2),wp(20),knows_common, mercenary_face_1, mercenary_face_2],
    	Line 1231: ["town_26_merchant","Merchant","{!}Merchant",          tf_hero|tf_randomize_face|tf_is_merchant, scn_town_26_store|entry(9),0, fac_commoners,    [itm_leather_apron, itm_leather_boots                   ],def_attrib|level(2),wp(20),knows_inventory_management_10, man_face_young_1, man_face_older_2],
    	Line 1231: ["town_26_merchant","Merchant","{!}Merchant",          tf_hero|tf_randomize_face|tf_is_merchant, scn_town_26_store|entry(9),0, fac_commoners,    [itm_leather_apron, itm_leather_boots                   ],def_attrib|level(2),wp(20),knows_inventory_management_10, man_face_young_1, man_face_older_2],
    	Line 1262: ["town_26_horse_merchant","Horse Merchant","{!}Town 18 Horse Merchant",tf_hero|tf_randomize_face|tf_is_merchant|tf_female,  0, 0, fac_commoners,[itm_sarranid_common_dress_b,       itm_blue_hose,      itm_sarranid_felt_head_cloth_b],     def_attrib|level(5),wp(20),knows_inventory_management_10, woman_face_1, woman_face_2],
    	Line 1291: ["town_26_mayor", "Guild_Master", "{!}Guild_Master", tf_hero|tf_randomize_face, 0,reserved,  fac_neutral,[ itm_sarranid_cloth_robe,      itm_sarranid_boots_a],     def_attrib|level(2),wp(20),knows_common,  man_face_middle_1, mercenary_face_2],
    	Line 1439: ["town_26_master_craftsman", "{!}Town 26 Seneschal", "{!}Town 14 Seneschal", tf_hero|tf_is_merchant, 0,reserved,  fac_neutral,[ itm_sarranid_cloth_robe_b,      itm_blue_hose],     def_attrib|level(2),wp(20),knows_common, 0x00000000200c658a5723b1a3148dc455000000000015ab920000000000000000],
    module_scenes
    插入代码块:
    ("town_26_center",sf_generate,"none", "none", (0,0),(100,100),-100,"0x00000002300491830004a529000036230000312a00003653",
    ("town_26_castle",sf_indoors, "interior_castle_z", "bo_interior_castle_z", (-100,-100),(100,100),-100,"0",
    ["exit"],["town_26_seneschal"]),	
    ("town_26_tavern",sf_indoors, "interior_tavern_g", "bo_interior_tavern_g", (-100,-100),(100,100),-100,"0",
    ("town_26_store",sf_indoors, "interior_town_house_j", "bo_interior_town_house_j", (-100,-100),(100,100),-100,"0",
    ("town_26_arena",sf_generate,"none", "none", (0,0),(100,100),-100,"0xa0001d9300031ccb0000156f000048ba0000361c",
    ("town_26_prison",sf_indoors,"interior_prison_e", "bo_interior_prison_e", (-100,-100),(100,100),-100,"0",
    ("town_26_walls",sf_generate,"none", "none", (0,0),(100,100),-100,"0x00000002300015e300063d8800002757000055df00001b08",
    ("town_26_alley",sf_generate,"none", "none", (0,0),(100,100),-100,"0x300bc5430001e0780000448a0000049f00007932",
    module_scripts
    插入代码块:
    	Line 528: 	  (call_script, "script_give_center_to_faction_aux", "p_town_26", "fac_kingdom_7"),
    	Line 618:       (call_script, "script_give_center_to_lord", "p_town_26", "trp_knight_7_1", 0),
    	Line 5902: 	 (call_script, "script_set_trade_route_between_centers", "p_town_26", "p_town_2"), #Maastricht - Tihr     
    	Line 5903:      (call_script, "script_set_trade_route_between_centers", "p_town_26", "p_town_4"), #Maastricht - Suno
    	Line 5904:      (call_script, "script_set_trade_route_between_centers", "p_town_26", "p_town_12"), #Maastricht - Wercheg        
    	Line 5905:      (call_script, "script_set_trade_route_between_centers", "p_town_26", "p_town_6"), #Maastricht- Praven     
    	Line 5906:      (call_script, "script_set_trade_route_between_centers", "p_town_26", "p_town_15"), #Maastricht - Yalen     
    	Line 5907:      (call_script, "script_set_trade_route_between_centers", "p_town_26", "p_town_16"), #Maastricht - Dhirim
    	Line 6497:       (party_set_slot,"p_town_26", slot_town_arena_melee_1_num_teams,   2),
    	Line 6498:       (party_set_slot,"p_town_26", slot_town_arena_melee_1_team_size,   8),
    	Line 6499:       (party_set_slot,"p_town_26", slot_town_arena_melee_2_num_teams,   2),
    	Line 6500:       (party_set_slot,"p_town_26", slot_town_arena_melee_2_team_size,   8),
    	Line 6501:       (party_set_slot,"p_town_26", slot_town_arena_melee_3_num_teams,   2),
    	Line 6502:       (party_set_slot,"p_town_26", slot_town_arena_melee_3_team_size,   8),
    	Line 6519: 	  (party_set_slot, "p_town_26", slot_center_smithies, 20),       #Maastricht
    	Line 6520:       (party_set_slot, "p_town_26", slot_center_wine_presses, 5),    #Maastricht
    	Line 6521:       (party_set_slot, "p_town_26", slot_center_olive_presses, 5),    #Maastricht
    	Line 6522:       (party_set_slot, "p_town_26", slot_center_fishing_fleet, 25),    #Maastricht
    	Line 6939: 			(party_slot_eq, ":village_no", slot_village_market_town, "p_town_26"), #Maastricht
    module_triggers
    插入代码块:
    	Line 191:     (store_add, ":p_town_26_plus_one", "p_town_26", 1),
    	Line 191:     (store_add, ":p_town_26_plus_one", "p_town_26", 1),
    	Line 192:     (store_random_in_range, ":selected_town", "p_town_1", ":p_town_26_plus_one"),
  2. DasSauerkraut

    SP Tutorial Module System Creating a faction.

    Thanks Nobody.
    I've been working through the files, copying and modifying to fit my faction everything related to culture or faction. However, I've run into a problem, upon compiling, it spits out an error stating that "mtf_culture_7" is not defined. Where should I define "mtf_culture"?
  3. DasSauerkraut

    Modding Q&A [For Quick Questions and Answers]

    So I've been adding a new faction using Nord Champion's tutorial, and the faction is successfully added to the game, however, when starting the game a naked man runs up to me and starts punching me after I kill the bandit. In addition, the merchants don't sell anything, and the tavern keeper is none existent. I've heard things about initializing the towns economy, how would I do that?

    Thanks in advance
  4. DasSauerkraut

    SP Tutorial Module System Creating a faction.

    Thanks for putting together a great tutorial Nord.

    However, upon building my module, I receive the following error:

    插入代码块:
    Traceback (most recent call last):
               from process_operations import*
    File "A:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\Kriegstatt\Module_system 1.134\process_operations.py, line 12, in <module>
             from module_troops import*
    File "A:\SteamLibrary\SteamApps\common\MountBlade Warband\Modules\Kriegstatt\Module_system 1.134\module_troops.py, line 2160
           upgrade(troops,"farmer", "watchman")
                 ^

    which repeats quite a lot

    this is what that line looks like

    插入代码块:
    upgrade(troops,"farmer","watchman")

    as far as I can tell there are no syntax errors
  5. DasSauerkraut

    Official 3D art thread - Warband

    Any ideas on how to improve this thing?
    I'm not sure if I should be fiddling with the shaders, bumpmap, specular map, or the texture
    nRkrW6k.jpg
后退
顶部 底部