搜索结果: *

  1. sepanol

    Map Editing: Crashes at new game start

    it happened to me too, save often, and create lots of backups,
    to me it happened cuz of weird terrain, i made a highland which vertices were not in proportional distance. Use simple shapes and dont mess with the landscape too much.
    If u didnt put too much work, redo everythng and try in the game every step u do
  2. sepanol

    [Q/A] Question about Creating quest

    I created a bandit lair successfully, and to the bandit lair cene i wanna put an altar (destructible object) and make a quest from a specific lord, in order to destroy the altar So my questions; How can i create a destructible object in a scene, and make the game read its destructible And how...
  3. sepanol

    Family relations

    My lord family relations in new faction is randomly distributed, but i wanna make one lord brother of another.how is it possible in script?
  4. sepanol

    SP Native Native_Waldane

    I am currently working on a native expansion mod. Most important feature is the New faction, Kingdom of Waldane ( Based on british medieval concept) I give 3 towns to Swadia, pull Uxkhal to Waldane and add 2 more towns Waldanish Ranger, Crusader and Longbowman as the highest tier soldiers...
  5. sepanol

    Destroy Bandit Lair Quest

    thanks somebdy, ure the best
  6. sepanol

    Reinforcements

    thanks it worked
  7. sepanol

    Destroy Bandit Lair Quest

    I have a really frustrating problem. I added a new forest bandit lair template in ordeer to have an extra bandit camp on map. I created new forest bandits to use in the template, basically i did everythng to make it work. Now i see the new bandit camp on map, and then i talk to the Lord to get...
  8. sepanol

    Reinforcements

    I added, khergit castle guards (i renamed them) to the reinforcements in party templates, to enable them for using in the caste or town defenses. But i guess it effects  lords too, so khergit lords have castle guards in their army as well. Is it possible to use specific troops only for castle...
  9. sepanol

    Unique items

    Does anyone know the use of unique parametre in item editor? if i set an item to unique, can it be available for sell in towns?
  10. sepanol

    How to change upkeep cost and upgrade cost for units?

    this is where u gotta look for in scripts, somewhere around line 4065

      # script_game_get_upgrade_cost
      # This script is called from game engine for calculating needed troop upgrade exp
      # Input:
      # param1: troop_id,
      # Output: reg0 = needed cost for upgrade
      ("game_get_upgrade_cost",
        [
          (store_script_param_1, ":troop_id"),
         
          (store_character_level, ":troop_level", ":troop_id"),
         
          (try_begin),
            (is_between, ":troop_level", 0, 6),
            (assign, reg0, 10),
          (else_try), 
            (is_between, ":troop_level", 6, 11),
            (assign, reg0, 20),
          (else_try), 
            (is_between, ":troop_level", 11, 16),
            (assign, reg0, 40),
          (else_try), 
            (is_between, ":troop_level", 16, 21),
            (assign, reg0, 80),
          (else_try), 
            (is_between, ":troop_level", 21, 26),
            (assign, reg0, 120),
          (else_try), 
            (is_between, ":troop_level", 26, 31),
            (assign, reg0, 160),
          (else_try), 
            (assign, reg0, 200),
          (try_end), 
           
          (set_trigger_result, reg0),
      ]),


    u can change the numbers, 160 , 200 which are costs and levels,

    other than that im not sure if there is something related to triggers that u have to change, becuz i dont know whats the use of reg0 here
  11. sepanol

    How to change upkeep cost and upgrade cost for units?

    u can modify the upgrade tree at the bottom of troops.py file

    upgrade costs are fixed for every specific level, like betwen 6-12 its 10 then 12-18 20 denar /..... something like that

    u should search scripts , its not very difficult to change it
  12. sepanol

    Family relations

    i found only this,

    (try_begin),
    (eq, ":center_too_close", 1),
    (party_is_active, ":new_camp"),
    (remove_party, ":new_camp"),
    (party_template_set_slot, ":bandit_template", slot_party_template_lair_party, 0),
    (else_try),
    (eq, ":bandit_template", "pt_sea_raiders"),
    (eq, ":new_camp_terrain", 3),
    (map_get_water_position_around_position, pos5, pos4, 4),
    (party_template_set_slot, ":bandit_template", slot_party_template_lair_party, ":new_camp"),
    (party_set_flags, ":new_camp", pf_disabled, 1),
    (else_try),
    (eq, ":bandit_template", "pt_mountain_bandits"),
    (eq, ":new_camp_terrain", 3),
    (gt, ":elevation", 250),
    (party_template_set_slot, ":bandit_template", slot_party_template_lair_party, ":new_camp"),
    (party_set_flags, ":new_camp", pf_disabled, 1),
    (else_try),
    (eq, ":bandit_template", "pt_desert_bandits"),
    (eq, ":new_camp_terrain", 5),
    (gt, ":lair_y", -9000),
    (gt, ":elevation", 125),
    (party_template_set_slot, ":bandit_template", slot_party_template_lair_party, ":new_camp"),
    (party_set_flags, ":new_camp", pf_disabled, 1),
    (else_try),
    (eq, ":bandit_template", "pt_steppe_bandits"),
    (this_or_next|eq, ":new_camp_terrain", 2),
    (eq, ":new_camp_terrain", 10),
    (this_or_next|eq, ":new_camp_terrain", 10),
    (gt, ":elevation", 200),
    (party_template_set_slot, ":bandit_template", slot_party_template_lair_party, ":new_camp"),
    (party_set_flags, ":new_camp", pf_disabled, 1),
    (else_try),
    (eq, ":bandit_template", "pt_taiga_bandits"),
    (eq, ":new_camp_terrain", 12),
    (party_template_set_slot, ":bandit_template", slot_party_template_lair_party, ":new_camp"),
    (party_set_flags, ":new_camp", pf_disabled, 1),
    (else_try),
    (eq, ":bandit_template", "pt_forest_bandits"),
    (eq, ":new_camp_terrain", 11),
    (party_template_set_slot, ":bandit_template", slot_party_template_lair_party, ":new_camp"),
    (party_set_flags, ":new_camp", pf_disabled, 1),
    (else_try),
    (party_is_active, ":new_camp"),
    (str_store_party_name, s4, ":new_camp"),
    (remove_party, ":new_camp"),
    (party_template_set_slot, ":bandit_template", slot_party_template_lair_party, 0),
    (else_try),
    (try_end),
    (try_end),
        ]),


    it says pos4, pos5 ,is it what am i supposed to change?
    i dont know what i should add to forest bandits info?
  13. sepanol

    Family relations

    i have another problem but i didnt wanna open new thread for it,

    how can i make an additional bandit lair?

    i want 2 forest bandit camps, one in current place and one far west, but couldnt figure out how, i made 2 forest bandit spawn points but i guess its not the solution
  14. sepanol

    Family relations

    but where to put it exactly? i couldnt figure out
  15. sepanol

    Family relations

    its irrelevant but there is one more thing, i added some new banners and the pretenders got some of the banners randomly, is it possible to give banners to pretenders precisely
  16. sepanol

    Family relations

    thanks it worked fine
  17. sepanol

    Family relations

    i think its here what ure talking about

    (try_begin),
    (is_between, ":cur_troop", "trp_knight_1_1", "trp_knight_2_1"),
    (store_sub, ":npc_seed", ":cur_troop", "trp_knight_1_1"),
    (assign, ":ancestor_seed", 1),

    (else_try),
    (is_between, ":cur_troop", "trp_knight_2_1", "trp_knight_3_1"),
    (store_sub, ":npc_seed", ":cur_troop", "trp_knight_2_1"),
    (assign, ":ancestor_seed", 7),

    (else_try),
    (is_between, ":cur_troop", "trp_knight_3_1", "trp_knight_4_1"),
    (store_sub, ":npc_seed", ":cur_troop", "trp_knight_3_1"),
    (assign, ":ancestor_seed", 13),

    (else_try),
    (is_between, ":cur_troop", "trp_knight_4_1", "trp_knight_5_1"),
    (store_sub, ":npc_seed", ":cur_troop", "trp_knight_4_1"),
    (assign, ":ancestor_seed", 19),

    (else_try),
    (is_between, ":cur_troop", "trp_knight_5_1", "trp_knight_6_1"),
    (store_sub, ":npc_seed", ":cur_troop", "trp_knight_5_1"),
    (assign, ":ancestor_seed", 25),

    (else_try),
    (is_between, ":cur_troop", "trp_knight_6_1", "trp_kingdom_7_1"),
    (store_sub, ":npc_seed", ":cur_troop", "trp_knight_6_1"),
    (assign, ":ancestor_seed", 31),



    but i dont know whats the ancestor seed, and the number that increases by 6 every faction? is it something i should look for in another file? or simply will i write something like



    (else_try),
    (is_between, ":cur_troop", "trp_knight_7_1", "trp_kingdom_pretender..."),
    (store_sub, ":npc_seed", ":cur_troop", "trp_knight_7_1"),
    (assign, ":ancestor_seed", 37),

  18. sepanol

    banners, flags

    there is one problem, which doesnt make sense for me,

    the party i created is a spawn point for a group,

    party template is one hero, and a group of soldiers,

    and i set new faction for them

    so i should set the banner for the faction? for party? or for troop?
  19. sepanol

    Family relations

    I created a new faction, I created 20 new lords,  (i copied randomly from couple of factions, changed their names, just to try, but they have weird ages like 3, 7, 0 even minus 8) and they have random fathers, brothers... how can i create manually a family tree for each lord in this faction...
  20. sepanol

    banners, flags

    should i write these, in a specific area in scripts?
后退
顶部 底部