Strings missing [solved]

Users who are viewing this thread

CBWarDog

Sergeant
So, i had the idea of adding the form rows command from Napoleonic Wars to my personal mod. So, i activated the "use_advanced_formation" line in the module.ini, and it worked. The problem is that the commands in-game doesn't show the correct name, and instead it says something like this (with the fire at my command order by example)

Code:
STR NOT FOUND: ui_order_button_fire_at_my_command

So, i went to module_strings, and tried with this lines, but they didn't work
Code:
  ("ui_order_button_fire_at_my_command", "Fire at my command"),
  ("order_button_fire_at_my_command", "Fire at my command"),
  ("button_fire_at_my_command", "Fire at my command"),
  ("fire_at_my_command", "Fire at my command"),

also added this lines, but didn't work either
Code:
  ### WFAS Bot stuff Begin
  ("all_fire_now", "All Fire Now!"),
  ("left_fire_now", "Left Fire Now!"),
  ("middle_fire_now", "Middle Fire Now!"),
  ("right_fire_now", "Right Fire Now!"),
  ("fire_at_my_command", "Fire At My Command"),
  ("use_melee_weapons", "Use Melee Weapons"),
  ("use_ranged_weapons", "Use Ranged Weapons"),
  ("melee_weapons", "Melee Weapons"),
  ("ranged_weapons", "Ranged Weapons"),
  
  ("formation", "Formation"),
  ("very_tight", "Very Tight"),
  ("tight", "Tight"),
  ("loose", "Loose"),
  ("very_loose", "Very Loose"),
  
  ("form_1_row", "Form 1 Row"),
  ("form_reg0_rows", "Form {reg0} Rows"),
  ### WFAS Bot stuff End

What am i missing? please some one help me
 
As it's still about the thing you asked before, you shouldn't create new thread for this.
BTW, what you need to do are :
1. Copy /language/en/ui.csv to <your personal module>/language/en/ui.csv.
2. Edit ui.csv (notepad ++ is recommended)
3. Add the missing strings there.

Here's mine (I use the commands to do motomataru's formation orders, so you should adjust the second strings (displayed one) for some lines.
ui_capital_versus|--VERSUS--
ui_tracks|Tracks
ui_battleground|Battleground
ui_order_1|Select Order 1
ui_order_2|Select Order 2
ui_order_3|Select Order 3
ui_order_4|Select Order 4
ui_order_5|Select Order 5
ui_order_6|Select Order 6
ui_order_7|Select Order 7
ui_order_8|Select Order 8
ui_order_button_hold_this_position|Hold this position
ui_order_button_follow_me|Follow me
ui_order_button_charge|Charge
ui_order_button_stand_ground|Stand ground
ui_order_button_retreat|Retreat
ui_order_button_advance|Advance ten paces
ui_order_button_fall_back|Fall back ten paces
ui_order_form_1_row|Rank
ui_order_form_2_row|Shieldwall (INF only)
ui_order_form_3_row|Wedge (INF & CAV)
ui_order_form_4_row|Square (INF only)
ui_order_form_5_row|Memorize Position
ui_order_button_spread_out|Spread out
ui_order_button_stand_closer|Stand closer
ui_order_button_mount_horses|Mount horses
ui_order_button_dismount|Dismount
ui_order_button_hold_fire|Hold your fire
ui_order_button_fire_at_will|Fire at will
ui_order_button_fire_at_my_command|Fire at my command
ui_order_button_all_fire_now|All fire now
ui_order_button_left_fire_now|Left wing fire now
ui_order_button_middle_fire_now|Middle fire now
ui_order_button_right_fire_now|Right wing fire now
ui_order_button_use_melee_weapons|Use melee weapons
ui_order_button_use_ranged_weapons|Use range weapons
ui_order_button_use_blunt_weapons|Use only blunt weapons
ui_order_button_use_any_weapon|Use weapons at will
ui_order_button_movement_orders|Movement orders
ui_order_button_formation_orders|Formation orders
ui_order_button_fire_orders|Fire orders
ui_order_button_weapon_usage_orders|Weapon orders
ui_follow_me_e_|%s, follow me!
ui_charge_e_|%s, charge!!!
ui_stand_ground_e_|%s, stand ground!
ui_retreat_e_|%s, retreat!
ui_mount_horses_e_|%s, mount horses!
ui_dismount_e_|%s, dismount!
ui_advance_e_|%s, advance ten paces!
ui_fall_back_e_|%s, fall back ten paces!
ui_form_1_row_e_|%s, your formation!
ui_form_2_row_e_|%s, strengthen formation!
ui_form_3_row_e_|%s, formation!
ui_form_4_row_e_|%s, regroup!
ui_form_5_row_e_|%s, remember!
ui_stand_closer_e_|%s, stand closer!
ui_spread_out_e_|%s, spread out!

EDIT :
As you have NW already, then may be you can look at it's ui.csv for reference.
 
Thanks a lot dude! it worked perfectly

And, about the new thread, i thought  that i should make a new one because the question was diferent, but as long as it was about the same thing, i shoudn't did that, and i apologize for it.

Anyways, thanks again  :grin:
 
Back
Top Bottom