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
Line 3: Line 3:
 
Here is my tutorial how you can add, change or remove something in my several AUM mods.
 
Here is my tutorial how you can add, change or remove something in my several AUM mods.
  
 
AUM Empire Wiki page = [[Additional_Units_Mod]]
 
 
AUM Napoleon Wiki page = [[Additional_Units_Mod_-_Napoleon]]
 
  
 
[http://www.twcenter.net/forums/showthread.php?t=250655 ADDITIONAL UNITS MOD - EMPIRE (AUM-EMP)]
 
[http://www.twcenter.net/forums/showthread.php?t=250655 ADDITIONAL UNITS MOD - EMPIRE (AUM-EMP)]
Line 15: Line 11:
  
 
[http://www.twcenter.net/forums/showthread.php?623543 ADDITIONAL UNITS MOD - ROME (AUM-ROM)]
 
[http://www.twcenter.net/forums/showthread.php?623543 ADDITIONAL UNITS MOD - ROME (AUM-ROM)]
 
 
Please create a backup before you edit the pack file in case that it doesn't load anymore after you changed it.
 
  
  
Line 23: Line 16:
  
  
You need to download the latest '''Pack File Manager''' in the related modding tools section of the TWC forums.
+
You need to download the latest '''Pack File Manager''' in the related modding tools section of the TWC forums. A note to the use of the "Pack File Manager" for all players that are not experienced how to use this tool. I recommend to be very careful what you edit in the db tables. One wrong entry can cause CTD's if you don't know exactly what you're doing. Please create a backup before you edit the pack file in case that it doesn't load anymore after you changed it.
 
 
 
 
A note to the use of the "Pack File Manager" for all players that are not experienced how to use this tool. I recommend to be very careful what you edit in the db tables. One wrong entry can cause CTD's if you don't know exactly what you're doing.
 
  
  
Line 35: Line 25:
  
  
 +
=== How to change the unit "limits" ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
  
=== How to change the "limits" of the units ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
  
 
"'''units_tables/units'''".
 
"'''units_tables/units'''".
 +
  
 
Scroll to the right until you see the columns "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". 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.
Line 46: Line 37:
 
'''AUM-ROM table:'''
 
'''AUM-ROM table:'''
  
  "'''main_units/aum_main_units'''"
+
 
 +
  '''"main_units/aum_main_units"'''
 +
 
  
 
Columns: "campaign_cap" and "multiplayer_cap"
 
Columns: "campaign_cap" and "multiplayer_cap"
Line 56: Line 49:
  
 
"'''units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions'''"
 
"'''units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions'''"
 +
 
or
 
or
 +
 
"'''units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions'''"
 
"'''units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions'''"
  
Line 63: Line 58:
  
  
=== How to change the "sizes" of the units ===
+
=== How to change the unit "size" ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
  
Line 71: Line 66:
  
 
'''AUM-ROM tables:'''  
 
'''AUM-ROM tables:'''  
 +
  
 
"'''main_units/aum_main_units'''"
 
"'''main_units/aum_main_units'''"
Line 95: Line 91:
  
  
=== How to add an unit to a specific faction ===
+
=== How to add an unit to a faction ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 +
  
 
"'''units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions'''"
 
"'''units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions'''"
Line 113: Line 110:
  
  
=== How to change the "recruitment region" of an unit ===
+
=== How to change the "recruitment region" ===
 
('''AUM-EMP  AUM-NAP)'''
 
('''AUM-EMP  AUM-NAP)'''
  
Line 120: Line 117:
  
  
=== How to remove the required technology of an unit ===
+
=== How to remove the required technology ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
  
Line 127: Line 124:
  
  
=== How to change the name of an unit ===
+
=== How to change the "experience" from the recruitment buildings ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
  
  
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_buildings_allowed_tables/unit_buildings_allowed'''". In the column "'''Experience'''" you can give to the unit these values = 0, 1, 2, 3 and 4
  
For every unit there are three rows included: 1. names / 2. short description / 3. long description
 
  
1. units_on_screen_name_UNIT_ID
+
=== How to change the "availability" in the custom battles ===
 
 
2. unit_description_texts_description_text_UNIT_ID
 
 
 
3. unit_description_texts_long_description_text_UNIT_ID
 
 
 
 
 
Don't change anything in the first column. In the second column you can add your new custom text.
 
 
 
 
 
=== How to change the "experience" which the units are getting from their recruitment building ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
 
 
 
 
"'''unit_buildings_allowed_tables/unit_buildings_allowed'''"
 
 
 
In the column "'''Experience'''" you can give to the unit these values = 0, 1, 2, 3 and 4
 
 
 
 
 
=== How to change the "availability" of an unit in the "early" and "late" custom battles ===
 
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
  
Line 160: Line 137:
 
"'''units_tables/units'''"
 
"'''units_tables/units'''"
  
There you can add a "'''True'''" or "'''False'''" value in these columns below:
+
There you can add a "'''True'''" or "'''False'''" value in these columns: '''Early_availability Late_availability'''
'''Early_availability Late_availability'''
 
  
  
 
'''AUM-ROM table:'''  
 
'''AUM-ROM table:'''  
 +
  
 
"'''units_to_exclusive_faction_permissions/aum_units_to_exclusive_faction_permissions'''"
 
"'''units_to_exclusive_faction_permissions/aum_units_to_exclusive_faction_permissions'''"
Line 171: Line 148:
  
  
=== How to change the "campaign movement rate" of an unit ===
+
=== How to change the "campaign movement rate" ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
  
Line 178: Line 155:
  
 
There you can change the value in the column "'''Campaign_Map_Action_Points'''".
 
There you can change the value in the column "'''Campaign_Map_Action_Points'''".
 +
  
 
'''AUM-ROM table:'''  
 
'''AUM-ROM table:'''  
 +
  
 
"'''land_units/aum_land_units'''"
 
"'''land_units/aum_land_units'''"
Line 186: Line 165:
 
=== How to remove "unlocked vanilla" or custom units completely ===
 
=== How to remove "unlocked vanilla" or custom units completely ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 +
  
 
Delete the unit that you don't want in these four tables:
 
Delete the unit that you don't want in these four tables:
Line 192: Line 172:
  
 
aum_units_to_exclusive_faction_permissions
 
aum_units_to_exclusive_faction_permissions
 
  
 
aum_units_to_groupings_military_permissions
 
aum_units_to_groupings_military_permissions
Line 200: Line 179:
  
 
aum_van_units_to_exclusive_faction_permissions
 
aum_van_units_to_exclusive_faction_permissions
 
  
 
aum_van_units_to_groupings_military_permissions
 
aum_van_units_to_groupings_military_permissions
  
  
=== How to remove the technology requirements of the unlocked vanilla and custom units ===
+
=== How to remove the added abilities of the vanilla units completely ===  
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
  
open one of these tables below and delete the related unit entries
 
  
'''aum_unit_required_technology_junctions''' = custom units
+
delete the complete table "'''unit_to_unit_abilities_junctions/aum_van_unit_to_unit_abilities_junctions'''"
 +
 
 +
 
 +
=== How to change the name of an unit ===
 +
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
  
  
'''aum_van_unit_required_technology_junctions''' = unlocked vanilla units
+
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.
  
 +
For every unit there are three rows included: 1. names / 2. short description / 3. long description
 +
 +
1. units_on_screen_name_UNIT_ID
 +
 +
2. unit_description_texts_description_text_UNIT_ID
 +
 +
3. unit_description_texts_long_description_text_UNIT_ID
  
=== How to remove the added abilities of the vanilla units completely ===
 
'''(AUM-EMP  AUM-NAP  AUM-SHO  AUM-ROM)'''
 
  
delete the complete table "'''unit_to_unit_abilities_junctions/aum_van_unit_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 "rank_fire" to an unit or remove "platoon_fire" ===
+
=== How to add "rank_fire" or remove "platoon_fire" ===
 
'''(AUM-EMP  AUM-NAP)'''
 
'''(AUM-EMP  AUM-NAP)'''
  
Line 247: Line 233:
  
  
"'''unit_stats_land_tables/units_stats_land'''".  
+
"'''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.
 
 
 
 
Scroll to the right until you see the column "'''Can throw grenades'''". There you can change "'''False'''" to "'''True'''" to enable grenades.
 
  
  
Line 271: Line 254:
  
  
"'''unit_stats_naval_tables/units_stats_naval'''". Scroll to the third last column "'''Can_trade'''".
+
"'''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.
 
 
Change the "'''False'''" value to "'''True'''" to assign the "'''trading ability'''" to this ship.
 
  
  
Line 285: Line 266:
  
  
=== How to activate/deactivate custom AUM-SHO or unlocked vanilla units in custom battle ===
+
=== How to remove the "pike_square_formation" or any other ability from AUM-SHO ===
 
'''(AUM-SHO)'''
 
'''(AUM-SHO)'''
 
> AUM-SHO units
 
 
"'''units_tables/aum_units'''"
 
  
 
> unlocked vanilla units
 
 
"'''units_tables/aum_van_units'''"
 
 
 
There you can set a "True" or "False" value in these three columns: '''Early_availability, Unknown, Late_availability'''
 
 
 
=== How to remove the "pike_square_formation" or any other ability from AUM-SHO ===
 
'''(AUM-SHO)'''
 
  
 
"'''unit_to_unit_abilities_junctions/aum_unit_to_unit_abilities_junctions'''" = custom AUM-SHO units
 
"'''unit_to_unit_abilities_junctions/aum_unit_to_unit_abilities_junctions'''" = custom AUM-SHO units
Line 315: Line 281:
 
=== How to remove "unlocked vanilla" or custom units from the campaign buildings of AUM-SHO ===
 
=== How to remove "unlocked vanilla" or custom units from the campaign buildings of AUM-SHO ===
 
'''(AUM-SHO)'''
 
'''(AUM-SHO)'''
 +
  
 
- open one of these tables below and delete the related unit entries
 
- open one of these tables below and delete the related unit entries
 +
  
 
'''aum_building_units_allowed''' = custom AUM-SHO units
 
'''aum_building_units_allowed''' = custom AUM-SHO units
Line 326: Line 294:
 
=== How to remove the changed vanilla special abilities in AUM-SHO ===
 
=== How to remove the changed vanilla special abilities in AUM-SHO ===
 
'''(AUM-SHO)'''
 
'''(AUM-SHO)'''
 +
  
 
remove the table "'''aum_van_unit_special_abilities'''"
 
remove the table "'''aum_van_unit_special_abilities'''"
Line 334: Line 303:
  
  
"'''_kv_morale/aum_van_kv_morale'''" and change the general_aura_radius value
+
"'''_kv_morale/aum_van_kv_morale'''" and change the general_aura_radius value. Vanilla is set to 75. AUM-SHO (both versions) and DMS are set to 100  
 
 
Vanilla is set to 75
 
 
 
AUM-SHO (both versions) and DMS are set to 100  
 
  
  

Revision as of 17:29, 5 October 2013

How to customize "Unit Pack Mods"

Here is my tutorial how you can add, change or remove something in my several AUM 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)


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_".


You need to download the latest Pack File Manager in the related modding tools section of the TWC forums. A note to the use of the "Pack File Manager" for all players that are not experienced how to use this tool. I recommend to be very careful what you edit in the db tables. One wrong entry can cause CTD's if you don't know exactly what you're doing. Please create a backup before you edit the pack file 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.


How to change the unit "limits"

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


"units_tables/units".


Scroll to the right until you see the columns "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.


AUM-ROM table:


"main_units/aum_main_units"


Columns: "campaign_cap" and "multiplayer_cap"


How to remove units

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


"units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions"

or

"units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions"


Search the unit and delete the row.


How to change the unit "size"

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


"unit_stats_land_tables/units_stats_land". The second column is called "Unit Size". There you can change the unit size.


AUM-ROM tables:


"main_units/aum_main_units"

Columns: num_men / min_men_per_ship / max_men_per_ship

"land_units/aum_land_units"

Columns: num_mounts (only for cavalry units)


How to add an unit to a group of factions

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


"units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions"


Then add a new row with the button. Edit the two new columns like this:

1. column = unit_ID

2. column = faction_group


How to add an unit to a faction

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


"units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions"


Then add a new row with the button. Edit the three new columns like this (AUM-EMP example):

1. column = euro_elite_light_infantry_windbuchse_jagers

2. column = prussia

3. column = true


The Prussians can recruit now the "Windbüchse Jaegers" from Austria in the "austria_home_regions" too.


How to change the "recruitment region"

(AUM-EMP AUM-NAP)


"units_tables/units". Scroll to the right until you see the column "Region IDRef". There you can change the region to global, europe, middle_east and others (AUM-EMP example).


How to remove the required technology

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


"unit_required_technology_junctions_tables/unit_required_technology_junction". There you can delete the entry of the related unit.


How to change the "experience" from the recruitment buildings

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


"unit_buildings_allowed_tables/unit_buildings_allowed". In the column "Experience" you can give to the unit these values = 0, 1, 2, 3 and 4


How to change the "availability" in the custom battles

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


"units_tables/units"

There you can add a "True" or "False" value in these columns: Early_availability Late_availability


AUM-ROM table:


"units_to_exclusive_faction_permissions/aum_units_to_exclusive_faction_permissions"

Columns: key = unit / faction / allowed


How to change the "campaign movement rate"

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


"units_tables/units"

There you can change the value in the column "Campaign_Map_Action_Points".


AUM-ROM table:


"land_units/aum_land_units"


How to remove "unlocked vanilla" or custom units completely

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


Delete the unit that you don't want in these four tables:

Custom units:

aum_units_to_exclusive_faction_permissions

aum_units_to_groupings_military_permissions


Unlocked vanilla units:

aum_van_units_to_exclusive_faction_permissions

aum_van_units_to_groupings_military_permissions


How to remove the added abilities of the vanilla units completely

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


delete the complete table "unit_to_unit_abilities_junctions/aum_van_unit_to_unit_abilities_junctions"


How to change the name of an unit

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


open a "language.pack" like the 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.

For every unit there are three rows included: 1. names / 2. short description / 3. long description

1. units_on_screen_name_UNIT_ID

2. unit_description_texts_description_text_UNIT_ID

3. unit_description_texts_long_description_text_UNIT_ID


Don't change anything in the first column. In the second column you can add your new custom text.


How to add "rank_fire" or remove "platoon_fire"

(AUM-EMP AUM-NAP)


"unit_to_unit_abilities_junction_tables/unit_to_unit_abilities_junction"


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:

1. column = UNIT_ID

2. column = rank_fire


If an unit can use "platoon_fire_grouped" and/or "improved_platoon_fire_grouped", then the unit will use these two firing drills instead of "rank_fire".

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 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 the cells of these two columns: "size" and "# Artillery"


Example: 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. 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 enable the „bullet trails“ for the custom AUM projectiles

(AUM-EMP)


"projectiles_tables/aum_projectiles"

Change the value in the column "Trail" from "none" to "alpha_bullet". If you switch back to no bullet trails, you have to write "none" there. This cell must have an entry.


How to remove the "pike_square_formation" or any other ability from AUM-SHO

(AUM-SHO)


"unit_to_unit_abilities_junctions/aum_unit_to_unit_abilities_junctions" = custom AUM-SHO units


"unit_to_unit_abilities_junctions/aum_van_unit_to_unit_abilities_junctions" = vanilla units


Delete all rows with the entries "pike_square_formation".


How to remove "unlocked vanilla" or custom units from the campaign buildings of AUM-SHO

(AUM-SHO)


- open one of these tables below and delete the related unit entries


aum_building_units_allowed = custom AUM-SHO units


aum_van_building_units_allowed = unlocked vanilla units


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

(AUM-SHO)


remove the table "aum_van_unit_special_abilities"


How to change the "General aura radius" in AUM-SHO

(AUM-SHO)


"_kv_morale/aum_van_kv_morale" and change the general_aura_radius value. Vanilla is set to 75. AUM-SHO (both versions) and DMS are set to 100


Cheers

Swiss Halberdier