Stellaris Dev Diary #32 - Modding art

Hello Modders. Today's dev diary will be about modding art, and give a cursory glance at what is possible to do in Stellaris. We will mainly talk about characters and ships in this dev diary. Today we are releasing our Maya exporter, which opens up a whole new world of possibilities for modders. So, provided you have the skills in Maya and Photoshop, you can do anything you want - anything we have done, you can do too!

(more info and links can be found at the end of this post)


For characters, you have two options. The simpler one is static 2d avatars. These are just an image with transparency that is used directly in-game. They don't require Maya or any other fancy tools, and will likely be the initial choice for most modders. Static portraits are not used by the core game, but the functionality is there for the modders. There is an example for this in the games files, where we specify the species, so you just add textures and point to them in the files and you get new species.

01_character.jpg



All the characters we have created for Stellaris are animated 2D portraits. What we do is we draw characters in Photoshop, and split the images up into separate parts for anything that will be in a different layer, looking something like the picture below. We then create a plane for each asset in Maya, and layer them correctly.


02_character_split_up.jpg



If you want to create an animated character, you have two options. One, you can mod an existing one by modifying an existing character’s texture. This is desirable if you don't want to or can't use Maya for any reason but your Photoshop skills are high. This is a bit limiting of course, since you can only change the look so much within the confines of that character. The animations will of course be the same, so you can't move the eyes etc.
If you want to do this, take an existing texture and add some more colors to the entire texture, and you can see the entire area you have to work with.There is some space outside the edge of the character to work with.

Secondly, if you have some Maya skills, you have more freedom. The level of knowledge required is really not that high. Just creating a few planes, cutting, creating some joints and simple animations. What you do is you create texture similar to ours, then create a few different planes and cut out each area. Build a simple rig, and add some animation.

03_maya_character_cutup.jpg

04_character_rigged_side.jpg

05_character_rigged.jpg

You can also mod in more clothes, triggering the use of different outfits in different situations. In the game currently we use this for the different leader types such as scientist, admiral etc. We also use this for the rulers, so that if you are a militaristic society, your ruler will wear a military uniform. This has very few limits, and could be used to create some very unique characters.

There is another layer where you can add other things to you characters with the help of triggers. We use it to add the different hairstyles for the humans, but you could just as well add glasses to your characters, or some other visual attribute.

If you are feeling fancy, you could even extend a race to use multiple portraits. So that you insect race has a Queen model for your ruler, a lieutenant for you leaders, and a third model for your pops.

Though all the portraits in the game are shown as 2D, they are technically 3D and there is nothing really stopping you from adding a 3D model (though we have yet to try that ourselves).

If you wish to know exactly how to add new portraits, there is a detailed guide on the wiki:
http://www.stellariswiki.com/Portrait_modding



Moving on to to ships. With the release of our maya exporter, you can now create any model you like and add it to the game. The process is very straightforward. You build your mesh and use maya to export it. There is fairly little to be said simply because most things are theoretically possible to do. If you want ships with like 5 sections you can do that. Vertical ships? Sure. Organic ships? Absolutely.

Stations are also technically ships that don't move, so these are of course modable as well.


Code:
corvette = {
    max_speed = 5.25
    acceleration = 0.35
    rotation_speed = 0.1
    combat_max_speed = 1.5
    combat_rotation_speed = 0.08
    collision_radius = 2.0
    modifier = {
        ship_armor_add = 3
    }
    max_hitpoints = 300
    size_multiplier = 1
    fleet_slot_size = 1
    section_slots = { "mid" = { locator = "part1" } }
    num_target_locators = 2
    is_space_station = no
    icon_frame = 2
    base_buildtime = 60
    can_have_federation_design = yes
    enable_default_design = yes    #if yes, countries will have an auto-generated design at start 
 
    prerequisites = { "tech_spaceport_1" }
 
    class = shipclass_military
    required_component_set = "ftl_components"
    required_component_set = "combat_computers"
    required_component_set = "thruster_components"
    required_component_set = "ship_sensor_components"
}


You can place any number of locators on the ships. You can, for example, add locators to where on the ship enemies ships will aim, so that they don't all hit the center. You can also add locators for where the guns will be and where the engines are. You can easily add guns to your ship without having visible turrets, which is likely what most modders will do.

With all these new possibilities, I very much look forward to what the community will produce.


If you want to download the exporter right away, go to
https://accounts.paradoxplaza.com/profile/downloads

More details on the exporter can be found on the wiki:
http://www.stellariswiki.com/Maya_exporter

We also started a new sub-forum for the exporter.
https://forum.paradoxplaza.com/forum/index.php?forums/clausewitz-maya-exporter-modding-tool.935/



We have recently worked on support for static galaxies. This will allow users to create a specific galaxy to use for specific scenarios. In this test we have more than 5000 stars, which still renders smoothly. Might have to optimize the game a bit though :)

stellaris_dev_diary_31_01_20160502_galaxy_test.jpg


And also a video for you guys!
 
Last edited by a moderator:
  • 169
  • 62
Reactions:

Haldan

Molluscoid Ambassador
45 Badges
Jan 21, 2014
1.867
3.968
  • Crusader Kings II
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Pre-order
  • Stellaris - Path to Destruction bundle
  • Europa Universalis IV: Third Rome
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Res Publica
  • Europa Universalis IV: Call to arms event
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: Charlemagne
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Europa Universalis IV: Conquest of Paradise
  • 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
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Mandate of Heaven
  • Crusader Kings II: Jade Dragon
  • Crusader Kings II: Holy Fury
  • Crusader Kings II: Monks and Mystics
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Cadet
  • Stellaris Sign-up
  • Stellaris: Galaxy Edition
  • Stellaris
  • Crusader Kings II: Conclave
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Horse Lords
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: El Dorado
  • War of the Roses
  • Victoria 2
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria: Revolutions
Cheers Aerie. How are the Pre-Order portraits coming along?
 
  • 7
  • 1
Reactions:

Aerie

Art Director
60 Badges
Feb 11, 2009
186
2.847
  • Stellaris Sign-up
  • Europa Universalis IV
  • Supreme Ruler 2020
  • Crusader Kings Complete
  • Knights of Honor
  • War of the Roses
  • Magicka: Wizard Wars Founder Wizard
  • Pillars of Eternity
  • Magicka 2 - Signup Campaign
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Knights of Pen and Paper +1 Edition
  • Majesty 2
  • Majesty 2 Collection
  • Magicka
  • March of the Eagles
  • Naval War: Arctic Circle
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Ship Simulator Extremes
  • Sword of the Stars
  • Sword of the Stars II
  • Starvoid
  • Europa Universalis III
  • Arsenal of Democracy
  • Cities in Motion
  • Cities in Motion 2
  • Crusader Kings II
  • Crusader Kings II: Legacy of Rome
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Dungeonland
  • Leviathan: Warships
  • Divine Wind
  • Europa Universalis IV: Conquest of Paradise
  • For The Glory
  • For the Motherland
  • Gettysburg
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Impire
  • King Arthur II
That is one badass hyperlane in the top of the image. Could that happen in a "natural" galaxy?

All the hyperlanes are generated by the game here, so if the stars are positioned in this way, this what you get.
There is support for scripting manual hyperlanes though.
 
  • 40
  • 6
Reactions:

Kagurati

Private
103 Badges
Sep 8, 2009
15
27
  • Victoria 2: A House Divided
  • Sword of the Stars
  • Semper Fi
  • Tyranny: Archon Edition
  • Stellaris: Galaxy Edition
  • Crusader Kings II: Horse Lords
  • Stellaris Sign-up
  • Hearts of Iron IV: Cadet
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Crusader Kings II: Reapers Due
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • Shadowrun: Hong Kong
  • BATTLETECH
  • Shadowrun: Dragonfall
  • Hearts of Iron IV: Death or Dishonor
  • Crusader Kings II: Jade Dragon
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Megacorp
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Beta Backer
  • BATTLETECH - Backer
  • Shadowrun Returns
  • Stellaris: Lithoids
  • Stellaris: Necroids
  • Age of Wonders: Planetfall Season pass
  • Imperator: Rome Deluxe Edition
  • Hearts of Iron IV: Expansion Pass
  • Prison Architect
  • Surviving Mars: First Colony Edition
  • Age of Wonders: Planetfall Deluxe edition
  • Europa Universalis III Complete
  • Age of Wonders: Planetfall Premium edition
  • Europa Universalis III Complete
  • Stellaris: Galaxy Edition
  • Victoria 2
  • Cities: Skylines - Parklife
  • War of the Roses
  • 500k Club
  • Surviving Mars: First Colony Edition
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • A Game of Dwarves
5000 stars... Welp, I know what I want to try just to see how long my computer can handle it.

Really though, this gives me hope for a lot of the modding community. I was concerned that the portrait art was a lot more complex than it seems to be.
 
  • 21
Reactions:

Zoinker

First Lieutenant
84 Badges
May 17, 2013
232
253
  • Europa Universalis IV: Cossacks
  • Cities: Skylines Deluxe Edition
  • Victoria 2: Heart of Darkness
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: El Dorado
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Conclave
  • Stellaris: Galaxy Edition
  • Stellaris Sign-up
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: Colonel
  • Hearts of Iron IV: Field Marshal
  • Europa Universalis IV: Rights of Man
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
  • Cities: Skylines - Natural Disasters
  • Crusader Kings II: Monks and Mystics
  • BATTLETECH
  • Hearts of Iron IV: Death or Dishonor
  • Cities: Skylines - Green Cities
  • Hearts of Iron IV: Expansion Pass
  • Imperator: Rome Deluxe Edition
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Lithoids
  • Hearts of Iron IV: La Resistance
  • Stellaris: Federations
  • Crusader Kings III
  • Battle for Bosporus
  • Stellaris: Necroids
  • Europa Universalis IV
  • Cities: Skylines
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • BATTLETECH - Digital Deluxe Edition
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Europa Universalis IV: Golden Century
  • Shadowrun: Dragonfall
  • Shadowrun Returns
  • Stellaris: Humanoids Species Pack
  • Victoria 2
  • Crusader Kings II: Reapers Due
  • Europa Universalis IV: Mandate of Heaven
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Victoria 2: A House Divided
When you say photoshop, you're not ruling out similar programs like Gimp, right?

Can't wait to fool around with this! Only 2 days until the last final!
 
  • 3
Reactions:

Mordaith

Major
94 Badges
Jan 1, 2013
527
1.425
www.twitch.tv
  • Hearts of Iron IV: Expansion Pass
  • Cities: Skylines - Snowfall
  • Crusader Kings III
  • Empire of Sin
  • Stellaris: Federations
  • Empire of Sin - Deluxe Edition
  • Shadowrun: Hong Kong
  • Europa Universalis IV
  • Stellaris: Necroids
  • Stellaris: Nemesis
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Sengoku
  • Victoria 2: A House Divided
  • Knights of Pen and Paper 2
  • Stellaris: Megacorp
  • Crusader Kings II
  • Europa Universalis IV: Mare Nostrum
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Europa Universalis IV: Third Rome
  • Stellaris: Ancient Relics
  • Tyranny - Tales from the Tiers
  • Europa Universalis IV: Wealth of Nations
  • Crusader Kings II: Rajas of India
  • Crusader Kings II: The Republic
  • Crusader Kings II: Sons of Abraham
  • Crusader Kings II: Sunset Invasion
  • Stellaris: Lithoids
  • Crusader Kings II: The Old Gods
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Legacy of Rome
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Europa Universalis IV: Call to arms event
  • Stellaris: Leviathans Story Pack
  • Crusader Kings II: Horse Lords
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Art of War
  • Divine Wind
  • Europa Universalis III Complete
  • Crusader Kings II: Charlemagne
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Hearts of Iron IV: Expansion Pass
  • Crusader Kings II: Jade Dragon
If you are feeling fancy, you could even extend a race to use multiple portraits. So that you insect race has a Queen model for your ruler, a lieutenant for you leaders, and a third model for your pops.

Holy hell. That is awesome news! Just what I was hoping for.
 
  • 25
Reactions:

IndoEsia45

Lt. General
23 Badges
May 18, 2007
1.581
167
  • Victoria: Revolutions
  • Stellaris: Distant Stars
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Stellaris: Leviathans Story Pack
  • Hearts of Iron IV: Cadet
  • Stellaris
  • 500k Club
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • Semper Fi
  • Crusader Kings II
  • Hearts of Iron III Collection
  • Hearts of Iron III: Their Finest Hour
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis IV
  • Europa Universalis III
  • Crusader Kings II: Sword of Islam
  • Crusader Kings II: Sunset Invasion
  • Crusader Kings II: The Republic
  • Crusader Kings II: Legacy of Rome
Get your tools up and ready guys.. (We might need another sub-forum soon)

I'm a just little bit worried though about the maya exporter since it requires modder to at least have maya in hand to be able to export objects into .mesh. Maybe it's possible to somehow integrate the plugin with other 3d software e.g blender?
 
  • 1
Reactions: