General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected path to model, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected model index, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": GZDoom doesn't allow more than "+MAX_MODELS+" per MODELDEF entry!");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected model name, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": model '"+token+"' won't be loaded. Models without extension are not supported by GZDoom.");
gotErrors=true;
break;
}
if(fileExt!=".md3"&&fileExt!=".md2"){
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": model '"+token+"' won't be loaded. Only MD2 and MD3 models are supported.");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected skin index, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": GZDoom doesn't allow more than "+MAX_MODELS+" per MODELDEF entry!");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected skin name, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": image format '"+ext+"' is not supported!");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected scale X value, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected scale Y value, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected scale Z value, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected ZOffset value, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected AngleOffset value, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected PitchOffset value, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected RollOffset value, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected model index, but got '"+token+"'");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": GZDoom doesn't allow more than "+MAX_MODELS+" per MODELDEF entry!");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": got model index, which doesn't correspond to any defined model!");
General.ErrorLogger.Add(ErrorType.Error,"Error in "+parser.Source+" at line "+parser.GetCurrentLineNumber()+": expected model frame, but got '"+token+"'");