asdfa
This code is over 6 months old. The code may have expired and might no longer function.
rules
{
"500% Chaos Base Scoring - 100pts/sec in Enemy Base"
{
settings
{
main
{
description "500% speed | 100 points/sec for having 1+ player in enemy base | Zones near spawn"
}
modes
{
General
{
enabled maps
{
King's Row
Dorado
Havana
Junkertown
Rialto
Circuit Royal
Blizzard World
Eichenwalde
Hollywood
Numbani
Gibraltar
Route 66
Colosseo
New Queen Street
Midtown
Paraiso
Esperança
Antarctic Peninsula
Shambali Monastery
Busan
Ilios
Lijiang Tower
Nepal
Oasis
}
}
Assault
{
enabled maps
{
Hanamura
Horizon Lunar Colony
Paris
Temple of Anubis
Volskaya Industries
}
}
Control
{
enabled maps
{
Antarctic Peninsula
Busan
Ilios
Lijiang Tower
Nepal
Oasis
}
}
Escort
{
enabled maps
{
Dorado
Havana
Junkertown
Rialto
Circuit Royal
Route 66
}
}
Hybrid
{
enabled maps
{
King's Row
Blizzard World
Eichenwalde
Hollywood
Numbani
}
}
Push
{
enabled maps
{
Colosseo
New Queen Street
Esperança
}
}
}
heroes
{
General
{
enabled heroes
{
All
}
}
}
game modes
{
General
{
game mode settings
{
enabled
{
Skirmish
}
disabled
{
Assault
Control
Escort
Hybrid
Push
}
}
}
}
}
variables
{
global:
0: Team1Zone
1: Team2Zone
2: ScoringActiveTeam1
3: ScoringActiveTeam2
}
actions
{
// 500% Settings
Set Player Speed(1000);
Set Ultimate Charge(500);
Set Player Health(500);
Set Damage Dealt(500);
Set Damage Received(500);
Set Healing Dealt(500);
Set Healing Received(500);
Set Projectile Speed(500);
Set Ability Cooldown(500);
Set Respawn Time(20);
// Create capture zones near spawn
global.Team1Zone = Create Capture Point In World(Team 1, Vector(-100, 0, 0), 8.00, True); // Adjust per map if needed
global.Team2Zone = Create Capture Point In World(Team 2, Vector(100, 0, 0), 8.00, True);
// Move zones near spawn (example for King's Row)
If(Map Name() == "King's Row");
Modify Global Variable(global.Team1Zone, Set Position, Vector(-39.5, 3.5, -85)); // Near Attacker Spawn
Modify Global Variable(global.Team2Zone, Set Position, Vector(39.5, 3.5, 85)); // Near Defender Spawn
End;
If(Map Name() == "Dorado");
Modify Global Variable(global.Team1Zone, Set Position, Vector(-75, 15, 50));
Modify Global Variable(global.Team2Zone, Set Position, Vector(75, 15, -50));
End;
If(Map Name() == "Havana");
Modify Global Variable(global.Team1Zone, Set Position, Vector(-90, 10, 30));
Modify Global Variable(global.Team2Zone, Set Position, Vector(90, 10, -30));
End;
// Add more maps as needed (or use spawn-relative positioning below)
// Fallback: Place zones 15m in front of each spawn
Modify Global Variable(global.Team1Zone, Set Position, Add(Spawn Position Of Team(Team 1), Vector(0, 0, 15)));
Modify Global Variable(global.Team2Zone, Set Position, Add(Spawn Position Of Team(Team 2), Vector(0, 0, -15)));
// Scoring Logic
While(True);
// Check Team 1 in Team 2's base
If(Count Of(Players In Radius(Position Of(global.Team2Zone), 8.00, Team 1, Surfaces)) > 0);
If(Not(global.ScoringActiveTeam1));
global.ScoringActiveTeam1 = True;
Start Scoring Play(Team 1, 100, Per Second);
End;
Else;
If(global.ScoringActiveTeam1);
global.ScoringActiveTeam1 = False;
Stop Scoring Play(Team 1);
End;
End;
// Check Team 2 in Team 1's base
If(Count Of(Players In Radius(Position Of(global.Team1Zone), 8.00, Team 2, Surfaces)) > 0);
If(Not(global.ScoringActiveTeam2));
global.ScoringActiveTeam2 = True;
Start Scoring Play(Team 2, 100, Per Second);
End;
Else;
If(global.ScoringActiveTeam2);
global.ScoringActiveTeam2 = False;
Stop Scoring Play(Team 2);
End;
End;
Wait(0.1, Ignore Condition);
End;
}
}
}
0 Comments