xxx73
Refugee
Hi guys
I'm adding some weapons to my game and I see different Materials and DisplayType used for same type of weapon that even look similar.
So Im trying to find out what this settings actually mean for weapons. I have search a little in the forum and I found many posts but not find anything about this.
Here is one example:
All vanilla shotguns use:
DisplayType = rangedShotgun
Material = Mmetal
Some shoguns from mods use:
DisplayType = rangedGun
Material = MmechanicalParts
About DisplayType:
I know it is defined in ui_display.xml and it is about what stats to show, but why does modders use rangedGun instead of rangedShotgun if it only is about what stats to show?
Also what about tags in ui_display.xml, what does they do?
About Material:
Only things I know is what I can see in materials.xml, Mmetal and MmechanicalParts have same damage_category, but I have no idea how the different variables work on a weapon.
Any help to get some clarity into this is helpful.
Have fun
I'm adding some weapons to my game and I see different Materials and DisplayType used for same type of weapon that even look similar.
So Im trying to find out what this settings actually mean for weapons. I have search a little in the forum and I found many posts but not find anything about this.
Here is one example:
All vanilla shotguns use:
DisplayType = rangedShotgun
Material = Mmetal
Some shoguns from mods use:
DisplayType = rangedGun
Material = MmechanicalParts
About DisplayType:
I know it is defined in ui_display.xml and it is about what stats to show, but why does modders use rangedGun instead of rangedShotgun if it only is about what stats to show?
Also what about tags in ui_display.xml, what does they do?
About Material:
Only things I know is what I can see in materials.xml, Mmetal and MmechanicalParts have same damage_category, but I have no idea how the different variables work on a weapon.
Any help to get some clarity into this is helpful.
Have fun

Last edited by a moderator: