what dark said. lol
what dark said. lol
private float c_composterMultiplier;
under
private float c_horseMultiplier;c_composterMultiplier = Convert.ToSingle(GetConfigValue("Mutipliers", "composterMultiplier", 0.0));
under
c_scrapcopterMultiplier = Convert.ToSingle(GetConfigValue("Mutipliers", "scrapcopterMultiplier", 0.0));else if (entity_name == "composter")
{
hitInfo.damageTypes.Scale(Rust.DamageType.Decay, c_composterMultiplier);
OutputRcon($"Decay ({entity_name}) before: {before} after: {hitInfo.damageTypes.Get(Rust.DamageType.Decay)}", true);
}
under
else if (entity_name == "ScrapTransportHelicopter")
{
hitInfo.damageTypes.Scale(Rust.DamageType.Decay, c_scrapcopterMultiplier);
OutputRcon($"Decay ({entity_name}) before: {before} after: {hitInfo.damageTypes.Get(Rust.DamageType.Decay)}", true);
} causing my software to alg a bit i belive
console being spammed with:
(14:26:22) | [NoDecay] Unsupported decaying entity detected: 1module_rear_seats --- please notify author (14:26:22) | [NoDecay] Unsupported decaying entity detected: 1module_storage --- please notify author (14:26:22) | [NoDecay] Unsupported decaying entity detected: 1module_cockpit_with_engine --- please notify author (14:26:22) | [NoDecay] Unsupported decaying entity detected: 1module_rear_seats --- please notify author (14:26:23) | [NoDecay] Unsupported decaying entity detected: 1module_cockpit_with_engine --- please notify author
Add:
private float c_vehicleMultiplier;
under
private float c_horseMultiplier;-----
Add:
c_vehicleMultiplier = Convert.ToSingle(GetConfigValue("Mutipliers", "vehicleMultiplier", 0.0));
under
c_scrapcopterMultiplier = Convert.ToSingle(GetConfigValue("Mutipliers", "scrapcopterMultiplier", 0.0));-----
Add:
else if (entity_name == "1module_cockpit_armored" || entity_name == "1module_cockpit" || entity_name == "1module_cockpit_with_engine" || entity_name == "1module_engine" || entity_name == "1module_flatbed" || entity_name == "1module_rear_seats" || entity_name == "1module_storage" || entity_name == "2module_fuel_tank" || entity_name == "2module_flatbed" || entity_name == "2module_passengers")
{
hitInfo.damageTypes.Scale(Rust.DamageType.Decay, c_vehicleMultiplier);
OutputRcon($"Decay ({entity_name}) before: {before} after: {hitInfo.damageTypes.Get(Rust.DamageType.Decay)}", true);
}
under
else if (entity_name == "ScrapTransportHelicopter")
{
hitInfo.damageTypes.Scale(Rust.DamageType.Decay, c_scrapcopterMultiplier);
OutputRcon($"Decay ({entity_name}) before: {before} after: {hitInfo.damageTypes.Get(Rust.DamageType.Decay)}", true);
} I am goign to be honest I am not seeing any of this at all in my NoDecay.cs or NoDecay.json
Looks like I am on version 1.0.48
Any way we can just get a download link to a working NoDecay.cs?
[NoDecay] Unsupported decaying entity detected: 1module_engine --- please notify author
Spamming logs nonstop =0( please update and thanks!