ak2yny / Official-Character-Pack-v2-for-Ultimate-Alliance

Official Characters Pack (OCP) for Marvel Ultimate Alliance (MUA) was created to add the DLC content of the Xbox 360 verison to the original PC version ported by Beenox in 2006.
8 stars 1 forks source link

Blade spawn with all segments on him after saving him #53

Closed UltraMegaMagnus closed 6 months ago

UltraMegaMagnus commented 1 year ago

After saving in Fair Ground minigame, he has no segment hidden, only the "0101_sword_back_segment" on his back does not make sense to have, since he is already holding his sword. Or, should has his sword & gun hidden?

The following might be added to blade_button.py (not sure if this is the correct script), but with all known limit, might not be a good idea for a small detail. What do you think? setSegmentVisible("blade", "0101_sword_back_segment", "0")

Screenshot 2023-03-27 16-20-29 Screenshot 2023-03-27 16-20-45 Screenshot 2023-03-27 16-21-27

JordanLeich commented 1 year ago

After some testing, it looks like the game does not use the blade_button.py file but the game does use the claw_win.py file

JordanLeich commented 1 year ago

@UltraMegaMagnus @ak2yny I can't seem to get his 2 swords and gun to disappear at this part of the game using scripts for some reason and I can't figure out why. Here's the code I'm using in the claw_win.py file:

setSegmentVisible("bladesimple", "0101_sword_back_segment", "0")
setSegmentVisible("bladesimple", "0101_sword_segment", "0")
setSegmentVisible("bladesimple", "0101_gun_segment", "0")
setSegmentVisible("blade", "0101_sword_back_segment", "0")
setSegmentVisible("blade", "0101_sword_segment", "0")
setSegmentVisible("blade", "0101_gun_segment", "0")

I'm unsure if the model here being used refers to "blade" or "bladesimple" or even the 0101 skin so I used both and they didn't work. Any ideas?

ak2yny commented 1 year ago

Make sure that Blade is spawned before you hide the segments. I think we should hide the hand segments instead of his sheathed sword. I'll check the map file for what Blade's name should be.

ak2yny commented 1 year ago

Blade's NPC name used is BladeSimple. His monster name is bladeunlock. The script I'd use is scripts/act2/murder/murder4/claw_win. This line spawns blade:

     act("blade_trapped", "blade_trapped" )
JordanLeich commented 6 months ago

Blades hand sword & gun now hidden in https://github.com/ak2yny/Official-Character-Pack-v2-for-Ultimate-Alliance/commit/279eb0df148947ea15877ef2c5ef0eb8a8864440