Modding *Sammelthread*

Users who are viewing this thread

Hast du die NPCs am Ende des Moduls bzw am Ende der entsprechenden Einheiten eingefügt?

Hast du die in constants definierten Einheitenbereiche überprüft?
 
Wie ich die dialogs eingefügt hab:
("npc1_intro", "Ho there, traveller. You wouldn't by chance be in the market for a tracker, would you?"),
  ("npc2_intro", "Hello. Would you be so kind as to have a cup with me? I'm down to my last five denars and I'd rather not drink alone."),
  ("npc3_intro", "Good day to you!"),
  ("npc4_intro", "Greetings. I am Rolf, son of Rolf, of the most ancient and puissant House of Rolf."),
  ("npc5_intro", "Greetings, traveller. Would you join me for a drink?"),
  ("npc6_intro", "I am lost... Lost..."),
  ("npc7_intro", "Yes? Keep your distance, by the way."),
  ("npc8_intro", "What do you want?"),
  ("npc9_intro", "You there, good {man/woman}, be so kind as to fetch me another drink, eh?"),
  ("npc10_intro", "Greetings there, {Brother/Sister}! Here's to the doom and downfall of all high-born lords and ladies!"),
  ("npc11_intro", "Hello there, {laddie/lassie}. Have a drink on me."),
  ("npc12_intro", "Greetings, fellow traveller. Perhaps you can help me."),
  ("npc13_intro", "Greetings, traveller. I am Nizar. No doubt you will have heard of me."),
  ("npc14_intro", "Yes? What is it you wish?"),
  ("npc15_intro", "Oh! Say, friend, are you by chance heading out of town anytime soon?"),
  ("npc16_intro", "Hello there. From the look of you, I'd say you're expecting to get into some fights in the near future. Are you by any chance looking for some help?"),
  ("npc17_intro", "G'day friend! Isn't it a wonderfull day to drink some Beer?"),
  ("npc18_intro", "Uhm.. H-Hello w-what's your name?"),

Ja, alles gemacht. Bin übrigens diesen Thread hier gefolgt:
http://forums.taleworlds.com/index.php/topic,130815.0.html
 
Benutz doch bitte den
Code:
hier
um code zu posten.

Ja auf ne entweder oder Frage ist genial. Was hast du gemacht? Welche ranges hast du gesehen und was besagen die? Sind deine Einheiten da mit drin und an welcher Stelle stehen die in ihrem Modul?

----

Denke der Fehler liegt bei Dialogs. Ich habe nicht ein einziges npc1,2,3 in module_dialogs (könnte aber auch sein, dass wir es in Floris rausgehauen haben). Das Tut ist für MB, net WB. Moddest du MB oder WB?
Ist ja in strings der Kram.
 
Zuerst in module_troops Klethi's eintrag kopiert und da drunter 2x eingefügt und npc zu 17/18 geändert und namen auch noch geändert.

module_scripts:
Code:
        (troop_set_slot, "trp_npc17", slot_troop_morality_type, tmt_egalitarian), #elena
        (troop_set_slot, "trp_npc17", slot_troop_morality_value, 4),  #keaton
        (troop_set_slot, "trp_npc17", slot_troop_2ary_morality_type, -1),
        (troop_set_slot, "trp_npc17", slot_troop_2ary_morality_value, 0),
        (troop_set_slot, "trp_npc17", slot_troop_personalityclash_object, "trp_npc10"), #elena
        (troop_set_slot, "trp_npc17", slot_troop_personalityclash2_object, "trp_npc9"), #elena - alayen
        (troop_set_slot, "trp_npc17", slot_troop_personalitymatch_object, "trp_npc18"),  #elena likes keaton
        (troop_set_slot, "trp_npc17", slot_troop_home, "p_village_48"), #Veidar
        (troop_set_slot, "trp_npc17", slot_troop_payment_request, 0),
	(troop_set_slot, "trp_npc17", slot_troop_kingsupport_argument, argument_victory),
	(troop_set_slot, "trp_npc17", slot_troop_kingsupport_opponent, "trp_npc2"), #marnid
	(troop_set_slot, "trp_npc17", slot_troop_town_with_contacts, "p_town_6"), #praven
	(troop_set_slot, "trp_npc17", slot_troop_original_faction, 0), #
	(troop_set_slot, "trp_npc17", slot_lord_reputation_type, lrep_upstanding), #

und das selbe mit npc18

danach
Code:
              (try_for_range, ":slot_addition", 0, "$number_of_npc_slots"),
                (store_add, ":slot", ":slot_addition", slot_troop_intro),

                (store_mul, ":string_addition", ":slot_addition", 16),
                (store_add, ":string", "str_npc1_intro", ":string_addition"), 
                (val_add, ":string", ":npc"),
                (val_sub, ":string", companions_begin),

                (troop_set_slot, ":npc", ":slot", ":string"),
            (try_end),
        (try_end),
16 auf 18 geändert und dann nurnoch die strings eingefügt und 3 mal nachgeschaut ob ich auch nicht vergessen hat npc17 und npc18 einzufügen.

Compiling läuft ohne Errors, werd wohl erstmal die ganzen sachen die ich eingefügt hab überprüfen vielleicht gibts da irgendwelche sachen die sich überschneiden

#Edit: Ich benutze das Warband module system 1.158, aber theoretisch sollte der threat auch für WB gehen.

#Edit2: Dayum, der fehler lag am Flip a Coin script, auch wenn ich nicht weiß warum es gerade Flip a Coin ist^^ Die beiden Helden reden jetzt nun mit ihren Script und NO STRING! gibts nicht mehr^^
 
Hi, bei morghs Editor steh ja bei der Fraktion der truppen auch -Player faction. Heißt das, wenn man sich selbst ein kingdom macht, dass du dann die truppen rekrutieren kannst?
 
Hi,

ich würde gerne auf meinem Server(with fire and sword) der Fraktion Schweden(oder irgend einer anderen) anstatt Granaten Javelins(Wurfspeere) hinzufügen.
habe mir natürlich das Tutorial für das Einfügen von Items im MP durchgelesen, leider ist das für mich nicht ganz aufschlussreich.
(ziemlich knapp gehalten).

wichtig ist, dass ich kein neues Item hinzufügen möchte, was ja beim MP soweiso nicht möglich wäre, ich möchte lediglich Items hinzufügen, die zwar in den Ressourcen existieren aber nicht standardmäßig im spiel implementiert sind, wie eben die Javelins.

Mein Hauptproblem ist jedoch, das ich in der module_scripts nicht den Abschnitt für die Fraktion schweden finde, in dem die items angegeben sind, die für die Klassen zur Verfügung stehen z.B finde ich Fraktionen (bzw. Klassen) wie "Nord Scout" aber das gehört doch eig. zu Warband ich habe aber 100% das richtige module system.

z.B habe ich diese Zeile gefunden:

2219 (item_set_slot, "itm_m_granata_small", slot_item_multiplayer_item_class, multi_item_class_type_bolt),

könnte ich jetzt einfach die ID der Granate (itm_m_granata_small) zu (itm_m_Practice_Javelin) ändern? und wenn ja, wie weise ich dann das neue item einer Fraktion zu.

Oder ist das nicht nötig, da die Granate ja schon vorher zu eine der Fraktionen zu gewiesen war, da sie ja im MP standardmäßig integriert ist aber dann müsste ich ja auch an dieser stelle die item id ändern.

:neutral: ich komme einfach nicht weiter kennt jemand ein passendes Tutorial oder kann mir direkt helfen?

Vielen Dank !
 
Code:
(item_set_slot, "itm_m_granata_small", slot_item_multiplayer_item_class, multi_item_class_type_bolt),
Wird dir nicht helfen,das sorgt nur dafür,dass das Item im Multiplayer erworben werden kann.
Für deine Zwecke solltest du nach sowas suchen:
Code:
      (call_script, "script_multiplayer_set_item_available_for_troop", "itm_bolts", "trp_swadian_crossbowman_multiplayer"),
Dabei solltest du da statt trp_swadian_crossbowman_multiplayer trp_swedish_rifleman_multiplayer(oder wie die Truppe halt heißt,hab mit wfas nichts zu tun) und und statt itm_bolts halt itm_[NameDerGranate] haben.

ABER:Ich bin mir nicht sicher ob die Spieler dann,wenn sie die Granaten auswählen,mit den Speeren spawnen würden(Es würde definitiv nicht als Speere angezeigt werden,dafür müssten die Spieler was runterladen)
 
Danke für die Hilfe !

Die sogenannnten Javelins existieren bereits im Spiel und sind per pouls admi-mod für wfas "spawnbar" ergo schon im spiel integriert.

Das Problem ist nur, dass sie eben nur per Adminmod zu Verfügung stehen... und das versuche ich zu ändern

Ich gucke später nochma und versuche mit deinem Ratschlag weiterzukommen  :grin:
 
Hallo Leute!

Beschäftige mich gerade mit dem erstellen von quests durch module_dialogs und bleibe immer an einem sehr eigenartigen Problem hängen.
Ich habe in meinem Fall zB.: eine Truppe namens "Andersen" erstellt, die in Sunos Taverne auftauchen und einem einem Quest geben soll.
Auftauchen tut sie, aber das Problem besteht darin, dass der Dialog der auftaucht wenn man mit ihr Spricht nicht der ist, denn ich angegeben habe,
sondern irgendein sinnloser Mischmasch aus anderen Dialogen zu sein scheint. Resultat der recht schrägen Unterhaltung ist dann, wenn man die richtigen Antworten drückt,
dass Andersen sich meinem Heer anschließt. Offensichtilich verwechselt das spiel da etwas mit mit einem Dialog der Gefolgsleute die man sonst so anwerben kann.

Hier mein Text aus module_dialogs:
Code:
[trp_andersen,"start", [], "Hey!{sir/wench}, you look just like somebody who could help me. Sit down and listen if you want to earn yourself some wealth.", "andersen_talk",[]],
[trp_andersen|plyr,"andersen_talk", [], "Sorry, I have no time for old mens stories.", "close_window",[]],
[trp_andersen|plyr,"andersen_talk", [], "Wealth you say? You have my interest. Carry on!", "andersen_talk2",[]],
[trp_andersen,"andersen_talk2", [], "Well, the last days weren't very fortunate for me. I am a merchant of antiques you must know. I travel from town to town to sell old and rare items to lords and ladies. However three days ago I got robbed by a band of brigands. They took all my cargo and even worse 5000 denars of mine.", "andersen_talk3",[]],
[trp_andersen,"andersen_talk3", [], "These 5000 denars were almost all I got with me. And now I'm sitting in this tavern spending my last denar on a drink. Could you help me get my money back? If you bring me my 5000 denars back you can keep all the loot you find with the brigands and I will teach you how to get better at trading.", "andersen_talk4",[]],
[trp_andersen|plyr,"andersen_talk4", [], "I'm sorry for your situation, but I have no time for that.", "close_window",[]],
[trp_andersen|plyr,"andersen_talk4", [], "I'm interested. Where can I find those brigands?", "andersen_talk5",[]],
[trp_andersen,"andersen_talk5", [], "Thank god! Finally somebody who has the guts to help me! They should be near Veidar.", "close_window",[
      (setup_quest_text, "qst_antique"),
      (str_store_string, s2, "@Andersen told me how his caravan got robbed by bandits. His wealth of 5000 denars and his cargo of antiques is gone. If I bring him his denars back I can keep whatever I find in the rest of his cargo. The Brigands should be near Veidar."),
      (call_script,"script_start_quest","qst_antique","trp_andersen"), (set_spawn_radius,1),(spawn_around_party,"p_village_48","pt_andersens_brigands")]],

Und hier der werte Herr Andersen aus module_troops:
Code:
["andersen","Andersen","Andersen",tf_hero, scn_town_4_tavern|entry(3),reserved,  fac_commoners,[itm_rich_outfit,itm_leather_boots, itm_german_sword_a],
   str_8|agi_5|int_12|cha_8|level(7),wp(80),knows_warrior_npc|
   knows_tactics_2|knows_engineer_2|knows_trade_8|knows_tracking_1|knows_spotting_1,
   0x0000000f2e1021862b4b9123594eab5300000000001d55360000000000000000],

Interessanter weise passiert mir das selbe problem mit dem selben resultierenden Text immer. Hab mich zuvor an Kolbas Quest-Tutorial versucht. -> selbiges Problem

Hat jemand schoneinmal das selbe Problem gehabt und weiß was ich hier falsch gemacht habe/wie es sich lösen lässt?













Hat sich erledigt.
 
Hey Leute ich habe ein Problem mit dem Old Frontier Mod, habe dort bereits das Problem geschildert aber bekomme keine antwort, ich vermute das Problem ist zu tiefgehend das mir da jemand von dort helfen kann/will.
Moe said:
Hey Guys.
It's now Day 215 and I have now Problem with 2 Battles, every time i want to join in i get a CTD.

Well ok forget about the things i wrote before but i just let it spoilered so ppl can look how i started figuring out the problem.
- First ideas (PC description + all the fixes described to solve CTD and heavy Lags - done; written down if ur interested):
Is it possible that some saves can get corrupted after a while?
I already done all the fixing solutions setting everything to the lowest values (except gamma of course), updated everything i could and even more (included most of the settings for weak Computers).
My Laptop is an Alienware 14 (Intel core i5 4200M with 2,5GHz, 6GB Ram, a G-Force GT-750 M Graphics, 500GB Hybrid SSD HDD [less than 50% occupied]and windows 7 64-bit OS) wich should be strong enough to run this game easily. Maybe it's a Graphics Card incompability as i experienced in the Past with my Ati trying to play Skyrim i don't know but if i remember correctly this situation occured already with my Tower PC (i stopped playing M&B WB for 1 or 2 years dunno exactly) wich has the mentioned Ati - i guess i damaged my save somehow...
It's just those specific battles i cant enter anymore. First one is: i tried to join a battle between one of my Natvie American borther Chief with about 50 men (my army 67 men) and the Spanish army with about 400 men. Well that i could ignore since i would lose that anyway but the second one is a save Village mission (save Cayomulgee) with 30 Bandits in there, after i done all the fixes including the Ram adjustment i got to the point that i saw my character and my army but in the next second i got a CTD - always, don't know what to do further. My Idea was to leave the Quest and go on ingame and maybe try later to enter the village again (hopefully it's not burned down already when i come back) but this cannot be the final solution !

I figured out it's one of my Companions casuing the Problem, as i searched the posts i found similar problems of other users. I guess it's a special item i gave him that causes the CTD cuz everytime i attempt to click on Idibil the Spaniard, i get a CTD... thats the reason why i can't enter any battle since he is on 4th space in my army and the game is not able to load him properly (I moved him down on last spot and shortened my Battlesize to 60 so he wouldn't appear and i was able to enter any battle now !!!). When i crosschecked the posts i didnt find a solution for this problem, can i somehow adjust the files to make him naked or kick him out of my party ??? Maybe we could figure out what specific item causes the CTD's together for future ?! please help :0

Greetings
Moe

Nun stellte sich mir die Frage ob ich denn meinen Savegame modifizieren kann um den problemauslösenden Kumpane aus meiner Truppe zu kicken per Script oder ihn eben nackt zu machen wie in dem Quote beschrieben. Da ich sonst nicht wirklich einen passenden Thread gefunden habe, dachte ich mal Frage ich hier nach. Habe bereits versucht die Troops.txt Datei zu modifizieren und habe Python 2.8 runtergeladen, aber nicht mehr - traue mich noch nicht so recht an das "modding" an sich ran da ich kein PC-Crack bin. Eventuell hat ja jemand ne einfache Lösung parat bevor ich versuche mich da tiefer rein zu arbeiten und am Spiel rumzumurksen. Oder wird mir einfach nur sagen - ne Pech gehabt save corrumpiert fang neu an^^

MfG Moe
 
Hallo Leute

Ich war schon ne ganze weile nicht mehr hier, weil eigentlich fast alles hinhaut, was ich haben wollte. Aber an ein Problem scheitere ich schon seit geraumer Zeit. Ich habe einen eigenen troop treu erstellt, der sich eigentlich aktivieren soll, sobald ich ein eigenes Königreich gründe. An dich sind die Truppen da un damit morghs Editor hab ich auch die speziell für,, player's faction" eingesetzt. Das Problem ist, dass ich diese Soldaten nirgendwo rekrutieren kann.

Außerdem würde ich auch gerne solche Art "Minor Nobles" für die Fraktionen erstellen und über die Städte rekrutierbar sein, hab aber kein Plan wie das geht....
Kann mir jmd helfen??
LG Icharion
 
Ich hab ka ob das hier hin kommt aber:

Kann man die Anzahl an Dinare bei den Cheats irgendwie erhöhen?
Statt 1000 Dinare jedes mal 5000 oder so?


Das gleiche auch für Truppen höher machen?
Vielen dank
 
Es wäre vermutlich einfacher ein Makro zu schreiben, wodurch du "strg+x" einfach 5-mal drückst.
Je nach Peripherie bieten Hersteller meist auch Software an, in der man so etwas in unter einer Minute hinbekomt.
Falls das bei dir nicht der Fall ist, würde ich mal noch einer entsprechenden Software suchen.
 
Back
Top Bottom