-
Notifications
You must be signed in to change notification settings - Fork 9
Ammo DamageScales
Wizard Lizard edited this page May 15, 2020
·
17 revisions
This page will cover all of the damage scales.
Modifier Values Cheat Sheet
-1 = disabled
0 = no damage
0.5f = half damage
1 = 100% of available damage
2 = 200% of available damage
DamageScales = new DamageScaleDef
{
MaxIntegrity = 0f,
DamageVoxels = true,
SelfDamage = false,
Characters = -1f,
FallOff = new FallOffDef
{
Distance = 5000, // Distance at which max damage begins falling off.
MinMultipler = 0.45f, // value from 0.0f to 1f where 0.1f would be a min damage of 10% of max damage.
},
Grids = new GridSizeDef
{
Large = -1f,
Small = -1f,
},
Armor = new ArmorDef
{
Armor = -1f,
Light = -1f,
Heavy = -1f,
NonArmor = -1f,
},
Shields = new ShieldDef
{
Modifier = 10f,
Type = Energy,
BypassModifier = -1f,
},
Custom = new CustomScalesDef
{
IgnoreAllOthers = false,
Types = new[]
{
new CustomBlocksDef
{
SubTypeId = "Test1",
Modifier = -1f,
},
new CustomBlocksDef
{
SubTypeId = "Test2",
Modifier = -1f,
},
},
},
If you have suggestions or implementations, please raise them in the Discord! Thank you!
Please donate to DarkStar's Patreon!
WeaponCore Quick Links
Weapon Properties (Page in Progress)
Multi-Turret Creation (Page in Progress)
Weapon - Targeting & Hardpoint
Weapon - Critical Reactions/Warheads
Weapon - Minimal Configurations
Ammo - Electronic Warfare System (EWAR)
Ammo - Guidance System (Homing, Mines, Self-Guided)
Armor System (Page in Progress)