Page 1 of 1

Editing alloy plating tactical description.

Posted: Tue Feb 26, 2019 2:19 pm
by silberbau
Hi.

Just recently got back into playing LW. With so many excellent mods available and my own edits, it's pretty much an entirely new, yet much loved game for me.

Anyone know which file I need to edit to alter the tactical description of alloy plating? I can't seem to find it in the XComStrategyGame.int or XComGame.int so was wondering if it is maybe hardcoded somewhere?

Thanks.

Re: Editing alloy plating tactical description.

Posted: Fri Mar 01, 2019 8:07 am
by szmind
It is in XComStrategyGame.int. You probably missed it searching for "alloy plating", search for "plating" rather and here you go:
ItemTypeSummary[189]="Alloy Carbide Plating confers extra survivability for our mechanized units."

Re: Editing alloy plating tactical description.

Posted: Fri Mar 01, 2019 5:38 pm
by silberbau
What I was after was the alloy plating that troops use. The tactical info is "Confers 2 extra health" and "Weight 1". I just cannot find this anywhere in either int's so that lead me to believe it had to be hardcoded or maybe described in another file that I am unaware of. I've simply added some DR to the plate and given it the hardened ability.


Thanks.

Re: Editing alloy plating tactical description.

Posted: Sat Mar 02, 2019 7:51 am
by THORKE
silberbau wrote:Hi.

Just recently got back into playing LW. With so many excellent mods available and my own edits, it's pretty much an entirely new, yet much loved game for me.

Anyone know which file I need to edit to alter the tactical description of alloy plating? I can't seem to find it in the XComStrategyGame.int or XComGame.int so was wondering if it is maybe hardcoded somewhere?

Thanks.
Hello, first of all forgive me for the English, I am Spanish and use the translator.

If you mean this: Image
is in XComGame.int search it as: eItem_ChitinPlating

Re: Editing alloy plating tactical description.

Posted: Sat Mar 02, 2019 3:33 pm
by silberbau
No, ese no es el artículo. Gracias por intentarlo ayudar. He utilizado un traductor aquí también.

Re: Editing alloy plating tactical description.

Posted: Sat Mar 02, 2019 8:18 pm
by szmind
Simply Ctrl-F a piece of text from description which you can see in-game in XComGame.int and XComStrategyGame.int. THERE ARE NO HARDCODED DESCRIPTIONS. All localizable descriptions are in above files. There is no "Confers 2" so you must have written it from memory :D Oh, if you are playing a localized version (Spanish?) search in your localization folder, not in INT. Like in ESN.

Re: Editing alloy plating tactical description.

Posted: Sun Mar 03, 2019 11:39 am
by THORKE
silberbau wrote:No, ese no es el artículo. Gracias por intentarlo ayudar. He utilizado un traductor aquí también.
Hello, so as not to go around and around ... try to put an image

Re: Editing alloy plating tactical description.

Posted: Sun Mar 03, 2019 2:20 pm
by silberbau
Alloy plating.

Image

https://www.ufopaedia.org/index.php/Equ ... ctive_gear

"Confers 2 extra health" and "Weight 1". It's no where in the relevant int's. Strange.

Re: Editing alloy plating tactical description.

Posted: Sun Mar 03, 2019 2:38 pm
by johnnylump
I believe it's this:

m_aItemTacticalText[eItem_ReinforcedArmor]="<Bullet/> Confers <XGAbility:NanoFiberHealth/> extra health\n<Bullet/> Weight: 1"

It's line 5361 in XComGame.int.

It's reading in the bonus value from the game config, so searching for the "2" won't work.

In XComGame.esn, it's line 5987.

Re: Editing alloy plating tactical description.

Posted: Sun Mar 03, 2019 2:47 pm
by THORKE
hello, what they have done has been redesigning it in long war. looking for the comparison .. is the "chalecho de nanofibra" in Spanish
and it came out just this: Image

therefore, what you are looking for is called [eItem_ReinforcedArmor] esta en \INT\XComGame.int

look:
[eItem_ReinforcedArmor]="<Bullet/> Confers <XGAbility:NanoFiberHealth/> extra health\n<Bullet/> Weight: 1"

XGAbility allows you to edit the DGC.ini without having to edit text ... that's why you did not find it.

esspero que sea eso ;D

Re: Editing alloy plating tactical description.

Posted: Sun Mar 03, 2019 3:46 pm
by silberbau
Yeah, that's what I was looking for. Thanks JL and THORKE.