Difference between revisions of "How to customize Unit Pack Mods"
Line 20: | Line 20: | ||
=== How to change the "limit" of an unit: === | === How to change the "limit" of an unit: === | ||
− | > open | + | > open the table "'''units_tables/units'''". |
Scroll to the right until you see a column called "Unit Limit" (16th). | Scroll to the right until you see a column called "Unit Limit" (16th). | ||
Line 28: | Line 28: | ||
=== How to remove an unit from game: === | === How to remove an unit from game: === | ||
− | > open | + | > open the table |
"'''units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions'''" | "'''units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions'''" | ||
Line 39: | Line 39: | ||
=== How to change the "size" of an unit: === | === How to change the "size" of an unit: === | ||
− | > open | + | > open the table "'''unit_stats_land_tables/units_stats_land'''". The second column is called "Unit Size". |
Line 46: | Line 46: | ||
=== How to add "grenades" back to Grenadiers: === | === How to add "grenades" back to Grenadiers: === | ||
− | > open | + | > open the table "'''unit_stats_land_tables/units_stats_land'''". |
Line 53: | Line 53: | ||
=== How to add an unit to a group of factions: === | === How to add an unit to a group of factions: === | ||
− | > open | + | > open the table |
"'''units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions'''" | "'''units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions'''" | ||
Line 64: | Line 64: | ||
=== How to add an unit to a specific faction: === | === How to add an unit to a specific faction: === | ||
− | > open | + | > open the table |
"'''units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions'''" | "'''units_to_exlusive_faction_permissions/units_to_exlusive_faction_permissions'''" | ||
Line 78: | Line 78: | ||
=== How to change the "recruitment region" of an unit: === | === How to change the "recruitment region" of an unit: === | ||
− | > open | + | > open the table "'''units_tables/units'''". |
Line 85: | Line 85: | ||
=== How to remove the required technology of an unit: === | === How to remove the required technology of an unit: === | ||
− | > open | + | > open the table "'''unit_required_technology_junctions_tables/unit_required_technology_junction'''". |
Line 92: | Line 92: | ||
=== How to change the "melee weapon" from "sword" to "bayonet": === | === How to change the "melee weapon" from "sword" to "bayonet": === | ||
− | > open | + | > open the table "'''unit_stats_land_tables/units_stats_land'''". |
- scroll to the column "Animation table" and replace "man_musket_sabre" with "man_musket" | - scroll to the column "Animation table" and replace "man_musket_sabre" with "man_musket" | ||
Line 107: | Line 107: | ||
=== How to change the "model/texture" of an unit: === | === How to change the "model/texture" of an unit: === | ||
− | > open | + | > open the table "'''unit_stats_land_tables/units_stats_land'''". |
Scroll to the column nr. 8 which is called "model". | Scroll to the column nr. 8 which is called "model". | ||
Line 116: | Line 116: | ||
=== How to add "rank_fire" to an unit or remove "platoon_fire": === | === How to add "rank_fire" to an unit or remove "platoon_fire": === | ||
− | > open | + | > open the table "'''unit_to_unit_abilities_junction_tables/unit_to_unit_abilities_junction'''" |
Revision as of 19:16, 8 February 2010
Contents
- 1 How to customize "Unit Pack Mods"
- 1.1 How to change the "limit" of an unit:
- 1.2 How to remove an unit from game:
- 1.3 How to change the "size" of an unit:
- 1.4 How to add "grenades" back to Grenadiers:
- 1.5 How to add an unit to a group of factions:
- 1.6 How to add an unit to a specific faction:
- 1.7 How to change the "recruitment region" of an unit:
- 1.8 How to remove the required technology of an unit:
- 1.9 How to change the "melee weapon" from "sword" to "bayonet":
- 1.10 How to change the "model/texture" of an unit:
- 1.11 How to add "rank_fire" to an unit or remove "platoon_fire":
- 1.12 How to change the name of an unit:
How to customize "Unit Pack Mods"
Because a lot of people asked me how they can "add / change / remove" something in my Additional Units Mod (AUM), I've created here a FAQ for you all.
AUM Wiki page = Additional_Units_Mod
Please create a backup before you edit the pack file in case that it doesn't load anymore after you changed it.
All tables are shown here with the "standard vanilla table" names between "". In the pack files of several unit packs they have prefixes like this "aum_" or "my_units_" or "nameofmod_".
Link to the Pack File Manager
Link to the DB Editor
You can open all pack files with these editors above. I recommend to use the DBEditor.
How to change the "limit" of an unit:
> open the table "units_tables/units".
Scroll to the right until you see a column called "Unit Limit" (16th).
There you can change the "1" or "2" to "10". If you change this to "0", then you have unlimited units.
How to remove an unit from game:
> open the table
"units_to_groupings_military_permissions_tables/units_to_groupings_military_permissions" or "units_to_exlusive_faction_permissions/aum_units_to_exlusive_faction_permissions"
Search the unit and delete the whole row.
How to change the "size" of an unit:
> open the table "unit_stats_land_tables/units_stats_land". The second column is called "Unit Size".
There you can change the unit size for every unit.
How to add "grenades" back to Grenadiers:
> open the table "unit_stats_land_tables/units_stats_land".
Scroll to the right until you see a column called "Can throw grenades". There you can change "false" to "true".
How to add an unit to a group of factions:
> 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:
> 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:
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:
> open the table "units_tables/units".
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.
How to remove the required technology of an unit:
> open the table "unit_required_technology_junctions_tables/unit_required_technology_junction".
There you can delete the entry for your unit.
How to change the "melee weapon" from "sword" to "bayonet":
> 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 an unit:
> open the table "unit_stats_land_tables/units_stats_land".
Scroll to the column nr. 8 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 add "rank_fire" to an unit or remove "platoon_fire":
> 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 this 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:
Open a "language.pack" and go to the bottom of the table.
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.
Cheers
Swiss Halberdier