; ; makehf console script ; ; ; args: ; @1 - granny file name ; ; we need to make sure the entityeditor is instantiated editormgr touch TEditor_TEntity_R2 ; edit the root entity - make it be a heightfield entityeditor edit_id 1 entityeditor replaceinterface TIRenderable TIRenderable_Heightfield entityeditor commit HEIGHTFIELD_GRANNY2_SOURCE @1 entityeditor replaceinterface TICollision TICollision_Heightfield entityeditor commit COLL_HEIGHTFIELD_NAME @1 ;entityeditor replaceinterface TIContainer TIContainer_Sandbox2