搜索结果: *

  1. PYTHON SCRIPT/SCHEME EXCHANGE

    Fujiwara 说:
    micnato 说:
    How would I make it so that factions start asking you to join at a lower renown?  Or even better, how would I make a specific faction ask you if you would like to join at the very start of the game?

    Read through module_scripts. There should be a script_player_join_faction or something similar. The threshhold values you are looking for are in there.

    I found that part of module_scripts, but I have no idea what I'm looking at:
    插入代码块:
    #script_player_join_faction
      # INPUT: arg1 = faction_no
      # OUTPUT: none
      ("player_join_faction",
        [
          (store_script_param, ":faction_no", 1),
          (assign,"$players_kingdom",":faction_no"),
          (try_for_range,":other_kingdom",kingdoms_begin,kingdoms_end),
            (try_begin),
              (neq, ":other_kingdom", ":faction_no"),
              (store_relation, ":other_kingdom_reln", ":other_kingdom", ":faction_no"),
            (else_try),
              (store_relation, ":other_kingdom_reln", "fac_player_faction", ":other_kingdom"),
              (val_max, ":other_kingdom_reln", 12),
            (try_end),
            (set_relation,":other_kingdom","fac_player_faction", ":other_kingdom_reln"),
          (try_end),
          (try_for_range, ":cur_center", centers_begin, centers_end),
            #Give center to kingdom if player is the owner
            (party_slot_eq, ":cur_center", slot_town_lord, "trp_player"),
            (party_set_faction, ":cur_center", ":faction_no"),
          (try_end),
          (assign, "$g_player_banner_granted", 1),
          ]),

    It's all Greek to me.  :sad:  Where's the part that says "Make factions bug player at 100 renown"?
  2. Modding Q&A [For Quick Questions and Answers]

    I'm not sure if this is the best place to ask this, but anyway:
    I just started porting a little mini-mod I've been working on to .894, so basically all I have done so far is replace the Vaegirs with my custom faction.  I tried to test my mod, but during the load screen I get an RGL error: "get_object failed for bo_village_steppe_a".  I haven't changed anything by that name, so I'm not really sure what's causing the problem.  Any ideas?
  3. PYTHON SCRIPT/SCHEME EXCHANGE

    How would I make it so that factions start asking you to join at a lower renown?  Or even better, how would I make a specific faction ask you if you would like to join at the very start of the game?
后退
顶部 底部