; ; makedecompcomponent console script ; ; builds a decomposed prop component entity from the model instance name ; if it doesn't already exist ; args: ; @1 - model instance name editormgr touch TEditor_TEntity_R2 entityeditor load data\entities\global\prop_decomp basedecomp entityeditor setname propd_@1 entityeditor commit MODEL_PRIMARY @1.gr2 entityeditor commit APPROXIMATE_DIMENSIONS true entityeditor saveIfNew data\entities\global\prop_decomp