OpenXcom Forum
OpenXcom => Troubleshooting => Topic started by: g5-freemen on April 14, 2016, 10:29:34 pm
-
There is a small bug - soldier have 100 p.strenght, but in inventory it looks like 10 (zero is cropped)
-
I'm pretty sure it's because the word for p.strength makes the string longer than optimal and it pushes it too far. On my computer in English part of the zero is cut off, but it's still clear that it's 100 and not 10.
You could do a string replacement (https://www.ufopaedia.org/index.php?title=Ruleset_Reference_Nightly_(OpenXcom)#Extra_Strings) and abbreviate p.strength to be something shorter.
Looks like the appropriate string is "STR_PSIONIC_STRENGTH_SHORT"
I haven't tested this, but I think it would go:
- type: ru
strings:
STR_PSIONIC_STRENGTH_SHORT: "P.S>{ALT}{0}"
-
I'm pretty sure it's because the word for p.strength makes the string longer than optimal and it pushes it too far. On my computer in English part of the zero is cut off, but it's still clear that it's 100 and not 10.
You could do a string replacement (https://www.ufopaedia.org/index.php?title=Ruleset_Reference_Nightly_(OpenXcom)#Extra_Strings) and abbreviate p.strength to be something shorter.
Looks like the appropriate string is "STR_PSIONIC_STRENGTH_SHORT"
I haven't tested this, but I think it would go:
- type: ru
strings:
STR_PSIONIC_STRENGTH_SHORT: "P.S>{ALT}{0}"
replace
STR_PSIONIC_STRENGTH_SHORT: "П.Cила>{ALT}{0}"
with
STR_PSIONIC_STRENGTH_SHORT: "П.Cила{ALT}{0}"
works, but look like "P.S100", not very beautiful
-
Fixed.
-
Fixed.
Thanks )