added Spam Alt Fire and removed some groups

This commit is contained in:
Pinsplash 2023-05-27 00:31:24 -05:00
parent 2c481aae78
commit 9478cf3818
8 changed files with 35 additions and 39 deletions

View File

@ -123,6 +123,9 @@ chaos_time_phys_slow 1
//Solid Triggers
chaos_time_solid_triggers 0.5
//Spam Alt Fire
chaos_time_secondary_spam 1
//Stop
chaos_time_no_movement 0.25
@ -341,6 +344,9 @@ chaos_prob_phys_slow 100
//Solid Triggers
chaos_prob_solid_triggers 100
//Spam Alt Fire
chaos_prob_secondary_spam 100
//Spawn Mounted Gun
chaos_prob_spawn_mounted_gun 100

View File

@ -7,17 +7,5 @@ chaos_group 10 38 39 //Stop, Superhot, Supercold
chaos_group 11 38 39 //Super Speed, Superhot, Supercold
chaos_group 13 14 15 16 //NPC Relationships (World of... effects)
chaos_group 7 49 //Slow Physics, Floor Is Lava
chaos_group 25 46 //No Looking Left/Right, Annoying Alyx
chaos_group 26 46 //No Looking Up/Down, Annoying Alyx
chaos_group 25 34 //No Looking Left/Right, Left 4 Dead
chaos_group 26 34 //No Looking Up/Down, Left 4 Dead
chaos_group 25 72 //No Looking Left/Right, Bastard Barney
chaos_group 26 72 //No Looking Up/Down, Bastard Barney
chaos_group 25 74 //No Looking Left/Right, Krazy Kleiner
chaos_group 26 74 //No Looking Up/Down, Krazy Kleiner
chaos_group 25 75 //No Looking Left/Right, Griefing Grigori
chaos_group 26 75 //No Looking Up/Down, Griefing Grigori
chaos_group 25 76 //No Looking Left/Right, Malignant Mossman
chaos_group 26 76 //No Looking Up/Down, Malignant Mossman
chaos_group 25 77 //No Looking Left/Right, Vexing Vortigaunt
chaos_group 26 77 //No Looking Up/Down, Vexing Vortigaunt
chaos_group 26 34 //No Looking Up/Down, Left 4 Dead

View File

@ -123,6 +123,9 @@ chaos_time_phys_slow 1
//Solid Triggers
chaos_time_solid_triggers 0.5
//Spam Alt Fire
chaos_time_secondary_spam 1
//Stop
chaos_time_no_movement 0.25
@ -341,6 +344,9 @@ chaos_prob_phys_slow 100
//Solid Triggers
chaos_prob_solid_triggers 100
//Spam Alt Fire
chaos_prob_secondary_spam 100
//Spawn Mounted Gun
chaos_prob_spawn_mounted_gun 100

View File

@ -7,17 +7,5 @@ chaos_group 10 38 39 //Stop, Superhot, Supercold
chaos_group 11 38 39 //Super Speed, Superhot, Supercold
chaos_group 13 14 15 16 //NPC Relationships (World of... effects)
chaos_group 7 49 //Slow Physics, Floor Is Lava
chaos_group 25 46 //No Looking Left/Right, Annoying Alyx
chaos_group 26 46 //No Looking Up/Down, Annoying Alyx
chaos_group 25 34 //No Looking Left/Right, Left 4 Dead
chaos_group 26 34 //No Looking Up/Down, Left 4 Dead
chaos_group 25 72 //No Looking Left/Right, Bastard Barney
chaos_group 26 72 //No Looking Up/Down, Bastard Barney
chaos_group 25 74 //No Looking Left/Right, Krazy Kleiner
chaos_group 26 74 //No Looking Up/Down, Krazy Kleiner
chaos_group 25 75 //No Looking Left/Right, Griefing Grigori
chaos_group 26 75 //No Looking Up/Down, Griefing Grigori
chaos_group 25 76 //No Looking Left/Right, Malignant Mossman
chaos_group 26 76 //No Looking Up/Down, Malignant Mossman
chaos_group 25 77 //No Looking Left/Right, Vexing Vortigaunt
chaos_group 26 77 //No Looking Up/Down, Vexing Vortigaunt
chaos_group 26 34 //No Looking Up/Down, Left 4 Dead

View File

@ -123,6 +123,9 @@ chaos_time_phys_slow 1
//Solid Triggers
chaos_time_solid_triggers 0.5
//Spam Alt Fire
chaos_time_secondary_spam 1
//Stop
chaos_time_no_movement 0.25
@ -341,6 +344,9 @@ chaos_prob_phys_slow 100
//Solid Triggers
chaos_prob_solid_triggers 100
//Spam Alt Fire
chaos_prob_secondary_spam 100
//Spawn Mounted Gun
chaos_prob_spawn_mounted_gun 100

View File

@ -7,17 +7,5 @@ chaos_group 10 38 39 //Stop, Superhot, Supercold
chaos_group 11 38 39 //Super Speed, Superhot, Supercold
chaos_group 13 14 15 16 //NPC Relationships (World of... effects)
chaos_group 7 49 //Slow Physics, Floor Is Lava
chaos_group 25 46 //No Looking Left/Right, Annoying Alyx
chaos_group 26 46 //No Looking Up/Down, Annoying Alyx
chaos_group 25 34 //No Looking Left/Right, Left 4 Dead
chaos_group 26 34 //No Looking Up/Down, Left 4 Dead
chaos_group 25 72 //No Looking Left/Right, Bastard Barney
chaos_group 26 72 //No Looking Up/Down, Bastard Barney
chaos_group 25 74 //No Looking Left/Right, Krazy Kleiner
chaos_group 26 74 //No Looking Up/Down, Krazy Kleiner
chaos_group 25 75 //No Looking Left/Right, Griefing Grigori
chaos_group 26 75 //No Looking Up/Down, Griefing Grigori
chaos_group 25 76 //No Looking Left/Right, Malignant Mossman
chaos_group 26 76 //No Looking Up/Down, Malignant Mossman
chaos_group 25 77 //No Looking Left/Right, Vexing Vortigaunt
chaos_group 26 77 //No Looking Up/Down, Vexing Vortigaunt
chaos_group 26 34 //No Looking Up/Down, Left 4 Dead

View File

@ -92,6 +92,7 @@ enum Effect_T
EFFECT_EVIL_GRIGORI,
EFFECT_EVIL_MOSSMAN,
EFFECT_EVIL_VORT,
EFFECT_SECONDARY_SPAM,
//EFFECT_EVIL_ELI,
//EFFECT_EVIL_BREEN,
@ -537,4 +538,9 @@ public:
void TransitionEffect() override;
void RestoreEffect() override;
};
class CESecondarySpam : public CChaosEffect
{
public:
void MaintainEffect() override;
};
#endif

View File

@ -5090,6 +5090,7 @@ ConVar chaos_time_death_water("chaos_time_death_water", "1");
ConVar chaos_time_quickclip_on("chaos_time_quickclip_on", "1");
ConVar chaos_time_quickclip_off("chaos_time_quickclip_off", "1");
ConVar chaos_time_random_cc("chaos_time_random_cc", "1");
ConVar chaos_time_secondary_spam("chaos_time_secondary_spam", "1");
ConVar chaos_prob_zerog("chaos_prob_zerog", "100");
ConVar chaos_prob_superg("chaos_prob_superg", "100");
@ -5168,6 +5169,7 @@ ConVar chaos_prob_evil_kleiner("chaos_prob_evil_kleiner", "100");
ConVar chaos_prob_evil_grigori("chaos_prob_evil_grigori", "100");
ConVar chaos_prob_evil_mossman("chaos_prob_evil_mossman", "100");
ConVar chaos_prob_evil_vort("chaos_prob_evil_vort", "100");
ConVar chaos_prob_secondary_spam("chaos_prob_secondary_spam", "100");
//ConVar chaos_prob_evil_eli("chaos_prob_evil_eli", "100");
//ConVar chaos_prob_evil_breen("chaos_prob_evil_breen", "100");
#define ERROR_WEIGHT 1
@ -5251,6 +5253,7 @@ void CHL2_Player::PopulateEffects()
CreateEffect<CEEvilNPC>(EFFECT_EVIL_GRIGORI, MAKE_STRING("Griefing Grigori"), EC_HAS_WEAPON, -1, chaos_prob_evil_grigori.GetInt());
CreateEffect<CEEvilNPC>(EFFECT_EVIL_MOSSMAN, MAKE_STRING("Malignant Mossman"), EC_HAS_WEAPON, -1, chaos_prob_evil_mossman.GetInt());
CreateEffect<CEEvilNPC>(EFFECT_EVIL_VORT, MAKE_STRING("Vexing Vortigaunt"), EC_HAS_WEAPON, -1, chaos_prob_evil_vort.GetInt());
CreateEffect<CESecondarySpam>(EFFECT_SECONDARY_SPAM, MAKE_STRING("Spam Alt Fire"), EC_NONE, chaos_time_secondary_spam.GetFloat(), chaos_prob_secondary_spam.GetInt());
//CreateEffect<CEEvilNPC>(EFFECT_EVIL_ELI, MAKE_STRING("Evil Eli"), EC_HAS_WEAPON, -1, chaos_prob_evil_eli.GetInt());
//CreateEffect<CEEvilNPC>(EFFECT_EVIL_BREEN, MAKE_STRING("Hands-on Dr. Breen"), EC_HAS_WEAPON, -1, chaos_prob_evil_breen.GetInt());
}
@ -8695,4 +8698,9 @@ void CERandomCC::RestoreEffect()
{
StopEffect();
DisplayGeneratedCC();
}
void CESecondarySpam::MaintainEffect()
{
engine->ClientCommand(engine->PEntityOfEntIndex(1),
"+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;+attack2;wait 5;-attack2;wait 5;\n");
}