Infinity Loader

Last updated on

Overview

What is Infinity Loader?

Infinity Loader is a toolkit for developing, compiling and injecting GSC across multiple IW Engine titles. Built for developers and modders, Infinity Loader providers a modern coding experience with full Monaco Editor support.

Key features

  • Monaco editor - familiar, VS Code like experience
  • Project analyzer - find duplicates and help clean your code
  • Syntax checker - catch errors before runtime
  • Debugger - test and refine scripts

In action

Infinity Loader allows you to write flexible, cross-game scripts using conditions.

invulnerability(player)
{
    #ifdef MW2 && SP || BO3 || IW && ZM || WAW || BO2 && ZM
        if(bool(player.DemiGodmode))
            player demiGodmode(player);
    #endif
    
    player.godmode  = !bool(player.godmode);
    player.health = player.maxhealth;
    player.remoteUAV = (player.godmode ? true : undefined);

    #ifdef SP || Treyarch
        while(player.godmode)
        {
            player enableInvulnerability();
            wait 1;
        }

        player disableInvulnerability();
    #endif
}

On this page