• 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.
I'm not much a coder, but I can help contribute ideas. How much detail do you want?

One idea I had is that one surveying a black hole, a scientist could discover what appears to be a small, ancient wormhole station that would allow travel inside a black hole. Upon further investigation, a failure would lead to them concluding that it is irreparably broken, a critical failure would involve an attempt to use it and loss of a scientist, but a success would enable them to realize that it can be repaired. If the scientist completes the project to repair the wormhole station, they go MIA for a while, but the indescribable things the lead scientist uncovers will grant the Psionic trait.
 
  • 4
Reactions:
Good question!

Your idea is a good one and I can definitely use it. The most helpful would be submissions in the form of event descriptions in the game and then I can do the implementation. So, for example, in your event there would be something like:

Event Title: Black Hole Anomaly
Event Description: small, ancient wormhole station discovered

Event Title: Successful Investigation
Event Description: Blah Blah Blah

That way I can just plug your text into the localization and focus on implementation for the event.
 
  • 1
Reactions:
Not good at writing, but i can help with coding...

Awesome! Any help is appreciated. I've been thinking about events to affect relations between nations who are bordering/in contact. Any interest in working on something like that or is there a different type of event you are interested in working on?
 
Would like to contribute on the writing side. I've mostly been waiting for someone to publish a mod which is similar enough that I could get a feel for how it's supposed to work - i've tried making a basic anomaly mod but I can't get it to fire off in-game so I'm not sure if I'm doing it right. D:
 
Sample event, Options still empty, Triggers should be ok.
A pacifist country receives and event when a neighbor and militarist country is in offensive war he's winning.

Code:
namespace = mg_opinion

country_event = {
    id = mg_opinion.1
    title = "mg_opinion.1.name"
    desc = "mg_opinion.1.desc"
    picture = "GFX_evt_small_space_battle"

    trigger = {
        OR = {
            has_ethic = ethic_pacifist
            has_ethic = ethic_fanatic_pacifist
        }
        any_neighbor_country = {
            is_country_type = default
            NOT = { is_country = ROOT }
            has_communications = ROOT
            is_at_war = yes
            NOT = { is_at_war_with = ROOT }
            OR = {
                has_ethic = ethic_militarist
                has_ethic = ethic_fanatic_militarist
            }
            any_war = {
                any_attacker = { is_country = PREV }
                attacker_war_score > 25
            }
        }
    }

    mean_time_to_happen = {
        months = 60
    }

    immediate = {
        ROOT = { save_event_target_as = pacifist_country }
        any_neighbor_country = {
            limit = {
                is_country_type = default
                NOT = { is_country = ROOT }
                has_communications = ROOT
                is_at_war = yes
                NOT = { is_at_war_with = ROOT }
                OR = {
                    has_ethic = ethic_militarist
                    has_ethic = ethic_fanatic_militarist
                }
                any_war = {
                    any_attacker = { is_country = PREV }
                    attacker_war_score > 25
                }          
            }
            save_event_target_as = militarist_country
        }
    }

    option = {
        name = "mg_opinion.1.a" #SEND A FORMAL PROTEST
    }

    option = {
        name = "mg_opinion.1.b"    #FORGIVE AND FORGET
    }
}
 
Black Hole Anomaly
Event Title: The Path Beyond
Event Description: The black hole [insert name here] appears to have a small object orbiting just outside the event horizon. Upon closer examination, it appears to be a small, ancient wormhole generator built by an unknown civilization, possibly as a way of opening a path into the event horizon and investigating what lies beyond. Our scientists would like to examine the technology closer.

Event Title: Successful Investigation
Event Description: Upon closer examination, the wormhole generator has clearly been damaged by the passage of time. However, lead scientist [insert name here] believes that it can be repaired.
Option: Do it - starts the Special Project: Repairing the Wormhole Gnerator
Option: It's far too dangerous.

On completion
Event Title: Success?
Event Description: After repairing the wormhole generator, the science ship [insert name here] was sucked beyond the event horizon and is now missing in action. We can only hope that the wormhole is robust enough for them to return.
Option: We wait with bated breath - Science ship goes MIA

Event Title: What Lies Beyond
Event Description: The science ship has returned, and its crew has been transformed. They refuse to discuss the "unspeakable" things that lie beyond the event horizon, but we must trust that those insights will benefit our empire.
Option: - Grants physics research, lead scientist gains the Psionic trait.

Event Title: An Old Relic
Event Description: Upon closer examination, the wormhole generator has clearly been damaged by the passage of time. Given its proximity to the event horizon, further investigation would be deeply unsafe and unlikely to bear fruit.
Option: Unfortunate.

Event Title: A Tragic Mistake!
Event Description: While investigating the wormhole generator, lead scientist [insert name here] accidentally switched it on, unaware that it was damaged. As a result, the science ship [insert name here] was sucked through the wormhole into the black hole, never to be seen again.

Tomb World Observation Post -
It would be cool if this can be tied to the presence of Benevolent Observer Fallen Empires, but I dunno if that's possible from a coding perspective. If not, it could be added to one of the Precursor artifact anomaly lines.

Event Title: The Orbit of a Dead World
Event Description: While investigating [insert name here], our scientists found a strange satellite orbiting this tomb world. Our scientists would like to investigate more closely.

Event Title: Incoming Transmission
Event Description: Upon closer investigation, the satellite was found to be an ancient observation post for observing the species that once inhabited [insert name here]. While in the process of harvesting its research, we have found that it is still active and are receiving a message from its owners.
Option: Fascinating - add Society Research, open diplomacy with Benevolent Observer if possible.

Event Title: Successful Investigation
Event Description: Upon closer investigation, the satellite was found to be an ancient observation post for observing the species that once inhabited [insert name here]. We have harvested centuries worth of data from its memory.
Option: Fascinating - add Society Research

Event Title: Self-Destruct!
Event Description: While investigating the anomaly, our scientists had not realized that it was still active. Its owners triggered the self-destruct mechanisms. While no one was hurt, all the data within the observation post was lost.
Option: Unfortunate.
 
  • 3
Reactions:
Anomaly Done.

Screenshots:
EWcQSoo.jpg


ZxvZY76.jpg


NizQ0Cw.jpg


Kfpw2cY.jpg


ffEAAF6.jpg

Notes:
I made up the following: Anomaly Level 3, Base Risk 40, Spawn Modifier (2 on black holes), Weight 1, Special Project (Physics, 90 Days, Requires a scientist level 3 or higher), the ship vanishes for 60 +/- 30 days, the scientist gains 200 exp.

Miscellaneous:
- I always used the black hole picture.
- I made up some localisation that was not specified.
- The reappearing ship is not exactly the same that vanished. Its design is the base one and its name is "Science Ship".

Mod containing the anomaly is attached to the post.
 

Attachments

  • newanomalies.rar
    3,3 KB · Views: 5
  • 3
Reactions:
Hey guys, I'm both writer and coder. I planned to start working on exactly something like that sometime next week so might as well join your merry band, if you need +1 of course ;)
 
I have incorporated both the blackhole event and the diplomacy event (with some text written by me) into the mod for release Monday. PM me if you want your credits to be different than your forum user name. Thank you for the contributions, they are awesome!

@P_aul The more the merrier! Feel free to contribute or collaborate as you like. Looking forward to seeing what you add.
 
No problem, no need to credit me but I'll leave the details to you.
I just submitted a ticket hoping for a username change. Registered with this years ago but I'm quite unsatisfied with this one.
If you want to credit me please use "Shirokitsune".

EDIT: Regarding the diplomatic event I posted earlier, it's still 'empty', i'll finish it tomorrow.
 
Last edited:
  • 1
Reactions:
As I said in the other thread, I'm working on such a mod myself. I'm more of a writer than a coder, but I'll put in a token effort to code the simpler events myself. I'm willing to contribute both ideas and actual code to the project!
 
  • 1
Reactions:
After reading the wormhole and blackhole story I remembered a movie which could be perfect for an event or maybe an event chain.

Your science ship gets anormal readings from the outer atmosphere of a gas giant. On successfully analysing the anomaly you find one of your empire´s old thought to be lost prototype ftl ships floating in a slowly descending orbit around the gas giant. How it came to end up there instead of returning home is a mystery as sensor readings indicate no damage. All hailings are beeing ignored.

Now you get a reseach project to stabilize the ships orbit to possibly be able to find out what happened to the ship and its crew.

After finishing the project your scientist and his assistents dock to the ship and find the inside to be air-evacuated and the crew´s mutiliated bodies floating around.

Now you get to choose to further investigate or depending on ethos (think of military) get rid of this evidence of "failure" for a gain of influence.

When choosing to further investigate your scientist finds out that tha crew did those horrible things to themselve after the ship made its first seemingly successful ftl travel to this system. You already get some science points at this point.

Now you get the option to choose to either investigate further or get away from this as the scientist´s assistents already call it "ghostship".

* Getting away at that point gives some exp for the scientist.

* Choosing to further investigate should result if succesful in the knowledge that this ship passed into another dimension while traveling with ftl speed. (is it possible to have different texts depending on ethos?) A materialistic empire would think they went mad because of the stress, while a spiritualistic empire would believe an evil entity took control of them. Either way the ships datacore which the scientist was now finally able to recover gives a lot of physics data about the flight. After the scientist´s returning to the science ship the prototype suddenly charges his ftl engine on its own. The Science team barely manage to undock there ship before the prototype vanishes into the unknown.

* Having a light failure now tells you that one of the scientists assistents went insane, trying to destroy their scienceship talking about how the prototype was alive and telling him to do so. The others manage to prevent him from doing so and confine him into one of the scienceships cryochambers for the time being. Investigation ends here, the scientist chooses to destroy the prototype using its selfdestruct mechanism to not risk any further dangers. Small amount of xp for the Scientist.

* Hard failure leads to him beeing successful in destroying the science ship. All you hear from the science team afterwards is a short commchat from the prototype filled with the scientist´s and his assistent´s screams of agony before the prototype charges his ftl and vanishes into the void never to be heard of again. Scientist dead.

If you like that idea and if it is possible to script it I would write a better text for it.
 
Last edited:
  • 1
Reactions:
Ok I´ll work on the text after work tomorrow. So different text for every part depending on ethos and government is also possible? Then I will make some variations aswell.
 
  • 1
Reactions:
Yes. Events can detect your ethics and government and then give different options based on those. The event title and description are the same for everyone, but the options available can be different. If you branch the event into different trees for each option then you can have totally different outcomes and chains for the various options. So, for example, if on the first event you provide one option for individualist and one for collectivist you can then have different event outcomes for each or even entirely different event trees.