• Crusader Kings II Expansion Subscription

    Subscribe to the CK II Expansion and enjoy unlimited access to 13 major expansions and more!


  • Crusader Kings III Available Now!

    The realm rejoices as Paradox Interactive announces the launch of Crusader Kings III, the latest entry in the publisher’s grand strategy role-playing game franchise. Advisors may now jockey for positions of influence and adversaries should save their schemes for another day, because on this day Crusader Kings III can be purchased on Steam, the Paradox Store, and other major online retailers.


    Real Strategy Requires Cunning

unmerged(11934)

First Lieutenant
Nov 25, 2002
250
0
Visit site
Hi everyone,

Please use this thread for any questions or help request in events writing. How to do this or that... Why is my event not firing... Why does the scenario stops when it loads... etc...

Post your event here with a problem description and either I or another events writer will help you...

Thanks

Extro :)
 

Axe99

Ships for Victory
123 Badges
Feb 13, 2003
14.859
9.329
  • Europa Universalis IV
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Lead and Gold
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Ship Simulator Extremes
  • Sword of the Stars
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
limit to number of control triggers?

G'day Extro,

The last week or so I've been modding 1.03 to try and give it some balance and the like, and have got a scenario that I'm pretty happy with and runs alright, and just needs a little balancing. The scenario has pretty much all of Bolted 1.02c, plus another say 2/3rds again of events, many with control triggers in them.

This morning though I thought I'd get ambitious and tried to write a set of basic AI switching events in an attempt to get the UK and the USA to coordinate landings in Europe and the Pacific - this involved an awful lot of control triggers, as the set of events needed to confirm each landing was secure before the AI switched and moved onto the next target. For the life of me I couldn't get it to load though, and thought that maybe I just needed a bit more experience and put it to the side.

The next event I tried to put in though was much more line and length - it checked for allied (so an OR trigger for AST, CAN, SAF, NZL, USA or ENG control) control of Rome and Taranto, then it checked for Italian control of Venezia and if everything turned up positive then it transferred ownership of the province to Germany (as because the AI doesn't like moving through puppets much at the moment I figured events like this would be the best way of having Germany meet allied forces in Italy, rather than Munich! That said, once they get the AI supporting its allies I'd still be keen to use a similar command as part of a routine setting up an Italian puppet state. When I tried to load it though, it fell over (ie; got two-thirds of the way through loading the scenario and went 'ping' and stopped). I've posted a thread in the general mods column but then I came across this thread.

I think this is something that's worth resolving. I've spent a couple of hours playing around and seem to have narrowed it down to not having enough room for control triggers, and if this is the case it's something whoever puts CORE together will need to be awake to.

Just wondering what your thoughts are, given that you're pretty experienced at this kind of thing?
 

unmerged(11934)

First Lieutenant
Nov 25, 2002
250
0
Visit site
Hi Axe,

If you want to, send me your events pack by e-mail. I'll try to load them on my HOI installation and see what it does... I'll have a look at them and try to figure out what the problem is... It's quite difficult for me to figure out what's wrong without the actual code...

Extro :)
 

Axe99

Ships for Victory
123 Badges
Feb 13, 2003
14.859
9.329
  • Europa Universalis IV
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Lead and Gold
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Ship Simulator Extremes
  • Sword of the Stars
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
G'day Extro,

This is very, very embarrasing, but it was my choke. I will humbly refrain from pretending to know anything about event writing from here on in! It's fixed now, and hopefully I should have more than questions to contribute very shortly!

Have a good one,

Axe

Hey - is it either possible to get rid of my posts, now that they're resolved, or do you want me to edit them down to one line apiece or something like that? Just to save people reading stuff that won't help them much.
 

unmerged(11934)

First Lieutenant
Nov 25, 2002
250
0
Visit site
Originally posted by Axe99
G'day Extro,

This is very, very embarrasing, but it was my choke. I will humbly refrain from pretending to know anything about event writing from here on in! It's fixed now, and hopefully I should have more than questions to contribute very shortly!

Have a good one,

Axe

Hey - is it either possible to get rid of my posts, now that they're resolved, or do you want me to edit them down to one line apiece or something like that? Just to save people reading stuff that won't help them much.

Hi Axe,

If I had 1$ for each hour I spent chasing "very embarassing" mistake that I made in events scripting, I'd be in Tahiti burried in the sand with a cool drink and a few chicks in sexy outfit... Forever after... :D

Don't even think about being embarassed... and yes leave your posts as is... It might help new event writer as far as not being scared to ask for help... ;)

Extro :)
 

Generalisimo

Field Marshal
111 Badges
Jul 22, 2002
11.214
3
www.ageod-forum.com
  • 500k Club
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
  • King Arthur II
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Stellaris: Necroids
  • Europa Universalis III Complete
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Cities in Motion
  • 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
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
Originally posted by Axe99
G'day Extro,

This is very, very embarrasing, but it was my choke. I will humbly refrain from pretending to know anything about event writing from here on in! It's fixed now, and hopefully I should have more than questions to contribute very shortly!

Have a good one,

Axe

Hey - is it either possible to get rid of my posts, now that they're resolved, or do you want me to edit them down to one line apiece or something like that? Just to save people reading stuff that won't help them much.
to delete a post, EDIT them and then look just below the path of the thread, you will find a checkbox and a button to delete the post.

:D
 

unmerged(11934)

First Lieutenant
Nov 25, 2002
250
0
Visit site
Originally posted by aowwt
Care to take a look at my modified US .inc file. Its for the 36 sceniro and everytime i load it, the game just stops. Anyhow I have a thread in the Sceniros and Mod forum. Take a look please! :D

Hi aowwt,

I must admit that I am no expert in .inc and .ai files... I looked at your file and compared it with existing .inc and it seems to me that you are missing a } at the end of the file to close the opening "country = {". Maybe it is just missing because of the copy and paste you did in the post... I'll keep looking anyway...

Let me know if you find out what's cooking...

Extro :)
 

unmerged(8665)

Second Lieutenant
Apr 11, 2002
110
0
www.geocities.com
#()%*&#*($&%*(@#%Y)#&%^*()#&()^#$&*)^(&@#$(&@#$()&^@#&%()@#$&%^()&#$()^&#$@)(^&$()&^)(&()&97()#$&()^&

I think you are right. I am mad now because i thought i thought of everything. I am checking that right now. If you happen to see that Help me with OOB thread deleted, its because its fixed.
 

Axe99

Ships for Victory
123 Badges
Feb 13, 2003
14.859
9.329
  • Europa Universalis IV
  • Stellaris: Lithoids
  • Stellaris: Federations
  • Crusader Kings III
  • Crusader Kings III: Royal Edition
  • Battle for Bosporus
  • Europa Universalis 4: Emperor
  • Stellaris: Necroids
  • Crusader Kings II: The Republic
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Call to arms event
  • For The Glory
  • For the Motherland
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
  • Europa Universalis III Complete
  • Lead and Gold
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Majesty 2 Collection
  • March of the Eagles
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Rome Gold
  • Semper Fi
  • Ship Simulator Extremes
  • Sword of the Stars
  • Supreme Ruler 2020
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Rome: Vae Victis
  • 500k Club
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Crusader Kings II: Way of Life
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Crusader Kings II: Conclave
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
It might be worth noting in this thread that certain errors cause the game to stop loading, while others tell you while it's loading that you've had a choke. In my experience I've found that having no trigger for an event, or leaving the 'end' (not closing all the '{'s with '}'s to ai, event, inc or scenario files makes it stop loading, while the other errors will politely let you know roughly where you've gone wrong. Have I missed anything there extro?
 

unmerged(11934)

First Lieutenant
Nov 25, 2002
250
0
Visit site
Hi Axe,

If I understand correctly ( sometimes my internal english to french translator plays tricks on me :D ) you're wondering why sometimes you have an error box showing the error ( with continue, ignore and cancel buttons ) and sometimes you don't. I found out that the box is actually always there. It's just that sometimes it doesn't display but it is still virtually there. It gives you the impression that the system is jammed but if you do <TAB><ENTER> you'll go back to the desktop. I also found out that if you keep trying to restart the scenario it sometimes displays the message despite the fact it didn't show the last time you tried to load the scenario... quite strange...

Again I'm not sure I fully understood your question...

Extro :)
 

unmerged(14833)

Private
Feb 17, 2003
20
0
French Event

I am working on the Naval OOBs for 36 atm. Right now Im doing France and I need to know how to script an event that pulls the battleship "Ocean" out of the game or have a 2nd possiblity that lets the ship be refitted/rebuilt and puts it into the builds pool.

Can anyone give me a hand with this??

Largus
 

Generalisimo

Field Marshal
111 Badges
Jul 22, 2002
11.214
3
www.ageod-forum.com
  • 500k Club
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
  • King Arthur II
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Stellaris: Necroids
  • Europa Universalis III Complete
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Cities in Motion
  • 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
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
Re: French Event

Originally posted by LargusMeans
I am working on the Naval OOBs for 36 atm. Right now Im doing France and I need to know how to script an event that pulls the battleship "Ocean" out of the game or have a 2nd possiblity that lets the ship be refitted/rebuilt and puts it into the builds pool.

Can anyone give me a hand with this??

Largus

you must use:
type = delete_unit which = [unit id/-1]
but i must warn you that i have never used... :rolleyes:
if it is a unit that is in the game from the beggining, you will know the ID from the start, if it is not the case, you are in trouble... :(

:D
 

Juba

Major
11 Badges
Apr 1, 2001
626
56
Visit site
  • Crusader Kings II: Sons of Abraham
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Europa Universalis: Rome
  • Victoria 2
  • 500k Club
  • Crusader Kings II: Monks and Mystics
What's the inverse of the sleepevent command? I've tried using trigger but it seems to trigger the event even if the other triggers aren't met. Also the game gives me an error with this action action_b = {
name = "Forget about it"
command = { type = dissent value = 20 }
}

Any ideas or suggestions on what could be the mistake and how I can solve it?

Edit: Also this event isn't happening eventhough the event hasn't been slept and the triggers are met.


event = {
id = 171006
random = no
country = FIN
trigger = {
atwar = { country = SOV }

NOT = {

alliance = { country = GER }
}
}
date= { day = 1 month = january year = 1936 }
offset = 2
deathdate = { day = 30 month = december year = 1947 }
#Nordic alliance goes into action

name = "The Nordic Alliance in action Swe"
desc = "The Nordic Alliance with only Sweden"
style = 0

action_a = {
name = "Call for support"
command = { type = trigger which = 171010 }
}
action_b = {
name = "Forget about it"
command = { }
}
}
 
Last edited:

Generalisimo

Field Marshal
111 Badges
Jul 22, 2002
11.214
3
www.ageod-forum.com
  • 500k Club
  • The Kings Crusade
  • Magicka
  • Majesty 2
  • Europa Universalis III Complete
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Semper Fi
  • Supreme Ruler: Cold War
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 200k Club
  • King Arthur II
  • Cities: Skylines
  • Cities: Skylines Deluxe Edition
  • Europa Universalis IV: El Dorado
  • Europa Universalis IV: Pre-order
  • Pride of Nations
  • Rise of Prussia
  • Mount & Blade: Warband
  • Crusader Kings II: Way of Life
  • Pillars of Eternity
  • Europa Universalis IV: Common Sense
  • Crusader Kings II: Horse Lords
  • Stellaris: Necroids
  • Europa Universalis III Complete
  • 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
  • Commander: Conquest of the Americas
  • Deus Vult
  • Europa Universalis III
  • Cities in Motion
  • 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
  • Hearts of Iron III: Their Finest Hour
  • Heir to the Throne
there is no wakeevent command right now...
i do not know if this has been added in the new patch (i haven't donwload it yet).

about the dissent, i use this code and it worked ok:
command = { type = dissent value = -30 }

so, no clue why it gives you an error... :(
it doesn't say in which line is the error?
 

McNaughton

Wallet Inspector
6 Badges
Feb 2, 2003
2.283
0
Visit site
  • Europa Universalis III
  • Hearts of Iron III
  • 500k Club
  • Hearts of Iron II: Beta
  • Pride of Nations
  • Hearts of Iron IV Sign-up
How do I add ships to a nation through an Event?

I know how to add Land Divisions, but what I want to do is to have the RN transfer 2 Destroyer Divisions to the RCN (remove two RN DD's and add 2 RCN DD's)?

Thanks!
 

unmerged(11934)

First Lieutenant
Nov 25, 2002
250
0
Visit site
Originally posted by Juba

alliance = { country = GER }


Hi,

The alliance command need two country...

alliance = { country = GER country = XXX }

That should solve your problem...

If not, post the new version again...


Extro :)
 

unmerged(11934)

First Lieutenant
Nov 25, 2002
250
0
Visit site
Originally posted by McNaughton
How do I add ships to a nation through an Event?

I know how to add Land Divisions, but what I want to do is to have the RN transfer 2 Destroyer Divisions to the RCN (remove two RN DD's and add 2 RCN DD's)?

Thanks!

Hi McNaughton,

You can remove units from the RN *IF* you know the ID of the units at the start of the scenario...
Then use the add_unit to give 2 destroyer units to the RCN. They won't be the same units thought but it's the closest way to simulate what you want to do...

Also you could cheat a little...:D... Give 2 destroyer division to the RCN and say in your event that they come from the RN without actually deleting them from the RN... It would be the safest way and since 2 destroyer division won't change the course of the war you should not worry about it...

Extro :)
 

OHgamer

Victoria's Plastic Surgeon
37 Badges
Jan 28, 2003
18.040
408
  • Europa Universalis IV: Mandate of Heaven
  • Victoria 2 Beta
  • Europa Universalis IV: Common Sense
  • Cities: Skylines - After Dark
  • Europa Universalis IV: Cossacks
  • Cities: Skylines - Snowfall
  • Europa Universalis IV: Mare Nostrum
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Hearts of Iron IV: Together for Victory
  • Hearts of Iron II: Beta
  • Europa Universalis IV: Third Rome
  • Hearts of Iron IV: Death or Dishonor
  • Europa Universalis IV: Cradle of Civilization
  • Hearts of Iron IV: Expansion Pass
  • Europa Universalis IV: Rule Britannia
  • Hearts of Iron IV: Expansion Pass
  • Hearts of Iron IV: La Resistance
  • Battle for Bosporus
  • Europa Universalis IV: Res Publica
  • Europa Universalis III Complete
  • Europa Universalis IV
  • Europa Universalis IV: Art of War
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Hearts of Iron III
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis III
  • Victoria: Revolutions
  • Victoria 2
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • 500k Club
  • Cities: Skylines
  • Europa Universalis III: Collection
  • Europa Universalis IV: El Dorado
Help - something not right on this - can't get the event to fire.

Have created my own independent Egypt and this is the first event I have written for it. Please note that this is still a beta version and I will change id's to fit the CORE numbers once the syntax is worked out. I have an independent Egypt that is allied to the Allies when war breaks out (not 100% historically accurate but the best I can do with the HoI AI so that Italy invades Egypt). What I want is to trigger a UK ultimatum to the Egyptian government to be more energetic in the war effort by replacing the government with a pro-British one, a demand that could have potentially lead to Egypt switching sides to the Axis if it refused. The trigger is the Italian occupation of Matruh. But so far I can't get the event to trigger even after the Italians have occupied Matruh for over a month. Any help appreciated in fixing the problems - it is probably some small syntax error but I can't find it. I have the event in its own "Egypt.txt" file in db\events so I think it is in the right place, and I wrote it with notepad like the other events in the file.

#########################################################################
# Abdin Palace Coup - Italian invasion
#########################################################################
event = {
id = 25050
random = no
country = EGY

trigger = {
war = { country = ITA country = EGY }
control = { province = 1090 data = ITA }
}

name = "Abdin Palace Coup"
desc = "Fearing Faruq will join the Axis, the British demand he form a pro-British government"
style = 0


Date = { day = 1 month = january year = 1937 }
Offset = 4
Deathdate = { day = 30 month = december year = 1947 }

action_a = {
name = "Accept" # Accept British Demands and form Wafd government
command = { type = headofstate which = 96021 }
command = { type = headofgovernment which = 96022 }
command = { type = foreignminister which = 96023 }
command = { type = armamentminister which = 96024 }
command = { type = ministerofsecurity which = 96025 }
command = { type = ministerofintelligence which = 96006 }
command = { type = chiefofstaff which = 96007 }
command = { type = chiefofarmy which = 96008 }
command = { type = chiefofnavy which = 96009 }
command = { type = chiefofair which = 96010 }
command = { type = alliance which = ENG }
}

action_b = {
name = "Refuse" # End British Domination Of Egypt and join the Axis
command = { type = leave_alliance }
command = { type = end_access which = ENG }
command = { type = peace which = ITA value = 0 }
command = { type = war which = ENG }
command = { type = alliance which = ITA }
command = { type = dissent value = 20 }
}
}
 

unmerged(11934)

First Lieutenant
Nov 25, 2002
250
0
Visit site
Hi OHgamer,

The code looks quite fine to me except the Date, Offset and Deathdate commands are beginning with a capital letter. In every example I have and in the Havard events writing guide, the first letter is always lowercase... Maybe this is the problem... maybe not...

Your egypt.txt file is in the events directory, but did you modify the events.txt file in the db directory to reference your egypt.txt file?

Check this and let me know what happens...

BTW: Please use the Events Writing Help Desk thread for question like this. It will keep the new thread creation to a minimum...

Thanks...

Extro :)