Would somehow be weired to have a lamed Champion horse, so it makes sense that the horse loses the positive modifier. It could be possible if there is a script which assigns the modifiers that specific horses cannot get another modifier. It only wouldn't make any sense to have a crippled Champion horse with no negative effects, so you should make sure that these combination isn't possible.aleeque said:How do I make it so that when a Spirited/Heavy/Champion horse is lamed, it doesn't lose the positive modifier?
This can't possibly be hardcoded, can it? I found nothing in the modsys files.
(
"istanbul_baskin",mtf_battle_mode,-1,
"Default town visit",
[
(0,mtef_team_0,af_override_horse,aif_start_alarmed,1,[]),
(1,mtef_team_0,af_override_horse,aif_start_alarmed,15,[]),
(2,mtef_team_0,af_override_horse,aif_start_alarmed,15,[]),
# (1,mtef_defenders|mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
# (2,mtef_defenders|mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
(3,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(4,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(5,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(6,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(7,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(8,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(9,mtef_visitor_source|mtef_team_3,af_override_horse,aif_start_alarmed,1,[]),
(10,mtef_visitor_source|mtef_team_3,af_override_horse,aif_start_alarmed,1,[]),
(11,mtef_visitor_source|mtef_team_3,af_override_horse,aif_start_alarmed,1,[]),
(12,mtef_visitor_source|mtef_team_3,af_override_horse,aif_start_alarmed,1,[]),
(13,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(14,mtef_team_2,af_override_horse,aif_start_alarmed,15,[]),
#(21,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
#(22,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
#(23,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
#(24,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
#(25,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
],
[
(0, 0, 0,
[(eq, "$herkes_dursun", 1),
#(scene_prop_get_instance, ":flag_id", "spr_ramp_small_a", 0),
#(scene_prop_get_instance, ":flag_id_2", "spr_siege_ladder_6m", 0), (scene_prop_set_visibility, ":flag_id", 100),(scene_prop_set_visibility, ":flag_id_2", 100),
], [(set_show_messages, 0),
(team_give_order, 0, grc_everyone, mordr_stand_ground),
(team_give_order, 1, grc_everyone, mordr_charge),
(team_give_order, 2, grc_everyone, mordr_charge),
(team_give_order, 3, grc_everyone, mordr_stand_ground),
(set_show_messages, 1), ]),
(0, 42, ti_once, #in scene after 45 sec team_0 and 3 charge, working..
[
#(scene_prop_get_instance, ":flag_id", "spr_ramp_small_a", 0),
#(scene_prop_get_instance, ":flag_id_2", "spr_siege_ladder_6m", 0), (scene_prop_set_visibility, ":flag_id", 100),(scene_prop_set_visibility, ":flag_id_2", 100),
], [(assign, "$herkes_dursun", 0),
(set_show_messages, 0),
(team_give_order, 0, grc_everyone, mordr_charge),
(team_give_order, 3, grc_everyone, mordr_charge),
(set_show_messages, 1), ]),
(ti_before_mission_start, 0, ti_once,
[
(team_set_relation, 0, 2, 1),
(team_set_relation, 1, 3, 1),
], []),
You either give the orders to wrong team id's or the orders are getting overwritten somewhere else. Double check that.frozenpainter said:Guys, I want team_0 and team_3 stand ground, team_1 and team_2 charge, but all team use stand_ground order, where is the problem?
(
"istanbul_baskin",mtf_battle_mode,-1,
"Default town visit",
[
(0,mtef_team_0,af_override_horse,aif_start_alarmed,1,[]),
(1,mtef_team_0,af_override_horse,aif_start_alarmed,15,[]),
(2,mtef_team_0,af_override_horse,aif_start_alarmed,15,[]),
# (1,mtef_defenders|mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
# (2,mtef_defenders|mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
(3,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(4,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(5,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(6,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(7,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(8,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(9,mtef_visitor_source|mtef_team_3,af_override_horse,aif_start_alarmed,1,[]),
(10,mtef_visitor_source|mtef_team_3,af_override_horse,aif_start_alarmed,1,[]),
(11,mtef_visitor_source|mtef_team_3,af_override_horse,aif_start_alarmed,1,[]),
(12,mtef_visitor_source|mtef_team_3,af_override_horse,aif_start_alarmed,1,[]),
(13,mtef_visitor_source|mtef_team_1,af_override_horse,aif_start_alarmed,1,[]),
(14,mtef_team_2,af_override_horse,aif_start_alarmed,15,[]),
#(21,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
#(22,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
#(23,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
#(24,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
#(25,mtef_visitor_source|mtef_team_0,af_override_horse,0,1,[]),
],
[
(0, 0, 0,
[(eq, "$herkes_dursun", 1),
#(scene_prop_get_instance, ":flag_id", "spr_ramp_small_a", 0),
#(scene_prop_get_instance, ":flag_id_2", "spr_siege_ladder_6m", 0), (scene_prop_set_visibility, ":flag_id", 100),(scene_prop_set_visibility, ":flag_id_2", 100),
], [(set_show_messages, 0),
(team_give_order, 0, grc_everyone, mordr_stand_ground),
(team_give_order, 1, grc_everyone, mordr_charge),
(team_give_order, 2, grc_everyone, mordr_charge),
(team_give_order, 3, grc_everyone, mordr_stand_ground),
(set_show_messages, 1), ]),
(0, 42, ti_once, #in scene after 45 sec team_0 and 3 charge, working..
[
#(scene_prop_get_instance, ":flag_id", "spr_ramp_small_a", 0),
#(scene_prop_get_instance, ":flag_id_2", "spr_siege_ladder_6m", 0), (scene_prop_set_visibility, ":flag_id", 100),(scene_prop_set_visibility, ":flag_id_2", 100),
], [(assign, "$herkes_dursun", 0),
(set_show_messages, 0),
(team_give_order, 0, grc_everyone, mordr_charge),
(team_give_order, 3, grc_everyone, mordr_charge),
(set_show_messages, 1), ]),
(ti_before_mission_start, 0, ti_once,
[
(team_set_relation, 0, 2, 1),
(team_set_relation, 1, 3, 1),
], []),
[Bcw]Btm_Earendil said:Which one are you trying to change? And give us also the snippet of the lines which you have put in (together with the ones from the whole block of the respective UI which you want to change)
char_b_attribs_base_position_x = 0
char_b_attribs_base_position_y = 0.17
char_b_attribs_base_size_x = 0.15
char_b_attribs_base_size_y = 0.03
char_b_attribs_base_text_color = 0xFFFFFFFF
char_b_attribs_base_highlight_text_color = 0xFFD3E2E8
char_b_attribs_base_text_flags = 0x4
char_b_attribs_base_text_size_x = 0.02
char_b_attribs_base_text_size_y = 0.02
I remember that sometimes I have had to add the extra line for the text colour but I also haven't made bug changes there, most of my changes have been in the positions. So even with the line base_text_color it doesn't change the colour for the respective text?BeefBacon said:[Bcw]Btm_Earendil said:Which one are you trying to change? And give us also the snippet of the lines which you have put in (together with the ones from the whole block of the respective UI which you want to change)
All text in the game. Main menu I can find, custom battles I can't. Starting a new game and selecting male/female I can find, but the rest of the character selection I can't. It's not an absolute deal breaker that I can't change text colour, but it is a shame since it's a good way to give a mod its own distinct visual style.
I've changed all of the 0xFF colours in game_variables and module_game_menus. Either I've missed something, the colours for the rest of the text are stored elsewhere, or for some reason some colours are (seemingly arbitrarily) hardcoded.
Code:char_b_attribs_base_position_x = 0 char_b_attribs_base_position_y = 0.17 char_b_attribs_base_size_x = 0.15 char_b_attribs_base_size_y = 0.03 char_b_attribs_base_text_color = 0xFFFFFFFF char_b_attribs_base_highlight_text_color = 0xFFD3E2E8 char_b_attribs_base_text_flags = 0x4 char_b_attribs_base_text_size_x = 0.02 char_b_attribs_base_text_size_y = 0.02
Is the sort of thing I'm looking for. I can edit these colours just fine, but the menus prior to this don't seem to be editable. There are colour values in module_scripts but they don't seem to be related; I may be wrong.
[Bcw]Btm_Earendil said:I remember that sometimes I have had to add the extra line for the text colour but I also haven't made bug changes there, most of my changes have been in the positions. So even with the line base_text_color it doesn't change the colour for the respective text?
I found your first message irritating but with your edit I understood it nowBeefBacon said:[Bcw]Btm_Earendil said:I remember that sometimes I have had to add the extra line for the text colour but I also haven't made bug changes there, most of my changes have been in the positions. So even with the line base_text_color it doesn't change the colour for the respective text?
No it changes the colour for that text, there just doesn't seem to be the option to change the colour for other lines of text. It never occurred to me to add the line in myself. I might give that a go.
-
Hoooly **** that actually worked. I did a thing and it didn't break. I am Hackerman. Now I just need to do that to all the text that doesn't seem to want to change, though actually finding and identifying might be a bit tricky.
[Bcw]Btm_Earendil said:I found your first message irritating but with your edit I understood it nowBeefBacon said:[Bcw]Btm_Earendil said:I remember that sometimes I have had to add the extra line for the text colour but I also haven't made bug changes there, most of my changes have been in the positions. So even with the line base_text_color it doesn't change the colour for the respective text?
No it changes the colour for that text, there just doesn't seem to be the option to change the colour for other lines of text. It never occurred to me to add the line in myself. I might give that a go.
-
Hoooly **** that actually worked. I did a thing and it didn't break. I am Hackerman. Now I just need to do that to all the text that doesn't seem to want to change, though actually finding and identifying might be a bit tricky.
At game_variables, some few lines can be added without breaking anything. It works for sure if you see one text block with a line which the others don't have. You can then simply apply it to the others there as well. Have fun
BeefBacon said:All text in the game. Main menu I can find, custom battles I can't.
Yes, it is possible. You will only have to do it by yourselfVigilante said:Hello everyone!
I have a very simple question for all the experienced modders out there.
Is it possible to create a module that contains:
-Diplomacy
-Pre Battle Orders+Deployment
-Custom Troop Trees
-Freelancer
-Better Faces
I would like to start working on my own mod, and I was hoping to use these 4 mods as a base.
You can also start with the other ones as base but I think it might be less work to start with 'Diplomacy', yes.Vigilante said:Alright! So I suppose, I will have to use Diplomacy as a base module and add the other mods in it?
frozenpainter said:How can I stop a progress animation?