OpenXcom Forum
Modding => Help => Topic started by: efrenespartano on September 15, 2018, 05:17:20 am
-
Hello there! This is a simple question, I don't know if anyone else has make it earlier.
I would like to add a few new damage types to a project I'm working on with alinare.
How to do it? I suppose that this new damage types will need to be added to armors too, how to do it?
Thanks in advance!
Enviado desde mi iPhone utilizando Tapatalk
-
Check Piratez. That mod uses this feature.
Some snippets:
armors:
- type: STR_SYNTH_SPACE_SUIT_UC
damageModifier:
- 0.2
- 0.5
- 0.15
- 0.5
- 0.5
- 0.75
- 0.25
- 0.4
- 0.25
- 0.0
- 0.0
- 0.25
- 0.5
- 0.5
- 1.0
- 0.25
- 0.1
- 0.0
items:
- type: STR_WHIP
damageType: 15
I don't know if it's as simple as that but you can check the mod for yourself and try with your own mod to find out.
-
Seems easy. I will try and see what happens. ;D
-
Also the string:
STR_DAMAGE_15: "WHIP-IT-GOOD"
-
Also add a string with the name:
STR_DAMAGE_15: "WHIP-IT-GOOD"
-
Great! I didn't thought it was so easy. Thank you Reaver and Solarius! ;D