X2CommunityCore / X2WOTCCommunityHighlander

https://steamcommunity.com/workshop/filedetails/?id=1134256495
MIT License
60 stars 68 forks source link

Fix weapon model glitching when it's dropped on unit death #1341

Closed Iridar closed 5 months ago

Iridar commented 5 months ago

Fixes #1290

Iridar commented 5 months ago

Forgot to mention: ran some tests, including doing save/load, and confirmed the old weapon remains invisible, while the newly dropped weapon remains laying on the ground, though loading a save shifts the position of both the weapon and the corpse.

Iridar commented 5 months ago

Addendum: if the weapon is dropped by an XCOM soldier on bleedout, and then brought back with Stabilize and Revival Protocols, they will spawn a new weapon out of thin air, while the dropped weapon will remain lying on the ground. Gonna have to make an additional PR to fix this.

Iridar commented 5 months ago

Confirmed the stable CHL doesn't have this issue.

Iridar commented 5 months ago

Ugh I don't have the willpower to deal with this right now, I'll just revert it.