Search results for query: *

  1. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    jacobhinds said:
    You need a comma after the fourth bracket pair line from the bottom. I.e this one:

    Code:
    (spawn_around_party,"p_village_14","pt_caballeros_de_calradia")

    Whenever it says "tuple not callable" it's either a missing closing bracket ")" or a missing comma.

    Code:
    Initializing...
    Compiling all global variables...
    Exporting strings...
    Exporting skills...
    Exporting tracks...
    Exporting animations...
    Exporting meshes...
    Exporting sounds...
    Exporting skins...
    Exporting map icons...
    Creating new tag_uses.txt file...
    Creating new quick_strings.txt file...
    Exporting faction data...
    Exporting item data...
    Exporting scene data...
    Exporting troops data
    Exporting particle data...
    Exporting scene props...
    Exporting tableau materials data...
    Exporting presentations...
    Exporting party_template data...
    Exporting parties
    Exporting quest data...
    Exporting info_page data...
    Exporting scripts...
    Exporting mission_template data...
    Exporting game menus data...
    exporting simple triggers...
    exporting triggers...
    exporting dialogs...
    Checking global variable usages...
    WARNING: Global variable never used: g_dplmc_battle_continuation
    WARNING: Global variable never used: g_dplmc_cam_activated
    WARNING: Global variable never used: g_dplmc_charge_when_dead
    Imported 23 global variables for saved-game compatability that are not used.
    Exporting postfx_params...
    
    ______________________________
    
    Script processing has ended.
    Press any key to exit. . .

    You are absolutely right it was only by a comma.

    I have much to learn.


    Thank you very much friend


    I want my second quest is within a village.

    Can I make an enemy party to wait for me to walk into a village?

    Any idea?
  2. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Please someone see the problem?
    Code:
    Initializing...
    Traceback (most recent call last):
      File "process_global_variables.py", line 6, in <module>
        from module_dialogs import *
      File "C:\Users\Brian\Desktop\Ms-neo 27-09-2014\Ms-neo 27-09-2014\module_dialog
    s.py", line 1794, in <module>
        (assign,":party_no","pt_caballeros_de_calradia"),
    TypeError: 'tuple' object is not callable
    Exporting strings...
    Exporting skills...
    Exporting tracks...
    Exporting animations...
    Exporting meshes...
    Exporting sounds...
    Exporting skins...
    Exporting map icons...
    Creating new tag_uses.txt file...
    Creating new quick_strings.txt file...
    Exporting faction data...
    Exporting item data...
    Exporting scene data...
    Exporting troops data
    Exporting particle data...
    Exporting scene props...
    Exporting tableau materials data...
    Exporting presentations...
    WARNING: Usage of unassigned global variable: $faction_display
    WARNING: Usage of unassigned global variable: $faction_display
    WARNING: Usage of unassigned global variable: $faction_display
    WARNING: Usage of unassigned global variable: $faction_display
    WARNING: Usage of unassigned global variable: $faction_display
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_agent_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_agent_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $fplayer_agent_no
    WARNING: Usage of unassigned global variable: $fplayer_team_no
    WARNING: Usage of unassigned global variable: $g_character_presentation_type
    WARNING: Usage of unassigned global variable: $g_base_character_presentation_sto
    rage_index
    WARNING: Usage of unassigned global variable: $g_character_presentation_type
    WARNING: Usage of unassigned global variable: $g_base_character_presentation_sto
    rage_index
    WARNING: Usage of unassigned global variable: $g_character_presentation_type
    WARNING: Usage of unassigned global variable: $g_base_character_presentation_sto
    rage_index
    WARNING: Usage of unassigned global variable: $g_jrider_character_report_Return_
    to_menu
    WARNING: Usage of unassigned global variable: $g_jrider_character_report_Return_
    to_menu
    WARNING: Usage of unassigned global variable: $g_jrider_character_information_te
    xt
    WARNING: Usage of unassigned global variable: $g_jrider_character_information_te
    xt
    WARNING: Usage of unassigned global variable: $g_jrider_character_information_te
    xt
    WARNING: Usage of unassigned global variable: $g_jrider_character_information_te
    xt
    WARNING: Usage of unassigned global variable: $g_jrider_character_relation_listb
    ox
    WARNING: Usage of unassigned global variable: $g_jrider_character_relation_listb
    ox
    WARNING: Usage of unassigned global variable: $g_jrider_character_relation_listb
    ox
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_pres_called_from_menu
    WARNING: Usage of unassigned global variable: $g_jrider_faction_filter
    WARNING: Usage of unassigned global variable: $g_jrider_faction_filter
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_faction_filter
    WARNING: Usage of unassigned global variable: $num_charinfo_candidates
    WARNING: Usage of unassigned global variable: $g_character_presentation_type
    WARNING: Usage of unassigned global variable: $g_jrider_reset_selected_on_factio
    n
    WARNING: Usage of unassigned global variable: $num_charinfo_candidates
    WARNING: Usage of unassigned global variable: $g_base_character_presentation_sto
    rage_index
    WARNING: Usage of unassigned global variable: $g_latest_character_relation_entry
    
    WARNING: Usage of unassigned global variable: $character_info_id
    WARNING: Usage of unassigned global variable: $character_info_id
    WARNING: Usage of unassigned global variable: $g_jrider_character_information_te
    xt
    WARNING: Usage of unassigned global variable: $g_jrider_last_checked_indicator
    WARNING: Usage of unassigned global variable: $g_jrider_last_checked_indicator
    WARNING: Usage of unassigned global variable: $g_jrider_character_portrait
    WARNING: Usage of unassigned global variable: $character_info_id
    WARNING: Usage of unassigned global variable: $g_jrider_character_portrait
    WARNING: Usage of unassigned global variable: $g_jrider_character_portrait
    WARNING: Usage of unassigned global variable: $character_info_id
    WARNING: Usage of unassigned global variable: $g_jrider_faction_coat_of_arms
    WARNING: Usage of unassigned global variable: $g_jrider_faction_coat_of_arms
    WARNING: Usage of unassigned global variable: $g_jrider_faction_coat_of_arms
    WARNING: Usage of unassigned global variable: $g_character_presentation_type
    WARNING: Usage of unassigned global variable: $character_info_id
    WARNING: Usage of unassigned global variable: $g_jrider_pres_called_from_menu
    WARNING: Usage of unassigned global variable: $g_jrider_pres_called_from_menu
    WARNING: Usage of unassigned global variable: $g_character_presentation_type
    WARNING: Usage of unassigned global variable: $g_jrider_character_report_Return_
    to_menu
    WARNING: Usage of unassigned global variable: $num_charinfo_candidates
    WARNING: Usage of unassigned global variable: $g_jrider_character_information_te
    xt
    WARNING: Usage of unassigned global variable: $g_jrider_last_checked_indicator
    WARNING: Usage of unassigned global variable: $g_jrider_character_faction_filter
    
    WARNING: Usage of unassigned global variable: $g_jrider_faction_filter
    WARNING: Usage of unassigned global variable: $g_jrider_faction_filter
    WARNING: Usage of unassigned global variable: $g_jrider_reset_selected_on_factio
    n
    WARNING: Usage of unassigned global variable: $g_jrider_character_information_te
    xt
    WARNING: Usage of unassigned global variable: $g_jrider_character_portrait
    WARNING: Usage of unassigned global variable: $g_jrider_character_relation_listb
    ox
    WARNING: Usage of unassigned global variable: $g_base_character_presentation_sto
    rage_index
    WARNING: Usage of unassigned global variable: $g_jrider_last_checked_indicator
    WARNING: Usage of unassigned global variable: $g_jrider_last_checked_indicator
    WARNING: Usage of unassigned global variable: $g_latest_character_relation_entry
    
    WARNING: Usage of unassigned global variable: $g_jrider_last_checked_indicator
    WARNING: Usage of unassigned global variable: $g_jrider_last_checked_indicator
    WARNING: Usage of unassigned global variable: $g_jrider_last_checked_indicator
    WARNING: Usage of unassigned global variable: $g_base_character_presentation_sto
    rage_index
    WARNING: Usage of unassigned global variable: $character_info_id
    WARNING: Usage of unassigned global variable: $g_presentation_obj_banner_selecti
    on_2
    WARNING: Usage of unassigned global variable: $g_presentation_obj_banner_selecti
    on_2
    WARNING: Usage of unassigned global variable: $key_order_7
    WARNING: Usage of unassigned global variable: $key_order_8
    WARNING: Usage of unassigned global variable: $key_order_9
    WARNING: Usage of unassigned global variable: $key_order_7
    WARNING: Usage of unassigned global variable: $key_order_9
    WARNING: Usage of unassigned global variable: $key_order_7
    WARNING: Usage of unassigned global variable: $key_order_8
    WARNING: Usage of unassigned global variable: $key_order_7
    WARNING: Usage of unassigned global variable: $cam_mode
    WARNING: Usage of unassigned global variable: $cam_mode
    WARNING: Usage of unassigned global variable: $cam_mode
    Exporting party_template data...
    Exporting parties
    Exporting quest data...
    Exporting info_page data...
    Exporting scripts...
    WARNING: Usage of unassigned global variable: $g_there_is_no_avaliable_centers


    Code:
    [trp_antler|plyr, "god3", [], "Muy bien, esa es una buena oferta. ¡Voy a recuperar esa reliquia!", "godyes",[
    (setup_quest_text, "qst_relic"),
    (str_store_string, s2, "@Un tipo llamado Atler me contó Una historia interesante. Caballeros caídos llamados  Los Caballeros de Calradia, recientemente Asaltaron la cripta de la familia imperial Suno y robaron la reliquia sagrada. Tengo que encontrarlos y después de la batalla, convencer a su líder Thyr de que me entregue la  reliquia sagrada. Esos bastardos, ahora deben estar cerca de Sumbuja!  "),
    (call_script,"script_start_quest","qst_relic","trp_antler"), 
    (set_spawn_radius,1),
    (spawn_around_party,"p_village_14","pt_caballeros_de_calradia")  
    
                                (assign,":party_no","pt_caballeros_de_calradia"),       
                      (party_set_ai_behavior, ":party_no", ai_bhvr_attack_party),
                    (party_set_ai_object,":party_no","p_main_party"),
    
    
    
            
    
    ]],


    Thank all
  3. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Fire_and_Blood said:
    I'm trying to create some expanded features for a pre-kingdom playthrough, but the faction flag is proving problematic.

    (spawn_around_party,"p_fort","pt_slave_train"),

    is there any faction i can assign pt_slave_train to, that the spawned party will behave, as if it where a friendly party?
    fac_player_faction doesn't work with no player kingdom established.
    fac_outlaws is problematic, if the player has negative relation with outlaws.

    or would it be more useful to create a new faction, that has positive relation with the player?

    edit:
    Found a workaround,  by making the preceding dialogue only appear at positive relation with outlaws. Not ideal, but at least the spawned party doesn't run away from the player.

    tries fac_commoners or fac_neutral


  4. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    How do I put a quest reputation as a requirement?


    Code:
    [trp_antler, "start", [(gt,":renown",200),[eq,"$holy_relic",0]], "Hola, {Aventurero/ Aventurera}! ¿Estás buscando un trabajo o algo así?", "god1",[]],
  5. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Thank you very much for the answer  :razz:
  6. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Is there a guide to install freelancer?
  7. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Lav said:
    This may happen because message display was turned off and not turned on back again.

    Or it can happen if there are too many messages to display.

    Check Notes -> Recent Messages screen.

    Thank you very much for responding.

    I already solved the problema.

    I happen to use a faction created by me for the bands that appear in the quest.

    Change the faction by outlaws and the problem was solved.

    LoL  I have to learn a lot more if I want to create new factions  :oops:

    another question:  How to string this quest with another?

    Code:
    #Neodrako Inicio de la Quest caballeros de calradia
    
    [trp_antler, "start", [[eq,"$holy_relic",2]], "Saludos {playername}.","bye2",[]],
    [trp_antler|plyr, "bye2", [], "Saludos a ti también, Antler.","close_window",[]],
    [trp_antler, "start", [[eq,"$holy_relic",1]], "¿Encontraste la reliquia?","relic_find_question",[]],
    [trp_antler|plyr, "relic_find_question", [(player_has_item,"itm_relic")], "¡Sí! Fue bastante difícil.", "relic_znaleziona",[(call_script,"script_end_quest","qst_relic")]],
    [trp_antler|plyr, "relic_find_question", [], "No, aun no.", "close_window",[]],
    [trp_antler, "relic_znaleziona", [], "¿En serio? Bueno, ¡felicidades {playername}! Decidí no darte la recompensa. Esta espada es tu recompensa. {Un guerrero /Una guerrera} como tu la necesitara mas que yo.","close_window",[[assign,"$holy_relic",2]]],
    [trp_antler, "start", [[eq,"$holy_relic",0]], "Hola, {Aventurero/ Aventurera}! ¿Estás buscando un trabajo o algo así?", "god1",[]],
    [trp_antler|plyr, "god1", [], "Sí!", "god2",[]],
    [trp_antler, "god2", [], "Bueno. ¿Nunca ha oído nada sobre la Caballeros de Calradia?. En otro tiempo fueron una orden de caballería que protegía a la familia Imperial pero desde que los dirige Thyr  Son una banda de bastardos errantes o caballeros caídos. Ellos recientemente asaltaron el monasterio Suno y robaron una reliquia sagrada. Ahora, ellos deben de estar descansando cerca de la aldea de Sumbuja. Encuéntralos, mátalos a todos excepto Thyr. trata de persuadirlo para que te de información acerca de la ubicación de la reliquia. Espero que te quede bastante claro. Te pagaré 2.000 dinares.", "god3",[]],
    [trp_antler|plyr, "god3", [], "Muy bien, esa es buena oferta. ¡Voy a recuperar esa reliquia!", "godyes",[
    (setup_quest_text, "qst_relic"),
    (str_store_string, s2, "@Un tipo llamado Atler me contó Una historia interesante. Caballeros caídos llamados  Los Caballeros de Calradia, recientemente Asaltaron la cripta de la familia imperial Suno y robaron la reliquia sagrada. Tengo que encontrarlos y después de la batalla, convencer a su líder Thyr de que me entregue la  reliquia sagrada. Esos bastardos, ahora deben estar cerca de Sumbuja!  "),
    (call_script,"script_start_quest","qst_relic","trp_antler"), (set_spawn_radius,1),(spawn_around_party,"p_village_14","pt_caballeros_de_calradia")        
    
    ]],
      
    [trp_antler|plyr, "god3", [], "No, no tengo tiempo para eso!", "close_window",[]],
    [trp_antler, "godyes", [], "Excelente!", "close_window",[[assign,"$holy_relic",1]]],
    
    [party_tpl|pt_caballeros_de_calradia,"start", [(eq,"$talk_context",tc_party_encounter),(neq, "$g_talk_troop", "pt_caballeros_de_calradia"),], " Alto  no des ni un paso mas, ¿que buscas?", "order2",[]],
    [party_tpl|pt_caballeros_de_calradia|plyr,"order2", [], "Busco la reliquia sagrada que lograste profanando la cripta de la familia imperial. si me la entregas o me dices donde esta puede que no te cuelgue del primer árbol que vea.", "order3",[]],
    [party_tpl|pt_caballeros_de_calradia,"order3", [], "Jajaja!  no te tome por un mercader. Primero dame cuatro millones de denares!", "order4",[]],
    [party_tpl|pt_caballeros_de_calradia|plyr,"order4", [], "Ja...  muy gracioso.  No te tome por un bufón.... Prepárate a morir cobarde.", "close_window",[[encounter_attack]]],
    [party_tpl|pt_caballeros_de_calradia,"order2", [], "No importa ...", "close_window",[(assign, "$g_leave_encounter",1)]],
    
    [party_tpl|pt_caballeros_de_calradia,"start", [(eq,"$talk_context",tc_hero_freed),(neq, "$g_talk_troop", "pt_caballeros_de_calradia"),], "Me rindo. te entregare la reliquia si me dejas ir libre.","relikwia",[]],
    [party_tpl|pt_caballeros_de_calradia|plyr,"relikwia", [], "¿Ya no eres tan gracioso no?  Entrégame la reliquia y sal de mi vista bastardo. ", "relikwia2",[]],
    [party_tpl|pt_caballeros_de_calradia,"relikwia2", [], "Tómala y deja de mofarte de mi.......", "relikwia3",[(troop_add_item, "trp_player","itm_relic",)]],
    [party_tpl|pt_caballeros_de_calradia|plyr,"relikwia3", [], "¿Ves esas colinas? corre rápido y desaparece antes de que decida honrar a los muertos que profanaste.", "close_window",[(assign, "$g_leave_encounter",1)]],
    
    #Neodrako Fin de la Quest caballeros de calradia

    thank you very much
  8. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Hello everyone.

    I have a problema.

    I use this tutorial to make a quest http://forums.taleworlds.com/index.php/topic,53259.0.html.

    And it compiles fine,  But I suffer a bug in the game.

    The screen information disappears.

    example, the damage you do and That Kind of text disappears. .

    What do I do wrong? please help..

  9. Neodrako

    OSP Kit Campaign New kingdom management(Module system download post #3)

    Hello everyone.
    I have this error. Can you help?

    Code:
    Traceback (most recent call last):
      File "process_init.py", line 2, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Traceback (most recent call last):
      File "process_global_variables.py", line 6, in <module>
        from module_dialogs import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_dialogs.
    py", line 41559
    
         ^
    SyntaxError: invalid syntax
    Exporting strings...
    Exporting skills...
    Exporting tracks...
    Exporting animations...
    Exporting meshes...
    Exporting sounds...
    Exporting skins...
    Traceback (most recent call last):
      File "process_map_icons.py", line 6, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Exporting faction data...
    Exporting item data...
    Traceback (most recent call last):
      File "process_items.py", line 66, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Exporting scene data...
    Traceback (most recent call last):
      File "process_scenes.py", line 15, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Traceback (most recent call last):
      File "process_troops.py", line 4, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Exporting particle data...
    Traceback (most recent call last):
      File "process_scene_props.py", line 7, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Traceback (most recent call last):
      File "process_tableau_materials.py", line 8, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Traceback (most recent call last):
      File "process_presentations.py", line 8, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Traceback (most recent call last):
      File "process_party_tmps.py", line 2, in <module>
        from module_party_templates import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_party_te
    mplates.py", line 155, in <module>
        ("kingdom_6_reinforcements_a", "kingdom_6_reinforcements_a", 0, 0, fac_commo
    ners, 0, [(trp_rebel_light_cavalry,4,7),(trp_rebel_militia,4,7),(trp_rebel_sword
    sman,4,7),(trp_rebel_crossbowman,4,7),(trp_rebel_javelineer,4,7)]),
    NameError: name 'trp_rebel_light_cavalry' is not defined
    Traceback (most recent call last):
      File "process_parties.py", line 6, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Exporting quest data...
    Exporting info_page data...
    Traceback (most recent call last):
      File "process_scripts.py", line 4, in <module>
        from module_scripts import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_scripts.
    py", line 1631
        ]),
         ^
    SyntaxError: invalid syntax
    Traceback (most recent call last):
      File "process_mission_tmps.py", line 8, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Traceback (most recent call last):
      File "process_game_menus.py", line 8, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Traceback (most recent call last):
      File "process_simple_triggers.py", line 2, in <module>
        from module_simple_triggers import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_simple_t
    riggers.py", line 6663, in <module>
        (try_for_range, ":kingdom_hero", kingdom_heroes_begin, kingdom_heroes_end),#
    #All this trigger does is make lords more likely to form armies
    NameError: name 'kingdom_heroes_begin' is not defined
    Traceback (most recent call last):
      File "process_dialogs.py", line 6, in <module>
        from module_dialogs import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_dialogs.
    py", line 41559
    
         ^
    SyntaxError: invalid syntax
    Traceback (most recent call last):
      File "process_global_variables_unused.py", line 3, in <module>
        from process_operations import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\process_operati
    ons.py", line 14, in <module>
        from module_troops import *
      File "C:\Users\Brian\Desktop\MS_LBCE 0.60_completo- 10-09-2014\module_troops.p
    y", line 1630
        ["rebel_footman","Greenhorn","Greenhorns",tf_guarantee_boots|tf_guarantee_ar
    mor|tf_guarantee_shield|tf_guarantee_helmet,0,0,fac_outlaws,
        ^
    IndentationError: unexpected indent
    Exporting postfx_params...
    
    ______________________________
    
    Script processing has ended.
    Press any key to exit. . .

    I am new at this. 
  10. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Hello everyone.

    I have in my mod the diplomacy.

    I make my own kingdom. 

    I have no option to choose culture. 

    Can anyone help?

    Kind regards.
  11. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    me what works and coordinates

    thank you very much












  12. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Lav said:
    Neodrako said:
    Thank you

    In the global map
    Do you have to be somewhere special?

    O replace something that already exists?

    thank you very much
    Just add a new simple trigger. Something along the lines:
    Code:
      (0, [
        (key_clicked, key_1), # Run only when '1' button is clicked
        (map_free), # Run only if player is not busy
        # insert any code to execute
      ]),

    Thanks already in use and compiles fine

    But as I see the coordinates?
  13. Neodrako

    OSP Kit Campaign Outposts! v0.8 - updated 15.07.11

    Masterancza said:
    Neodrako said:
    Hello everyone

    How do I get that ia besiege my outpost?


    thank you very much

    Sieges are not supported yet.

    Well too bad but thanks.

    In Spanish it sounds bad my answer.

    but what I mean is that although it is not yet possible thanks.
  14. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Thank you

    In the global map
    Do you have to be somewhere special?

    O replace something that already exists?

    thank you very much
  15. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Hello everyone.

    I have problems with the coordinates.  As you know my English is not good.

    I will try to explain well. The question is:

    Is there a way to know the coordinates of the player so they can be then used in the Module_system?.

    Thank you all
  16. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Ikaguia said:
    Code:
           (troop_remove_gold, "trp_player", 500),
    	   (store_random_in_range, ":warriors", 5),
    	   (party_add_members,"p_main_party","trp_imperial_elite_2b", ":warriors"),

    this part of the code is quite strange, "store_random_in_range" needs two values after the variable is will be saved (i.e: 1, 6 to store a random number from 1 to 5) but what you'd need there is an "assign" operation.

    also, to get a different troop depending on the faction, you could follow the example of the recruiting in villages:

    Code:
    	  # Cultures:
          (faction_set_slot, "fac_culture_1",  slot_faction_tier_1_troop, "trp_swadian_recruit"),
          (faction_set_slot, "fac_culture_1",  slot_faction_tier_2_troop, "trp_swadian_militia"),
          (faction_set_slot, "fac_culture_1",  slot_faction_tier_3_troop, "trp_swadian_footman"),
          (faction_set_slot, "fac_culture_1",  slot_faction_tier_4_troop, "trp_swadian_infantry"),
          (faction_set_slot, "fac_culture_1",  slot_faction_tier_5_troop, "trp_swadian_knight"),
    
          (faction_set_slot, "fac_culture_2", slot_faction_tier_1_troop, "trp_vaegir_recruit"),
          (faction_set_slot, "fac_culture_2", slot_faction_tier_2_troop, "trp_vaegir_footman"),
          (faction_set_slot, "fac_culture_2", slot_faction_tier_3_troop, "trp_vaegir_veteran"),
          (faction_set_slot, "fac_culture_2", slot_faction_tier_4_troop, "trp_vaegir_infantry"),
          (faction_set_slot, "fac_culture_2", slot_faction_tier_5_troop, "trp_vaegir_knight"),
    
          (faction_set_slot, "fac_culture_3", slot_faction_tier_1_troop, "trp_khergit_tribesman"),
          (faction_set_slot, "fac_culture_3", slot_faction_tier_2_troop, "trp_khergit_skirmisher"),
          (faction_set_slot, "fac_culture_3", slot_faction_tier_3_troop, "trp_khergit_horseman"),
          (faction_set_slot, "fac_culture_3", slot_faction_tier_4_troop, "trp_khergit_horse_archer"),
          (faction_set_slot, "fac_culture_3", slot_faction_tier_5_troop, "trp_khergit_veteran_horse_archer"),
    
          (faction_set_slot, "fac_culture_4", slot_faction_tier_1_troop, "trp_nord_recruit"),
          (faction_set_slot, "fac_culture_4", slot_faction_tier_2_troop, "trp_nord_footman"),
          (faction_set_slot, "fac_culture_4", slot_faction_tier_3_troop, "trp_nord_trained_footman"),
          (faction_set_slot, "fac_culture_4", slot_faction_tier_4_troop, "trp_nord_warrior"),
          (faction_set_slot, "fac_culture_4", slot_faction_tier_5_troop, "trp_nord_veteran"),
    
          (faction_set_slot, "fac_culture_5", slot_faction_tier_1_troop, "trp_rhodok_tribesman"),
          (faction_set_slot, "fac_culture_5", slot_faction_tier_2_troop, "trp_rhodok_spearman"),
          (faction_set_slot, "fac_culture_5", slot_faction_tier_3_troop, "trp_rhodok_trained_spearman"),
          (faction_set_slot, "fac_culture_5", slot_faction_tier_4_troop, "trp_rhodok_veteran_spearman"),
          (faction_set_slot, "fac_culture_5", slot_faction_tier_5_troop, "trp_rhodok_sergeant"),
    
          (faction_set_slot, "fac_culture_6", slot_faction_tier_1_troop, "trp_sarranid_recruit"),
          (faction_set_slot, "fac_culture_6", slot_faction_tier_2_troop, "trp_sarranid_footman"),
          (faction_set_slot, "fac_culture_6", slot_faction_tier_3_troop, "trp_sarranid_archer"),
          (faction_set_slot, "fac_culture_6", slot_faction_tier_4_troop, "trp_sarranid_horseman"),
          (faction_set_slot, "fac_culture_6", slot_faction_tier_5_troop, "trp_sarranid_mamluke"),

    so you could set a new slot "slot_faction_slave_troop" and assign it somewhere at "script_game_start" then use:
    Code:
    (try_begin),
    (is_between, "current_player_faction*", "fac_kingdom_1", "fac_kingdoms_end"),
    (faction_get_slot, ":troop", "current_player_faction*", slot_faction_slave_troop),
    (else_try),
    (assign,":troop","trp_slave"),
    (try_end),
    (party_add_members,"p_main_party",":troop", 5),
    and change "current_player_faction*" for sth else as I don't have the modSystem open right now

    Thank you very much for the reply ^^
  17. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Hello friends, I have another question.

    I borrowed a code of recruitment and use it successfully in a npc.

    But I wonder if there is another way to adapt to npc but considering culture.

    I mean that as the culture of the player can recruit one or another troop. 

    My English is very bad. I don't know if you understand me.

    if you are a faction recruits a type of troop and if you are from another other.

    As modified this code for use with the king's counselor.

    Thank you


    module_dialogs
    Code:
    [trp_ramun_the_slave_trader|plyr,"ramun_talk", [          (eq, "$reclutar_cantabros", 0),
    ], "¿Y los esclavos de las galeras estan en venta?",
    "pj_talk71",[]],
      
    
      [trp_ramun_the_slave_trader, "pj_talk71", [],
       "Son Hombres endurecidos por una vida de exclavitu como nadie mas a conocido. y es que muy pocos sobreviven a eso... dales una espada y calrradia tembalara a tus pies.\Puedo darte Algunos Esclavos de las galeras por  100 denares cada uno.\
     ¿Estas interesado?","ramun_oferta", []],
    [trp_ramun_the_slave_trader|plyr,"ramun_oferta", [], "Lo siento pero solo pregunte por curiosidad adiós.",
    "close_window",[]],
    [trp_ramun_the_slave_trader|plyr,"ramun_oferta", [], "¿Desde luego que estoy interesado. estoy ansioso por poder verlos en combate.", "ramun_oferta2",[]],
    
    [trp_ramun_the_slave_trader,"ramun_oferta2", [], "Cada hombre de las galeras cuesta 100 denares y puedo venderte un maximo de 15 cada 72 horas recibo mas ¿cuantos quieres?", "ramun_oferta3",[]],
    
    [trp_ramun_the_slave_trader|plyr,"ramun_oferta3", [], "Quiero 15  (coste: 1500 denares). ",
    "pj_dilema2",[
        (store_troop_gold,":money","trp_player"),
          (try_begin),
            (gt,":money",2000),
           (troop_remove_gold, "trp_player", 1500),
    	   (store_random_in_range, ":warriors",15),
    	   (party_add_members,"p_main_party","trp_imperial_elite_2b", ":warriors"),
    	   (call_script, "script_change_player_party_morale", 1),
    		  (assign, "$reclutar_cantabros", 1),
    	  (else_try),
            (display_message,"str_trp_ramun_the_slave_trader"),
          (try_end),
    ]],  
    
    [trp_ramun_the_slave_trader|plyr,"ramun_oferta3", [], "Quiero 10  (coste: 1000 denares). ",
    "pj_dilema2",[
        (store_troop_gold,":money","trp_player"),
          (try_begin),
            (gt,":money",2000),
           (troop_remove_gold, "trp_player", 1000),
    	   (store_random_in_range, ":warriors",10),
    	   (party_add_members,"p_main_party","trp_imperial_elite_2b", ":warriors"),
    	   (call_script, "script_change_player_party_morale", 1),
    		  (assign, "$reclutar_cantabros", 1),
    	  (else_try),
            (display_message,"str_trp_ramun_the_slave_trader"),
          (try_end),
    ]],  
      
     [trp_ramun_the_slave_trader|plyr,"ramun_oferta3", [], "Quiero 5  (coste: 500 denares). ",
    "pj_dilema2",[
        (store_troop_gold,":money","trp_player"),
          (try_begin),
            (gt,":money",2000),
           (troop_remove_gold, "trp_player", 500),
    	   (store_random_in_range, ":warriors", 5),
    	   (party_add_members,"p_main_party","trp_imperial_elite_2b", ":warriors"),
    	   (call_script, "script_change_player_party_morale", 1),
    		  (assign, "$reclutar_cantabros", 1),
    	  (else_try),
            (display_message,"str_trp_ramun_the_slave_trader"),
          (try_end),
    ]],   
    
    
    #[trp_ramun_the_slave_trader,"money", [], "¿Pero si no tienes ni 2000 denares? soy un hombre de negocios regresa cuando puedas pagar.",
    #"Me_piro",[]],
    #[trp_ramun_the_slave_trader|plyr,"Me_piro", [], "Mejor me voy,  adios.", "close_window",[]],
    
     [trp_ramun_the_slave_trader|plyr,"ramun_oferta3", [], "Pensandolo mejor no quiero comprar esclavos de las galeras.", "close_window",[]],
      
      [trp_ramun_the_slave_trader, "pj_dilema2", [],
       "Que te den gloria y a mi mas dinero cada vez que necesites mas. tardare 2 días en tener mas ","ramun_bye", []],	  
    
    [trp_ramun_the_slave_trader|plyr,"ramun_bye", [], "Gracias Ramun volveré en otra ocasión adiós.",
    "close_window",[]],
  18. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    If it works well thank you very much  :razz:

  19. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    thank you very much

    I use this template

    Code:
    ######################################
    # GENERIC PARTY ENCOUNTER
    ######################################
    
      [anyone,"start", [(eq,"$talk_context",tc_party_encounter),
                        (gt,"$encountered_party_hostile",0),
                        (encountered_party_is_attacker),
                        ],
       "You have no chance against us. Surrender now or we will kill you all...", "party_encounter_hostile_attacker",
       [(try_begin),
          (eq,"$g_encountered_party_template","pt_steppe_bandits"),
          (play_sound, "snd_encounter_steppe_bandits"),
        (try_end)]],
    #  [anyone|plyr,"party_encounter_hostile_attacker", [
    #                    ],
    #   "I will pay you 1000 denars if you just let us go.", "close_window", []],
      [anyone|plyr,"party_encounter_hostile_attacker", [
                        ],
       "We will fight you to the end!", "close_window", []],
      [anyone|plyr,"party_encounter_hostile_attacker", [
                        ],
       "Don't attack! We surrender.", "close_window", [(assign,"$g_player_surrenders",1)]],
    
      [anyone,"start", [(eq,"$talk_context",tc_party_encounter),
                        (neg|encountered_party_is_attacker),
                        ],
       "What do you want?", "party_encounter_hostile_defender",
       []],
    
      [anyone|plyr,"party_encounter_hostile_defender", [],
       "Surrender or die!", "party_encounter_hostile_ultimatum_surrender", [
    
           ]],
    
    #post 0907 changes begin
      [anyone,"party_encounter_hostile_ultimatum_surrender", [],
       "{s43}", "close_window", [
           (call_script, "script_lord_comment_to_s43", "$g_talk_troop", "str_lord_challenged_default"),
           ]],
    #post 0907 changes end
    
      [anyone|plyr,"party_encounter_hostile_defender", [],
       "Nothing. We'll leave you in peace.", "close_window", [(assign, "$g_leave_encounter",1)]],
    I am new to this stuff.

    I created a `new bands for the northern kingdom.

    but I can not get that dialogue is unique to these.

    above this    (GENERIC PARTY ENCOUNTER) causes all the bandits use this dialog,

    and if I put it below the original. then use the original.

    Excuse my terrible english.

    My intention is to make this dialogue only use it pt_avanzadilla_del_clan. 

    Would I explained in detail what changes you would make to accomplish this please?

    thank you very much
  20. Neodrako

    Modding Q&A [For Quick Questions and Answers]

    Hello everyone.


    I made a new bandit faction, but when i made dialogues for them, the others bandit factions use those dialogues. Can somebody help me?


    Code:
     #Avanzadilla del clan..inicio...
     [pt_avanzadilla_del_clan, "start", [(eq,"$talk_context",tc_party_encounter),
                        (party_slot_eq, "$g_encountered_party", slot_party_type, pt_avanzadilla_del_clan),
    					(gt,"$encountered_party_hostile",0),
                        (encountered_party_is_attacker),
                        ],
       "Alto tenemos ordenes del propio Ragnar de captúrate {playername}. Ríndete o muere..", "clan_encounter_hostile_attacker",
       [(try_begin),
          (eq,"$g_encountered_party_template","pt_avanzadilla_del_clan"),
          (play_sound, "snd_encounter_steppe_bandits"),
        (try_end)]],
    
      [pt_avanzadilla_del_clan|plyr,"clan_encounter_hostile_attacker", [
                        ],
       "Si tanto deseas viajar con tus ancestros luchemos..!", "close_window", []],
      [pt_avanzadilla_del_clan|plyr,"clan_encounter_hostile_attacker", [
                        ],
       "No tengo elección escoria.... me rindo.!", "close_window", [(assign,"$g_player_surrenders",1)]],
    
      [pt_avanzadilla_del_clan,"start", [(eq,"$talk_context",tc_party_encounter),
                        (neg|encountered_party_is_attacker),
                        ],
       "Somos la avanzadilla del clan y algun dia Dominaremos calrradia.  ¿Que quieres?", "clan_encounter_hostile_defender",
       []],
    
      [pt_avanzadilla_del_clan|plyr,"clan_encounter_hostile_defender", [],
       "Rendios o morir", "clan_encounter_hostile_ultimatum_surrender", [
    
           ]],
    
    #post 0907 changes begin
      [pt_avanzadilla_del_clan|anyone,"clan_encounter_hostile_ultimatum_surrender", [(call_script, "script_change_player_relation_with_faction", "$g_encountered_party_faction", -100),],
       "{s43}", "close_window", [
           (call_script, "script_lord_comment_to_s43", "$g_talk_troop", "str_lord_challenged_default"),
           ]],
    #post 0907 changes end
    
      [pt_avanzadilla_del_clan|plyr,"clan_encounter_hostile_defender", [],
       "Ya veo...  pues mucha suerte en buestra campaña podeir seguir en paz", "close_window", [(assign, "$g_leave_encounter",1)]],
    #Avanzadilla del clan...... Fin...
Back
Top Bottom