mike56 said:Hello again good mates. Which MS files and lines should I modify if I want to change the places where companions tell me their stories? I mean the home_description strings.
Thanks!
(else_try), #check for regional background
(eq, "$disable_local_histories", 0),
(eq, "$g_infinite_camping", 0),
(try_for_range, ":npc", companions_begin, companions_end),
(main_party_has_troop, ":npc"),
(troop_slot_eq, ":npc", slot_troop_home_speech_delivered, 0),
(troop_get_slot, ":home", ":npc", slot_troop_home),
(gt, ":home", 0),
(store_distance_to_party_from_party, ":distance", ":home", "p_main_party"),
(lt, ":distance", 7),
(assign, "$npc_map_talk_context", slot_troop_home),
(str_store_string, s51, "str_triggered_by_local_histories"),
(start_map_conversation, ":npc", -1),
(try_end),
str_255 = bignum | 0x000000ff
Loading module... FAILED.
MODULE `troops` ERROR:
Traceback (most recent call last):
File "compile.py", line 129, in <module>
from module_troops import *
File "C:\Users\***\Module_system 1.158_fully_in
tegrated\module_troops.py", line 3916, in <module>
def_attrib|str_255|level(12),wp(280),knows_ironflesh_15|knows_athletics_4|kn
ows_power_strike_10,mercenary_face_1, mercenary_face_2],
File "C:\Users\***\Module_system 1.158_fully_in
tegrated\compiler.py", line 56, in __or__
for key, value in other.iteritems():
AttributeError: 'long' object has no attribute 'iteritems'
COMPILATION FAILED.
Attributes only support values up to 63.Arch3r said:When adding
To header_troops.py, using WRECK, I get the following errorCode:str_255 = bignum | 0x000000ff
Yep, worked fine before.Lumos said:Such definitions were perfectly valid without WRECK, so the problem must be somewhere in there.
Yep.Nate said:Is the hardcoded limit for multiplayer events in header_common still 128? Yoshiboy says as much in his tutorial, but it hasn't been edited since early 2011.
game_menus = [
("start_king",[],"A ruler of a small kingdom.",[
(assign,"$background_type",cb_noble),
(assign, reg3, "$character_gender"),
(str_store_string,s10,"@You were raised as a Prince and were provided the best education and training the kingdom could provide."),
(jump_to_menu,"mnu_start_king_1"), # redirects to custom menu
]),
("mnu_start_king_1",menu_text_color(0xFF000000)|mnf_disable_all_keys, # "custom" menu, makeshift copy n paste
"Select your character's gender.",
"none",
[],
[
("start_male",[],"Male",
[
(troop_set_type,"trp_player", 0),
(assign,"$character_gender",tf_male),
(jump_to_menu,"mnu_start_character_1"),
]
),
("start_female",[],"Female",
[
(troop_set_type, "trp_player", 1),
(assign, "$character_gender", tf_female),
(jump_to_menu, "mnu_start_character_1"),
]
),
("go_back",[],"Go back",
[
(jump_to_menu,"mnu_start_game_0"),
]),
]
),
(
"start_character_1",mnf_disable_all_keys,
"You are a...",
"none",
[
(str_clear,s10),
(str_clear,s11),
(str_clear,s12),
(str_clear,s13),
(str_clear,s14),
(str_clear,s15),
],
[("start_noble",[],"King.",[
(call_script,"script_set_player_kingdom_1"), # calls the script to set up the characters kingdom
(assign,"$background_type",cb_noble),
(assign, reg3, "$character_gender"),
(str_store_string,s10,"@You came into the world a {reg3?daughter:son} of declining nobility,\
owning only the house in which they lived. However, despite your family's hardships,\
they gave you a good education and trained you from childhood for the rigors of aristocracy and life at court."),
(jump_to_menu,"mnu_choose_skill"),
]),
]
),
Mispronounced said:Need some assistance again. I'm attempting to implement this code into my mod. Everythings fine with the script, its the menus I'm having issues with.
("start_king",[],"A ruler of a small kingdom.",[
# 1) Game-menu id (string): used for referencing game-menus in other files.
# The prefix menu_ is automatically added before each game-menu-id
#
# 2) Game-menu flags (int). See header_game_menus.py for a list of available flags.
# You can also specify menu text color here, with the menu_text_color macro
# 3) Game-menu text (string).
Mispronounced said:just don't know what to place as the integer.
See header_game_menus.py
If you want to use 1.158+ features(operations, triggers, etc.) then you surely need the latest server files aswell.Nate said:Could someone explain why the most current dedicated server files for Native (which are 1.15 did not need to be updated up to 1.168? That is, if you feel so inclined. I'd find it educational at least.
If someone hosts a native server using viking conquests' dedicated server files, and the joining players are using Native (and haven't purchased VC) will they still be able to utilize those new operations as long as their game tells them its 1.168 in the launcher?_Sebastian_ said:If you want to use 1.158+ features(operations, triggers, etc.) then you surely need the latest server files aswell.Nate said:Could someone explain why the most current dedicated server files for Native (which are 1.15 did not need to be updated up to 1.168? That is, if you feel so inclined. I'd find it educational at least.
Get the Viking Conquest dedicated server files if you want the 1.168 version, unfortunately Native's files didn't get any update by TaleWorlds.
Yes, why not...troycall said:If someone hosts a native server using viking conquests' dedicated server files, and the joining players are using Native (and haven't purchased VC) will they still be able to utilize those new operations as long as their game tells them its 1.168 in the launcher?