Scrap chance for engines not working

Issues with the server software (not campaign)

Moderators: Torren, Moderators

Post Reply
Jackal
Posts: 1388
Joined: Thu Jan 21, 2010 3:02 pm

Scrap chance for engines not working

Post by Jackal » Sat Feb 10, 2018 10:12 pm

I've been testing ops settings:
  • GyroedUnitsScrappedChance=50
    UseSeparateLegAndGyroScrappedChance=true
    EnginedUnitsScrappedChance=100
I used two accounts. Account A had my normal admin account, and account B is so I can test ops. I gave account B four Talon's (which have XL engines) and then had those talons lay down someplace Account A's mechs could shoot and kick them in the right torso. Worked beatifully, I was able to engine kill several mechs this way.

Unfortunately EnginedUnitsScrappedChance=100 didn't seem to result in any scrapping.


I tested 2 of 3 possible scenarios:
- attacker wins, defender recovers own mechs (tested)
- attacker wins, attacker recovers all mechs (tested)
- defender wins, defender recovers own mechs (didn't test)


I didn't test gyro scrap chance, legged scrap chance or 'forced' scrap chance, but I assume the are broken as well.

User avatar
TigerShark
Mekwars Server Operator
Posts: 678
Joined: Wed Feb 24, 2010 8:28 am

Re: Scrap chance for engines not working

Post by TigerShark » Mon Feb 12, 2018 3:58 am

I've noticed this as well. A desirable "scrapped" outcome has come about occasionally, but the numbers seem...fishy.

Spork
Mekwars Developer
Posts: 3868
Joined: Wed Feb 13, 2008 10:23 pm

Re: Scrap chance for engines not working

Post by Spork » Mon Feb 12, 2018 7:00 pm

I will need to run this in a debug environment to see what's changed. I'll let you know what I find.
Never had much, grew up with nothing
But the music, well it was something
Been down and out, I've been on top of the world,
World that keeps on spinning on a turntable.

Post Reply