Age of Wonders 4

Age of Wonders 4

Age of Fashion
 This topic has been pinned, so it's probably important
chickensmasher  [developer] 9 Apr @ 12:12am
Guide: How to make an add-on
1. Know how to mod
Read the Adding Leader Customization Items section (page 78) of the official modding guide to learn how to
  • Create and save an rpk in a custom mod
  • Add package and library dependencies to an rpk
  • Add Modularity: Provider Modularity: Component and Customization Item to your rpk
  • Add tags to Modularity: Provider
  • Add meshes to Modularity: Component
https://forum.paradoxplaza.com/forum/threads/age-of-wonders-4-workshop-documentation-updated-08-04-2025.1580682/

Watch VisieMaigo's Modding Tutorial - Part 2 - Creating a Custom RPK, specifically
  • Initial Setup
  • Creating a custom rpk
  • Adding a dependency to your .rpk
  • Important! Register your custom .rpk in Package Manager
https://www.youtube.com/watch?v=PPulCRkefVA&list=PLcjnF2cS3dTWLsTRbnSC-HGLsLQYq9rj0

2. Create a mod with Age of Fashion dependency
  1. Make a folder in your Documents\Paradox Interactive\Age of Wonders 4\Mods folder called ageoffashionsfw
  2. Navigate to your workshop Age of Fashion folder by finding the mod in your launcher's playset, clicking the three dots, then Show in folder
  3. Copy the all the contents of the Age of Fashion workshop folder into the ageoffashionsfw folder
  4. Select all the copied contents in ageoffashionsfw and zip them (Compress to...->Zip)
  5. Open PackageManager.exe or Open modding tools in the launcher and make a new mod (File->New)
  6. Select Content->Packages in the top bar, then check the Age of Fashion[AGEOFFASHIONSFW] box so it turns into an x. Then click Ok.

If you don't see Age of Fashion in the Content>Packages list you messed up somewhere.

https://files.catbox.moe/kms4p7.jpeg
https://files.catbox.moe/79w81b.jpeg

3. Add Fashion

Create an rpk and add a package dependency for the aof_categories.rpk file in the ageoffashionsfw\Packages folder

https://files.catbox.moe/9l8zr4.jpeg

Create a Modularity: Provider for your item
  • Entity Type should be Category Type: Unit
  • Use tags to manage clipping.
  • The HideDollArms, HideDollHands, HideDollChest, HideDollUpperLegs, HideDollLowerLegs tags should be used if your item should hide that part of the base body when your item is chosen. Like a breastplate the leader's chest would poke through.
  • The CoveredNips and CoveredGroin tags should be used if your item doesn't hide the base body but still covers that area (for magic loincloth censor purposes)
  • The HideClothingArms, HideClothingGloves, HideClothingTorso, HideClothingPants, HideClothingFeet tags should be used if your item should hide other items when used. Like a torso piece that comes with built in arms and gloves.

https://files.catbox.moe/i87b2c.jpeg

Create a Customization Item for your item
  • The Category is the menu you want it to appear in. AOF Leader: Arms/AOF Leader: Full Body/etc. Make sure it starts with AOF Leader
  • The Provider should be the provider you made
  • The Sort ID should be something that Age of Fashion hasn't used already, can just make it a huge number to be safe
  • Random weight should be 0 just to be safe

https://files.catbox.moe/bntm3e.jpeg

Create a Modularity: Component for your item
  • Add the provider you made to the Unlocked By Providers
  • Select the category that matches your item's menu AOF Component: Arms/AOF Component: Full Body/etc. Make sure it starts with AOF Component
  • Add meshes through the menu or copy and paste them from base game modularity components. Their libraries will need to be added as a dependency to your rpk. Read the modding guide.
  • For each mesh, set the Modifier IDs to Armor Color

https://files.catbox.moe/3scv9h.jpeg
Last edited by chickensmasher; 9 Apr @ 12:43am
< >
Showing 1-1 of 1 comments
HUH?! 9 Apr @ 4:36am 
Thank you a lot!
I will look into it, when i'll have spare time.
< >
Showing 1-1 of 1 comments
Per page: 1530 50