Add BossHP
This commit is contained in:
parent
10f4cacd55
commit
f863f14290
39
BossHP/configs/bosshp/ZE_FFVII_Mako_Reactor_V6_B08.cfg
Normal file
39
BossHP/configs/bosshp/ZE_FFVII_Mako_Reactor_V6_B08.cfg
Normal file
@ -0,0 +1,39 @@
|
||||
"bosses"
|
||||
{
|
||||
"0" // Easy, Normal, Hard: Scorpion
|
||||
{
|
||||
"name" "Scorpion"
|
||||
"method" "hpbar"
|
||||
"trigger" "Boss_Scorpion_Relay:OnUser1"
|
||||
|
||||
"iterator" "HPCounterIterator"
|
||||
"counter" "HPCounter"
|
||||
"backup" "HPCounterBackUp"
|
||||
}
|
||||
"1" // Extreme, Insane: Bahamut
|
||||
{
|
||||
"name" "Bahamut"
|
||||
"method" "hpbar"
|
||||
"trigger" "Boss_Bahamut_Relay:OnUser1"
|
||||
|
||||
"iterator" "HPCounterIterator"
|
||||
"counter" "HPCounter"
|
||||
"backup" "HPCounterBackUp"
|
||||
}
|
||||
"2" // Insane: 2nd Bahamut @ Bridge
|
||||
{
|
||||
"name" "Bahamut"
|
||||
"method" "breakable"
|
||||
"trigger" "Sephiroth_Final_HP_Counter:OnStartTouch"
|
||||
|
||||
"breakable" "Final_Fulgor_Breakable"
|
||||
}
|
||||
"3" // Insane: Sephiroth @ Bridge
|
||||
{
|
||||
"name" "Sephiroth"
|
||||
"method" "breakable"
|
||||
"trigger" "Final_Fulgor_Breakable:OnBreak"
|
||||
|
||||
"breakable" "Sephiroth_Final_Breakable"
|
||||
}
|
||||
}
|
43
BossHP/configs/bosshp/ze_FFVII_Mako_Reactor_v5_3.cfg
Normal file
43
BossHP/configs/bosshp/ze_FFVII_Mako_Reactor_v5_3.cfg
Normal file
@ -0,0 +1,43 @@
|
||||
"bosses"
|
||||
{
|
||||
"0" // Normal: Crab?
|
||||
{
|
||||
"name" "Scorpion"
|
||||
"method" "breakable"
|
||||
"trigger" "calcVidaM:OnStartTouch"
|
||||
|
||||
"breakable" "Monstruo_Breakable"
|
||||
}
|
||||
"1" // Hard, Extreme, Extreme 2: Bahamut
|
||||
{
|
||||
"name" "Bahamut"
|
||||
"method" "counter"
|
||||
"trigger" "calcVidaD:OnStartTouch"
|
||||
|
||||
"counter" "bahamut_vida"
|
||||
}
|
||||
"2" // Hard, Extreme: Moving Sephiroth @ Bridge
|
||||
{
|
||||
"name" "Sephiroth"
|
||||
"method" "breakable"
|
||||
"trigger" "puertafinal:OnStartTouch"
|
||||
|
||||
"breakable" "glassT"
|
||||
}
|
||||
"3" // Extreme 2: 2nd Bahamut @ Bridge
|
||||
{
|
||||
"name" "Bahamut"
|
||||
"method" "breakable"
|
||||
"trigger" "baha_vida:OnStartTouch"
|
||||
|
||||
"breakable" "bahamutend"
|
||||
}
|
||||
"4" // Extreme 2: Sephiroth @ Bridge
|
||||
{
|
||||
"name" "Sephiroth"
|
||||
"method" "breakable"
|
||||
"trigger" "baha_vida2:OnStartTouch"
|
||||
|
||||
"breakable" "bahamutend1"
|
||||
}
|
||||
}
|
120
BossHP/configs/bosshp/ze_FFXII_Paramina_Rift_v1_4.cfg
Normal file
120
BossHP/configs/bosshp/ze_FFXII_Paramina_Rift_v1_4.cfg
Normal file
@ -0,0 +1,120 @@
|
||||
"bosses"
|
||||
{
|
||||
"-1"
|
||||
{
|
||||
"name" "Tower"
|
||||
"method" "breakable"
|
||||
"trigger" "Rift_Tower_1:OnHealthChanged"
|
||||
"breakable" "Rift_Tower_1"
|
||||
"timeout" "3"
|
||||
}
|
||||
"-2"
|
||||
{
|
||||
"name" "Tower"
|
||||
"method" "breakable"
|
||||
"trigger" "Rift_Tower_2:OnHealthChanged"
|
||||
"breakable" "Rift_Tower_2"
|
||||
"timeout" "3"
|
||||
}
|
||||
"-3"
|
||||
{
|
||||
"name" "Tower"
|
||||
"method" "breakable"
|
||||
"trigger" "Rift_Tower_3:OnHealthChanged"
|
||||
"breakable" "Rift_Tower_3"
|
||||
"timeout" "3"
|
||||
}
|
||||
"-4"
|
||||
{
|
||||
"name" "Tower"
|
||||
"method" "breakable"
|
||||
"trigger" "Rift_Tower_4:OnHealthChanged"
|
||||
"breakable" "Rift_Tower_4"
|
||||
"timeout" "3"
|
||||
}
|
||||
"-5"
|
||||
{
|
||||
"name" "Tower"
|
||||
"method" "breakable"
|
||||
"trigger" "Rift_Tower_5:OnHealthChanged"
|
||||
"breakable" "Rift_Tower_5"
|
||||
"timeout" "3"
|
||||
}
|
||||
"-6"
|
||||
{
|
||||
"name" "Tower"
|
||||
"method" "breakable"
|
||||
"trigger" "Rift_Tower_6:OnHealthChanged"
|
||||
"breakable" "Rift_Tower_6"
|
||||
"timeout" "3"
|
||||
}
|
||||
|
||||
"-7"
|
||||
{
|
||||
"name" "Frozen lake"
|
||||
"method" "breakable"
|
||||
"trigger" "Forest_BreakGlass:OnTakeDamage"
|
||||
"breakable" "Forest_BreakGlass"
|
||||
}
|
||||
|
||||
"-8"
|
||||
{
|
||||
"name" "Statue puzzle"
|
||||
"method" "counter"
|
||||
"trigger" "Temple_Randomizer:OnCase02"
|
||||
"counter" "Temple_Puzzle_Counter"
|
||||
}
|
||||
"-9"
|
||||
{
|
||||
"name" "Button puzzle"
|
||||
"method" "counter"
|
||||
"trigger" "Temple_Randomizer:OnCase01"
|
||||
"counter" "Temple_Puzzle_BtnCount"
|
||||
}
|
||||
"0"
|
||||
{
|
||||
"name" "Mateus"
|
||||
"method" "hpbar"
|
||||
"trigger" "Boss_Hurt_Hpadd:OnStartTouch"
|
||||
|
||||
"iterator" "Boss_Overlay_Counter"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_Health_Init"
|
||||
}
|
||||
// "1"
|
||||
// {
|
||||
// "name" "Minion"
|
||||
// "method" "counter"
|
||||
// "trigger" "Boss_Minion_Maker:OnEntitySpawned"
|
||||
// "multitrigger" "1"
|
||||
// "namefixup" "1"
|
||||
//
|
||||
// "counter" "Minion_Health"
|
||||
// }
|
||||
"2"
|
||||
{
|
||||
"name" "Chaos"
|
||||
"method" "hpbar"
|
||||
"trigger" "Forest_Puzzle_Temp:OnEntitySpawned"
|
||||
|
||||
"iterator" "Chaos_Overlay_Counter"
|
||||
"counter" "Chaos_Health"
|
||||
"backup" "Chaos_Health_Init"
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Mateus"
|
||||
"method" "counter"
|
||||
"trigger" "Fin_Boss_Temp:OnEntitySpawned"
|
||||
|
||||
"counter" "Fin_Boss_Counter"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Gabranth"
|
||||
"method" "counter"
|
||||
"trigger" "Guardian_Temp:OnEntitySpawned"
|
||||
|
||||
"counter" "Guardian_Counter"
|
||||
}
|
||||
}
|
118
BossHP/configs/bosshp/ze_FFXII_Westersand_v8zeta1.cfg
Normal file
118
BossHP/configs/bosshp/ze_FFXII_Westersand_v8zeta1.cfg
Normal file
@ -0,0 +1,118 @@
|
||||
"bosses"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Dragon"
|
||||
"method" "hpbar"
|
||||
"trigger" "Boss_Temp:OnEntitySpawned"
|
||||
|
||||
"iterator" "Boss_Overlay_Counter"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_Health_Init"
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Dragon"
|
||||
"method" "hpbar"
|
||||
"trigger" "Ehe_Dragon_Temp:OnEntitySpawned"
|
||||
|
||||
"iterator" "Boss_Overlay_Counter"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_Health_Init"
|
||||
}
|
||||
"2"
|
||||
{
|
||||
"name" "Belias"
|
||||
"method" "hpbar"
|
||||
"trigger" "Belias_Hp_To_Boss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Boss_Overlay_Counter"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_Health_Init"
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Gabranth"
|
||||
"method" "hpbar"
|
||||
"trigger" "Judge_Temp:OnEntitySpawned"
|
||||
|
||||
"iterator" "Boss_Overlay_Counter"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_Health_Init"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Gabranth"
|
||||
"method" "hpbar"
|
||||
"trigger" "Guard_Temp_Boss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Boss_Overlay_Counter"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_Health_Init"
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Chaos"
|
||||
"method" "hpbar"
|
||||
"trigger" "Chaos_Hp_To_Boss:OnStartTouch"
|
||||
|
||||
"iterator" "Boss_Overlay_Counter"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_Health_Init"
|
||||
}
|
||||
"6"
|
||||
{
|
||||
"name" "Esper Belias"
|
||||
"method" "counter"
|
||||
"trigger" "Espers_Temp_Belias:OnEntitySpawned"
|
||||
"multitrigger" "1"
|
||||
|
||||
"counter" "Espers_Belias_Counter"
|
||||
}
|
||||
"7"
|
||||
{
|
||||
"name" "Esper Chaos"
|
||||
"method" "counter"
|
||||
"trigger" "Espers_Temp_Chaos:OnEntitySpawned"
|
||||
"multitrigger" "1"
|
||||
|
||||
"counter" "Espers_Chaos_Counter"
|
||||
}
|
||||
"8"
|
||||
{
|
||||
"name" "Esper Mateus"
|
||||
"method" "counter"
|
||||
"trigger" "Espers_Temp_Mateus:OnEntitySpawned"
|
||||
"multitrigger" "1"
|
||||
|
||||
"counter" "Espers_Mateus_Counter"
|
||||
}
|
||||
|
||||
"9"
|
||||
{
|
||||
"name" "Esper Belias"
|
||||
"method" "breakable"
|
||||
"trigger" "Summon_Belias_Temp:OnEntitySpawned"
|
||||
"multitrigger" "1"
|
||||
|
||||
"breakable" "Belias_Summon_Physbox"
|
||||
}
|
||||
"10"
|
||||
{
|
||||
"name" "Esper Chaos"
|
||||
"method" "breakable"
|
||||
"trigger" "Summon_Chaos_Temp:OnEntitySpawned"
|
||||
"multitrigger" "1"
|
||||
|
||||
"breakable" "Chaos_Summon_Physbox"
|
||||
}
|
||||
"11"
|
||||
{
|
||||
"name" "Esper Mateus"
|
||||
"method" "breakable"
|
||||
"trigger" "Summon_Mateus_Temp:OnEntitySpawned"
|
||||
"multitrigger" "1"
|
||||
|
||||
"breakable" "Mateus_Summon_Physbox"
|
||||
}
|
||||
}
|
59
BossHP/configs/bosshp/ze_Pirates_Port_Royal_v3_6.cfg
Normal file
59
BossHP/configs/bosshp/ze_Pirates_Port_Royal_v3_6.cfg
Normal file
@ -0,0 +1,59 @@
|
||||
"bosses"
|
||||
{
|
||||
"0" // Stage 2
|
||||
{
|
||||
"name" "Cannon"
|
||||
"method" "hpbar"
|
||||
"trigger" "delo_boss_hity:OnStartTouch"
|
||||
|
||||
"iterator" "boss_hp_iterations"
|
||||
"counter" "delo_counter"
|
||||
"backup" "boss_hp_backup"
|
||||
}
|
||||
"1" // Stage 3
|
||||
{
|
||||
"name" "Pirate"
|
||||
"method" "hpbar"
|
||||
"trigger" "pirate_add_hit:OnStartTouch"
|
||||
|
||||
"iterator" "pirate_hp_iterations"
|
||||
"counter" "pirate_counter"
|
||||
"backup" "pirate_hp_backup"
|
||||
}
|
||||
"2" // Stage 4
|
||||
{
|
||||
"name" "Barbossa"
|
||||
"method" "hpbar"
|
||||
"trigger" "barbossa2_pocty:OnStartTouch"
|
||||
|
||||
"iterator" "barbossa_hp_iterations"
|
||||
"counter" "barbossa_counter"
|
||||
"backup" "barbossa_hp_backup"
|
||||
}
|
||||
"3" // Stage 5
|
||||
{
|
||||
"name" "Kraken"
|
||||
"method" "hpbar"
|
||||
"trigger" "kraken_multipl:OnStartTouch"
|
||||
|
||||
"iterator" "kraken_hp_iterations"
|
||||
"counter" "kraken_counter"
|
||||
"backup" "kraken_hp_backup"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Barbossa"
|
||||
"method" "counter"
|
||||
"trigger" "final_barbossa_hity:OnStartTouch"
|
||||
|
||||
"counter" "final_barbossa_counter"
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Barbossa"
|
||||
"method" "counter"
|
||||
"trigger" "bb_pocty:OnStartTouch"
|
||||
|
||||
"counter" "final_barbossa_counter2"
|
||||
}
|
||||
}
|
61
BossHP/configs/bosshp/ze_dark_souls_v2.cfg
Normal file
61
BossHP/configs/bosshp/ze_dark_souls_v2.cfg
Normal file
@ -0,0 +1,61 @@
|
||||
"bosses"
|
||||
{
|
||||
"0" // Stray Demon
|
||||
{
|
||||
"name" "Stray Demon"
|
||||
"method" "counter"
|
||||
"trigger" "Asylum_Demon_HP_Add:OnStartTouch"
|
||||
|
||||
"counter" "Asylum_Demon_Counter"
|
||||
}
|
||||
"1" // Old Witch
|
||||
{
|
||||
"name" "Old Witch"
|
||||
"method" "counter"
|
||||
"trigger" "Broadhead_HP_Add:OnStartTouch"
|
||||
|
||||
"counter" "Broadhead_Counter"
|
||||
}
|
||||
"2" // Golem
|
||||
{
|
||||
"name" "Golem"
|
||||
"method" "counter"
|
||||
"trigger" "Golem_Boss_Push_HP:OnStartTouch"
|
||||
|
||||
"counter" "Golem_Counter"
|
||||
}
|
||||
"3" // Gwyndolin / Ornstein
|
||||
{
|
||||
"name" "Gwyndolin"
|
||||
"method" "counter"
|
||||
"trigger" "Gwyndolin_Push_HP:OnStartTouch"
|
||||
"killtrigger" "Phase2_Add_HP:OnStartTouch"
|
||||
|
||||
"counter" "Gwyndolin_Counter"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Ornstein"
|
||||
"method" "counter"
|
||||
"trigger" "Gwyndolin_Push_HP:OnStartTouch"
|
||||
"killtrigger" "Phase2_Add_HP:OnStartTouch"
|
||||
|
||||
"counter" "2Ornstein_Counter"
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Phase 2"
|
||||
"method" "counter"
|
||||
"trigger" "Phase2_Add_HP:OnStartTouch"
|
||||
|
||||
"counter" "Phase2_Counter"
|
||||
}
|
||||
"6" // Gwyn
|
||||
{
|
||||
"name" "Gwyn"
|
||||
"method" "counter"
|
||||
"trigger" "Gwyn_Push_HP:OnStartTouch"
|
||||
|
||||
"counter" "Gwyn_Counter"
|
||||
}
|
||||
}
|
74
BossHP/configs/bosshp/ze_ffvii_cosmo_canyon_v5c3.cfg
Normal file
74
BossHP/configs/bosshp/ze_ffvii_cosmo_canyon_v5c3.cfg
Normal file
@ -0,0 +1,74 @@
|
||||
"bosses"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Gi Nattak"
|
||||
"method" "hpbar"
|
||||
"trigger" "Hold7_Trigger:OnTrigger:35"
|
||||
|
||||
"iterator" "Special_HealthCount"
|
||||
"counter" "Special_Health"
|
||||
"backup" "Special_HealthInit"
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Bomb"
|
||||
"method" "counter"
|
||||
"trigger" "Hard_End:OnTrigger"
|
||||
|
||||
"counter" "lvl2_Gi_Nattak_Counter"
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Ifrit"
|
||||
"method" "counter"
|
||||
"trigger" "Hojo_Temp:OnEntitySpawned"
|
||||
|
||||
"counter" "lvl2_Gi_Nattak_Counter"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Genesis"
|
||||
"method" "hpbar"
|
||||
"trigger" "Shinra_Elevator_Path_3:OnPass"
|
||||
|
||||
"iterator" "Special_HealthCount"
|
||||
"counter" "Special_Health"
|
||||
"backup" "Special_HealthInit"
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Ifrit"
|
||||
"method" "counter"
|
||||
"trigger" "Shinra_Ifrit_Phys:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"counter" "Shinra_Ifrit_Counter"
|
||||
}
|
||||
"6"
|
||||
{
|
||||
"name" "Jenova"
|
||||
"method" "counter"
|
||||
"trigger" "Shinra_Jenova_Phys:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"counter" "Shinra_Jenova_Counter"
|
||||
}
|
||||
"7"
|
||||
{
|
||||
"name" "Shiva"
|
||||
"method" "counter"
|
||||
"trigger" "Shinra_Shiva_Phys:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"counter" "Shinra_Shiva_Counter"
|
||||
}
|
||||
"8"
|
||||
{
|
||||
"name" "Genesis"
|
||||
"method" "counter"
|
||||
"trigger" "Genesis_Temp:OnEntitySpawned"
|
||||
|
||||
"counter" "Genesis_Counter"
|
||||
}
|
||||
}
|
42
BossHP/configs/bosshp/ze_lotr_minas_tirith_v2_2fix.cfg
Normal file
42
BossHP/configs/bosshp/ze_lotr_minas_tirith_v2_2fix.cfg
Normal file
@ -0,0 +1,42 @@
|
||||
"bosses"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Balrog"
|
||||
"method" "breakable"
|
||||
"trigger" "item_balrog_hp:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "item_balrog_hp"
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Gandalf"
|
||||
"method" "breakable"
|
||||
"trigger" "item_gandalf_15:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "item_gandalf_15"
|
||||
}
|
||||
"2"
|
||||
{
|
||||
"name" "White Knight"
|
||||
"method" "breakable"
|
||||
"trigger" "item_goliath_2:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "item_goliath_2"
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Nazgul"
|
||||
"method" "counter"
|
||||
"trigger" "temp_item_nazgul:OnEntitySpawned"
|
||||
"showtrigger" "item_nazgul_17:OutValue"
|
||||
"multitrigger" "1"
|
||||
"namefixup" "1"
|
||||
"timeout" "3"
|
||||
|
||||
"counter" "item_nazgul_17"
|
||||
}
|
||||
}
|
42
BossHP/configs/bosshp/ze_lotr_minas_tirith_v3_5.cfg
Normal file
42
BossHP/configs/bosshp/ze_lotr_minas_tirith_v3_5.cfg
Normal file
@ -0,0 +1,42 @@
|
||||
"bosses"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Balrog"
|
||||
"method" "breakable"
|
||||
"trigger" "item_balrog_hp:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "item_balrog_hp"
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Gandalf"
|
||||
"method" "breakable"
|
||||
"trigger" "item_gandalf_15:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "item_gandalf_15"
|
||||
}
|
||||
"2"
|
||||
{
|
||||
"name" "White Knight"
|
||||
"method" "breakable"
|
||||
"trigger" "item_goliath_2:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "item_goliath_2"
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Nazgul"
|
||||
"method" "counter"
|
||||
"trigger" "temp_item_nazgul:OnEntitySpawned"
|
||||
"showtrigger" "item_nazgul_17:OutValue"
|
||||
"multitrigger" "1"
|
||||
"namefixup" "1"
|
||||
"timeout" "3"
|
||||
|
||||
"counter" "item_nazgul_17"
|
||||
}
|
||||
}
|
11
BossHP/configs/bosshp/ze_parkers_pit_b8.cfg
Normal file
11
BossHP/configs/bosshp/ze_parkers_pit_b8.cfg
Normal file
@ -0,0 +1,11 @@
|
||||
"bosses"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "The Boss"
|
||||
"method" "breakable"
|
||||
"trigger" "bssak12:OnHealthChanged"
|
||||
|
||||
"breakable" "bssak12"
|
||||
}
|
||||
}
|
59
BossHP/configs/bosshp/ze_pirates_port_royal_v5_4s2.cfg
Normal file
59
BossHP/configs/bosshp/ze_pirates_port_royal_v5_4s2.cfg
Normal file
@ -0,0 +1,59 @@
|
||||
"bosses"
|
||||
{
|
||||
"0" // Stage 2
|
||||
{
|
||||
"name" "Cannon"
|
||||
"method" "hpbar"
|
||||
"trigger" "delo_boss_hity:OnStartTouch"
|
||||
|
||||
"iterator" "boss_hp_iterations"
|
||||
"counter" "delo_counter"
|
||||
"backup" "boss_hp_backup"
|
||||
}
|
||||
"1" // Stage 3
|
||||
{
|
||||
"name" "Pirate"
|
||||
"method" "hpbar"
|
||||
"trigger" "pirate_add_hit:OnStartTouch"
|
||||
|
||||
"iterator" "pirate_hp_iterations"
|
||||
"counter" "pirate_counter"
|
||||
"backup" "pirate_hp_backup"
|
||||
}
|
||||
"2" // Stage 4
|
||||
{
|
||||
"name" "Barbossa"
|
||||
"method" "hpbar"
|
||||
"trigger" "barbossa2_pocty:OnStartTouch"
|
||||
|
||||
"iterator" "barbossa_hp_iterations"
|
||||
"counter" "barbossa_counter"
|
||||
"backup" "barbossa_hp_backup"
|
||||
}
|
||||
"3" // Stage 5
|
||||
{
|
||||
"name" "Kraken"
|
||||
"method" "hpbar"
|
||||
"trigger" "kraken_multipl:OnStartTouch"
|
||||
|
||||
"iterator" "kraken_hp_iterations"
|
||||
"counter" "kraken_counter"
|
||||
"backup" "kraken_hp_backup"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Barbossa"
|
||||
"method" "counter"
|
||||
"trigger" "final_barbossa_hity:OnStartTouch"
|
||||
|
||||
"counter" "final_barbossa_counter"
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Barbossa"
|
||||
"method" "counter"
|
||||
"trigger" "bb_pocty:OnStartTouch"
|
||||
|
||||
"counter" "final_barbossa_counter2"
|
||||
}
|
||||
}
|
11
BossHP/configs/bosshp/ze_portal_story_v3_2.cfg
Normal file
11
BossHP/configs/bosshp/ze_portal_story_v3_2.cfg
Normal file
@ -0,0 +1,11 @@
|
||||
"bosses"
|
||||
{
|
||||
"0" // Glados
|
||||
{
|
||||
"name" "Glados"
|
||||
"method" "counter"
|
||||
"trigger" "lvl1_cts_counter_trigger:OnTrigger"
|
||||
|
||||
"counter" "lvl1_health_counter"
|
||||
}
|
||||
}
|
89
BossHP/configs/bosshp/ze_predator_ultimate_v3.cfg
Normal file
89
BossHP/configs/bosshp/ze_predator_ultimate_v3.cfg
Normal file
@ -0,0 +1,89 @@
|
||||
"bosses"
|
||||
{
|
||||
"0" // Stage 1 Predator
|
||||
{
|
||||
"name" "Predator"
|
||||
"method" "counter"
|
||||
"trigger" "aztecboss_math_health:OutValue"
|
||||
|
||||
"counter" "aztecboss_math_health"
|
||||
}
|
||||
"1" // Jump attack
|
||||
{
|
||||
"name" "Predator"
|
||||
"method" "counter"
|
||||
"trigger" "aztecboss_math_health:OnHitMin"
|
||||
|
||||
"counter" "aztecboss_math_health_2"
|
||||
}
|
||||
"2" // Stage 2 Predator
|
||||
{
|
||||
"name" "Predator"
|
||||
"method" "counter"
|
||||
"trigger" "endboss_healthpush:OnStartTouch"
|
||||
|
||||
"counter" "mob_grudge_counter"
|
||||
}
|
||||
"3" // Stage 3 Predator
|
||||
{
|
||||
"name" "Predator"
|
||||
"method" "counter"
|
||||
"trigger" "cboss_INIT_TRIGGER:OnStartTouch"
|
||||
|
||||
"counter" "cboss_predatorhealth_counter"
|
||||
}
|
||||
"4" // Attack counter
|
||||
{
|
||||
"name" "Predator Attack"
|
||||
"method" "counter"
|
||||
"trigger" "cboss_attack_orb_1:OnTrigger"
|
||||
"killtrigger" "cboss_attack_orb_1:OnTrigger:7"
|
||||
"multitrigger" "1"
|
||||
|
||||
"counter" "cboss_predator_interuptcounter"
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Predator Attack"
|
||||
"method" "counter"
|
||||
"trigger" "cboss_attack_fly_1:OnTrigger"
|
||||
"killtrigger" "cboss_attack_fly_1:OnTrigger:7"
|
||||
"multitrigger" "1"
|
||||
|
||||
"counter" "cboss_predator_interuptcounter"
|
||||
}
|
||||
"6"
|
||||
{
|
||||
"name" "Predator Attack"
|
||||
"method" "counter"
|
||||
"trigger" "cboss_attack_laser_1:OnTrigger"
|
||||
"killtrigger" "cboss_attack_laser_1:OnTrigger:7"
|
||||
"multitrigger" "1"
|
||||
|
||||
"counter" "cboss_predator_interuptcounter"
|
||||
}
|
||||
"7" // Stage 4 Predator
|
||||
{
|
||||
"name" "Predator"
|
||||
"method" "counter"
|
||||
"trigger" "fboss_start_trigger:OnStartTouch"
|
||||
|
||||
"counter" "fboss_math_2"
|
||||
}
|
||||
"8" // Rage mode
|
||||
{
|
||||
"name" "Predator"
|
||||
"method" "counter"
|
||||
"trigger" "fboss_math_2:OnHitMin"
|
||||
|
||||
"counter" "fboss_math_1"
|
||||
}
|
||||
"8" // Stage 4 Alien
|
||||
{
|
||||
"name" "Alien"
|
||||
"method" "counter"
|
||||
"trigger" "fboss_ee_tem:OnEntitySpawned"
|
||||
|
||||
"counter" "fboss_ee_math"
|
||||
}
|
||||
}
|
11
BossHP/configs/bosshp/ze_random_v9.cfg
Normal file
11
BossHP/configs/bosshp/ze_random_v9.cfg
Normal file
@ -0,0 +1,11 @@
|
||||
"bosses"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Combine Dropship"
|
||||
"method" "breakable"
|
||||
"trigger" "FBH:OnStartTouch"
|
||||
|
||||
"breakable" "FBK"
|
||||
}
|
||||
}
|
110
BossHP/configs/bosshp/ze_shroomforest3_b2.cfg
Normal file
110
BossHP/configs/bosshp/ze_shroomforest3_b2.cfg
Normal file
@ -0,0 +1,110 @@
|
||||
"bosses"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Snorlax"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_SnorlaxBoss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Boss_HealthCount"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_HealthInit"
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Knight"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_KnightBoss:OnEntitySpawned"
|
||||
"showtrigger" "Knight_Boss_Path1:OnPass"
|
||||
|
||||
"iterator" "Boss_HealthCount"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_HealthInit"
|
||||
}
|
||||
|
||||
"2"
|
||||
{
|
||||
"name" "Skeleton 1"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_SkeletonBoss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Skeleton_Boss_HealthCount1"
|
||||
"counter" "Skeleton_Boss_Health1"
|
||||
"backup" "Skeleton_Boss_HealthInit1"
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Skeleton 2"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_SkeletonBoss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Skeleton_Boss_HealthCount2"
|
||||
"counter" "Skeleton_Boss_Health2"
|
||||
"backup" "Skeleton_Boss_HealthInit2"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Skeleton 3"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_SkeletonBoss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Skeleton_Boss_HealthCount3"
|
||||
"counter" "Skeleton_Boss_Health3"
|
||||
"backup" "Skeleton_Boss_HealthInit3"
|
||||
}
|
||||
|
||||
"5"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break1:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break1"
|
||||
}
|
||||
"6"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break2:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break2"
|
||||
}
|
||||
"7"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break3:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break3"
|
||||
}
|
||||
"8"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break4:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break4"
|
||||
}
|
||||
"9"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break5:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break5"
|
||||
}
|
||||
"10"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break6:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break6"
|
||||
}
|
||||
}
|
107
BossHP/configs/bosshp/ze_shroomforest3_b3.cfg
Normal file
107
BossHP/configs/bosshp/ze_shroomforest3_b3.cfg
Normal file
@ -0,0 +1,107 @@
|
||||
"bosses"
|
||||
{
|
||||
"0"
|
||||
{
|
||||
"name" "Snorlax"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_SnorlaxBoss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Boss_HealthCount"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_HealthInit"
|
||||
}
|
||||
"1"
|
||||
{
|
||||
"name" "Knight"
|
||||
"method" "hpbar"
|
||||
"trigger" "Knight_Boss_Path0:OnPass"
|
||||
|
||||
"iterator" "Boss_HealthCount"
|
||||
"counter" "Boss_Health"
|
||||
"backup" "Boss_HealthInit"
|
||||
}
|
||||
"2"
|
||||
{
|
||||
"name" "Skeleton 1"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_SkeletonBoss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Skeleton_Boss_HealthCount1"
|
||||
"counter" "Skeleton_Boss_Health1"
|
||||
"backup" "Skeleton_Boss_HealthInit1"
|
||||
}
|
||||
"3"
|
||||
{
|
||||
"name" "Skeleton 2"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_SkeletonBoss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Skeleton_Boss_HealthCount2"
|
||||
"counter" "Skeleton_Boss_Health2"
|
||||
"backup" "Skeleton_Boss_HealthInit2"
|
||||
}
|
||||
"4"
|
||||
{
|
||||
"name" "Skeleton 3"
|
||||
"method" "hpbar"
|
||||
"trigger" "Template_SkeletonBoss:OnEntitySpawned"
|
||||
|
||||
"iterator" "Skeleton_Boss_HealthCount3"
|
||||
"counter" "Skeleton_Boss_Health3"
|
||||
"backup" "Skeleton_Boss_HealthInit3"
|
||||
}
|
||||
"5"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break1:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break1"
|
||||
}
|
||||
"6"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break2:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break2"
|
||||
}
|
||||
"7"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break3:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break3"
|
||||
}
|
||||
"8"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break4:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break4"
|
||||
}
|
||||
"9"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break5:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break5"
|
||||
}
|
||||
"10"
|
||||
{
|
||||
"name" "Spider"
|
||||
"method" "breakable"
|
||||
"trigger" "Spider_Break6:OnTakeDamage"
|
||||
"timeout" "3"
|
||||
|
||||
"breakable" "Spider_Break6"
|
||||
}
|
||||
}
|
59
BossHP/configs/bosshp/ze_tesv_skyrim_v4fix.cfg
Normal file
59
BossHP/configs/bosshp/ze_tesv_skyrim_v4fix.cfg
Normal file
@ -0,0 +1,59 @@
|
||||
"bosses"
|
||||
{
|
||||
"0" // Stage 1 Dragon
|
||||
{
|
||||
"name" "Alduin"
|
||||
"method" "hpbar"
|
||||
"trigger" "boss_hp:OnStartTouch"
|
||||
|
||||
"iterator" "BossHpIterations4"
|
||||
"counter" "counter_1"
|
||||
"backup" "counter_1_backup"
|
||||
}
|
||||
"1" // Stage 2 Dragon
|
||||
{
|
||||
"name" "Alduin"
|
||||
"method" "hpbar"
|
||||
"trigger" "boss_hp_2:OnStartTouch"
|
||||
|
||||
"iterator" "BossHpIterations3"
|
||||
"counter" "counter_2"
|
||||
"backup" "counter_2_backup"
|
||||
}
|
||||
"2" // Stage 4 Centurion
|
||||
{
|
||||
"name" "Centurion"
|
||||
"method" "hpbar"
|
||||
"trigger" "stage_4_bosshp:OnStartTouch"
|
||||
|
||||
"iterator" "BossHpIterations2"
|
||||
"counter" "dw_hp"
|
||||
"backup" "dw_hp_backup"
|
||||
}
|
||||
"3" // Stage 4 Small Centurion
|
||||
{
|
||||
"name" "Small Centurion"
|
||||
"method" "breakable"
|
||||
"trigger" "smalldwboss_relay:OnTrigger"
|
||||
|
||||
"breakable" "smalldwboss_physbox2"
|
||||
}
|
||||
"4" // Stage 5 Dragonpriest @ Teleporter
|
||||
{
|
||||
"name" "Dragonpriest"
|
||||
"method" "breakable"
|
||||
"trigger" "phbox:OnAwakened"
|
||||
|
||||
"breakable" "phbox"
|
||||
}
|
||||
"5" // Stage 5 Dragon
|
||||
{
|
||||
"name" "Alduin"
|
||||
"method" "hpbar"
|
||||
"trigger" "boss_hp_3_ex:OnStartTouch"
|
||||
|
||||
"iterator" "BossHpIterations"
|
||||
"counter" "counter_3"
|
||||
"backup" "bosshpbackup"
|
||||
}
|
||||
}
|
1198
BossHP/scripting/BossHP.sp
Normal file
1198
BossHP/scripting/BossHP.sp
Normal file
File diff suppressed because it is too large
Load Diff
271
BossHP/scripting/CBoss.inc
Normal file
271
BossHP/scripting/CBoss.inc
Normal file
@ -0,0 +1,271 @@
|
||||
#if defined _class_cboss_
|
||||
#endinput
|
||||
#endif
|
||||
#define _class_cboss_
|
||||
|
||||
methodmap CBoss < Basic
|
||||
{
|
||||
public CBoss()
|
||||
{
|
||||
Basic myclass = new Basic();
|
||||
|
||||
myclass.SetHandle("dConfig", INVALID_HANDLE);
|
||||
myclass.SetBool("bActive", false);
|
||||
myclass.SetBool("bShow", true);
|
||||
myclass.SetInt("iTemplateNum", -1);
|
||||
myclass.SetInt("iHealth", 0);
|
||||
myclass.SetInt("iLastChange", 0);
|
||||
myclass.SetFloat("fWaitUntil", 0.0);
|
||||
myclass.SetFloat("fShowAt", 0.0);
|
||||
myclass.SetFloat("fKillAt", 0.0);
|
||||
|
||||
return view_as<CBoss>(myclass);
|
||||
}
|
||||
|
||||
property CConfig dConfig
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return view_as<CConfig>(this.GetHandle("dConfig"));
|
||||
}
|
||||
public set(CConfig value)
|
||||
{
|
||||
this.SetHandle("dConfig", value);
|
||||
}
|
||||
}
|
||||
|
||||
property bool bActive
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetBool("bActive");
|
||||
}
|
||||
public set(bool value)
|
||||
{
|
||||
this.SetBool("bActive", value);
|
||||
}
|
||||
}
|
||||
|
||||
property bool bShow
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetBool("bShow");
|
||||
}
|
||||
public set(bool value)
|
||||
{
|
||||
this.SetBool("bShow", value);
|
||||
}
|
||||
}
|
||||
|
||||
property int iTemplateNum
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iTemplateNum");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iTemplateNum", value);
|
||||
}
|
||||
}
|
||||
|
||||
property int iHealth
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iHealth");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iHealth", value);
|
||||
}
|
||||
}
|
||||
|
||||
property int iLastChange
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iLastChange");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iLastChange", value);
|
||||
}
|
||||
}
|
||||
|
||||
property float fWaitUntil
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetFloat("fWaitUntil");
|
||||
}
|
||||
public set(float value)
|
||||
{
|
||||
this.SetFloat("fWaitUntil", value);
|
||||
}
|
||||
}
|
||||
|
||||
property float fShowAt
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetFloat("fShowAt");
|
||||
}
|
||||
public set(float value)
|
||||
{
|
||||
this.SetFloat("fShowAt", value);
|
||||
}
|
||||
}
|
||||
|
||||
property float fKillAt
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetFloat("fKillAt");
|
||||
}
|
||||
public set(float value)
|
||||
{
|
||||
this.SetFloat("fKillAt", value);
|
||||
}
|
||||
}
|
||||
|
||||
property bool IsBreakable {
|
||||
public get() {
|
||||
return this.dConfig.IsBreakable;
|
||||
}
|
||||
}
|
||||
|
||||
property bool IsCounter {
|
||||
public get() {
|
||||
return this.dConfig.IsCounter;
|
||||
}
|
||||
}
|
||||
|
||||
property bool IsHPBar {
|
||||
public get() {
|
||||
return this.dConfig.IsHPBar;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
methodmap CBossBreakable < CBoss
|
||||
{
|
||||
public CBossBreakable()
|
||||
{
|
||||
CBoss myclass = new CBoss();
|
||||
|
||||
myclass.SetInt("iBreakableEnt", INVALID_ENT_REFERENCE);
|
||||
|
||||
return view_as<CBossBreakable>(myclass);
|
||||
}
|
||||
|
||||
property int iBreakableEnt
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iBreakableEnt");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iBreakableEnt", value);
|
||||
}
|
||||
}
|
||||
|
||||
property CConfigBreakable Config
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return view_as<CConfigBreakable>(this.dConfig);
|
||||
}
|
||||
public set(CConfigBreakable value)
|
||||
{
|
||||
this.dConfig = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
methodmap CBossCounter < CBoss
|
||||
{
|
||||
public CBossCounter()
|
||||
{
|
||||
CBoss myclass = new CBoss();
|
||||
|
||||
myclass.SetInt("iCounterEnt", INVALID_ENT_REFERENCE);
|
||||
|
||||
return view_as<CBossCounter>(myclass);
|
||||
}
|
||||
|
||||
property int iCounterEnt
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iCounterEnt");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iCounterEnt", value);
|
||||
}
|
||||
}
|
||||
|
||||
property CConfigCounter Config
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return view_as<CConfigCounter>(this.dConfig);
|
||||
}
|
||||
public set(CConfigCounter value)
|
||||
{
|
||||
this.dConfig = value;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
methodmap CBossHPBar < CBossCounter
|
||||
{
|
||||
public CBossHPBar()
|
||||
{
|
||||
CBoss myclass = new CBossCounter();
|
||||
|
||||
myclass.SetInt("iIteratorEnt", INVALID_ENT_REFERENCE);
|
||||
myclass.SetInt("iBackupEnt", INVALID_ENT_REFERENCE);
|
||||
|
||||
return view_as<CBossHPBar>(myclass);
|
||||
}
|
||||
|
||||
property int iIteratorEnt
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iIteratorEnt");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iIteratorEnt", value);
|
||||
}
|
||||
}
|
||||
|
||||
property int iBackupEnt
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iBackupEnt");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iBackupEnt", value);
|
||||
}
|
||||
}
|
||||
|
||||
property CConfigHPBar Config
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return view_as<CConfigHPBar>(this.dConfig);
|
||||
}
|
||||
public set(CConfigHPBar value)
|
||||
{
|
||||
this.dConfig = value;
|
||||
}
|
||||
}
|
||||
}
|
321
BossHP/scripting/CConfig.inc
Normal file
321
BossHP/scripting/CConfig.inc
Normal file
@ -0,0 +1,321 @@
|
||||
#if defined _class_cconfig_
|
||||
#endinput
|
||||
#endif
|
||||
#define _class_cconfig_
|
||||
|
||||
enum eConfigMethod
|
||||
{
|
||||
eConfigMethod_Invalid = 0,
|
||||
eConfigMethod_Breakable = 1,
|
||||
eConfigMethod_Counter = 2,
|
||||
eConfigMethod_HPBar = 3
|
||||
}
|
||||
|
||||
methodmap CConfig < Basic
|
||||
{
|
||||
public CConfig()
|
||||
{
|
||||
Basic myclass = new Basic();
|
||||
|
||||
myclass.SetString("sName", "");
|
||||
myclass.SetInt("iMethod", eConfigMethod_Invalid);
|
||||
myclass.SetString("sTrigger", "");
|
||||
myclass.SetString("sOutput", "");
|
||||
myclass.SetFloat("fTriggerDelay", 0.0);
|
||||
myclass.SetString("sShowTrigger", "");
|
||||
myclass.SetString("sShowOutput", "");
|
||||
myclass.SetFloat("fShowTriggerDelay", 0.0);
|
||||
myclass.SetString("sKillTrigger", "");
|
||||
myclass.SetString("sKillOutput", "");
|
||||
myclass.SetFloat("fKillTriggerDelay", 0.0);
|
||||
myclass.SetBool("bMultiTrigger", false);
|
||||
myclass.SetBool("bNameFixup", false);
|
||||
myclass.SetInt("iTimeout", -1);
|
||||
|
||||
return view_as<CConfig>(myclass);
|
||||
}
|
||||
|
||||
public bool GetName(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sName", buffer, length);
|
||||
}
|
||||
|
||||
public void SetName(const char[] buffer)
|
||||
{
|
||||
this.SetString("sName", buffer);
|
||||
}
|
||||
|
||||
property eConfigMethod iMethod
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return view_as<eConfigMethod>(this.GetInt("iMethod"));
|
||||
}
|
||||
public set(eConfigMethod value)
|
||||
{
|
||||
this.SetInt("iMethod", view_as<int>(value));
|
||||
}
|
||||
}
|
||||
|
||||
public bool GetTrigger(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sTrigger", buffer, length);
|
||||
}
|
||||
|
||||
public void SetTrigger(const char[] buffer)
|
||||
{
|
||||
this.SetString("sTrigger", buffer);
|
||||
}
|
||||
|
||||
public bool GetOutput(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sOutput", buffer, length);
|
||||
}
|
||||
|
||||
public void SetOutput(const char[] buffer)
|
||||
{
|
||||
this.SetString("sOutput", buffer);
|
||||
}
|
||||
|
||||
property float fTriggerDelay
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetFloat("fTriggerDelay");
|
||||
}
|
||||
public set(float value)
|
||||
{
|
||||
this.SetFloat("fTriggerDelay", value);
|
||||
}
|
||||
}
|
||||
|
||||
public bool GetShowTrigger(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sShowTrigger", buffer, length);
|
||||
}
|
||||
|
||||
public void SetShowTrigger(const char[] buffer)
|
||||
{
|
||||
this.SetString("sShowTrigger", buffer);
|
||||
}
|
||||
|
||||
public bool GetShowOutput(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sShowOutput", buffer, length);
|
||||
}
|
||||
|
||||
public void SetShowOutput(const char[] buffer)
|
||||
{
|
||||
this.SetString("sShowOutput", buffer);
|
||||
}
|
||||
|
||||
property float fShowTriggerDelay
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetFloat("fShowTriggerDelay");
|
||||
}
|
||||
public set(float value)
|
||||
{
|
||||
this.SetFloat("fShowTriggerDelay", value);
|
||||
}
|
||||
}
|
||||
|
||||
public bool GetKillTrigger(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sKillTrigger", buffer, length);
|
||||
}
|
||||
|
||||
public void SetKillTrigger(const char[] buffer)
|
||||
{
|
||||
this.SetString("sKillTrigger", buffer);
|
||||
}
|
||||
|
||||
public bool GetKillOutput(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sKillOutput", buffer, length);
|
||||
}
|
||||
|
||||
public void SetKillOutput(const char[] buffer)
|
||||
{
|
||||
this.SetString("sKillOutput", buffer);
|
||||
}
|
||||
|
||||
property float fKillTriggerDelay
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetFloat("fKillTriggerDelay");
|
||||
}
|
||||
public set(float value)
|
||||
{
|
||||
this.SetFloat("fKillTriggerDelay", value);
|
||||
}
|
||||
}
|
||||
|
||||
property bool bMultiTrigger
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetBool("bMultiTrigger");
|
||||
}
|
||||
public set(bool value)
|
||||
{
|
||||
this.SetBool("bMultiTrigger", value);
|
||||
}
|
||||
}
|
||||
|
||||
property bool bNameFixup
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetBool("bNameFixup");
|
||||
}
|
||||
public set(bool value)
|
||||
{
|
||||
this.SetBool("bNameFixup", value);
|
||||
}
|
||||
}
|
||||
|
||||
property int iTimeout
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetInt("iTimeout");
|
||||
}
|
||||
public set(int value)
|
||||
{
|
||||
this.SetInt("iTimeout", value);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
property bool IsBreakable {
|
||||
public get() {
|
||||
return (this.iMethod == eConfigMethod_Breakable);
|
||||
}
|
||||
}
|
||||
|
||||
property bool IsCounter {
|
||||
public get() {
|
||||
return (this.iMethod == eConfigMethod_Counter);
|
||||
}
|
||||
}
|
||||
|
||||
property bool IsHPBar {
|
||||
public get() {
|
||||
return (this.iMethod == eConfigMethod_HPBar);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
methodmap CConfigBreakable < CConfig
|
||||
{
|
||||
public CConfigBreakable()
|
||||
{
|
||||
CConfig myclass = new CConfig();
|
||||
|
||||
myclass.SetString("sBreakable", "");
|
||||
|
||||
myclass.iMethod = eConfigMethod_Breakable;
|
||||
|
||||
return view_as<CConfigBreakable>(myclass);
|
||||
}
|
||||
|
||||
public bool GetBreakable(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sBreakable", buffer, length);
|
||||
}
|
||||
|
||||
public void SetBreakable(const char[] buffer)
|
||||
{
|
||||
this.SetString("sBreakable", buffer);
|
||||
}
|
||||
}
|
||||
|
||||
methodmap CConfigCounter < CConfig
|
||||
{
|
||||
public CConfigCounter()
|
||||
{
|
||||
CConfig myclass = new CConfig();
|
||||
|
||||
myclass.SetString("sCounter", "");
|
||||
myclass.SetBool("bCounterReverse", false);
|
||||
|
||||
myclass.iMethod = eConfigMethod_Counter;
|
||||
|
||||
return view_as<CConfigCounter>(myclass);
|
||||
}
|
||||
|
||||
public bool GetCounter(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sCounter", buffer, length);
|
||||
}
|
||||
|
||||
public void SetCounter(const char[] buffer)
|
||||
{
|
||||
this.SetString("sCounter", buffer);
|
||||
}
|
||||
|
||||
property bool bCounterReverse
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetBool("bCounterReverse");
|
||||
}
|
||||
public set(bool value)
|
||||
{
|
||||
this.SetBool("bCounterReverse", value);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
methodmap CConfigHPBar < CConfigCounter
|
||||
{
|
||||
public CConfigHPBar()
|
||||
{
|
||||
CConfigCounter myclass = new CConfigCounter();
|
||||
|
||||
myclass.SetString("sIterator", "");
|
||||
myclass.SetString("sBackup", "");
|
||||
myclass.SetBool("bIteratorReverse", false);
|
||||
|
||||
myclass.iMethod = eConfigMethod_HPBar;
|
||||
|
||||
return view_as<CConfigHPBar>(myclass);
|
||||
}
|
||||
|
||||
public bool GetIterator(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sIterator", buffer, length);
|
||||
}
|
||||
|
||||
public void SetIterator(const char[] buffer)
|
||||
{
|
||||
this.SetString("sIterator", buffer);
|
||||
}
|
||||
|
||||
public bool GetBackup(char[] buffer, int length)
|
||||
{
|
||||
return this.GetString("sBackup", buffer, length);
|
||||
}
|
||||
|
||||
public void SetBackup(const char[] buffer)
|
||||
{
|
||||
this.SetString("sBackup", buffer);
|
||||
}
|
||||
|
||||
property bool bIteratorReverse
|
||||
{
|
||||
public get()
|
||||
{
|
||||
return this.GetBool("bIteratorReverse");
|
||||
}
|
||||
public set(bool value)
|
||||
{
|
||||
this.SetBool("bIteratorReverse", value);
|
||||
}
|
||||
}
|
||||
}
|
1
BossHP/scripting/include/basic.inc
Symbolic link
1
BossHP/scripting/include/basic.inc
Symbolic link
@ -0,0 +1 @@
|
||||
../../../includes/basic.inc
|
1
BossHP/scripting/include/outputinfo.inc
Symbolic link
1
BossHP/scripting/include/outputinfo.inc
Symbolic link
@ -0,0 +1 @@
|
||||
../../../includes/outputinfo.inc
|
Loading…
Reference in New Issue
Block a user