Stellaris

Stellaris

Voir les stats:
Questions on changing star class
I've recently been trying to change the class of a star. I've tried both save editor and ingame console command.
When I type "planet_class pc_f_star" on a class G star, the texture becomes a hybrid of G and F star. Same thing happens on other stars. And the texture remains the same after reload.

With save editor, I can only find the star under Home Tab -> Game Data -> Planet, but not under galactic_object.(Because there are 800 of them and I dont know how to find the ID). Also I dont know how to change their value under Home Tab.

Would appreciate any help or opinion. I would try all of the proposed possible solutions.
Excuse my bad English,
Thank you!
< >
Affichage des commentaires 1 à 8 sur 8
I know this is late, but for the sake of everyone else i'll post the method i found.
If you select the star, and run the command below in the console, it should change the selected star to the desired class.
"effect change_pc = {class = <planet id>}"
you can either change the save file, use the above command or use the much simpler command:
planet_class pc_black_hole
@Richhousrick Thx alot!
@Cardinal_Z
Has this worked in your game? I just tried out changing my home f star into pc_b_star via the above method, but it still just produced the same problem as with the simple pc_class method - hybrid textures.
I propose a hypothesis that the shine/"boiling" effect of a star is actually saved via some tag to the object, similar how the broken planets (sometimes seen near black holes, or in some quest lines) are not actually their own class, but "whatever planet_type" + a "broken" tag.
@riinagaja That's what I thought too, that the glow effect is a standalone thing. I stopped attempting since.
I just want to add on top of Rich's answer. You can get the ID's for the star type you want to change it to from here: https://stellaris.paradoxwikis.com/ID#Celestial_bodies
So the command to change a star to a neutron star would be:
"effect change_pc = {class = pc_neutron_star}"
or
"planet_class pc_neutron_star".
I am not experiencing the hybrid textures anymore as of the current Stellaris 3.0.3 patch, so I assume they fixed that bug a while ago, or one of the 57 mods I have installed fixed it.
@Generic Gamer

I love you friend. worked without an issue for me even for a modded star in 2023.

:D
A way to ensure that not only the star changes visually, but also that the map changes to the new star class is to use the command:
"effect solar_system = {set_star_class = <star class>}"
so for example, to set the star to a class B star you would use the command:
effect solar_system = {set_star_class = sc_b}
You can see the vanilla star class IDs below:
https://stellaris.paradoxwikis.com/System_modding#Vanilla_star_classes
Hope this helps anyone else who was still having visual bugs with the change_pc method like I was!
< >
Affichage des commentaires 1 à 8 sur 8
Par page : 1530 50

Posté le 5 mai 2018 à 7h41
Messages : 8