• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Imp0815

Lt. General
100 Badges
Jun 26, 2012
1.268
3.296
  • Cities: Skylines Deluxe Edition
  • Stellaris: Synthetic Dawn
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Europa Universalis IV: Mare Nostrum
  • Victoria 2: Heart of Darkness
  • Victoria 2: A House Divided
  • Victoria 2
  • A Game of Dwarves
  • Sword of the Stars II
  • Sword of the Stars
  • Semper Fi
  • Victoria: Revolutions
  • Pirates of Black Cove
  • Magicka
  • Hearts of Iron III: Their Finest Hour
  • 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: Sword of Islam
  • Leviathan: Warships
  • Hearts of Iron III
  • For the Motherland
  • Europa Universalis III
  • Crusader Kings II: Sunset Invasion
  • Dungeonland
  • Imperator: Rome
  • Hearts of Iron IV: Expansion Pass
  • Stellaris: Humanoids Species Pack
  • Stellaris: Apocalypse
  • Europa Universalis IV: Rule Britannia
  • Surviving Mars: Digital Deluxe Edition
  • BATTLETECH - Digital Deluxe Edition
  • Cities: Skylines - Parklife
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Hearts of Iron IV: No Step Back
  • BATTLETECH: Flashpoint
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Stellaris: Nemesis
  • Prison Architect
  • Stellaris: Ancient Relics
  • BATTLETECH: Season pass
  • Stellaris: Lithoids
  • BATTLETECH: Heavy Metal
Hence i did not found a threat here let me make one.
Does anybody tested how valid the ChatGPT awnsers for Stellaris modding are?

I made some experience with it while using it for Groovy scripting but most of the time it just makes stuff up and sometimes it's a really good help to get your basics right.

Yesterday i asked it for some events and the results seem... not so right:
Ok now write me a event that runs on start up that will trigger if the player has the origin "DoT" and it should randomly scatter Artifact sites (atri_site_dot_1 to atri_site_dot_7) across planets in neighboring systems between minimum 1 jump but not further than 7 jumps.


Sure, here's an example of an event script for Stellaris that would trigger on game start-up and scatter artifact sites across neighboring systems if the player has the "DoT" origin:

Code:
#Scatter Artifact Sites Event
namespace = scatter_artifact_sites

#Triggers when game starts
trigger = {
    on_game_start = yes
    has_origin = origin_dot
}

#Event options for scattering artifact sites
option = {
name = "scatter_artifact_sites_option"
#Add any additional option conditions here
    random_system_within_distance = {
distance = 1 #minimum distance for artifact site spawn
max_distance = 7 #maximum distance for artifact site spawn
limit = 7 #maximum number of artifact sites to spawn
        planet_event = {
            add_planetary_feature = atri_site_dot_1
            add_planetary_feature = atri_site_dot_2
            add_planetary_feature = atri_site_dot_3
            add_planetary_feature = atri_site_dot_4
            add_planetary_feature = atri_site_dot_5
            add_planetary_feature = atri_site_dot_6
            add_planetary_feature = atri_site_dot_7
        }
    }
}

#Add any additional options or alternative outcomes here, as desired

This script will trigger on game start-up and check if the player has the "DoT" origin. If the origin is present, the event will add artifact sites (represented by planetary features) to neighboring systems within a range of 1 to 7 jumps from the player's starting system. The limit parameter controls the maximum number of artifact sites that will be added, and the planet_event block adds the specific artifact sites to each planet. You can modify the artifact site names or their quantities as needed.

It seems right but i doubt it will run. I had not the time to test it so far and i would like to see if somebody has had the same idea of using it as a guideline/help for Modding.
 
It's completely unusable for stellaris scripting at the moment, and just spits out pseudo code that does not align with the actual scripting language.
 
I doubt there's enough Stellaris script in the training data to get anything coherent out of it. It's only really competent in the biggest programming languages.