Hero Fighter Empire - Forums
[P-Code] HFX Stage Setting - 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)
+--- Thread: [P-Code] HFX Stage Setting (/showthread.php?tid=440)



HFX Stage Setting - MangaD - 25-01-2024

In HFX Action Script 3 there is a large array, in the file Data.Global, called stage_setting, which contains the settings for the stages. You can see it here.

Here are my findings regarding that array:

The array contains 9 Acts, which are themselves represented as arrays. The last 2 Acts are not being used in the original game.

Each Act array contains 8 rounds, also represented as arrays, which are: Tutorial, Duel, Mission, Story, Battle, Tournament, Team Fight, and Training. If a round is an empty array it will not show up in the game. For instance, only Act 1 has a tutorial round, and Act 1 does not have Tournament nor Team Fight rounds.  Each round contains a number of stages.

Example and explanation of a stage:

Example:
[1, 1, -1, -1, r_enemy_soldier_500_hp + r_add_3star_hero_when_clear, ["z_axeman"], [], ["forest_mud"]]

Means:
[1, // playing hero num (Lucas)
1, // unknown
-1, // type of next stage
-1, // unknown
r_enemy_soldier_500_hp + r_add_3star_hero_when_clear, // buffs
["z_axeman"], // enemies
[], // setting of mission or battle
["forest_mud"]] // background

Stage types:
s_tutorial = 0;      
s_duel = 1;
s_mission = 2;      
s_story = 3;      
s_battle = 4;      
s_tournament = 5;      
s_vs = 6;
s_training = 7;

-1 means it won't unlock a new stage.


RE: HFX Stage Setting - Almighty Jack E - 25-01-2024

What's the number assigned for team fight stages?