Skip to content

Commit

Permalink
words
Browse files Browse the repository at this point in the history
  • Loading branch information
haxtonsale committed Jul 18, 2019
1 parent 9773810 commit 1a3dea1
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 19 deletions.
4 changes: 2 additions & 2 deletions scripting/instagib.sp
Original file line number Diff line number Diff line change
Expand Up @@ -437,8 +437,8 @@ public void Frame_RailjumpParticles(ArrayStack data)
delete data;

TE_SpawnParticle("Explosion_ShockWave_01", vecEnd);
TE_AttachParticle(client, "rocketjump_smoke", PATTACH_POINT_FOLLOW, 5, _, TE_ToAllButOne, client); // Left leg smoke
TE_AttachParticle(client, "rocketjump_smoke", PATTACH_POINT_FOLLOW, 6, _, TE_ToAllButOne, client); // Right leg smoke
TE_AttachParticle(client, "rocketjump_smoke", PATTACH_POINT_FOLLOW, 5, _, TE_ToAllButOne, client); // Left foot smoke
TE_AttachParticle(client, "rocketjump_smoke", PATTACH_POINT_FOLLOW, 6, _, TE_ToAllButOne, client); // Right foot smoke
}

// -------------------------------------------------------------------
Expand Down
29 changes: 12 additions & 17 deletions scripting/instagib/config.sp
Original file line number Diff line number Diff line change
Expand Up @@ -147,25 +147,20 @@ void SpecialRoundConfig_GetOverwrites(InstagibRound ig_round)
bool result = IGConfig.JumpToKey(ig_round.name);

if (result) {
ig_round.is_special = view_as<bool>(IGConfig.GetNum("IsSpecialRound", ig_round.is_special));
ig_round.ig_map_only = view_as<bool>(IGConfig.GetNum("InstagibMapOnly", ig_round.ig_map_only));

ig_round.round_time = IGConfig.GetNum("RoundLength", ig_round.round_time);
ig_round.minscore = IGConfig.GetNum("MinScore", ig_round.minscore);
ig_round.maxscore_multi = IGConfig.GetFloat("MaxScore_Multiplier", ig_round.maxscore_multi);
ig_round.points_per_kill = IGConfig.GetNum("PointsForKill", ig_round.points_per_kill);
ig_round.allow_killbind = view_as<bool>(IGConfig.GetNum("AllowKillbind", ig_round.allow_killbind));

ig_round.is_special = view_as<bool>(IGConfig.GetNum("IsSpecialRound", ig_round.is_special));
ig_round.ig_map_only = view_as<bool>(IGConfig.GetNum("InstagibMapOnly", ig_round.ig_map_only));
ig_round.round_time = IGConfig.GetNum("RoundLength", ig_round.round_time);
ig_round.minscore = IGConfig.GetNum("MinScore", ig_round.minscore);
ig_round.maxscore_multi = IGConfig.GetFloat("MaxScore_Multiplier", ig_round.maxscore_multi);
ig_round.points_per_kill = IGConfig.GetNum("PointsForKill", ig_round.points_per_kill);
ig_round.allow_killbind = view_as<bool>(IGConfig.GetNum("AllowKillbind", ig_round.allow_killbind));
ig_round.railjump_velXY_multi = IGConfig.GetFloat("Railjump_VelocityMultiplier_XY", ig_round.railjump_velXY_multi);
ig_round.railjump_velZ_multi = IGConfig.GetFloat("Railjump_VelocityMultiplier_Z", ig_round.railjump_velZ_multi);

ig_round.respawn_time = IGConfig.GetFloat("RespawnTime", ig_round.respawn_time);
ig_round.spawnuber_duration = IGConfig.GetFloat("UberDuration", ig_round.spawnuber_duration);

ig_round.main_wep_clip = IGConfig.GetNum("MainWeapon_Clip", ig_round.main_wep_clip);
ig_round.infinite_ammo = view_as<bool>(IGConfig.GetNum("InfiniteAmmo", ig_round.infinite_ammo));

ig_round.min_players = IGConfig.GetNum("MinPlayers", ig_round.min_players);
ig_round.respawn_time = IGConfig.GetFloat("RespawnTime", ig_round.respawn_time);
ig_round.spawnuber_duration = IGConfig.GetFloat("UberDuration", ig_round.spawnuber_duration);
ig_round.main_wep_clip = IGConfig.GetNum("MainWeapon_Clip", ig_round.main_wep_clip);
ig_round.infinite_ammo = view_as<bool>(IGConfig.GetNum("InfiniteAmmo", ig_round.infinite_ammo));
ig_round.min_players = IGConfig.GetNum("MinPlayers", ig_round.min_players);
}
}
}

0 comments on commit 1a3dea1

Please sign in to comment.