From 431a7011a3bb735c213b9c4ebaf98710a0311d4e Mon Sep 17 00:00:00 2001 From: Wanne Date: Wed, 1 Feb 2012 16:31:21 +0000 Subject: [PATCH] - Updated comments for the 3 new item size properties git-svn-id: https://ja2svn.mooo.com/source/ja2_v1.13_data@1358 4f8fa57e-7814-0410-bad4-adc449f26b7c --- gamedir/Data-1.13/Ja2_Options.INI | 12 +++++++++++- gamedir/Data/Ja2_Options.INI | 11 ++++++++++- gamedir/INIEditorJA2Options.xml | 25 +++++++++++++++++++++++++ 3 files changed, 46 insertions(+), 2 deletions(-) diff --git a/gamedir/Data-1.13/Ja2_Options.INI b/gamedir/Data-1.13/Ja2_Options.INI index 4049912d4..a6ce57e62 100644 --- a/gamedir/Data-1.13/Ja2_Options.INI +++ b/gamedir/Data-1.13/Ja2_Options.INI @@ -109,11 +109,21 @@ MAX_NUMBER_CIVS_IN_TACTICAL = 32 MAX_STRATEGIC_ENEMY_GROUP_SIZE = 20 -; TODO: Property descriptions by JMich +;------------------------------------------------------------------------------------------------------------------------------ +; MAX_ITEM_SIZE is the maximum item size you can use in the game. It is possible, with enough attachments that lower a weapon +; size to change the weapon size to a huge number, since 0-1 = 255. If any item with a size between 0 and MAX_WEAPON_SIZE +; is adjusted to a number bigger than MAX_ITEM_NUMBER, the item size will be 0. If the adjusted number is greater than +; MAX_WEAPON_SIZE but bigger than MAX_ITEM_NUMBER, MAX_WEAPON_SIZE will be set. Values 0-250, default is 34. +; MAX_WEAPON_SIZE is the maximum item size you want to use for weapons. All weapons will be between size 0 and MAX_WEAPON_SIZE +; regardless of attachments. Values 0-100, default is 9 +; OLD_INVENTORY_ITEM_NUMBER is used for items that will not appear in NIV. Values 0-255, default is 99. +;------------------------------------------------------------------------------------------------------------------------------ + MAX_ITEM_SIZE = 34 MAX_WEAPON_SIZE = 9 OLD_INVENTORY_ITEM_NUMBER = 99 + ;****************************************************************************************************************************** ;****************************************************************************************************************************** diff --git a/gamedir/Data/Ja2_Options.INI b/gamedir/Data/Ja2_Options.INI index 7eb2b4667..62407e31d 100644 --- a/gamedir/Data/Ja2_Options.INI +++ b/gamedir/Data/Ja2_Options.INI @@ -108,7 +108,16 @@ MAX_NUMBER_CIVS_IN_TACTICAL = 32 MAX_STRATEGIC_ENEMY_GROUP_SIZE = 20 -; TODO: Property descriptions by JMich +;------------------------------------------------------------------------------------------------------------------------------ +; MAX_ITEM_SIZE is the maximum item size you can use in the game. It is possible, with enough attachments that lower a weapon +; size to change the weapon size to a huge number, since 0-1 = 255. If any item with a size between 0 and MAX_WEAPON_SIZE +; is adjusted to a number bigger than MAX_ITEM_NUMBER, the item size will be 0. If the adjusted number is greater than +; MAX_WEAPON_SIZE but bigger than MAX_ITEM_NUMBER, MAX_WEAPON_SIZE will be set. Values 0-250, default is 34. +; MAX_WEAPON_SIZE is the maximum item size you want to use for weapons. All weapons will be between size 0 and MAX_WEAPON_SIZE +; regardless of attachments. Values 0-100, default is 9 +; OLD_INVENTORY_ITEM_NUMBER is used for items that will not appear in NIV. Values 0-255, default is 99. +;------------------------------------------------------------------------------------------------------------------------------ + MAX_ITEM_SIZE = 34 MAX_WEAPON_SIZE = 9 OLD_INVENTORY_ITEM_NUMBER = 99 diff --git a/gamedir/INIEditorJA2Options.xml b/gamedir/INIEditorJA2Options.xml index 547c0e89e..b1a7bbd32 100644 --- a/gamedir/INIEditorJA2Options.xml +++ b/gamedir/INIEditorJA2Options.xml @@ -84,6 +84,31 @@ Please note that if reinforcements are allowed (ALLOW_REINFORCEMENTS=TRUE), seve 注意不要将***MAX_STRATEGIC_ENEMY_GROUP_SIZE***值设置低于20。 这个用来调整在战略界面上行动的单个敌人团队的人数。 请注意如果允许跨地图支援(ALLOW_REINFORCEMENTS=TRUE),几个这样的团可以集结在一起攻击。然而,战斗后他们会很快分散开来,以保证单个团队人数不会过多。 + + + This is the maximum item size you can use in the game. It is possible, with enough attachments that lower a weapon size to change the weapon size to a huge number, since 0-1 = 255. +If any item with a size between 0 and MAX_WEAPON_SIZE s adjusted to a number bigger than MAX_ITEM_NUMBER, the item size will be 0. If the adjusted number is greater than MAX_WEAPON_SIZE but bigger than MAX_ITEM_NUMBER, MAX_WEAPON_SIZE will be set. +Values 0-250, default is 34. + + + + + + + This is the maximum item size you want to use for weapons. All weapons will be between size 0 and MAX_WEAPON_SIZE regardless of attachments. +Values 0-100, default is 9. + + + + + + + This is used for items that will not appear in NIV. +Values 0-255, default is 99. + + + +