![]() |
|
|
#1 |
|
Corporal
Join Date: Jun 2002
Location: Crowmarsh Gifford
Posts: 34
|
Event Edit
I don't know if this is possible but I'm sure you would be able to tell me. This edit is probably to local for anyone else to want it but if someone knows how could they tell me how to do it. During Cromwells short-lived and misguided reign the Town of Wallingford used to have a huge castle surronding it (Windsor Castle and a few Churches were built from its stone). Wallingford was and still is a Royalist stronghold. Cromwell's model Army tried to take the Castle but did not even get close but upon the king's capture the castle was ordered to be surrendered and that nutter Cromwell had it demolished. So I wondered if there was a way of a message or event to pop up and say something to what happened. I know this might seem trivial but its just to make it personal. I'm sure other people would like to put in their own bits. It hasn't got to change anything I just wondered if it was possible..
|
|
|
|
|
|
#2 |
|
Dark Power
Join Date: Jun 2001
Posts: 15,584
|
Sure. It's possible. Put this in flavor_eng.txt:
Code:
event = {
id = 9000
random = no
country = ENG
name = "The Castle of Wallingford" #Name of the event
desc = "Put the story here"
style = 3
date = { day = 1 month = october year = 1600 } #Change this to the date of the event
action_a ={
name = "Ok" #Button text here
command = { }
}
}
__________________
"The path of the righteous Member is beset on all sides
By the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, Shepherds the weak through the valley of darkness, For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger Those who attempt to poison and destroy my brothers. And you will know my name is the Admin when I lay my vengeance upon you." |
|
|
|
|
|
#3 |
|
Field Marshal
Join Date: Oct 2001
Location: Massachusetts USA
Posts: 9,457
|
My experience is that if there is nothing in the command line the event message will pop in and out of existence before you can notice it let alone read it. I'd add:
command = {type = cash value = 1} in place of Havard's command = {} so you can read it.
__________________
" Ignoring the root causes of terror, turning a blind eye to the oppression and despair of millions may be easier in the short run, but we learned on September the 11th, if violence and fanaticism are not opposed at their source, they will find us where we live." GWB Sick of only the big boys getting the Dutch revolts? Try the Dutch Revolts Mod |
|
|
|
|
|
#4 |
|
Corporal
Join Date: Jun 2002
Location: Crowmarsh Gifford
Posts: 34
|
Thanks for your time...
|
|
|
|
|
|
#5 |
|
Corporal
Join Date: Jun 2002
Location: Crowmarsh Gifford
Posts: 34
|
Perhaps I'm pushing my luck but if I used the first event to actually announce the peaceful surrender of the castle what would I have to do to annonce another one a few years later ordering the actual destruction? Is it possible to add more by just changing the id?
|
|
|
|
|
|
#6 |
|
Corporal
Join Date: Jun 2002
Location: Crowmarsh Gifford
Posts: 34
|
Sorry I forgot to ask, do I have to enter any text for this line name = "Ok" #Button text here
I can build PC's but Am a total novice as regards to program editing.... |
|
|
|
|
|
#7 |
|
Congressman from California
Join Date: Feb 2001
Location: The Continental Congress
Posts: 4,592
|
Nah, as far as I'm aware, what will happen is that the event will pop up with a single button-choice, labeled "Ok"
__________________
Sunshine patriot - Southern California sunshine, that is... plays EU2, CK, and Rome, and occasionally dusts off HOI, HOI2 or Victoria Sheridan's EU2 France 1419 Strategy Guide (outdated but still useful in concept) |
|
|
|
|
|
#8 | |
|
Dark Power
Join Date: Jun 2001
Posts: 15,584
|
Quote:
__________________
"The path of the righteous Member is beset on all sides
By the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, Shepherds the weak through the valley of darkness, For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger Those who attempt to poison and destroy my brothers. And you will know my name is the Admin when I lay my vengeance upon you." |
|
|
|
|
|
|
#9 |
|
Corporal
Join Date: Jun 2002
Location: Crowmarsh Gifford
Posts: 34
|
What if I wanted to add future events like this one, do I just repeat what I have done or do I have to edit the text? Once again Thanks for your help Havard, Isaac Brock & Sheridan I'm telling my mates that I have a special version of the game that features 'Wallingford' they are well jealous and until they cotton on onto this forum I'm GOD, (Ha, Ha..)
|
|
|
|
|
|
#10 | |
|
Dark Power
Join Date: Jun 2001
Posts: 15,584
|
Quote:
__________________
"The path of the righteous Member is beset on all sides
By the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, Shepherds the weak through the valley of darkness, For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger Those who attempt to poison and destroy my brothers. And you will know my name is the Admin when I lay my vengeance upon you." |
|
|
|
|
|
|
#11 |
|
Congressman from California
Join Date: Feb 2001
Location: The Continental Congress
Posts: 4,592
|
Hey, in my version of the game, Brittany, Ireland and Scotland have their own seperate cultures, Alsace can turn French in 1675 if the events turn out right, and pretty soon I'll have colonies that can switch culture to match their new owners.
---- Oh, Havard... is it possible to have a country join an existing alliance as an event choice? I'm working on the AoN, and I've got an event I'm working on that seems to call for something like that. (I might also need to have it leave whatever alliances it's in... it's a matter of joining into a war.) Also, if you know, how long does a province usually need to be in revolt before it declares independence (assuming it's a revolter), and if a revolter country has more than one province, how many of them need to be in revolt?
__________________
Sunshine patriot - Southern California sunshine, that is... plays EU2, CK, and Rome, and occasionally dusts off HOI, HOI2 or Victoria Sheridan's EU2 France 1419 Strategy Guide (outdated but still useful in concept) |
|
|
|
|
|
#12 | ||
|
Dark Power
Join Date: Jun 2001
Posts: 15,584
|
Quote:
Adds nation with tag aaa to military alliance of the country affected by the event. Quote:
__________________
"The path of the righteous Member is beset on all sides
By the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, Shepherds the weak through the valley of darkness, For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger Those who attempt to poison and destroy my brothers. And you will know my name is the Admin when I lay my vengeance upon you." |
||
|
|
|
|
|
#13 |
|
Corporal
Join Date: Jun 2002
Location: Crowmarsh Gifford
Posts: 34
|
So if I go 9000,9001 i'll be alright? And just duplicate the rest but change the text of course?
|
|
|
|
|
|
#14 | |
|
Dark Power
Join Date: Jun 2001
Posts: 15,584
|
Quote:
__________________
"The path of the righteous Member is beset on all sides
By the inequities of the selfish and the tyranny of evil men. Blessed is he who, in the name of charity and good will, Shepherds the weak through the valley of darkness, For he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger Those who attempt to poison and destroy my brothers. And you will know my name is the Admin when I lay my vengeance upon you." |
|
|
|
|
![]() |
| Thread Tools | |
|
|