Hero Fighter Empire - Forums
[Attack] Make Shawn's arrows freeze the enemy - 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: [Attack] Make Shawn's arrows freeze the enemy (/showthread.php?tid=387)



Make Shawn's arrows freeze the enemy - MangaD - 11-06-2021

In this tutorial we are going to make Shawn's arrow freeze the enemy.

[Image: arrow-freeze.gif]

It is assumed 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.

Steps:

1. Export the data file 142 - Data.Global_globalDat.
2. The Attack file that corresponds to Shawn's arrow is Attack_53.json. Open it.
3. Replace the type value with 100.0 in the file Attack_53.json. It should look like this:

{
    "Data.Attack": {
        "hp": 25.0,
        "fall": 100.0,
        "brk": 50.0,
        "name": "ite_arrowHit",
        "ref": -1.0,
        "z1": 60.0,
        "dizzy": 60.0,
        "x1": 0.0,
        "stun": 0.0,
        "x2": 150.0,
        "z2": 0.0,
        "y1": 0.0,
        "type": 100.0,
        "y2": 150.0,
        "selfStun": 0.0,
        "effect": 0.0,
        "vx": 17.0,
        "dxMirror": false,
        "vy": 0.0,
        "i": 53.0,
        "vz": 0.0,
        "j": 0.0,
        "dx": 0.0,
        "refName": null,
        "l": 1.0,
        "aaa": true
    }
}

4. Save the file Attack_53.json in the zip archive.
5. Replace the 142 - Data.Global_globalDat resource in the game with the new zip file.
6. Export EXE.

BEBD has provided a list with the possible values for the type attribute and what they mean:

[Image: global-Dat-Attack-type-attribute.png]

Special thanks to @不饿白帝BEBD for telling me how to do this!


Make Shawn's Phoenix Shot electrify the enemies! - xristos - 13-06-2021

Using HF Workshop, export data Data.globalDat, whose ID is 142 in v0.7. Inside Data.globalDat ZIP file there are a bunch of JSON files with the preffix Attack. The JSON file that corresponds to Shawn's arrow is Attack_58.json. Inside this file there is a "type" key with value 0.0. Change this value to 112.0 and save this JSON file in the ZIP (replacing the existing one). Then, replace Data.globalDat in the game using HF Workshop with your modified ZIP file.