[WB]Modül Sistem Platformu [Krallık ekleme dersi yenilendi!]

Users who are viewing this thread

Krala şehir verirken bir şey dikkatimi çekti.Şehirler lordlara ve krallara veriliyor fakat kaleler hakkında bir şey bulamadım?Kaleler rastgele mi dağıtılıyor yoksa ben ayarlayabilir miyim?
 
Rastgele dağıtılıyor.Ama onu kesinleştirebilirsin sanırım.Tıpkı diğerleri gibi.Mesela;

Code:
(call_script, "script_give_center_to_lord", "p_castle_10",

Satırını kalelerin en altına eklersin.

şöyle olur.

Ornek;
(call_script, "script_give_center_to_lord", "p_castle_10", "trp_player", 0),

veya player yerine 6.krallığın 1.lorduna verebilirsin.Yani knight_6_1 gibi.

Bizimkiler uğraşmamış şu kaleyi şuna verelim diye.Ortaya verelim kim kaparsa kapar demişler.Kabaca  :mrgreen:

 
Teşekkürler :grin:

Önemli bir sorum daha olacak.Eklediğim şehirde Hancı,Arena görevlisi gibi arkadaşlar yok.Ayrıca silahçıya lonca başkanı bakıyor :grin: O da hiçbir şey satmıyor cimri adam :grin:

Ha bir de krallığın kervanı hiç yok.Etrafta kervanımız dolaşsın biraz.Bunların hepsi nereden ayarlanıyor ve kodlar neler?
 
KhergitKhan said:
Teşekkürler :grin:

Önemli bir sorum daha olacak.Eklediğim şehirde Hancı,Arena görevlisi gibi arkadaşlar yok.Ayrıca silahçıya lonca başkanı bakıyor :grin: O da hiçbir şey satmıyor cimri adam :grin:

Ha bir de krallığın kervanı hiç yok.Etrafta kervanımız dolaşsın biraz.Bunların hepsi nereden ayarlanıyor ve kodlar neler?

Module_troops'da onların şeyleri var.yani 23.şehre özel arena ustası vs vs.Şehir ekleme de göstereceğim onları.

Kervanlar ise,Deniz ticaretinden alıntı yapayım;
Code:
initialize_trade_routes
ı arayın module_scripts de.Orada
Code:
 (call_script, "script_set_trade_route_between_centers", "p_town_13", "p_town_2"), #Rivacheg - Thir
gibi birşey görebilirsiniz.Onu,yeni eklediğiniz şehir ile değiştirebilirsiniz.Mesela yukarıda ki Tihr'i değiştirince;
Code:
 (call_script, "script_set_trade_route_between_centers", "p_town_13", "p_town_23"), #Rivacheg - Rome
Gibi birşey.Ben modum için böyle yapacağım.Kervanlar böyledir.Yani kodları bunlar.

Not;Burada yazdıklarım module_scripts de olmayabilir(deniz ticaretinden alıntı çünkü.).Siz initialize_trade_routes i aratın  veya ona yakın birşey aratın.Orada bu kodları görebilirsiniz.
 
Biraz geç olacak sanırım(hatta oldu da :grin: ).Yeni ders geldi;

Yeni şehir ekleme

Açın module_parties'i,orada alttakini bulun;
Dikkat!Ekleyeceğiniz şeyler,eskileriyle aynı hizada olmalı.
Code:
("town_22","Bariyye", icon_town_desert|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(165, -106.7),[], 225),

Bu,barriye'nin kodudur.Açıklamak gerekirse;

icon_town_desert şehrin ikonu.İmzam da ki harita ikonunu değiştirme dersinden bakabilirsiniz.
fac_neutralBunu ellemeyin.Kalsın.Tarafzıların factionu.
(165, -106.7)Şehrin haritada ki koordinatı.Bunu ellemeyin derim.Harita programından halledebilirsiniz.

Şimdi.Bunun altına bunu ekleyin.Kodun kopyalanmışı;
Code:
("town_23","Rome", icon_town|pf_town, no_menu, pt_none, fac_neutral,0,ai_bhvr_hold,0,(165, -106.7),[], 225),

Ben,kendi modum için Adını "Rome" yaptım.Ve ikonunu da normal şehir ikonu yaptım.Koordinatını ellemedim.Çünkü thorgrimden yerlerini değiştirebileceğim.

Sonra,module_scenes'e girin.orada şunu arayın;

Code:
("town_22_center",sf_generate,"none", "none",(0,0),(100,100),-100,"0x000000025a03253200042d08000079d6000004fd00006910",
[],[],"outer_terrain_desert"),

Bu,barriyenin içine girdiğimizde gözüken sahnedir.Altına şunu ekleyin;

Code:
("town_23_center",sf_generate,"none", "none",(0,0),(100,100),-100,"0x000000025a03253200042d08000079d6000004fd00006910",
    [],[],"outer_terrain_desert"),

şimdi.Bunu da açıklayalım.;
town_22(3)_center dediğim gibi şehrin iç sahnesi.

0x00000455145151a54a15 gibi şeyler ise şehrin arazi kodudur.yani edit moddan ayarlıyabilirsiniz.Ama bu ders buna dahil değil.

outer_terrain_desert  bu,şehrin hangi iklimde olacağını gösterir.Şimdilik dokunmayın :grin:

sonra,şunu bulun;

Code:
("town_22_castle",sf_indoors, "arabian_interior_keep_a", "bo_arabian_interior_keep_a", (-100,-100),(100,100),-100,"0x00000007300005000002308c00004a840000624700004fda",
    ["exit"],["town_22_seneschal"]),
Bu,şehrin lordun yan gelip yattığı hanedir :grin:

Altına şunu ekliyoruz;

Code:
("town_23_castle",sf_indoors, "arabian_interior_keep_a", "bo_arabian_interior_keep_a", (-100,-100),(100,100),-100,"0x00000007300005000002308c00004a840000624700004fda",
    ["exit"],["town_23_seneschal"]),

Sonra,şunu buluyoruz;
Code:
("town_22_tavern",sf_indoors, "interior_town_house_steppe_c", "bo_interior_town_house_steppe_c", (-100,-100),(100,100),-100,"0",
    ["exit"],[]),
Bu8,Bizim npc lerin bizi almaları için beklediği,veya serserilerin içmek için geldikleri handır :grin:

Altına bunu ekliyoruz;

Code:
("town_23_tavern",sf_indoors, "interior_town_house_steppe_c", "bo_interior_town_house_steppe_c", (-100,-100),(100,100),-100,"0",
    ["exit"],[]),

Sonra,şunu buluyoruz;

Code:
("town_22_store",sf_indoors, "interior_town_house_steppe_d", "bo_interior_town_house_steppe_d", (-100,-100),(100,100),-100,"0",
    ["exit"],[]),

bu da,şehrin marketi.Altına ekliyoruz alttakini;
Code:
("town_23_store",sf_indoors, "interior_town_house_steppe_d", "bo_interior_town_house_steppe_d", (-100,-100),(100,100),-100,"0",
    ["exit"],[]),

Sonra,alttakini aruyoruz.;

Code:
("town_22_arena",sf_generate,"none", "none", (0,0),(100,100),-100,"0x00000002200005000005f57b00005885000046bd00006d9c",
    [],[],"outer_terrain_desert"),

Bu,şehrin arenasıdır.Hani hırdavat kılıçlarla adamları deştiğimiz ama öldüremediğimiz o yerler :grin:

Altına ekliyoruz;

Code:
("town_23_arena",sf_generate,"none", "none", (0,0),(100,100),-100,"0x00000002200005000005f57b00005885000046bd00006d9c",
    [],[],"outer_terrain_desert"),

sonra,şunu buluyoruz;

Code:
("town_22_prison",sf_indoors,"interior_prison_o", "bo_interior_prison_o", (-100,-100),(100,100),-100,"0",
    ["exit"],[]),

bu,mahkumların tutulduğu yer.Neydi o ? hapishane.Evet.Bu,içine tıktığımız esirlerin,haydutların kaçmak için bekledikleri yerdir. :grin:

Altına ekliyoruz;

Code:
("town_23_prison",sf_indoors,"interior_prison_o", "bo_interior_prison_o", (-100,-100),(100,100),-100,"0",
    ["exit"],[]),

sonra,alttakini buluyoruz;
Code:
("town_22_walls",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000025a00723200046d1b00003e020000147600004387",
    [],[],"outer_terrain_desert"),
Bu,biraz zevkiniz açınızdan önem arzediyor.Neden mi ? çünkü bu,o şehri kuşatırken gelen sahnedir.  :mrgreen:

altına ekliyoruz;

Code:
("town_23_walls",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000025a00723200046d1b00003e020000147600004387",
    [],[],"outer_terrain_desert"),

Daha sonra,alttakini buluyoruz;

Code:
("town_22_alley",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000025a00723200046d1b00003e0200001476000052ae",
    [],[],"outer_terrain_desert"),
Bu,galiba şehre girdiğimiz zaman şehri dolaş dediğimizde gelen sahne.Bakın.Şehire yeni girdiğimizde gelen değil.Şehirde zaten bekliyor isek gelen sahne.

Altına ekliyoruz;

Code:
("town_23_alley",sf_generate,"none", "none", (0,0),(100,100),-100,"0x000000025a00723200046d1b00003e0200001476000052ae",
    [],[],"outer_terrain_desert"),

Hop.Daha bitmedi.Bunun birde diğer yarısı var.Artık scenes ile işimiz yok.O ## lerden sonrası kalelerin sceneleri.Kapatın scenes'i.Sonra,açın module_troopsu,

Alttakini bulun;
Code:
["town_22_seneschal", "{!}Town 22 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],
Bu,şehrimizde yüzü sırıtıp sırıtıp boş boş gezen robotları temsil eder.
Altına ekliyoruz bunları;
Code:
["town_23_seneschal", "{!}Town 23 Seneschal", "{!}Town 14 Seneschal", tf_hero|tf_is_merchant, 0,reserved,  fac_neutral,[     itm_coarse_tunic,       itm_leather_boots], def_attrib|level(2),wp(20),knows_common, 0x00000000000c218501ef4f5d2ccb0026],

Sonra,şu alttakini buluyoruz;(khergitkhan'ın takıldığı yer :grin: )

Code:
["town_22_arena_master","Tournament Master","{!}Tournament Master",tf_hero|tf_randomize_face, scn_town_22_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],
Bu robot ise,arenamızda birbirini deşen adamlara tip tip bakan amcamız :grin:

Altına ekliyoruz;
Code:
["town_23_arena_master","Tournament Master","{!}Tournament Master",tf_hero|tf_randomize_face, scn_town_23_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],
Sonra,alttakini buluyoruz;
Code:
["town_22_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],
Bu,bizim demircideki dayı. :grin:
Altına şunları ekleyiveriyoruz;
Code:
["town_23_armorer","Armorer",  "{!}Armorer",  tf_hero|tf_randomize_face|          tf_is_merchant, 0, 0, fac_commoners,[itm_linen_tunic,           itm_leather_boots   ],def_attrib|level(2),wp(20),knows_inventory_management_10, mercenary_face_1, mercenary_face_2],
Sonra,alttakini buluyoruk;
Code:
["town_22_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],
Bu,şehirde gezerken ki gördüğümüz silahçı.

Altına ekliyoruk;
Code:
["town_23_weaponsmith", "Weaponsmith","{!}Weaponsmith",tf_hero|tf_randomize_face|          tf_is_merchant, 0, 0, fac_commoners,[itm_shirt,     itm_nomad_boots],def_attrib|level(5),wp(20),knows_inventory_management_10, mercenary_face_1, mercenary_face_2],

sonra,alttakini buluyoruz;
Code:
["town_22_tavernkeeper","Tavern_Keeper","{!}Tavern_Keeper",tf_hero|tf_randomize_face,           scn_town_22_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],
bu da bizim tavernacı.
Altına ekliyoruz;
Code:
["town_23_tavernkeeper", "Tavern_Keeper","{!}Tavern_Keeper",tf_hero|tf_randomize_face|tf_female, scn_town_23_tavern|entry(9),0,   fac_commoners,[itm_woolen_dress,        itm_hide_boots],def_attrib|level(2),wp(20),knows_common, woman_face_1, woman_face_2],

Sonra,bunu buluyoruz;
Code:
["town_22_merchant","Merchant","{!}Merchant",          tf_hero|tf_randomize_face|tf_is_merchant, scn_town_22_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],
Bu da kayınçomuz kasapçı :grin:(yiyecekçi yani.)
Altına ekliyoruz;
Code:
["town_23_merchant", "Merchant","{!}Merchant",          tf_hero|tf_randomize_face|tf_is_merchant, scn_town_23_store|entry(9),0, fac_commoners,     [itm_coarse_tunic,  itm_leather_boots                   ],def_attrib|level(2),wp(20),knows_inventory_management_10, man_face_young_1, man_face_older_2],
Sonra,alttakini buluyoruz;
Code:
["town_22_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],
Bu bizim atçı tüccarımız.(laf söyletmem.İyi atlar satıyor :grin: )

Altına ekliyoruz;
Code:
["town_23_horse_merchant","Horse Merchant","{!}Town 23 Horse Merchant",tf_hero|tf_randomize_face|tf_is_merchant,              0, 0, fac_commoners,[itm_leather_jerkin,       itm_nomad_boots],                       def_attrib|level(5),wp(20),knows_inventory_management_10, man_face_young_1, man_face_older_2],

Daha sonra,son olarak şunu buluyoruz.;
Code:
["town_22_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],
Bu,galiba bizim lonca başkanımız.
Altına ekliyoruz;
Code:
["town_23_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],
Sonra,alttakini buluyoruz;
Code:
["town_22_master_craftsman", "{!}Town 22 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],
Altına ekliyoruz;
Code:
["town_23_master_craftsman", "{!}Town 23 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],
Oh be!.Diyorsunuzdur kesin.Durun daha.Bitmedi.Modunuzun scene dosyasına gelin.Ve module_scenes'de yeni eklediğimiz sahneleri ekleyeceğiz.Açın sizin sceneOBJ yi,orada;
scn_town_22_arena
      "        "      _alley
      "        "    _walls
      "        "    _center
      """""""    _castle
      "        "      _prison
      "        "      _store
      "        "        _tavern
Ları biryere kopyalayın.Ve o 22 leri 23 yapıp tekrar sizin sceneobj'ye atın.

Şimdi.O şehri bir krallığa ve lorda vermek lazım.Açın module_scripts'i,ve alttakini arayın;
Code:
(call_script, "script_give_center_to_faction_aux", "p_town_22", "fac_kingdom_6"),
Altına yeni eklediğimiz şehri koyalım.
(call_script, "script_give_center_to_faction_aux", "p_town_23", "fac_kingdom_9"),
yukarıda ki 9,benim eklediğim krallıktır.Siz onu eklediğiniz herhangi biriyle değiştirin.

Sonra,alttakini aratın;
Code:
(call_script, "script_give_center_to_lord", "p_town_22", "trp_knight", 0),

Altına bunu ekleyelim;
(call_script, "script_give_center_to_lord", "p_town_23", "trp_kingdom_9_lord", 0),
Ben,kendi eklediğim krallığın kralına vermek için böyle yaptım.Sizde isterseniz kendinize verebilirsiniz.
Siz böyle yapın;
Code:
(call_script, "script_give_center_to_lord", "p_town_23", "trp_knight_6_5", 0),
Bu,sarranidlerin yani kingdom 6 nın 5.lorduna verileceğini gösterir.

Şimdi OH BE!! diye bağırabilirsiniz :grin:

İşte Kanıtları;;;

nPv4q1.jpg

Anasayfaya ekledim.
 
Bazı değişiklikler dediğim,şehirde yaptığını onda yapmıyorsun yani :smile:

Yakında o ikisininde dersini veririm bir arada.

Kaç tane oldu saymadım kodları :grin:

Daha çoğalacaklar.20'lere gelseler bari :grin:
 
Haa.Selçuklu modülünde görmüştüm kral olarak ayarladıkları adamın bayrağı bayrak seçme menüsünde vardı hee...Kralın bayrağı banners_kingdoms'da var o zaman ikinci bir banner kingdoms açıp ona yöneltebiliriz ?
 
Peki bizimkiler oyunu yaparken niye oraya koymadi  :mrgreen: bu mantik ile yapiyorum ben.elin biri gelecek o bayragi sececek denge bozulacak.  :smile: oyuncunun kralliklarin bayragini secmesine izin verme dersi vardi.onu az kurcalayayim.
 
Ben kervanları kurcalarken hiçbir hatası olmayan ve benim ellemediğim biryer hata verdi.

Code:
   #JELKALA - 6 Routes
          #Veluca, Suno
      (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_15"), #Jelkala - Yalen
      (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_6"), #Jelkala - Praven
      (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_7"), #Jelkala - Uxkhal
      (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_19"), #Jelkala - Shariz
 

''Call script'' yazıyor ya.

Hata:

'tuple' object is not callable.

Yapılamadığını söylüyor.Oysa ben orayı ellemedim bile.Jelkalanın üst taraflarındaki kervan kodları hata vermiyor fakat Jelkaladan sonra tüm kodlar bu hataya sahip.

Code:
Traceback (most recent call last):
  File "process_init.py", line 2, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Traceback (most recent call last):
  File "process_global_variables.py", line 12, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
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\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
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\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Exporting scene data...
Traceback (most recent call last):
  File "process_scenes.py", line 15, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Exporting troops data
Exporting particle data...
Traceback (most recent call last):
  File "process_scene_props.py", line 7, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Traceback (most recent call last):
  File "process_tableau_materials.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Traceback (most recent call last):
  File "process_presentations.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Exporting party_template data...
Traceback (most recent call last):
  File "process_parties.py", line 6, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
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\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Traceback (most recent call last):
  File "process_mission_tmps.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Traceback (most recent call last):
  File "process_game_menus.py", line 8, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Traceback (most recent call last):
  File "process_simple_triggers.py", line 5, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Traceback (most recent call last):
  File "process_dialogs.py", line 9, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Traceback (most recent call last):
  File "process_global_variables_unused.py", line 3, in <module>
    from process_operations import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\process_operations.py", l
ine 20, in <module>
    from module_scripts import *
  File "C:\Users\Ozan Tepe\Desktop\Module_system 1.158\module_scripts.py", line
5854, in <module>
    (call_script, "script_set_trade_route_between_centers", "p_town_5", "p_town_
1"),
TypeError: 'tuple' object is not callable
Exporting postfx_params...

______________________________

Script processing has ended.
Press any key to exit. . .
 
5854.satırda oraya uymayan birşey yazmışsın veya "(" lardan yapmamışsın.ondan hata veriyor sanırsam.

Veyahutta "(" ile başlayan birşey varmış,sen o "(" i silmişsin.örnek;

(call_script, "script_set_trae_route_between_centers", "p_town", "p_town_15"), #Jelkala - Yalen


Bunun gibi.Ama dediğin yerde bunun gibi bir hata var.
 
Düzelttim sağol :grin:

Bugünlerde kendi krallığının( ve başka bir krallığın yani yeni krallık) başkentinden başlamaya çalışıyorum.Kodlarda bir eksiğim var gibi.Kendi şehrine giriyorsun,Hadut geliyor öldürüyorsun fakat daha sonra çıplak bir çılgın geliyor ve sana dalıyor.Onu da öldürüyorsun daha gelmiyor bir şey :grin:

Kodlar şöyle :

Module_game_menus.py:

Code:
("town_6",[(eq, "$current_startup_quest_phase", 0),],"join a caravan to Shariz,

aratın.Sondan sonra '']),'' şunu ekleyin.

Code:
("town_23",[(eq, "$current_startup_quest_phase", 0),],"Yapacagin Kaleye giden bir kervana katildin",
       [
         (assign, "$current_town", "p_town_23"),
         (assign, "$g_starting_town", "$current_town"),
         (assign, "$g_journey_string", "str_journey_to_yapacagin_kale"),
		 (jump_to_menu, "mnu_start_phase_2_5"),
#         (party_relocate_near_party, "p_main_party", "$g_starting_town", 23),
#         (change_screen_return),
       ]),

Yapacagin kale yerlerini kendi kale isminizle değiştirirsiniz.

Bunu arat:

Code:
(else_try),  
                 (eq, "$g_encountered_party_faction", "fac_kingdom_6"),
                 (assign, ":troop_of_merchant", "trp_sarranid_merchant"),

Bundan önceki satıra

Code:
(try_end),

Şunu ekle:


Code:
(else_try),  
                 (eq, "$g_encountered_party_faction", "fac_kingdom_7"),
                 (assign, ":troop_of_merchant", "trp_yapacagin_tuccar"),

Şunu arat:

Code:
(else_try),  
          (eq, "$current_town", "p_town_19"),
          (assign, ":town_merchant", "trp_sarranid_merchant"),
          (assign, ":town_room_scene", "scn_town_19_room"),

Yine (try_end), önce şunu ekle:

Code:
(else_try),  
          (eq, "$current_town", "p_town_23"),
          (assign, ":town_merchant", "trp_yapacagin_tuccar"),
          (assign, ":town_room_scene", "scn_town_23_room"),

modüle_game_menus'te işimiz bitti.

açın modüle_troops'u.Tüccarımızı yapacaz.

sarranid_merchant diye aratın.Altına şunu ekleyin bir zahmet:

Code:
["yapacaginiz_tuccar", "Sehir Tuccari", "{!}Prominent", tf_hero|tf_randomize_face, no_scene, reserved, fac_kingdom_7, [itm_sword_two_handed_a,itm_courtly_outfit,itm_leather_boots], def_attrib|level(2), wp(20), knows_common, man_face_middle_1, mercenary_face_2 ],

Kapat bu kadardı.

Aç modüle_scripts'i.Arat bunu:

Code:
(else_try),  
       (eq, ":starting_town_faction", "fac_kingdom_6"),
       (assign, ":troop_of_merchant", "trp_sarranid_merchant"),
       #(assign, ":troop_of_bandit", "trp_desert_bandit"),

Yine :grin: (try_end), önce,şunu ekleyin:

Code:
 (eq, ":starting_town_faction", "fac_kingdom_7"),
       (assign, ":troop_of_merchant", "trp_yapacaginiz_tuccar"),
       #(assign, ":troop_of_bandit", "trp_sea_raider"),

kapat modüle_scriptsi.

aç modüle_scenes.Şunu arat:

Code:
("town_19_room",sf_indoors, "interior_town_house_steppe_d", "bo_interior_town_house_steppe_d", (-100,-100),(100,100),-100,"0",
    ["exit"],[]),

Altına da şunu ekle.Bu şehrimizdeki tüccarın odası olacak.

Code:
("town_23_room",sf_indoors, "interior_town_house_d", "bo_interior_town_house_d", (-100,-100),(100,100),-100,"0",
    ["exit"],[]),

kapat.

gir module_dialogs

arat:

Code:
(else_try),  
      (eq, ":starting_town_faction", "fac_kingdom_6"),
      (assign, ":troop_of_merchant", "trp_sarranid_merchant"),

(try_end),  önce şunu ekleyin:

Code:
(else_try),  
      (eq, ":starting_town_faction", "fac_kingdom_7"),
      (assign, ":troop_of_merchant", "trp_yapacagin_tuccar")

arat:

Code:
(try_end),
    (str_store_troop_name, s10, ":troop_of_merchant"),

bir üstüne ekle:

Code:
 (else_try),  
      (eq, ":starting_town_faction", "fac_kingdom_7"),
      (assign, ":troop_of_merchant", "trp_yapacagin_tuccar"),



kodu şu an tam yazmamış da olabilirim,ki eksiği var.

Böyle.Eksik olan bir kod var galiba,eğer tam çalışıyorsa ben bir göz gezdireyim.

EDİT:Yedeğini alın lütfen.Bir yanlış yapabilirsiniz.






 
Back
Top Bottom