Enhancements of the MOLLE Feature (by DepressivesBrot):

- Added: Separate message for 'no space' (used 'already there' as a placeholder before)
- Fixed: Exchanging attachments when we are near capacity for the carrier
- Fixed: The LBE shown in the description box now changes as well and as soon as you add/remove an attachment
- Changed: The attachment now transfers the first non-zero pocket to the carrier instead of simply the first
- Added: Tooltips now show the currently used and the available space of a carrier.

- Added: A modifier for the explosive damage in confined spaces (by DepressivesBrot). Implemented on a per-item basis using the new float tag <bIndoorModifier> in Explosives.xml (0.5 means 150% damage, 1.0 means 200% etc.)

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@5552 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2012-09-04 19:27:01 +00:00
parent 02c53cdf16
commit d0e27b0229
17 changed files with 84 additions and 24 deletions
+2
View File
@@ -540,6 +540,8 @@ enum
STR_CANNOT_ATTACH_SLOT,
STR_CANNOT_ATTACH_ANY_SLOT,
STR_NO_SPACE_FOR_POCKET,
TEXT_NUM_STR_MESSAGE,
};
+2
View File
@@ -1565,6 +1565,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"你不能将其附加在当前功能槽.",
L"%s 不适合打开的任何功能槽.",
L"There's not enough space for this pocket.", //TODO:Translate
};
@@ -2472,6 +2473,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
L"剩余弹药:", //16
L"默认:", //17 //WarmSteel - So we can also display default attachments
L"污垢:", // 18 //added by Flugente // TODO.Translate
L"Space:", // 19 //space left on Molle items //TODO.Translate
};
+2
View File
@@ -1561,6 +1561,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"You cannot attach %s to this slot.",
L"The %s will not fit in any open slots.",
L"There's not enough space for this pocket.", //TODO:Translate
};
@@ -2469,6 +2470,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
// TODO.Translate
L"Default:", //17 //WarmSteel - So we can also display default attachments
L"Dirt:", // 18 //added by Flugente // TODO.Translate
L"Space:", // 19 //space left on Molle items //TODO.Translate
};
+2
View File
@@ -1565,6 +1565,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"You cannot attach %s to this slot.",
L"The %s will not fit in any open slots.",
L"There's not enough space for this pocket.",
};
@@ -2472,6 +2473,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
L"Remaining ammo:", //16
L"Default:", //17 //WarmSteel - So we can also display default attachments
L"Dirt:", // 18 //added by Flugente
L"Space:", // 19 //space left on Molle items
};
+2
View File
@@ -1564,6 +1564,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"Vous ne pouvez pas attacher %s à cette emplacement.",
L"%s n'ira dans aucun emplacement de libre.",
L"There's not enough space for this pocket.", //TODO:Translate
};
@@ -2471,6 +2472,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
L"Munit. rest. :", //16
L"Par défaut :", //17 //WarmSteel - So we can also display default attachments
L"Dirt:", // 18 //added by Flugente // TODO.Translate
L"Space:", // 19 //space left on Molle items //TODO.Translate
};
+2
View File
@@ -1580,6 +1580,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"%s's Schneetarnung wurde herunter gewaschen.",
L"Sie können %s nicht an dieser Einbaustelle anbringen.",
L"%s passt in keine freie Einbaustelle.",
L"Für diese Tasche ist nicht mehr genug Platz.",
};
CHAR16 pTownNames[MAX_TOWNS][MAX_TOWN_NAME_LENGHT] =
@@ -2477,6 +2478,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
L"Standard:", //17 //WarmSteel - So we can also display default attachments
L"Dirt:", // 18 //added by Flugente // TODO.Translate
L"Space:", // 19 //space left on Molle items //TODO.Translate
};
+2
View File
@@ -1557,6 +1557,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"You cannot attach %s to this slot.",
L"The %s will not fit in any open slots.",
L"There's not enough space for this pocket.", //TODO:Translate
};
@@ -2464,6 +2465,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
// TODO.Translate
L"Default:", //17 //WarmSteel - So we can also display default attachments
L"Dirt:", // 18 //added by Flugente // TODO.Translate
L"Space:", // 19 //space left on Molle items //TODO.Translate
};
+2
View File
@@ -1572,6 +1572,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"Niemożesz przydzielić %s do tego slotu.",
L"The %s will not fit in any open slots.",
L"There's not enough space for this pocket.", //TODO:Translate
};
@@ -2479,6 +2480,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
L"DomyŚlne:", //17 //WarmSteel - So we can also display default attachments
L"Dirt:", // 18 //added by Flugente // TODO.Translate
L"Space:", // 19 //space left on Molle items //TODO.Translate
};
+2
View File
@@ -1565,6 +1565,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"Нельзя установить навеску %s на это место.",
L"The %s will not fit in any open slots.",
L"There's not enough space for this pocket.", //TODO:Translate
};
@@ -2472,6 +2473,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
L"Предустановка:", //17 //WarmSteel - So we can also display default attachments
L"Dirt:", // 18 //added by Flugente // TODO.Translate
L"Space:", // 19 //space left on Molle items //TODO.Translate
};
+2
View File
@@ -1565,6 +1565,7 @@ CHAR16 Message[][STRING_LENGTH] =
L"You cannot attach %s to this slot.",
L"The %s will not fit in any open slots.",
L"There's not enough space for this pocket.", //TODO:Translate
};
@@ -2473,6 +2474,7 @@ CHAR16 gWeaponStatsDesc[][ 19 ] =
// TODO.Translate
L"Default:", //17 //WarmSteel - So we can also display default attachments
L"Dirt:", // 18 //added by Flugente
L"Space:", // 19 //space left on Molle items //TODO.Translate
};