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

Abesargent

Corporal
101 Badges
Nov 20, 2002
37
0
www.starcitygames.com
  • 500k Club
  • Europa Universalis IV: Res Publica
  • Rome Gold
  • Semper Fi
  • Sengoku
  • Sword of the Stars
  • Sword of the Stars II
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • Warlock: Master of the Arcane
  • Magicka
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Stellaris: Necroids
  • Dungeonland
  • Cities in Motion
  • 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
  • Deus Vult
  • A Game of Dwarves
  • Europa Universalis III
  • 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
  • Hearts of Iron III
  • Heir to the Throne
  • Europa Universalis III Complete
I just finished scripting my first event. I was hoping that you guys could review it and tell me what to change or do differently. For background, I am playing an EEP 1.4 GC with Granada and I wanted some fantasy events. I took Garbon's suggested events in a previous thread here, but I wanted some more. This was my first. It triggers off the event by Garbon that moves the Granada capital to Andalusia.

event = {
id = 45153
trigger = {
event = { 4768225 }
}
random = no
country = GRA
name = "Restablish Cordoba"
desc = "A Granada that moved their capital to Cordoba would be very tempted to claim the title of Kaliphate of Cordoba despite having no lineage to Mohammad the Prophet. Doing so would gain great favor in the eyes of some individual Moslems, and would also continue improving Andalusia, but would greatly aggravate relations with nearby Sunni nations as well as its own people. Taking the title of Sultanate would endear Granada to those same Sunni nations. Or, Granada could decide to keep their own identity, despite reclaiming Cordoba as their home. That path would show the world that Granada was not interested in conquest and would be a good diplomatic move with Europe."
style = 1
date = { day = 10 month = january year = 1461 }
offset = 90
deathdate = { day = 2 month = may year = 1820 }
action_a ={
name = "We shall become the Sultante of Cordoba"
command = { type = stability value = 1 }
command = { type = population which = 443 value = 2000}
command = { type = relation which = MOR value = 100 }
command = { type = relation which = FEZ value = 100 }
command = { type = relation which = TUN value = 75 }
command = { type = relation which = MAM value = 75 }
command = { type = relation which = XHO value = 75 }
command = { type = relation which = TUR value = 50 }
}
action_b ={
name = "We shall fully restablish the Kaliphate of Cordoba!"
command = { type = stability value = -1}
command = { type = population which = 443 value = 5000}
command = { type = relation which = MOR value = -200 }
command = { type = relation which = FEZ value = -200 }
command = { type = relation which = TUN value = -150 }
command = { type = relation which = MAM value = -150 }
command = { type = relation which = XHO value = -150 }
command = { type = relation which = TUR value = -100 }
command = { type = revoltrisk which = 24 value = 5 }
command = { type = provincetax which = 443 value = 2 }
}
action_c ={
name = "We shall keep our own identity"
command = {type = stability value = 3 }
command = { type = badboy value = -5 }
}
}



I tried it out and it went off for me. However, the Badboy value for action number 3 worked correctly, but when I moved my mouse over the choice of "We shall keep our own identity," it showed "Unknown String" or something like that. Still, it worked and lowered the BB.


Anyways, I'd love criticisms. Let 'er fly!


-Anxiety
 
I'd add TRI and ALD to the countries affected. They don't exist at first but certainly could.

Is the mouseover for the BB broken then? Anyone know?
 
Originally posted by Anxiety
I just finished scripting my first event. I was hoping that you guys could review it and tell me what to change or do differently. For background, I am playing an EEP 1.4 GC with Granada and I wanted some fantasy events. I took Garbon's suggested events in a previous thread here, but I wanted some more. This was my first. It triggers off the event by Garbon that moves the Granada capital to Andalusia.

Wohoo for Granada! :D :cool:

I still need to get those events some descriptions, so that they can be included...

The only real question that I have about your event is whether or not it'd be a starting point for future events? I mean for doing something as grandiose as reclaiming the mantle of the Caliphate of Cordoba, your event is somewhat bland(?). So, I guess, is there more to come? :p

Also, perhaps keeping their own identity should trigger +25 relations with a few random nations to show improving relations? Additionally, is there a particular reason for the date 1461?

Glad to see some stuff for Granada being revived, which reminds me that I need to try harder to see what happened to Boabdil's offspring as they relate to a potential fantasy dynasty.
 
Garbon:

Yeah, it actually starts in 1419, but I was playing around with the triggers, and my save game was at Jan 9, 1961. I wanted to see in game how offsets worked, as well.

Oh, and I added descriptions to those events (although I'm puzzled by the Alhambra event. If Granada is resurgent, then it never lost Alhambra, right? So why would it need to be restored? Was there some decay of the palace that I don't know of? Maybe it was zarked during the constant instability of the fifteenth century or something?)


Isaac Brock:

I need to include TRI and ALD - good catch!


-Anxiety
 
Originally posted by Anxiety
Oh, and I added descriptions to those events (although I'm puzzled by the Alhambra event. If Granada is resurgent, then it never lost Alhambra, right? So why would it need to be restored? Was there some decay of the palace that I don't know of? Maybe it was zarked during the constant instability of the fifteenth century or something?)

You did? Oh, good, I'd love to see them.

On La Alhambra, I think that I was thinking that it needed some restoration. I know it had fixes to it early 15th century and thought that if Granada was to become resurgent that it'd probably fix of the Palace even more since it would have the funds. The choice a text in it and the Alcázar event need to be replaced as 'Congratulations' doesn't really fit.

I wonder if I ever had a post about my vision for the religious problems in a resurgent Granada...
 
i get a few of those unknown string added things, too. one is on the naval slider menu, another appears when you try to upgrade a fort in a province with too low of a base tax (by try i mean scroll the mouse over the fort).

why would anyone pick the second choice? you lose what amounts to 2 stability (see choice 1), get a revolt risk, have crap relations with everyone, and only get 3000 more people and +2 taxes.

-Matt
 
I think that those are because you're using the beta. But the badboy command is in 1.07, so it should be there.
 
dont forget the extra line of text that pops up with the treasury slider "also our mayors are combatting inflation yadda yadda" :D

would be very much appreciated if you added those lines :)