Skip to content
2767mr edited this page Oct 8, 2016 · 7 revisions

Welcome to the CCLoader wiki!

Definitions:

  • cc (object):
    Main object containing all rewritten vars.
  • cc.error (function):
    Same as throw.
  • cc.ig (object):
    An object containing most of the important vars. Not referencing window.ig.
  • cc.ig.define ('function'):
    Defines an Impact.js module.
  • cc.ig.modules (object):
    List of all loaded Impact.js modules.
  • cc.ig.gameMain (object):
    Main class of CrossCode.
  • cc.ig.entityList (object):
    List of all possible entities.
  • cc.ig.baseEntity (object):
    Base entity class.
  • cc.ig.events (object):
    List of all possible entities.
  • cc.ig.mapNameVarName (string):
    Varname of current map. Use cc.ig.gameMain[cc.ig.mapNameVarName] to access it.
  • cc.ig.playerInstance (function):
    Retrives the current player instance.
  • cc.sc (object):
    An object containing some vars. Not referencing window.sc.
  • cc.sc.playerModelInstance (object):
    The Playermodel.

How to make a mod

Create a new folder named after your mod in the mods folder and add a mod.js as your main js-file. After that you can start modding!

Clone this wiki locally