Jump to content

notmyproblem

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by notmyproblem

  1. If anyone is looking to remove death animations here is the code var path = @"C:\RO\data\sprite\test"; foreach (var actFile in Directory.GetFiles(path, "*.act")) { var sprFile = actFile.ReplaceExtension(".spr"); var act2 = new Act(actFile, sprFile); for (int aid = 32; aid < act2.Actions.Count; aid++) { for (int fid = act2.Actions[aid].Frames.Count - 1; fid >= 1; fid--) { act2[aid].Frames.RemoveAt(fid); } } act2.SaveWithSprite(actFile, sprFile); }
×
×
  • Create New...