Total War: ATTILA

Total War: ATTILA

Not enough ratings
[Resource] Frontend UI Pop-Ups
   
Award
Favorite
Favorited
Unfavorite
Tags: mod, UI
File Size
Posted
Updated
220.509 KB
Dec 6, 2022 @ 2:46am
Dec 19, 2022 @ 12:46am
2 Change Notes ( view )

Subscribe to download
[Resource] Frontend UI Pop-Ups

In 1 collection by Caligula
Frontend UI Pop-Ups
3 items
Description
This is a modding resource and tutorial for fellow modders so that they can create messages that pop up when you launch the game welcoming people to your mod, and warning them that they need to ensure their load order is correct.


Credit
All credit goes to the Rome 2 Total Realism team for their scripting tools, and to DETrooper for creating the scripts that enable these frontend messages.
I simply isolated DETrooper's scripts from the Medieval Kingdoms Total War packs.

---------------------------------------------------------------------------------------------------

This pack contains four different pop-up messages.

1: The frontend_changelog.lua script creates a message that pops up the first time the player launches a pack after an update for example. This message can say anything you want, such as 'Welcome to update v...', 'we still don't have a campaign', and a short changelog.
It will then create a log in the player's root Attila folder (NOT data folder) noting that they have read this message, and it won't appear on launch again.

The frontend_pack_check.lua script checks what mods the player is using every time they launch.
2: If they don't have all required packs loaded, a message will tell the player which ones they're missing.
3: If they DO have all required packs enabled, but in the wrong order a message will pop up telling the player the correct order.
4: If they DO have all required packs enabled, but they also other mods/submods enabled, a message will pop up warning the player that any errors may be due to incompatibility, not because of the main mod.

OTHER TUTORIALS & MODDING RESOURCES I HAVE CREATED
Creating Your Legion - 21 tutorials that will teach you every part of creating a custom battle overhaul from scratch

How to Create a Scripted/Historical Battle[www.twcenter.net]

How to Replace Vanilla Audio[www.twcenter.net]

Modding Resource - Supply Wagons & Barrels


Modding Resource - Zombie Animations
1 Comments
Caligula  [author] Dec 19, 2022 @ 1:01am 
I've updated the mod to include a 4th message, which pops up if the player has all required packs enabled, but they also other mods/submods enabled. This message will warn the player that any errors may be due to incompatibility, not because of the main mod.