poonsak58 Posted August 5, 2020 Posted August 5, 2020 (edited) Kafra1 have 98 Frame. if i add image myself to every frame. it waste time. T_T I want to add image "Kafra" to every frame and Action index. by short time. or script to do that please help me Edited August 5, 2020 by poonsak58 Quote
0 Gladius Posted August 5, 2020 Posted August 5, 2020 (edited) 35 minutes ago, poonsak58 said: Kafra1 have 98 Frame. if i add image myself to every frame. it waste time. T_T I want to add image "Kafra" to every frame and Action index. by short time. please help me how to do that. it is necessary to add the kafra frame to all movement sprites as well. Repeat adding the text for all movements. Edited August 5, 2020 by Gladius Quote
0 poonsak58 Posted August 5, 2020 Author Posted August 5, 2020 5 minutes ago, Gladius said: it is necessary to add the kafra frame to all movement sprites as well. Repeat adding the text for all movements. thank you. but i knew that. my question is i want to add image to every frame in short time. or copy layer to every frame. becuase kafra spr have 98 frame. Quote
0 WhiteEagle Posted August 5, 2020 Posted August 5, 2020 May I ask why u don't use the signboard.lub ? Quote
0 LearningRO Posted August 6, 2020 Posted August 6, 2020 7 hours ago, WhiteEagle said: May I ask why u don't use the signboard.lub ? for unique concept ahha Quote
0 jeesus Posted September 1, 2021 Posted September 1, 2021 have you found a solution to your question? I have the same question and I still can't find a solution Quote
0 Haziel Posted September 14, 2022 Posted September 14, 2022 Although what you want is possible to do in ACT Editor, it isn't the best solution. Export the frames of your NPC, edit them to add the text on Photoshop and replace the original frames, that will give you a much faster solution. However, your whole situation can be solved in Client side using signboard.lub. Quote
0 jeesus Posted July 2, 2024 Posted July 2, 2024 using System; using System.Collections.Generic; using System.Globalization; using System.IO; using System.Linq; using System.Windows; using System.Windows.Controls; using System.Windows.Documents; using System.Windows.Media; using System.Windows.Media.Imaging; using ErrorManager; using GRF.FileFormats.ActFormat; using GRF.FileFormats.SprFormat; using GRF.FileFormats.PalFormat; using GRF.Image; using GRF.Image.Decoders; using GRF.Graphics; using GRF.Core; using GRF.IO; using GRF.System; using GrfToWpfBridge; using TokeiLibrary; using TokeiLibrary.WPF; using Utilities; using Utilities.Extension; using Action = GRF.FileFormats.ActFormat.Action; using Frame = GRF.FileFormats.ActFormat.Frame; using Point = System.Windows.Point; namespace Scripts { public class Script : IActScript { public object DisplayName { get { return "MyCustomScript"; } } public string Group { get { return "Scripts"; } } public string InputGesture { get { return null; } } public string Image { get { return null; } } public void Execute(Act act, int selectedActionIndex, int selectedFrameIndex, int[] selectedLayerIndexes) { if (act == null) return; try { act.Commands.Begin(); act.Commands.Backup(_ => { foreach (var action in act) { foreach (var frame in action) { Layer layer = new Layer(act.Sprite.Images.Count - 1, act.Sprite); layer.OffsetX = 0; layer.OffsetY = -144; layer.Mirror = false; frame.Layers.Add(layer); } } }, "MyCustomScript", true); } catch (Exception err) { act.Commands.CancelEdit(); ErrorHandler.HandleException(err, ErrorLevel.Warning); } finally { act.Commands.End(); act.InvalidateVisual(); act.InvalidateSpriteVisual(); } } public bool CanExecute(Act act, int selectedActionIndex, int selectedFrameIndex, int[] selectedLayerIndexes) { return true; //return act != null; } } } Quote
0 PatriotHum Posted July 3, 2024 Posted July 3, 2024 Would using bold and unexpected colors help make our server stand out from the competition and attract more players? [url=http://zyxmails.xyz/pravilnij-ranok-5-receptiv-smachnih-i-korisnih/|http://zyxmails.xyz/]zyxmails.xyz[/url] Quote
Question
poonsak58
Kafra1 have 98 Frame. if i add image myself to every frame. it waste time. T_T
I want to add image "Kafra" to every frame and Action index. by short time. or script to do that
please help me
9 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.