-
Notifications
You must be signed in to change notification settings - Fork 9
Home
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 referencingwindow.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. Usecc.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 referencingwindow.sc
. -
cc.sc.playerModelInstance
(object
):
The Playermodel.
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!