• 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.

Fintilgin

Colonel
124 Badges
Apr 11, 2001
995
250
  • Victoria 2
  • Europa Universalis III Complete
  • Knights of Pen and Paper +1 Edition
  • Magicka
  • Majesty 2
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Europa Universalis: Rome
  • Semper Fi
  • Sword of the Stars
  • Teleglitch: Die More Edition
  • Heir to the Throne
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Warlock 2: The Exiled
  • 500k Club
  • Cities: Skylines
  • Crusader Kings II: Holy Knight (pre-order)
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Stellaris: Nemesis
  • Deus Vult
  • Hearts of Iron II: Armageddon
  • Cities in Motion 2
  • 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: Sunset Invasion
  • Crusader Kings II: Sword of Islam
  • Darkest Hour
  • Arsenal of Democracy
  • Europa Universalis III
  • Europa Universalis III: Chronicles
  • Divine Wind
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Call to arms event
  • For the Motherland
  • Hearts of Iron III
It struck me that it would be very useful and cool to be able to use strings in the event text. Especially for random events and if the game will be taking a more dynamic approach to events then EUII did.

For example, you might write an event like this:

PEASANT REVOLT IN $TARGETCITY$!

My Lord! $PROVINCECULTURE$ peasants are revolting against $OURCULTURE$ rule in the city of $PROVINCECITY$. Several buildings have been burned and mobs attacked our brave soldiers. If we don't take action quickly the revolt could quickly engulf all of $TARGETPROVINCE$!

So that way as France you might see:
PESANT REVOLT IN ESSEX!

My Lord! English peasants are revolting against French rule in the city of London. Several buildings have been burned and mobs attacked our braves soldiers. If we don't take action quickly the revolt could quickly engulf all of Essex!

But as some other nation you'd in some other province you'd see something different. This would help make events feel less 'generic'. Another thing that could help make events feel more fun and more situation specific would be to support multiple event texts for a single event. Paradox might not use it a lot, but the support would be there to for us to add more texts in later.

In this scenario, an event that gave your monarach a stat hit could have several different texts. You'd have, say, EVENT_TITLE A, EVENT_TITLE B and EVENT_TITLE C along with event text for each. Then, when the event fired it would pick one event title and it's associated text to display.

For example, event 21594 might have the following event texts/titles
EVENT_TITLE A
THE MADNESS OF $TITLE$ $OURMONARCH$

EVENT_TEXT A
$TITLE$ $OURMONARCH$ has grown increasingly disturbed of late. He has been seen pacing the corridors of his palace in $OURCAPITAL$ muttering about voices telling him to burn things and has also taken to wearing a hat made of thinly beaten tin. The Council of Lords is deeply worried and the affairs of the Kingdom are suffering.

EVENT_TITLE B
THE MADNESS OF $TITLE$ $OURMONARCH$

EVENT_TEXT A
$TITLE$ $OURMONARCH$ B has become convinced that devils and witches are watching him from afar and has had all the windows in the royal palace shuttered and draped. He is hardly sleeping and eating only sparingly for fear of poison. The Council of Lords is deeply worried and the affairs of the Kingdom are suffering.

You could also make Text_C to be the monarch contracting a cold, or falling off a horse or doing something else that negatively effects his stats without having to code lots of extra events (or make certain negative events happend too often). It would add a lot of cool flavor and uniqueness to the events you got and help you from feeling like you were getting the same generic events over and over.
 
definately a good idea i brought this up in the dynamic events thread it would make a dynamic event sequence much more fluffy than say "oh no mom we got revolt in london". Or say you can use your random monarch in an event for example.
 
Byakhiam said:
There's pretty much that in CK event engine already.

Not in the event names though, which would be nice when you look in the game log and see "Technology spread happened to us." It would be better to see a "game log text" option like:

event_name "Technology Spread"
log_text "$TECH_GAINED spread to $PROVINCE."
 
Duuk said:
Not in the event names though, which would be nice when you look in the game log and see "Technology spread happened to us." It would be better to see a "game log text" option like:

event_name "Technology Spread"
log_text "$TECH_GAINED spread to $PROVINCE."

Ah correct, not in the event engine itself. :eek:o

However, the various pointers like "Duuk duke of America" got me all mixed up.

Ignore me. :D