CryEngine custom code