Git Product home page Git Product logo

Comments (5)

kuroko137 avatar kuroko137 commented on August 11, 2024 1

Hi. I tried it myself because I was curious. It seems that the scripts for "Mugetsu Bloodmess" and "Izayoi Moonflower" (zzzZMugetsuFC, zzzZIzayoiFC) achieve the continuous attack effect by using the "TapKey" command to press the button obtained with the "GetControl 4" command. The actual code looks like this:

set Btn to GetControl 4
---
TapKey Btn

However, if you have not assigned the attack key to any keyboard key, the GetControl command cannot obtain the key code of the mouse button, and the returned key code will be 255, so this effect will not work correctly (The author need to use the GetAltControl2 command in addition to GetControl).
This means that it is not a bug in xOBSE, but rather a problem with the method of obtaining key codes in the mod.
However, for some reason, in xOBSE22.1 and earlier versions, the attack key seems to be pressed with "TapKey 255".
Note that in my case, whether or not to use the unofficial Japanese patch was irrelevant.

Anyway, if you want to use these powers of the mod in xOBSE22.2 or later, it would be a good idea to assign some keyboard key to the attack key in the in-game settings.

from xobse.

llde avatar llde commented on August 11, 2024

thanks for the report. Can you provide the exact instructions to reproduce?

from xobse.

skiaslu avatar skiaslu commented on August 11, 2024

Use the Misc. Item in the player's inventory to open a menu, click Power Attacks, and pick out Izayoi Moonflower from the list.
This will add a Lesser Power that's scripted so that upon using it the player has a short period of time to hit the enemy with a power attack in order for the move to work.
A small scene will play out with player controls turned off. If everything works as intended there should be a flurry of sped up punches or weapon strikes, but for me with the latest xOBSE that part has the character standing still, sped up but in his idle animation with his fists up or weapon drawn.

from xobse.

llde avatar llde commented on August 11, 2024

Hi @skiaslu , I did test C2 both Izayoi Moonflower and Mugetsu Bloodmess and I think they work as intended following your description. Can you check wethever one of the latest Artifacts from here works to you.
Do you per chance use the japanese patch?

from xobse.

llde avatar llde commented on August 11, 2024

you are right: old code had this
if(keycode%256==255&&keycode<2048) keycode=255+(keycode+1)/256;
where basically if keycode have the form k * 255 then it's assigned as 255 + (k * 255 + 1) /256
So it's roundable to 255 + k (where if code is exactly 255 k is 1 and the new result is 256)

This is horrible. I'm not even sure why that was added, it doesn't make any sense

from xobse.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.