Closed UltraMegaMagnus closed 6 months 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
@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?
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.
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" )
Blades hand sword & gun now hidden in https://github.com/ak2yny/Official-Character-Pack-v2-for-Ultimate-Alliance/commit/279eb0df148947ea15877ef2c5ef0eb8a8864440
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")