Unit models - Europa Universalis 4 Wiki (2024)

This article is timeless and should be accurate for any version of the game.

This page deals primarily with modding of unit models

Unit models (or incorrectly, sprites) are ingame representations of armies and fleets.

As with other Paradox grand strategies, Europa Universalis IV models are notoriously hard to mod. This guide will go into detail about the technical side of dealing with unit models, but won't cover artistic or Photoshop skills.

Contents

  • 1 Background
    • 1.1 Armies
    • 1.2 Fleets
    • 1.3 DLC
  • 2 3D models
    • 2.1 Types of models
    • 2.2 Shaders

Background[edit | edit source]

Before you can begin modding, you need an understanding of how the sprites work ingame.

Armies[edit | edit source]

For land armies, there are four "sprite levels" which display how advanced a country is in terms of military technology. The game also selects the dominant land unit type to represent the army - either infantry, cavalry or artillery.

The following information can be found in /Europa Universalis IV/common/technologies/mil.txt:

sprite_levelMIL TechYearDescription
101350Late medieval pike and armour
2121557Thirty years war musketeers
3211674Seven years war musketeers
4261745Napoleonic infantry
5*301805Not used by EU4!

Fleets[edit | edit source]

For naval fleets, the sprite level signifies the highest level of the dominant ship type (from heavy ship, light ship, galley, or transport). Unlike land units, existing naval units don't automatically upgrade with technology level.

DLC[edit | edit source]

The unit packs DLCs have some of the best-looking units in the game, so it can be very tempting to use them in your mod. You need to be careful about compatibility though, because not everybody will have the DLC that you use.

3D models[edit | edit source]

Since early 2015 it is possible for players to create custom 3D models and animations, and then import them into the game, via the JoroDox mod making tool.Previously it was only possible to use existing models from the base game and DLCs, which can be manipulated through text, hex, and image editors.

Types of models[edit | edit source]

3D models are used by various types of visual representations in EU4, almost exclusively in the 3D map interface.

  • Unit models - The visual representation of armies and fleets. Also displayed in the post-combat dialog.
  • Unit part models - Unit models can be extended by placing other models in specific places in the base model. For example: weapons, shields and horse riders.
  • Province activity models - Indications of province activity, such as colony building or the construction of units and/or buildings.
  • Province building models - City representations are created by a multitude of small buildings, using more buildings for larger cities. Specific province buildings are also shown in the city, or at the harbor location of a sea province. The flag representing the province owner is also part of this type.
  • Map decoration models - Non-province bound decorative additions to the map, such as bears, seagulls and other animals. This also includes the borders around the 3D map.
  • Tree models - The models used to create tree / forest visuals. (at various LODs)
  • Trade network models - The node points of the trade network, and travelling ships/wagons are visualized by 3D models.

Shaders[edit | edit source]

There are a number of different shaders which can be used in the Paradox Mesh format (.mesh). Each will have a different visual effect on (part of) the 3D model. New shaders may be created by placing new shader code in the 'gfx/FX/pdxmesh.lua' file. This requires expert knowledge of vertex and pixel shaders.

Shader NameDescription
PdxMeshStandardStandard mesh. Diffuse RGB, normal map and specular ("shininess") values from specular map alpha channel.
PdxMeshColorSpecular map's RGB channels represent Primary, Secondary and Tertiary colours of a nation. The most common shader used for units.
PdxMeshTextureAtlasShader which prints the flag of the nation on the unit (flag UV range 0.05-0.95). A second UV map can be added to merge a texture into the flag.
PdxMeshSnowAdds snow to top-facing surfaces in winter.
PdxMeshAlphaBlendTransparency from diffuse map alpha channel.
PdxMeshAlphaBlendNoZWriteTransparency from diffuse map alpha channel. More expensive but less glitchy
PdxMesh_NoFoW_NoTINever hidden by Fog of war or Terra Incognita
CollisionDoes not render the mesh, instead represents the "clickable" area.

Modding

DocumentationEffectsTriggersModifiersScopesVariablesLocalisationCustomizable localizationRun filesList of event pictures
ScriptingScripted functionAdvisorsAgesBookmarksBuildingsCasus belliColonial regionsCountriesCultureDecisionsDefinesDiplomatic actionsDisastersEmpire of ChinaEstatesEventsFactionsGovernmentGovernment MechanicsGreat projectsHistoryHoly Roman EmpireIdea groupsInstitutionsMercenariesMissionsModifiersNation designerOn ActionsParliamentPeace treatiesPoliciesRebel typesReligionSubject typesTechnologyTrade companiesTrade goodsUnits
MapMapMap Modding Quick ReferenceNation designerRandom New WorldTrade nodes
Graphics3D ModelsInterfaceGraphical AssetsFontsParticlesShadersUnit models
AudioMusicSound
OtherConsole commandsChecksumJoroDox mod making toolMod structureTroubleshootingThe ValidatorRun files
GuidesAdding a provinceMap Modding Quick ReferenceSave-game editingScripting Tutorial

Retrieved from ""

Unit models - Europa Universalis 4 Wiki (2024)
Top Articles
75 Healthy Instant Pot Keto recipes for dinner to make in a snap - Hike n Dip
How to Make Purple Dead Nettle Salve (3 recipes!)
Touchstar Cinemas - Sabal Palms Products
BEL MOONEY: Should I leave this boorish, bullying layabout?
Look Who Got Busted New Braunfels
Kiwifarms Shadman
Recruitment Drive/Quick guide
Food And Grocery Walmart Job
Public Agent.502
Myportal Udm
Neighborhood Walmart Pharmacy Hours
Tenkiller Dam Release Schedule
Yovanis Pizzeria - View Menu & Order Online - 741 NY-211 East, Middletown, NY 10941 - Slice
Inloggen bij AH Sam - E-Overheid
Nail Salon At Legacy Village
Gdp E239 Bts
Pritzker Sdn 2023
Dr Bizzaro Bubble Tea Menu
Orlando Magic Account Manager
Bx11
Autotrader Ford Ranger
Envy Nail Bar Memphis
Wwba Baseball
Dash Ag Grid
Hannaford Weekly Flyer Manchester Nh
Craigslist Apts Near Me
Money Rose Stencil
2013 Freightliner Cascadia Fuse Box Diagram
Sprinter Tyrone's Unblocked Games
Yonkers Garbage Schedule 2023
80 For Brady Showtimes Near Brenden Theatres Kingman 4
Haverhill, MA Obituaries | Driscoll Funeral Home and Cremation Service
Https://Gw.mybeacon.its.state.nc.us/App
Ancestors The Humankind Odyssey Wikia
Bryant Air Conditioner Parts Diagram
New R-Link system and now issues creating R-Link store account.
Rs3 Bis Perks
Rs3 Bring Leela To The Tomb
Jetnet Retirees Aa
Corinne Massiah Bikini
Victor Predictions Today
My Compeat Workforce
Armored Beacon Feh
South Dakota Bhr
Kona Airport Webcam
Missoula Craiglist
Bbc Numberblocks
Puppiwi World : Age, Height, Family, Relationship Status, Net Worth, Wiki, and More Including Exclusive Insights! WikistarFact
Steel Punchings For Sale
Sutter Health Candidate Login
Akc Eo Tryouts 2022
Craigslist Pgh Furniture
Latest Posts
Article information

Author: Duncan Muller

Last Updated:

Views: 6442

Rating: 4.9 / 5 (79 voted)

Reviews: 86% of readers found this page helpful

Author information

Name: Duncan Muller

Birthday: 1997-01-13

Address: Apt. 505 914 Phillip Crossroad, O'Konborough, NV 62411

Phone: +8555305800947

Job: Construction Agent

Hobby: Shopping, Table tennis, Snowboarding, Rafting, Motor sports, Homebrewing, Taxidermy

Introduction: My name is Duncan Muller, I am a enchanting, good, gentle, modern, tasty, nice, elegant person who loves writing and wants to share my knowledge and understanding with you.