Jump to content
Age of History
Łukasz Jakowski

Animated Leaders - Tutorial

Recommended Posts

Creating Animated Leaders

It is possible to create animated leaders for the game.

To do this, create a new leader as usual or find an existing leader image file.
For this example, we will use "benito.png", so in the leader editor the leader image is benito.png.

To tell the game that this leader has an animation, start by naming the first frame "benito0.png". In the leader editor, the image should still be set to "benito.png".

Place all animation images inside:
game/leadersIMG/

The images must be named sequentially, starting with benito0.png, then benito1.png, benito2.png, and so on up to benitoX.png.

Example:
benito0.png
benito1.png
benito2.png
etc.

To create the animation, you need to split a GIF into separate PNG images and rename them correctly.
The game will automatically check if animation frames for the leader exist.

How to Convert and Split a GIF into Images
First, resize the GIF to 88 px width and 100 px height.

Go to:
https://ezgif.com/resize
Upload your GIF.
Set width = 88 and height = 100.
Click "Resize Image!"
When the resizing is finished, download the file by clicking "Save".

Next, split the image into frames.
Go to:
https://ezgif.com/split
Upload your resized GIF.
In "Split options", select "Output as PNG" (or JPG if needed).
Click "Split to frames!"
Click the red button "Download frames as ZIP".

A ZIP file will be created containing all the frames.
Now rename all the images to match the leader image name.

Example:

benito0.png
benito1.png
benito2.png
etc.

Full mod example:
https://ageofhistorydownload.com/AnimatedLeaders.zip

All Leaders Mod:
https://ageofhistorydownload.com/LeadersModDE.zip

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Age of History Games