; ; makegr2entity console script ; used by the placer editor to create an entity stub for a granny renderable entity ; ; ; args: ; @1 - granny file name ; ; we need to make sure the entityeditor is instantiated ;editormgr touch TEditor_TEntity_R2 ; create entity base off existing entity entityeditor loadSilent data\entities\engine\editor edit_gr2 entityeditor setname edit_gr2_use entityeditor commit MODEL_PRIMARY @1.gr2 entityeditor save data\entities\engine\editor