I'm not able to change units stats (i'm only interessed in attack and number of soldiers per units but it seems like even this is far over my programmer-skills lol), is there any guide or something? (the search tool didn't help...)
Thank you![]()
I'm not able to change units stats (i'm only interessed in attack and number of soldiers per units but it seems like even this is far over my programmer-skills lol), is there any guide or something? (the search tool didn't help...)
Thank you![]()
Anything u must need to change those values is in export_descr_units.txt in data folder
Those are the values u need to change
Those values are the ones u need to changeCode:type Marines dictionary Marines ; Marines category infantry class heavy voice_type Heavy banner faction main_missile banner holy crusade soldier marines, 60, 0, 1 ;first number is the amount of soldiers in the unit officer gondor_banner_carrier_ug1 officer gondor_officer_ug1 mount_effect elephant -10 attributes sea_faring, hide_forest, hardy, can_withdraw, cannot_skirmish, free_upkeep_unit formation 1.2, 1.2, 2.4, 2.4, 4, square stat_health 1, 3 stat_pri 8, 3, javelin, 55, 2, thrown, missile_mechanical, piercing, spear, 0, 1 ; fist value is the damage of that unit with is first weapon stat_pri_attr ap, thrown, prec stat_sec 7, 3, no, 0, 0, melee, melee_blade, piercing, sword, 0, 1 ; here again the first number is the damage of the second weapon stat_sec_attr no stat_pri_armour 5, 3, 4, metal stat_sec_armour 0, 0, flesh stat_heat 4 stat_ground 0, -1, 0, -2 stat_mental 13, normal, trained stat_charge_dist 15 stat_fire_delay 0 stat_food 60, 300 stat_cost 1, 540, 220, 75, 75, 540, 3, 150 armour_ug_levels 2, 3 armour_ug_models marines, marines_ug1 ownership sicily era 0 sicily era 1 sicily era 2 sicily recruit_priority_offset 7
Those who fear the darkness have never seen what the light can do...
Yeah that's what I done, but the game crash after 2 seconds I launch it...
For example I change the number of soldier of Gondor Infantry to 60 to 150, that's the number after the word marines in your example, but it didn't work...![]()
You can get infantry units of 150 men without editing any script, just by going to "Options" on the main menu when the game loads up, then "Game Settings" and in a box under the heading 'Miscellaneous" there'll be 'unit size" - click on the arrow next to it and set it to 'Huge'.
Yeah I know, I actually play on Huge size units, the 150 was only a try, and it didn't work...before I tried 500 that was my target (mission, result I want to reach? Whatever, sorry for my english) but it didn't work, so i tried a smaller number but...nothing
I believe that the maximum unit number is capped. I am not sure but I believe that the huge setting already defaults to that cap? So units that are normally smaller could be made larger but the largest units are already maximum size.
That could be a thing, but for example Snaga are 250 soldiers on huge size, so I think it is possible to reach at least this number...
I think there is some other value to change but as said before my english is not good enough to find a solution in this forum or to understand 100% of the infos given at the beginning of the file export_descr_units.txt ...
Plus I saw some videos on Youtube with huge units, like 500 or 1000... and in the battle editor is possible to make units as big as you want so I think it must exist a way...
I think is capped at 100 which is the number of soldier in mordor units, which in huge settings will be like 251 units or so, which is the biggest unit in game I think.
Those who fear the darkness have never seen what the light can do...
You are right ^^ now I have General's Bodyguard units with 251 man ready to die for their leader![]()
However my purpose was to reach at least 500 per unit, anyone know how to "un-cap" this maximum of 252 soldiers per units?
I too would like to know how to un-cap the unit size above 100 . or even if it is possible . because it would make battles even more epic to have the option to do it![]()
Anyone?
The max unit size is 100 in the EDU, this is hardcoded and no way to change it. EDU uses normal unit size numbers, TATW is by default on huge which makes units 2,5 times as big as normal. 250 is the max amount of soldiers a unit can have, add a maximum of 3 captains and 253 is the total max of men in it. The number 60 in EDU means there will be 150 men in game if unit size is on huge, 80 will increase it to 200 men, 48=120 men, 40=100 and 36=75.
As afar as I'm informed;
"in M2 TW, with edit the file, the hard coded max number is 250 + 3 officers + 253"
Edit: ninja-lolIsuck
Kingdom of Lindon preview video out
DCI: Last Alliance - WIP Second Age mod | DCI: Tôl Acharn - mighty Dúnedain Counter Invasions |
Additional Mercenary Minimod - more mercs; for TATW and DCI | Family Tree minimods - lore improvements | Remade Event Pictures - enhance cultures trough images |
Favorite TATW compilation: Withwnars Submod Collection
Patron of Mank, Kiliç Alì, FireFreak111, MIKEGOLF & Arachir Galudirithon, Earl of Memory
Is it not possible to change the 2.5 with Huge Size and make it like 5.0 or 10.0?
It's a shame that it sounds like it would be hard to change then . but i remember when people said that custom settlements were impossible but that was a long times ago and this mod has come so far since i first played it in 1.2 i think![]()
Yea well, this is most definately hardcoded (I think)