Comments (5)
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.
thanks for the report. Can you provide the exact instructions to reproduce?
from xobse.
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.
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.
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)
- Per-Script InvenotryReferences
- GetAlchMenuApparatus doesn't work as documented HOT 2
- 22.9 wont work for some reason HOT 3
- obse error HOT 4
- [xOBSE22.2-xOBSE22.9]Input functions are not functioning properly with obcn_12416.dll, a Chinese localization plugin HOT 22
- Shows completely black window for half a second, then CTD. HOT 1
- A way of detecting which topic, line and response is currently being said in dialogue
- ModTable::Get().GetModIndex giving the wrong index HOT 3
- Suggestion: add syntax to allow adding event handlers directly. HOT 4
- Question: language standard, pull requests. HOT 4
- Suggestion: add functions to retrieve creature's Blood spray and Blood decal file paths.
- Remove limitation on using array of arrays for ar_CustomSort.
- xOBSE 22.10beta causes console spam for Lovers with PK script xx0090ea HOT 9
- Suggestion: add new Array type: RefMap.
- Wont work - Application Ioad error 5:0000065434 HOT 5
- Console Spam With Dynamic Mesh Swappers Like Blockhead
- Not compatible with Enhanced Hotkeys & FormID Finder? HOT 2
- RemoveEventHandler and OnKey events
- Minor Wiki Typo
- sv_Replace(StringVar::Replace function in StringVar.cpp) does not take into account when the target is a multibyte character(Problems occurred with Ultimate Leveling in Japanese environment.) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xobse.