HDIAndrew / EFS

12 stars 0 forks source link

Scripted Events #122

Open Luxor70 opened 1 year ago

Luxor70 commented 1 year ago

Description:

It would be nice to have a system of scripted events. Events can be written in txt files with a simple syntax like this

Commit hash:

1.5

Why is it good for the game?:

With this system, "things" in the game can happen at given conditions, like League declaring 3rd republic, jumplines opening, creating units on planets/in space, and so on

Matt-Caspermeyer commented 1 year ago

I guess you can say that there are already a few of scripted events in the game:

  1. The League's Declaration of the Third Republic based on their number of Firebirds achieving a random value between a min / max range.
  2. The activation of the Vau when a player researches a specific technology.
  3. The vote
  4. The new P/Matriarch
  5. More?

If we wanted to add new events, they would be singular while implementing a scripted event system would be a significant endeavor, so we'd have to flesh out the details, etc. to decide how to implement this type of system.

Luxor70 commented 1 year ago

Yes, I agree that this would be a big change in the code. But this would open many possibilities for modders. I was thinking at a system like Hearts of Iron/Europa Universalis games, probably with less details.