Building block base prices (if fixed pricing is disabled) -> I am not sure how this settings for parts will works combined with other dynamic values.
Ex. for my x2 server did it like this -> Default cost multiplier is 1.0 for the default permission everyone gonna use then enabeld dynamic mode and set...
Minimum price is 50 then changed twig to 1.0 wood to 2.0 stone to 3.0 metal to 4.0 and armored to 5.0 Thats ok... also did Scrap consumed per damage delt to the building 0.1 but have this weird values for the parts?
floor": 0.3,
"floor.frame": 0.15,
"floor.triangle": 0.15,
"floor.triangle,frame": 0.15,
"foundation": 0.5,
"foundation.triangle": 0.25,
"other": 0.1,
"wall": 0.1,
"wall.doorway": 0.1,
"wall.frame": 0.1,
"wall.half": 0.1,
"wall.low": 0.1,
"wall.window": 0.1
Now what can happen with the total cost? If do all parts to 0.0 or if do them to 0.1 for example... I can't understand impact on the overall price if use this parts settings...
What this values do?
So the parts prices are only in effect if fixed pricing is disabled. The parts prices are what determined dynamic pricing. So if fixed pricing is enabled, you can pretty much ignore the parts prices, as no matter what values you have there, they wont affect anything.
I asked for example if you hit with rocket and deal 350 damage and set drain scap per hit like you gave in the example to 0.1 will be = 35, how much scrap will cost 0.1 form the parts category... If set for example 1.0 to wall how much scrap will cost additionally per wall... because wanna calculate then all values and set them up properly for my server
Oh my bad, I didn't understand the question. The scrap parts price is has no effect on the scrap deducted when damaged. Even if you have wall set to 0 and foundation set to 1.0, if they deal damage to the wall it will deduct the same price as if dealt to the foundation. A rocket dealing 350 damage with scrap drain set to 0.1 will deduct 35 damage.
HOWEVER, material resistances do apply here. A rocket may deal 350 damage to twig and wood, but stone+ (I believe) have explosive resistance and will half the damage the rocket deals, so instead of dealing 350 and deducting 35, it will deal 175 and deduct 17.5.
In other words formula for how much scrap is deduct from damage is simply:
cost = TotalDamageDealt * ScrapConsumedPerDamageHope that clears some thing up for you!
Yeah thanks that was helpful :)
Only wanna ask last quesiton how much scrap is 1.0 for building part because If change building parts values my upkeep for scrap protection rises but wanna calculate it proeprly,
All the building parts costs are in terms of "scrap per hour", so if you set walls=1.0, it will charge the player 1 scrap per hour per wall. So (ignoring other parts), if you have a structure with 4 walls each at 1.0, it will cost 4 scrap per hour to protect. Remember this is only if fixed pricing is disabled. Furthermore, if you would like to take material grade into consideration you can modify the values under "Material cost multipliers", if the value is set to 1.0 it won't change (4 scrap), if its set to 0.5 it will be half price (2 scrap), if its set to 2.0 it will be double price (8 scrap).
Let me know if thats clear, or if you are still confused.
Yeah fully understood now thanks :)
Glad I can help :)