From 3fde30a988f4fa8ea92076c3cda88bd13d7a53f4 Mon Sep 17 00:00:00 2001 From: Flugente Date: Fri, 10 May 2013 23:14:57 +0000 Subject: [PATCH] new feature: soldier profiles allows defining individual names/bodytypes/hair/skin/traits of soldiers and militia. The game will choose randomly from this pool. git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1672 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 7 +++ .../Profiles/SoldierProfileEnemyAdmin.xml | 62 +++++++++++++++++++ .../Profiles/SoldierProfileEnemyElite.xml | 62 +++++++++++++++++++ .../Profiles/SoldierProfileEnemyRegular.xml | 62 +++++++++++++++++++ .../Profiles/SoldierProfileMilitiaGreen.xml | 62 +++++++++++++++++++ .../Profiles/SoldierProfileMilitiaRegular.xml | 62 +++++++++++++++++++ .../Profiles/SoldierProfileMilitiaVeteran.xml | 62 +++++++++++++++++++ gamedir/Data-UB/Ja2_Options.ini | 7 +++ 8 files changed, 386 insertions(+) create mode 100644 gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyAdmin.xml create mode 100644 gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyElite.xml create mode 100644 gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyRegular.xml create mode 100644 gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaGreen.xml create mode 100644 gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaRegular.xml create mode 100644 gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaVeteran.xml diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index b37ca92fe..a0c14fd82 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -1580,6 +1580,13 @@ INDIVIDUAL_ENEMY_RANK = TRUE ;------------------------------------------------------------------------------------------------------------------------------ INDIVIDUAL_CIVILIAN_NAMES = TRUE +;------------------------------------------------------------------------------------------------------------------------------ +; Controls wether enemy soldiers/militiamen can use predefined profiles from TableData/Profiles. +; In the xml, one can specify name/bodytype/hair/skin/traits +; If selected, the game will select a newly created soldier's data from these profiles randomly +;------------------------------------------------------------------------------------------------------------------------------ +SOLDIER_PROFILES_ENEMY = TRUE +SOLDIER_PROFILES_MILITIA = FALSE ;------------------------------------------------------------------------------------------------------------------------------ ; If this is set tot TRUE, you can repaint one type of camouflage by using different type camo kit on self. You can also use diff --git a/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyAdmin.xml b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyAdmin.xml new file mode 100644 index 000000000..aceec30f6 --- /dev/null +++ b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyAdmin.xml @@ -0,0 +1,62 @@ + + + + + + 0 + This template should never show up ingame... + 0 + 0 + 0 + 0 + 0 + 0 + + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyElite.xml b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyElite.xml new file mode 100644 index 000000000..aceec30f6 --- /dev/null +++ b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyElite.xml @@ -0,0 +1,62 @@ + + + + + + 0 + This template should never show up ingame... + 0 + 0 + 0 + 0 + 0 + 0 + + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyRegular.xml b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyRegular.xml new file mode 100644 index 000000000..aceec30f6 --- /dev/null +++ b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileEnemyRegular.xml @@ -0,0 +1,62 @@ + + + + + + 0 + This template should never show up ingame... + 0 + 0 + 0 + 0 + 0 + 0 + + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaGreen.xml b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaGreen.xml new file mode 100644 index 000000000..aceec30f6 --- /dev/null +++ b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaGreen.xml @@ -0,0 +1,62 @@ + + + + + + 0 + This template should never show up ingame... + 0 + 0 + 0 + 0 + 0 + 0 + + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaRegular.xml b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaRegular.xml new file mode 100644 index 000000000..aceec30f6 --- /dev/null +++ b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaRegular.xml @@ -0,0 +1,62 @@ + + + + + + 0 + This template should never show up ingame... + 0 + 0 + 0 + 0 + 0 + 0 + + \ No newline at end of file diff --git a/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaVeteran.xml b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaVeteran.xml new file mode 100644 index 000000000..aceec30f6 --- /dev/null +++ b/gamedir/Data-1.13/TableData/Profiles/SoldierProfileMilitiaVeteran.xml @@ -0,0 +1,62 @@ + + + + + + 0 + This template should never show up ingame... + 0 + 0 + 0 + 0 + 0 + 0 + + \ No newline at end of file diff --git a/gamedir/Data-UB/Ja2_Options.ini b/gamedir/Data-UB/Ja2_Options.ini index 05829fd78..e33f96436 100644 --- a/gamedir/Data-UB/Ja2_Options.ini +++ b/gamedir/Data-UB/Ja2_Options.ini @@ -1554,6 +1554,13 @@ INDIVIDUAL_ENEMY_RANK = TRUE ;------------------------------------------------------------------------------------------------------------------------------ INDIVIDUAL_CIVILIAN_NAMES = TRUE +;------------------------------------------------------------------------------------------------------------------------------ +; Controls wether enemy soldiers/militiamen can use predefined profiles from TableData/Profiles. +; In the xml, one can specify name/bodytype/hair/skin/traits +; If selected, the game will select a newly created soldier's data from these profiles randomly +;------------------------------------------------------------------------------------------------------------------------------ +SOLDIER_PROFILES_ENEMY = TRUE +SOLDIER_PROFILES_MILITIA = FALSE ;------------------------------------------------------------------------------------------------------------------------------ ; If this is set tot TRUE, you can repaint one type of camouflage by using different type camo kit on self. You can also use