[Spt] Tutorial: Allow Raye's Lightning attack to turn direction - Printable Version
+- Hero Fighter Empire - Forums (https://hf-empire.com/forum)
+-- Forum: Hero Fighter Zone (https://hf-empire.com/forum/forumdisplay.php?fid=10)
+--- Forum: Data Changing (https://hf-empire.com/forum/forumdisplay.php?fid=35)
+---- Forum: Tutorials (https://hf-empire.com/forum/forumdisplay.php?fid=36)
+---- Thread: [Spt] Tutorial: Allow Raye's Lightning attack to turn direction (/showthread.php?tid=353)
Tutorial: Allow Raye's Lightning attack to turn direction - MangaD - 21-06-2020
In HF v0.7, Raye's lightning attack (G → A) cannot turn around.
In this tutorial, we will be fixing that!
I will assume that the reader is already familiar with the HF Workshop tool, if he is not, he is advised to go to the linked thread, read it and watch the tutorial video.
Ok, so, the file where the data that we need to change is, is called Spt file. In HF v0.7, Raye's Spt file has ID=316. Extract that file with HFW, extract the JSON file from the ZIP file, and open it with your favorite text/code editor. This file is huge, so I recommend you to collapse all attributes in order to get an overview of the file's contents, as shown in the image:
Here I'm using VS Code, and the shortcut to fold all is Ctrl+K Ctrl+0.
You can see in the image the lines that have an arrow and are highlighted in blue, these are arrays and you can expand to view, in case you have collapsed them as suggested. Our relevant data for this tutorial is in the
The property we need to change for our action is called
Update: The array
Going back to our
The first action we found is in the 75th position of the
After trial and error attempts, I found that changing this property only for
Special thanks to @不饿白帝BEBD, @Runningcake and @Lee Catalpa Tien