• Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

illathid

Elector Count of Reikland
71 Badges
Feb 22, 2012
2.179
589
  • Semper Fi
  • Europa Universalis IV: Third Rome
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Victoria 2
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis III Complete
  • Europa Universalis IV: El Dorado
  • 500k Club
this is probably a good a place to ask as any. If I gave someone a reference image for 4 shield frames could someone model them for me? I've tried myself but I can't quite get it working... Thanks in advance!
 
Last edited:

Galle

Lt. General
69 Badges
Apr 20, 2009
1.667
1.080
  • Ancient Space
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Sword of the Stars II
  • Sword of the Stars
  • Sengoku
  • Rome Gold
  • Victoria: Revolutions
  • Majesty 2
  • Magicka
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • Deus Vult
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis III Complete
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings III
  • BATTLETECH
  • Age of Wonders III
  • Tyranny - Bastards Wound
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Victoria 2
You might consider this image to be an endorsement of sorts for Joror's excellent work:



Incidentally, does anyone know if it's possible to animate the city models in CK2, or are they inherently static?
 

JonStryker

ɹǝʞʎɹʇSuoſ
57 Badges
Mar 20, 2012
5.233
327
  • Europa Universalis IV: Pre-order
  • The Showdown Effect
  • Europa Universalis III Complete
  • Warlock: Master of the Arcane
  • Europa Universalis III Complete
  • War of the Roses
  • Imperator: Rome
  • Imperator: Rome Sign Up
  • Crusader Kings III
  • 500k Club
  • Crusader Kings II: Way of Life
  • Humble Paradox Bundle
  • Magicka 2
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Mare Nostrum
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Leviathans Story Pack
  • Stellaris - Path to Destruction bundle
  • Crusader Kings Complete
  • Age of Wonders III
  • Shadowrun Returns
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron III Collection
  • Heir to the Throne
  • Leviathan: Warships
  • Magicka
  • Semper Fi
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Knights of Pen and Paper +1 Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis III
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis IV: Res Publica
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Dungeonland
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis III Complete
  • Divine Wind
  • Cities in Motion 2
You might consider this image to be an endorsement of sorts for Joror's excellent work:



Incidentally, does anyone know if it's possible to animate the city models in CK2, or are they inherently static?
Incredible! Great work Galle!
 

Arsakes

Second Lieutenant
8 Badges
Mar 29, 2008
144
25
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Stellaris
  • Stellaris - Path to Destruction bundle
Hey, I few questions (regardin Ck2)
1. Does ck2 support some shader with transparency?
2. Can I define my own shaders (I think I can did you try it?)
3. How to set attachment points for weapons and shields.
 

Joror

Second Lieutenant
10 Badges
Jul 23, 2012
145
66
twitter.com
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Stellaris: Megacorp
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Sign Up
Hey, I few questions (regardin Ck2)
1. Does ck2 support some shader with transparency?
2. Can I define my own shaders (I think I can did you try it?)
3. How to set attachment points for weapons and shields.
1. Hmmm, no it does not seems to have one that does. But it might be added. Compare the 'gfx/FX/pdxmesh.lua' of CK2 with the one from EU4. (EU4 has transparant shaders)

2. Yes. And if you want non-animated models to display properly in CK2, you will need to use my 'gfx/FX/pdxmesh.lua' shader definition. (that is broken in CK2s shader) It is included in the Mod example in the first post.

Note: tweaking/adding shaders is a bit expert-level. I have successfully done it in EU4. (see the EU4 mod example file in the EU4 thread for this tool)

3. I think by naming relevant bone-skeleton nodes 'Left_hand_node', 'Right_hand_node' and 'Head'. Have not tried that myself in CK2. Maybe look at the Charlemange DLC for examples. (expand 'dlc/dlc045.zip' and then look at the contents with the Jorodox tool)
 

Zarathustra_the

General
78 Badges
Nov 3, 2011
1.743
979
  • Victoria 2: A House Divided
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • King Arthur II
  • The Kings Crusade
  • Magicka
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Naval War: Arctic Circle
  • Victoria 2: Heart of Darkness
  • Warlock 2: The Exiled
  • Europa Universalis IV: Third Rome
  • Crusader Kings II: Monks and Mystics
  • Europa Universalis IV: Mare Nostrum
  • Stellaris - Path to Destruction bundle
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Call to arms event
  • Cities in Motion
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • For the Motherland
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III: Chronicles
  • Europa Universalis III
  • Crusader Kings III
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Cossacks
  • Magicka 2: Ice, Death and Fury
  • Crusader Kings II: Conclave
  • Stellaris
  • Warlock: Master of the Arcane
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
How is this project going? I ask as it would be very nice to be able to import some models for the necromancy applications of my magic mod :p
 

Joror

Second Lieutenant
10 Badges
Jul 23, 2012
145
66
twitter.com
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Stellaris: Megacorp
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Sign Up
How is this project going? I ask as it would be very nice to be able to import some models for the necromancy applications of my magic mod :p
Well while it is a process where you need to poke & try a bit, you can currently import your any 3D model (that you can get/convert to the Collada format) into CK2 and EU4. Animations are also possible.

Some things that are currently not possible, but might be in the future:
- Export existing models to tweak / change them (and to re-use the animations they might have)
- Adding 'special effects' (like cannon explosions - or laser beams)

Give it a try! I will answer any questions you might get on the way, and troubleshoot. (there are still quite a few things that can go wrong / can be misconfigured)
 

Joror

Second Lieutenant
10 Badges
Jul 23, 2012
145
66
twitter.com
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Stellaris: Megacorp
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Sign Up
Progress on exporting PdxMesh models from CK2 for tweaking/changing & animation re-use:



(note: this is a Charlemange DLC model - and yes, he is missing a critical part of his head. That is why you wear helmets, people!)
 

Joror

Second Lieutenant
10 Badges
Jul 23, 2012
145
66
twitter.com
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Stellaris: Megacorp
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Sign Up
New version!

Primarily has the added functionality of being able to export PdxMesh models from EU4/CK2 to the Collada 3D format.
Exports animation skeleton, texture mapping and skinning information.
Does not (yet) do: export animations
Known issue: the Jorodox tool does not render the 'export' .dae textures properly (but they are correct in the file - a display issue)

Note: Only models in DLCs of Charlemange and later can be read! (the others are in an older format)

 

Arsakes

Second Lieutenant
8 Badges
Mar 29, 2008
144
25
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Stellaris
  • Stellaris - Path to Destruction bundle
[BUG 1]
I've check example mod provided by Joror. With the latest patch (13 july) I am getting some messed up triangle pan that covers whole screen instead the model.
The same results I've get with my custom models (static & animated).
It looks like its the problem with vertex-shader I'm using PdxStandardShader

Here are the files:
https://www.dropbox.com/sh/9mgds314dixr3mu/AADHSjI9u6KVXdT2Bzegzr7Ra?dl=0

[BUG 2]
The viewer seems to forgot to display last bones in chain, knees, hands etc. The bones affect the mesh, however they are not visible.

[Question]

One can see you use blender for 3D work, could you tell me what export/import dae options you select? In my case i get either rotated skeleton during exporting or some bones are cut off (depend on the option SL/OpenSim armature export). I use blender too.
Do I need to use your pdxmesh.lua shaders with latest patch?
 
Last edited:

Galle

Lt. General
69 Badges
Apr 20, 2009
1.667
1.080
  • Ancient Space
  • Surviving Mars
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Sword of the Stars II
  • Sword of the Stars
  • Sengoku
  • Rome Gold
  • Victoria: Revolutions
  • Majesty 2
  • Magicka
  • Europa Universalis III Complete
  • Heir to the Throne
  • Hearts of Iron III
  • Deus Vult
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Europa Universalis III Complete
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Tyranny: Archon Edition
  • Tyranny: Archon Edition
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Monks and Mystics
  • Crusader Kings III
  • BATTLETECH
  • Age of Wonders III
  • Tyranny - Bastards Wound
  • Crusader Kings II: Reapers Due
  • Hearts of Iron IV: Cadet
  • Stellaris
  • Crusader Kings II: Conclave
  • Crusader Kings II: Horse Lords
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Holy Knight (pre-order)
  • 500k Club
  • Warlock 2: The Exiled
  • Warlock: Master of the Arcane
  • Victoria 2
Is it true that CK2 doesn't support translucent textures on its models at all? LordKee tells me so, but it'd be nice to double check, because we could really use some. For reasons.
 

Joror

Second Lieutenant
10 Badges
Jul 23, 2012
145
66
twitter.com
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris - Path to Destruction bundle
  • Stellaris: Synthetic Dawn
  • Tyranny - Tales from the Tiers
  • Tyranny - Bastards Wound
  • Stellaris: Megacorp
  • Age of Wonders: Planetfall
  • Age of Wonders: Planetfall Sign Up
Is it true that CK2 doesn't support translucent textures on its models at all? LordKee tells me so, but it'd be nice to double check, because we could really use some. For reasons.
Domes/Shields, eh? ;)

This is not currently in the CK2 shader file, but can easily be added:


This is a simple sphere with a semi-transparent texture, the mesh with the 'PdxMeshAlphaBlend' shader via the JoroDox tool, which is usually only present in EU4.

To add this 'PdxMeshAlphaBlend' shader to CK2, simply add
<code>
PdxMeshAlphaBlend = {
VertexShader = "VertexPdxMeshStandard";
PixelShader = "PixelPdxMeshStandard";
ShaderModel = 3;
BlendState = "BlendStateAlphaBlend";
}
</code>
to the file 'gfx/FX/pdxmesh.lua' above
<code>
--[[
------------------------------------------------------------
-- Vertex shaders
------------------------------------------------------------
--]]
</code>
which can be found in the ModelExampleCk2 project.
(or can be copied from the CK2 dir)

For transparency in other types of models (skeleton/animated, I would have to poke around a bit more)

(apologies to skipping some other questions by other people, currently a bit busy - but this is a question I already had an answer for ;))
 
  • 3
Reactions:

illathid

Elector Count of Reikland
71 Badges
Feb 22, 2012
2.179
589
  • Semper Fi
  • Europa Universalis IV: Third Rome
  • Tyranny: Archon Edition
  • Europa Universalis IV: Rights of Man
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Europa Universalis IV: Pre-order
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Europa Universalis IV: Res Publica
  • Heir to the Throne
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Conquest of Paradise
  • Crusader Kings II
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis III
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III Complete
  • Europa Universalis III: Chronicles
  • Europa Universalis III Complete
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Crusader Kings II: Reapers Due
  • BATTLETECH: Heavy Metal
  • Hearts of Iron IV Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Victoria 2
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Pillars of Eternity
  • Crusader Kings II: Way of Life
  • Europa Universalis III Complete
  • Europa Universalis IV: El Dorado
  • 500k Club
(apologies to skipping some other questions by other people, currently a bit busy - but this is a question I already had an answer for ;))
I hope that means you'll still answer those skipped questions. :)