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
Line 33: Line 33:
 
open the table "'''units_tables/units'''".
 
open the table "'''units_tables/units'''".
  
Scroll to the right until you see the columns called "Unit_Limit" and "MP_Unit_Limit". The first sets the limit  
+
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.
 
in the campaign mode and the second sets the limit in multiplayer mode.
  
Line 60: Line 60:
  
  
There you can change the unit size for every unit.
+
There you can change the unit size.
  
  
Line 70: Line 70:
  
  
Scroll to the right until you see a column called "'''Can throw grenades'''". There you can change "'''False'''" to "'''True'''".
+
Scroll to the right until you see the column "'''Can throw grenades'''". There you can change "'''False'''" to "'''True'''" to enable grenades.
  
  
Line 80: Line 80:
  
  
You can raise the values in the cells of these two columns: "'''size'''" and "'''# Artillery'''"
+
You can raise these values in the cells of these two columns: "'''size'''" and "'''# Artillery'''"
  
  
 
Example:
 
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.
 
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 add an unit to a group of factions: ===
 
=== How to add an unit to a group of factions: ===
Line 97: Line 98:
 
Then add a new row with the button. Edit the two new columns like this:
 
Then add a new row with the button. Edit the two new columns like this:
  
1. column = unit_ID / 2. column = faction_group
+
1. column = unit_ID  
 +
 
 +
2. column = faction_group
  
  
Line 109: Line 112:
  
  
Then add a new row with the button. Edit the three new columns like this:
+
Then add a new row with the button. Edit the three new columns like this (AUM-ETW example):
 +
 
 +
1. column = euro_elite_light_infantry_windbuchse_jagers
  
1. column = euro_elite_light_infantry_windbuchse_jagers / 2. column = prussia / 3. column = true
+
2. column = prussia
 +
 
 +
3. column = true
  
  
 
The Prussians can recruit now the "Windbüchse Jaegers" from Austria in the "austria_home_regions" too.
 
The Prussians can recruit now the "Windbüchse Jaegers" from Austria in the "austria_home_regions" too.
 +
  
 
=== How to change the "recruitment region" of an unit: ===
 
=== How to change the "recruitment region" of an unit: ===
Line 123: Line 131:
  
  
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.
+
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-ETW example).
  
  
Line 133: Line 141:
  
  
There you can delete the entry for your unit.
+
There you can delete the entry of the related unit.
  
  
Line 160: Line 168:
 
open the table "'''unit_stats_land_tables/units_stats_land'''".  
 
open the table "'''unit_stats_land_tables/units_stats_land'''".  
  
Scroll to the column nr. 8 which is called "'''model'''".
+
Scroll to the column "'''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.
+
There you can change the used model for every unit. Be sure that you change it to an already included model otherwise you get CTDs.
  
  
Line 170: Line 178:
  
  
open the table "'''unit_stats_naval_crew_tables/unit_stats_naval_crew'''". Scroll to the column which is called "'''model'''".
+
open the table "'''unit_stats_naval_crew_tables/unit_stats_naval_crew'''". Scroll to the column "'''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.
+
There you can change the used model for every unit. Be sure that you change it to an already included model otherwise you get CTDs.
  
  
Line 186: Line 194:
 
Add a new row with the button. Edit the two columns like this:
 
Add a new row with the button. Edit the two columns like this:
  
1. column = UNIT_ID / 2. column = rank_fire
+
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 this two firing drills instead of "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.
 
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.
Line 200: Line 210:
 
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.
 
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
+
For every unit there are three rows included: 1. names / 2. short description / 3. long description
  
 
1. units_on_screen_name_UNIT_ID
 
1. units_on_screen_name_UNIT_ID
Line 212: Line 222:
  
  
=== How to change the "experience" that the units are getting from their recruitment building: ===
+
=== How to change the "experience" which the units are getting from their recruitment building: ===
 
(AUM-ETW  AUM-NAP  AUM-SHO)
 
(AUM-ETW  AUM-NAP  AUM-SHO)
  
Line 218: Line 228:
 
open the table "'''unit_buildings_allowed_tables/unit_buildings_allowed'''"
 
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
+
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: ===
 
=== How to change the "availability" of an unit in the "early" and "late" custom battles: ===
Line 227: Line 238:
  
 
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 below:
'''Early_availability
+
'''Early_availability Late_availability'''
Late_availability'''
 
  
  
Line 237: Line 247:
 
open the table "'''units_tables/units'''"
 
open the table "'''units_tables/units'''"
  
There you can change the value in the "'''Campaign_Map_Action_Points'''".
+
There you can change the value in the column "'''Campaign_Map_Action_Points'''".
  
  
Line 244: Line 254:
  
  
open the table "'''unit_stats_naval_tables/units_stats_naval'''". Scroll to the third last column which is called "'''Can_trade'''".
+
open the table "'''unit_stats_naval_tables/units_stats_naval'''". Scroll to the third last column "'''Can_trade'''".
  
Change the "'''False'''" value to "'''True'''" to give to that ship the "'''trading ability'''".
+
Change the "'''False'''" value to "'''True'''" to assign the "'''trading ability'''" to this ship.
  
  
Line 255: Line 265:
 
open the table "'''projectiles_tables/aum_projectiles'''"
 
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.
+
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.
  
  

Revision as of 01:35, 5 April 2011

How to customize "Unit Pack 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

ADDITIONAL UNITS MOD - EMPIRE (AUM-ETW)

ADDITIONAL UNITS MOD - NAPOLEON (AUM-NAP)

ADDITIONAL UNITS MOD - SHOGUN (AUM-SHO)


A note to the use of the PFM 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.


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.


How to change the "limit" of an unit:

(AUM-ETW AUM-NAP AUM-SHO)


open the table "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.


How to remove an unit from game:

(AUM-ETW AUM-NAP AUM-SHO)


open the table

"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 whole row.


How to change the "size" of an unit:

(AUM-ETW AUM-NAP AUM-SHO)


open the table "unit_stats_land_tables/units_stats_land". The second column is called "Unit Size".


There you can change the unit size.


How to add "grenades" back to Grenadiers:

(AUM-ETW AUM-NAP)


open the table "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-ETW AUM-NAP AUM-SHO)


open the table "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 add an unit to a group of factions:

(AUM-ETW AUM-NAP AUM-SHO)


open the table

"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 specific faction:

(AUM-ETW AUM-NAP AUM-SHO)


open the table

"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-ETW 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" of an unit:

(AUM-ETW AUM-NAP)


open the table "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-ETW example).


How to remove the required technology of an unit:

(AUM-ETW AUM-NAP AUM-SHO)


open the table "unit_required_technology_junctions_tables/unit_required_technology_junction".


There you can delete the entry of the related unit.


How to change the "melee weapon" from "sword" to "bayonet":

(AUM-ETW AUM-NAP)


open the table "unit_stats_land_tables/units_stats_land".

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

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


The unit uses now a bayonet instead of a sword.


How to change the "model/texture" of a land unit:

(AUM-ETW)


open the table "unit_stats_land_tables/units_stats_land".

Scroll to the column "model".


There you can change the used model for every unit. Be sure that you change it to an already included model otherwise you get CTDs.


How to change the "model/texture" of a naval crew marines unit:

(AUM-ETW AUM-NAP AUM-SHO)


open the table "unit_stats_naval_crew_tables/unit_stats_naval_crew". Scroll to the column "model".

There you can change the used model for every unit. Be sure that you change it to an already included model otherwise you get CTDs.


How to add "rank_fire" to an unit or remove "platoon_fire":

(AUM-ETW AUM-NAP)


open the table "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 change the name of an unit:

(AUM-ETW AUM-NAP AUM-SHO)


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 change the "experience" which the units are getting from their recruitment building:

(AUM-ETW AUM-NAP AUM-SHO)


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, 3 and 4


How to change the "availability" of an unit in the "early" and "late" custom battles:

(AUM-ETW AUM-NAP AUM-SHO)


open the table "units_tables/units"

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


How to change the "campaign movement rate" of an unit:

(AUM-ETW AUM-NAP AUM-SHO)


open the table "units_tables/units"

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


How to give the "trading ability" to a ship:

(AUM-ETW AUM-NAP)


open the table "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-ETW)


open the table "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.


Cheers

Swiss Halberdier