Welcome to the TWC Wiki! You are not logged in. Please log in to the Wiki to vote in polls, change skin preferences, or edit pages. See HERE for details of how to LOG IN.

Difference between revisions of "How to customize Unit Pack Mods"

From TWC Wiki
Jump to navigationJump to search
m (How to change the "experience" that the units are getting from their recruitment building:)
m (Text replacement - "http://www.twcenter.net" to "https://www.twcenter.net")
 
(39 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== How to customize "Unit Pack Mods" ==
 
== How to customize "Unit Pack Mods" ==
  
Here is my tutorial how you can add, change or remove something in my several AUM mods.
+
Here is a tutorial how you can add, change or delete content within '''Unit Pack Mods'''.
  
  
AUM Empire Wiki page = [[Additional_Units_Mod]]
+
[https://www.twcenter.net/forums/showthread.php?t=250655 ADDITIONAL UNITS MOD - EMPIRE (AUM-EMP)]
  
AUM Napoleon Wiki page = [[Additional_Units_Mod_-_Napoleon]]
+
[https://www.twcenter.net/forums/showthread.php?t=336939 ADDITIONAL UNITS MOD - NAPOLEON (AUM-NAP)]
  
[http://www.twcenter.net/forums/showthread.php?t=250655 ADDITIONAL UNITS MOD - EMPIRE (AUM-ETW)]
+
[https://www.twcenter.net/forums/showthread.php?t=429938 ADDITIONAL UNITS MOD - SHOGUN (AUM-SHO)]
  
[http://www.twcenter.net/forums/showthread.php?t=336939 ADDITIONAL UNITS MOD - NAPOLEON (AUM-NAP)]
+
[https://www.twcenter.net/forums/showthread.php?627675 ADDITIONAL UNITS MOD - ROME (AUM-ROM)]
  
[http://www.twcenter.net/forums/showthread.php?t=429938 ADDITIONAL UNITS MOD - SHOGUN (AUM-SHO)]
+
[https://www.twcenter.net/forums/showthread.php?680987 ADDITIONAL UNITS MOD - ATTILA (AUM-ATT)]
  
  
 +
You need to download the '''Pack File Manager'''. A note about the use of the "Pack File Manager" for all players who are not experienced how to use this tool. I recommend to be very careful what you edit in the database tables. One wrong entry can cause crashes. Please create a backup before you edit a mod in case that it doesn't load anymore after you changed it.
  
Please create a backup before you edit the pack file in case that it doesn't load anymore after you changed it.
 
  
 +
[https://www.twcenter.net/forums/showthread.php?759230 Pack File Manager]
  
All tables here are shown with the "vanilla standard table" names between " ". In the pack files of several unit packs these tables have prefixes like this "'''aum_'''" or "'''my_units_'''" or "'''nameofmod_'''".
 
  
 +
Under the title you see in which '''AUM mods''' you can use the related customization. All AUM mod tables in all Total War games use this database table prefix: "'''aum_*'''"
  
You need to download the latest '''Pack File Manager''' in the related modding tools section of the TWC forums.
 
  
 +
=== How to change the unit "limits" ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
=== How to change the "limit" of an unit: ===
 
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
'''AUM-EMP AUM-NAP AUM-SHO table:'''
  
open the table "'''units_tables/units'''".
+
'''units_tables/*_units'''
  
Scroll to the right until you see the columns called "Unit_Limit"  and "MP_Unit_Limit". The first sets the limit
 
in the campaign mode and the second sets the limit in multiplayer mode.
 
  
If you change this value to "0", then you have unlimited units.
+
Scroll to the right until you see the columns "Unit_Limit" and "MP_Unit_Limit". If you change this value to "0", then you have unlimited units.
  
  
=== How to remove an unit from game: ===
+
'''AUM-ROM and AUM-ATT table:'''
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
'''main_units_tables/*_main_units'''
  
open the table
 
  
"'''units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions'''"
+
Columns: "campaign_cap" and "multiplayer_cap"
or
 
"'''units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions'''"
 
  
  
Search the unit and delete the whole row.
+
=== How to remove custom units or "unlocked vanilla units" ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
  
=== How to change the "size" of an unit: ===
+
Delete the unit which you don't want in these four tables: (not all mods use these tables)
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
'''Custom units:'''
  
open the table "'''unit_stats_land_tables/units_stats_land'''". The second column is called "'''Unit Size'''".
+
'''units_to_exclusive_faction_permissions_tables/*_units_to_exclusive_faction_permissions'''
  
 +
'''units_to_groupings_military_permissions_tables/*_units_to_groupings_military_permissions'''
  
There you can change the unit size for every unit.
 
  
 +
'''Unlocked vanilla units:'''
  
=== How to add "grenades" back to Grenadiers: ===
+
'''units_to_exclusive_faction_permissions_tables/*_van_units_to_exclusive_faction_permissions'''
(AUM-ETW  AUM-NAP)
 
  
 +
'''units_to_groupings_military_permissions_tables/*_van_units_to_groupings_military_permissions'''
  
open the table "'''unit_stats_land_tables/units_stats_land'''".
 
  
 +
=== How to remove custom units or "unlocked vanilla units" from the campaign buildings ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
Scroll to the right until you see a column called "'''Can throw grenades'''". There you can change "'''False'''" to "'''True'''".
 
  
 +
open these tables below and delete the rows: (not all mods use these tables)
  
=== How to add more "cannons" to the artillery units: ===
 
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
'''building_units_allowed_tables/*_building_units_allowed''' = custom units
  
open the table "'''unit_stats_land_tables/unit_stats_land'''".
+
'''building_units_allowed_tables/*_van_building_units_allowed''' = unlocked vanilla units
  
  
You can raise the values in the cells of these two columns: "'''size'''" and "'''# Artillery'''"
+
=== How to change the unit "size" ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
  
Example:
+
'''AUM-EMP AUM-NAP AUM-SHO table:'''
If you want to give them 6 instead of 4 cannons, then you have to change the "size" to 36 and the "# Artillery" to 6.
+
 
 +
'''unit_stats_land_tables/*_units_stats_land'''.  
 +
 
  
One cannon requires 6 men.
+
Column "'''Unit Size'''".
  
  
=== How to add an unit to a group of factions: ===
+
'''AUM-ROM and AUM-ATT tables:'''
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
'''main_units_tables/*_main_units'''
  
open the table
 
  
"'''units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions'''"
+
Columns: num_men / min_men_per_ship / max_men_per_ship
  
 +
(max_men_per_ship must be equal to num_men)
  
Then add a new row with the button. Edit the two new columns like this:
 
  
1. column = unit_ID / 2. column = faction_group
+
'''land_units_tables/*_land_units'''
  
  
=== How to add an unit to a specific faction: ===
+
Columns: num_mounts or horses
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
(only for cavalry units and num_mounts or horses must be equal to num_men or men)
  
open the table
 
  
"'''units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions'''"
+
=== How to add an unit to a group of factions ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
  
Then add a new row with the button. Edit the three new columns like this:
+
'''units_to_groupings_military_permissions_tables/*_units_to_groupings_military_permissions'''
  
1. column = euro_elite_light_infantry_windbuchse_jagers / 2. column = prussia / 3. column = true
 
  
 +
Add a new row with the button. Edit these columns:
  
The Prussians can recruit now the "Windbüchse Jaegers" from Austria in the "austria_home_regions" too.
+
1. column = unit_ID
 +
2. column = faction group
  
=== How to change the "recruitment region" of an unit: ===
 
(AUM-ETW  AUM-NAP)
 
  
 +
=== How to add an unit to a faction ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
open the table "'''units_tables/units'''".
 
  
 +
'''units_to_exlusive_faction_permissions_tables/*_units_to_exlusive_faction_permissions'''
  
Scroll to the right until you see the eight column called "'''Region IDRef'''". There you can change the region to global, europe, middle_east and others.
 
  
 +
Add a new row with the button. Edit these columns:
  
=== How to remove the required technology of an unit: ===
+
1. column = Unit_ID
(AUM-ETW  AUM-NAP  AUM-SHO)
+
2. column = faction
 +
3. column = true
  
  
open the table "'''unit_required_technology_junctions_tables/unit_required_technology_junction'''".
+
=== How to remove the required technology ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
  
There you can delete the entry for your unit.
+
'''unit_required_technology_junctions_tables/*_unit_required_technology_junctions'''
  
  
=== How to change the "melee weapon" from "sword" to "bayonet": ===
+
Delete the row. (not all mods use this table)
(AUM-ETW  AUM-NAP)
 
  
  
open the table "'''unit_stats_land_tables/units_stats_land'''".
+
=== How to change the "experience" from the recruitment buildings ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
- scroll to the column "'''Animation table'''" and replace "'''man_musket_sabre" with "man_musket'''"
 
  
- change the "'''Warscape equipment theme'''" from "'''x_euro_musket_sabre'''" to "'''x_euro_musket'''"
+
'''building_units_allowed_tables/*_building_units_allowed'''.
  
- change the "'''Melee weapon'''" from "'''sword'''" to "'''plug_bayonet'''"
 
  
- from the column "'''Melee weapon'''" go five columns to the right where the column is called "'''unknown'''" and change there "'''foot_sword'''" to "'''foot_bayonet'''"
+
In the column "'''Experience'''" you can add these values = 0, 1, 2, 3, 4, 5, 6
  
  
The unit uses now a bayonet instead of a sword.
+
=== How to change the "availability" in the custom battles ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
  
=== How to change the "model/texture" of a land unit: ===
+
'''AUM-EMP AUM-NAP AUM-SHO table:'''
(AUM-ETW)
 
  
 +
'''units_tables/*_units'''
  
open the table "'''unit_stats_land_tables/units_stats_land'''".
 
  
Scroll to the column nr. 8 which is called "'''model'''".
+
Add a "'''True'''" or "'''False'''" value in these columns: '''Early_availability / Late_availability'''
  
  
There you can change the existing models for every unit. Be sure that you change it to an already included model otherwise you get CTDs.
+
'''AUM-ROM and AUM-ATT table:'''
  
 +
'''units_custom_battle_permissions_tables/*_units_custom_battle_permissions'''
  
=== How to change the "model/texture" of a naval crew marines unit: ===
 
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
Columns: faction / general unit (if the unit should be also a General) / unit / allowed as siege attacker / allowed as siege defender
  
open the table "'''unit_stats_naval_crew_tables/unit_stats_naval_crew'''". Scroll to the column which is called "'''model'''".
 
  
There you can change the existing models for every unit. Be sure that you change it to an already included model otherwise you get CTDs.
+
=== How to change the "campaign movement rate" ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
  
=== How to add "rank_fire" to an unit or remove "platoon_fire": ===
+
'''AUM-EMP AUM-NAP AUM-SHO table:'''
(AUM-ETW  AUM-NAP)
 
  
 +
'''units_tables/*_units'''
  
open the table "'''unit_to_unit_abilities_junction_tables/unit_to_unit_abilities_junction'''"
 
  
 +
Change the value in the column "'''Campaign_Map_Action_Points'''".
  
There you can see which unit has which abilities. Several units have "rank_fire" already activated.
 
  
Add a new row with the button. Edit the two columns like this:
+
'''AUM-ROM and AUM-ATT table:'''
  
1. column = UNIT_ID / 2. column = rank_fire
+
'''land_units_tables/*_land_units'''.  
  
  
If an unit can use "platoon_fire_grouped" and/or "improved_platoon_fire_grouped", then the unit will use this two firing drills instead of "rank_fire".
+
Change the value in the column
 +
"'''Campaign_Action_Points'''".
  
If you want to be sure that your unit only uses "rank_fire", then you have to delete all rows where the firing drill "platoon..." and "improved_platoon..." is shown.
 
  
 +
=== How to remove abilities from units ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM  AUM-ATT)'''
  
=== How to change the name of an unit: ===
 
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
'''AUM-EMP AUM-NAP AUM-SHO table:'''
  
open a "'''language.pack'''" like the [http://www.twcenter.net/forums/showthread.php?t=340442 UPC] and go to the bottom of the table. The custom units are mostly added below the vanilla units. Or added on the top of the file.
+
'''unit_to_unit_abilities_junctions_tables/*_unit_to_unit_abilities_junctions''' = custom units
  
For every unit there are three rows included > 1. names / 2. short description / 3. long description
+
'''unit_to_unit_abilities_junctions_tables/*_van_unit_to_unit_abilities_junctions''' = vanilla units
  
1. units_on_screen_name_UNIT_ID
+
(not all mods use these tables)
  
2. unit_description_texts_description_text_UNIT_ID
 
  
3. unit_description_texts_long_description_text_UNIT_ID
+
'''AUM-ROM and AUM-ATT table:'''
  
 +
'''land_units_to_unit_abilities_junctions_tables/*_units_to_unit_abilities_junctions'''
  
Don't change anything in the first column. In the second column you can add your new custom text.
 
  
 +
=== How to add "grenades" back to Grenadiers ===
 +
'''(AUM-EMP  AUM-NAP)'''
  
=== How to change the "experience" that the units are getting from their recruitment building: ===
 
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
'''unit_stats_land_tables/*_units_stats_land'''
  
open the table "'''unit_buildings_allowed_tables/unit_buildings_allowed'''"
 
  
In the column "'''Experience'''" you can give to the unit these values = 0, 1, 2 and 3
+
Scroll to the right until you see the column "'''Can throw grenades'''". There you can change "'''False'''" to "'''True'''" to enable grenades.
  
=== How to change the "availability" of an unit in the "early" and "late" custom battles: ===
 
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
 +
=== How to add more "cannons" to the artillery units ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO)'''
  
open the table "'''units_tables/units'''"
 
  
There you can add a "'''True'''" or "'''False'''" value in these columns below:
+
'''unit_stats_land_tables/*_unit_stats_land'''
'''Early_availability
 
Late_availability'''
 
  
  
=== How to change the "campaign movement rate" of an unit: ===
+
You can raise these values in these two columns: "'''Men'''" and "'''Artillery'''"
(AUM-ETW  AUM-NAP  AUM-SHO)
 
  
  
open the table "'''units_tables/units'''"
+
Example:
  
There you can change the value in the "'''Campaign_Map_Action_Points'''".
+
If you want to give them 6 instead of 4 cannons, then you have to change the "Men" to 36 and the "Artillery" to 6. One cannon requires 6 men.
  
  
=== How to give the "trading ability" to a ship: ===
+
=== How to give the "trading ability" to a ship ===
(AUM-ETW AUM-NAP)
+
'''(AUM-EMP AUM-NAP)'''
  
  
open the table "'''unit_stats_naval_tables/units_stats_naval'''". Scroll to the third last column which is called "'''Can_trade'''".
+
'''unit_stats_naval_tables/*_units_stats_naval'''  
  
Change the "'''False'''" value to "'''True'''" to give to that ship the "'''trading ability'''".
 
  
 +
Scroll to the third last column "'''Can_trade'''". Change the "'''False'''" value to "'''True'''" to assign the "'''trading ability'''" to this ship.
  
=== How to enable the „bullet trails“ for the custom AUM projectiles: ===
 
(AUM-ETW)
 
  
 +
=== How to remove the changed vanilla special abilities in AUM-SHO ===
 +
'''(AUM-SHO)'''
  
open the table "'''projectiles_tables/aum_projectiles'''"
 
  
Change the value in the column "'''Trail'''" from "'''none'''" to "'''alpha_bullet'''". This cell must have an entry. If you switch back to no bullet trails, you have to write "'''none'''" there. You mustn't leave it blank.
+
remove the table '''unit_special_abilities_tables/*_van_unit_special_abilities'''
  
  
Cheers
+
Enjoy the customization
  
 
Swiss Halberdier
 
Swiss Halberdier
 
[[Category:ETW Modding]]
 
[[Category:ETW Modding]]

Latest revision as of 03:26, 18 February 2020

How to customize "Unit Pack Mods"

Here is a tutorial how you can add, change or delete content within Unit Pack Mods.


ADDITIONAL UNITS MOD - EMPIRE (AUM-EMP)

ADDITIONAL UNITS MOD - NAPOLEON (AUM-NAP)

ADDITIONAL UNITS MOD - SHOGUN (AUM-SHO)

ADDITIONAL UNITS MOD - ROME (AUM-ROM)

ADDITIONAL UNITS MOD - ATTILA (AUM-ATT)


You need to download the Pack File Manager. A note about the use of the "Pack File Manager" for all players who are not experienced how to use this tool. I recommend to be very careful what you edit in the database tables. One wrong entry can cause crashes. Please create a backup before you edit a mod in case that it doesn't load anymore after you changed it.


Pack File Manager


Under the title you see in which AUM mods you can use the related customization. All AUM mod tables in all Total War games use this database table prefix: "aum_*"


How to change the unit "limits"

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


AUM-EMP AUM-NAP AUM-SHO table:

units_tables/*_units


Scroll to the right until you see the columns "Unit_Limit" and "MP_Unit_Limit". If you change this value to "0", then you have unlimited units.


AUM-ROM and AUM-ATT table:

main_units_tables/*_main_units


Columns: "campaign_cap" and "multiplayer_cap"


How to remove custom units or "unlocked vanilla units"

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


Delete the unit which you don't want in these four tables: (not all mods use these tables)

Custom units:

units_to_exclusive_faction_permissions_tables/*_units_to_exclusive_faction_permissions

units_to_groupings_military_permissions_tables/*_units_to_groupings_military_permissions


Unlocked vanilla units:

units_to_exclusive_faction_permissions_tables/*_van_units_to_exclusive_faction_permissions

units_to_groupings_military_permissions_tables/*_van_units_to_groupings_military_permissions


How to remove custom units or "unlocked vanilla units" from the campaign buildings

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


open these tables below and delete the rows: (not all mods use these tables)


building_units_allowed_tables/*_building_units_allowed = custom units

building_units_allowed_tables/*_van_building_units_allowed = unlocked vanilla units


How to change the unit "size"

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


AUM-EMP AUM-NAP AUM-SHO table:

unit_stats_land_tables/*_units_stats_land.


Column "Unit Size".


AUM-ROM and AUM-ATT tables:

main_units_tables/*_main_units


Columns: num_men / min_men_per_ship / max_men_per_ship

(max_men_per_ship must be equal to num_men)


land_units_tables/*_land_units


Columns: num_mounts or horses

(only for cavalry units and num_mounts or horses must be equal to num_men or men)


How to add an unit to a group of factions

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


units_to_groupings_military_permissions_tables/*_units_to_groupings_military_permissions


Add a new row with the button. Edit these columns:

1. column = unit_ID 2. column = faction group


How to add an unit to a faction

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


units_to_exlusive_faction_permissions_tables/*_units_to_exlusive_faction_permissions


Add a new row with the button. Edit these columns:

1. column = Unit_ID 2. column = faction 3. column = true


How to remove the required technology

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


unit_required_technology_junctions_tables/*_unit_required_technology_junctions


Delete the row. (not all mods use this table)


How to change the "experience" from the recruitment buildings

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


building_units_allowed_tables/*_building_units_allowed.


In the column "Experience" you can add these values = 0, 1, 2, 3, 4, 5, 6


How to change the "availability" in the custom battles

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


AUM-EMP AUM-NAP AUM-SHO table:

units_tables/*_units


Add a "True" or "False" value in these columns: Early_availability / Late_availability


AUM-ROM and AUM-ATT table:

units_custom_battle_permissions_tables/*_units_custom_battle_permissions


Columns: faction / general unit (if the unit should be also a General) / unit / allowed as siege attacker / allowed as siege defender


How to change the "campaign movement rate"

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


AUM-EMP AUM-NAP AUM-SHO table:

units_tables/*_units


Change the value in the column "Campaign_Map_Action_Points".


AUM-ROM and AUM-ATT table:

land_units_tables/*_land_units.


Change the value in the column "Campaign_Action_Points".


How to remove abilities from units

(AUM-EMP AUM-NAP AUM-SHO AUM-ROM AUM-ATT)


AUM-EMP AUM-NAP AUM-SHO table:

unit_to_unit_abilities_junctions_tables/*_unit_to_unit_abilities_junctions = custom units

unit_to_unit_abilities_junctions_tables/*_van_unit_to_unit_abilities_junctions = vanilla units

(not all mods use these tables)


AUM-ROM and AUM-ATT table:

land_units_to_unit_abilities_junctions_tables/*_units_to_unit_abilities_junctions


How to add "grenades" back to Grenadiers

(AUM-EMP AUM-NAP)


unit_stats_land_tables/*_units_stats_land


Scroll to the right until you see the column "Can throw grenades". There you can change "False" to "True" to enable grenades.


How to add more "cannons" to the artillery units

(AUM-EMP AUM-NAP AUM-SHO)


unit_stats_land_tables/*_unit_stats_land


You can raise these values in these two columns: "Men" and "Artillery"


Example:

If you want to give them 6 instead of 4 cannons, then you have to change the "Men" to 36 and the "Artillery" to 6. One cannon requires 6 men.


How to give the "trading ability" to a ship

(AUM-EMP AUM-NAP)


unit_stats_naval_tables/*_units_stats_naval


Scroll to the third last column "Can_trade". Change the "False" value to "True" to assign the "trading ability" to this ship.


How to remove the changed vanilla special abilities in AUM-SHO

(AUM-SHO)


remove the table unit_special_abilities_tables/*_van_unit_special_abilities


Enjoy the customization

Swiss Halberdier