-
November 24, 2009, 09:35 AM
#1
How to change an event ?
Hi all,
I would like to alter slightly an event i am sure arrise in the descr_events.txt however i cannot find any definition of what it does anywhere. Is there an additional place where event properties and mechanisms are stored ?
Thanks,
Cedric37.
Patronized by y2day/Patron of KDK, Swagger & Navajo Joe, of the Imperial House of Hader
-
November 24, 2009, 09:47 AM
#2
Re: How to change an event ?
Quite a number of the events are now called through the campaign script. Which one are you looking at?
-
November 24, 2009, 10:00 AM
#3
Re: How to change an event ?
I am looking for the black_death_hits event in DLV6.2 mod. But i have searched in the campaign script and did not see it. Maybe i am blind ?
(Thanks for the very quick answer, i will double check in campaign_script.txt).
Patronized by y2day/Patron of KDK, Swagger & Navajo Joe, of the Imperial House of Hader
-
November 24, 2009, 10:14 AM
#4
Re: How to change an event ?
That I am not sure about--but I think it's in their campaign script. Better be prepared with your search function, I think that sucker's about 60,000 lines long.
-
November 24, 2009, 10:24 AM
#5
Re: How to change an event ?
Thanks you were right it was there.
;----------------------------- The Dark Ages ---------------------------------------
declare_counter death_hit
monitor_conditions I_EventCounter black_death_hits = 1
and I_CompareCounter death_hit = 0
generate_random_counter stochastic_war 0 1
if I_EventCounter stochastic_war = 0
and I_CompareCounter civil_war < 3
console_command diplomatic_stance england france war
console_command diplomatic_stance england scotland war
console_command diplomatic_stance hre poland war
console_command diplomatic_stance hre denmark war
console_command diplomatic_stance france spain war
console_command diplomatic_stance spain moors war
console_command diplomatic_stance moors egypt war
console_command diplomatic_stance egypt elo war
console_command diplomatic_stance turks armenia war
console_command diplomatic_stance timurids turks war
console_command diplomatic_stance kiev russia war
console_command diplomatic_stance russia poland war
console_command diplomatic_stance hungary byzantium war
console_command diplomatic_stance byzantium venice war
console_command diplomatic_stance venice milan war
console_command diplomatic_stance milan sicily war
console_command diplomatic_stance sicily venice war
console_command diplomatic_stance denmark norway war
console_command diplomatic_stance denmark teutons war
console_command diplomatic_stance lit russia war
end_if
if I_EventCounter stochastic_war = 1
and I_CompareCounter civil_war < 3
console_command diplomatic_stance england ireland war
console_command diplomatic_stance france scotland war
console_command diplomatic_stance hre teutons war
console_command diplomatic_stance hre norway war
console_command diplomatic_stance france hre war
console_command diplomatic_stance spain portugal war
console_command diplomatic_stance moors spain war
console_command diplomatic_stance egypt turks war
console_command diplomatic_stance turks byzantium war
console_command diplomatic_stance timurids russia war
console_command diplomatic_stance kiev hungary war
console_command diplomatic_stance russia byzantium war
console_command diplomatic_stance hungary venice war
console_command diplomatic_stance milan hre war
console_command diplomatic_stance sicily moors war
console_command diplomatic_stance denmark france war
console_command diplomatic_stance lit poland war
console_command diplomatic_stance armenia elo war
end_if
link_faction_ai england kill_human
link_faction_ai france kill_human
link_faction_ai hre kill_human
link_faction_ai spain kill_human
link_faction_ai venice kill_human
link_faction_ai sicily kill_human
link_faction_ai milan kill_human
link_faction_ai scotland kill_human
link_faction_ai byzantium kill_human
link_faction_ai russia kill_human
link_faction_ai moors kill_human
link_faction_ai turks kill_human
link_faction_ai egypt kill_human
link_faction_ai denmark kill_human
link_faction_ai portugal kill_human
link_faction_ai poland kill_human
link_faction_ai hungary kill_human
link_faction_ai aztecs kill_human
link_faction_ai mongols kill_human
link_faction_ai timurids kill_human
link_faction_ai ireland kill_human
link_faction_ai flanders kill_human
link_faction_ai norway kill_human
link_faction_ai teutons kill_human
link_faction_ai lit kill_human
link_faction_ai kiev kill_human
link_faction_ai armenia kill_human
link_faction_ai elo kill_human
link_faction_ai hedjaz kill_human
link_faction_ai slave kill_human
inc_counter unitlimit 10
if I_CompareCounter factionsize > 100
inc_counter unitlimit 10
end_if
if I_CompareCounter factionsize > 200
inc_counter unitlimit 10
end_if
if I_CompareCounter factionsize > 400
inc_counter unitlimit 10
end_if
if I_CompareCounter factionsize > 800
inc_counter unitlimit 10
end_if
set_event_counter black_death_hits 0
set_counter death_hit 1
end_monitor
monitor_event PreFactionTurnStart FactionIsLocal
and I_CompareCounter death_hit >= 1
inc_counter death_hit 1
if I_EventCounter playstyle_accepted = 1
if I_CompareCounter death_hit = 60
link_faction_ai england catholic
link_faction_ai france catholic
link_faction_ai hre catholic
link_faction_ai spain catholic
link_faction_ai venice catholic
link_faction_ai papal_states papal_faction
link_faction_ai sicily catholic
link_faction_ai milan catholic
link_faction_ai scotland catholic
link_faction_ai byzantium orthodox
link_faction_ai russia orthodox
link_faction_ai moors islam
link_faction_ai turks islam
link_faction_ai egypt islam
link_faction_ai denmark catholic
link_faction_ai portugal catholic
link_faction_ai poland catholic
link_faction_ai hungary catholic
link_faction_ai aztecs aztecs
link_faction_ai mongols mongols
link_faction_ai timurids orthodox
link_faction_ai ireland catholic
link_faction_ai flanders catholic
link_faction_ai norway catholic
link_faction_ai teutons catholic
link_faction_ai lit orthodox
link_faction_ai kiev orthodox
link_faction_ai armenia orthodox
link_faction_ai elo catholic
link_faction_ai hedjaz islam
link_faction_ai slave slave_faction
set_counter death_hit 0
historic_event turmoil_end
end_if
end_if
if I_EventCounter playstyle_accepted = 0
if I_CompareCounter death_hit = 16
link_faction_ai england catholic
link_faction_ai france catholic
link_faction_ai hre catholic
link_faction_ai spain catholic
link_faction_ai venice catholic
link_faction_ai papal_states papal_faction
link_faction_ai sicily catholic
link_faction_ai milan catholic
link_faction_ai scotland catholic
link_faction_ai byzantium orthodox
link_faction_ai russia orthodox
link_faction_ai moors islam
link_faction_ai turks islam
link_faction_ai egypt islam
link_faction_ai denmark catholic
link_faction_ai portugal catholic
link_faction_ai poland catholic
link_faction_ai hungary catholic
link_faction_ai aztecs aztecs
link_faction_ai mongols mongols
link_faction_ai timurids orthodox
link_faction_ai ireland catholic
link_faction_ai flanders catholic
link_faction_ai norway catholic
link_faction_ai teutons catholic
link_faction_ai lit orthodox
link_faction_ai kiev orthodox
link_faction_ai armenia orthodox
link_faction_ai elo catholic
link_faction_ai hedjaz islam
link_faction_ai slave slave_faction
console_command diplomatic_stance england france neutral
console_command diplomatic_stance england scotland neutral
console_command diplomatic_stance hre poland neutral
console_command diplomatic_stance hre denmark neutral
console_command diplomatic_stance france spain neutral
console_command diplomatic_stance spain moors neutral
console_command diplomatic_stance moors egypt neutral
console_command diplomatic_stance egypt elo neutral
console_command diplomatic_stance turks armenia neutral
console_command diplomatic_stance timurids turks neutral
console_command diplomatic_stance kiev russia neutral
console_command diplomatic_stance russia poland neutral
console_command diplomatic_stance hungary byzantium neutral
console_command diplomatic_stance byzantium venice neutral
console_command diplomatic_stance venice milan neutral
console_command diplomatic_stance milan sicily neutral
console_command diplomatic_stance sicily venice neutral
console_command diplomatic_stance denmark norway neutral
console_command diplomatic_stance denmark teutons neutral
console_command diplomatic_stance lit russia neutral
console_command diplomatic_stance england ireland neutral
console_command diplomatic_stance france scotland neutral
console_command diplomatic_stance hre teutons neutral
console_command diplomatic_stance hre norway neutral
console_command diplomatic_stance france hre neutral
console_command diplomatic_stance spain portugal neutral
console_command diplomatic_stance moors spain neutral
console_command diplomatic_stance egypt turks neutral
console_command diplomatic_stance turks byzantium neutral
console_command diplomatic_stance timurids russia neutral
console_command diplomatic_stance kiev hungary neutral
console_command diplomatic_stance russia byzantium neutral
console_command diplomatic_stance hungary venice neutral
console_command diplomatic_stance milan hre neutral
console_command diplomatic_stance sicily moors neutral
console_command diplomatic_stance denmark france neutral
console_command diplomatic_stance lit poland neutral
console_command diplomatic_stance armenia elo neutral
set_faction_standing aztecs portugal -0.6
set_faction_standing aztecs slave -0.6
set_faction_standing england slave -0.6
set_faction_standing england aztecs -0.6
set_faction_standing england france -0.6
set_faction_standing england scotland -0.8
set_faction_standing england egypt -0.4
set_faction_standing england byzantium -0.2
set_faction_standing england russia -0.2
set_faction_standing england ireland -0.6
set_faction_standing england denmark -0.2
set_faction_standing england hre 0.4
set_faction_standing england spain 0.2
set_faction_standing scotland slave -0.6
set_faction_standing scotland england -0.6
set_faction_standing scotland egypt -0.2
set_faction_standing scotland russia -0.2
set_faction_standing scotland byzantium -0.2
set_faction_standing scotland hre 0.2
set_faction_standing scotland ireland 0.4
set_faction_standing scotland france 0.9
set_faction_standing scotland norway -0.6
set_faction_standing france england -0.8
set_faction_standing france slave -0.6
set_faction_standing france moors -0.4
set_faction_standing france aztecs -0.4
set_faction_standing france egypt -0.4
set_faction_standing france flanders -0.4
set_faction_standing france spain -0.2
set_faction_standing france hre -0.4
set_faction_standing france russia -0.2
set_faction_standing france byzantium -0.2
set_faction_standing france milan 0.2
set_faction_standing france portugal 0.6
set_faction_standing france scotland 0.9
set_faction_standing france elo 0.6
set_faction_standing venice slave -0.6
set_faction_standing venice byzantium -0.6
set_faction_standing venice turks -0.6
set_faction_standing venice milan -0.4
set_faction_standing venice hre -0.4
set_faction_standing venice egypt -0.2
set_faction_standing venice russia -0.2
set_faction_standing venice sicily 0.4
set_faction_standing venice hungary 0.4
set_faction_standing milan slave -0.6
set_faction_standing milan venice -0.6
set_faction_standing milan hre -0.6
set_faction_standing milan egypt -0.4
set_faction_standing milan turks -0.4
set_faction_standing milan france 0.2
set_faction_standing milan portugal 0.2
set_faction_standing milan sicily 0.4
set_faction_standing milan spain 0.6
set_faction_standing hre slave -0.6
set_faction_standing hre denmark -0.6
set_faction_standing hre poland -0.7
set_faction_standing hre lit -0.6
set_faction_standing hre venice -0.4
set_faction_standing hre milan -0.4
set_faction_standing hre russia -0.2
set_faction_standing hre spain -0.2
set_faction_standing hre france -0.4
set_faction_standing hre turks -0.2
set_faction_standing hre egypt -0.2
set_faction_standing hre england 0.4
set_faction_standing hre hungary 0.4
set_faction_standing hre norway 0.4
set_faction_standing hre byzantium 0.6
set_faction_standing hre teutons 0.8
set_faction_standing poland slave -0.6
set_faction_standing poland russia -0.6
set_faction_standing poland hre -0.6
set_faction_standing poland egypt -0.4
set_faction_standing poland denmark -0.2
set_faction_standing poland byzantium -0.2
set_faction_standing poland denmark 0.2
set_faction_standing poland spain 0.2
set_faction_standing poland portugal 0.2
set_faction_standing poland hungary 0.6
set_faction_standing poland teutons -0.6
set_faction_standing hungary byzantium -0.8
set_faction_standing hungary slave -0.6
set_faction_standing hungary venice -0.4
set_faction_standing hungary turks -0.4
set_faction_standing hungary russia 0.8
set_faction_standing hungary poland 0.6
set_faction_standing hungary hre 0.2
set_faction_standing spain slave -0.6
set_faction_standing spain aztecs -0.6
set_faction_standing spain moors -0.6
set_faction_standing spain france -0.2
set_faction_standing spain sicily -0.2
set_faction_standing spain egypt -0.2
set_faction_standing spain portugal 0.8
set_faction_standing spain hre 0.2
set_faction_standing spain milan 0.2
set_faction_standing sicily slave -0.6
set_faction_standing sicily moors -0.4
set_faction_standing sicily egypt -0.4
set_faction_standing sicily byzantium -0.4
set_faction_standing sicily spain -0.4
set_faction_standing sicily portugal 0.2
set_faction_standing sicily hre 0.2
set_faction_standing sicily milan 0.8
set_faction_standing denmark slave -0.6
set_faction_standing denmark hre -0.6
set_faction_standing denmark england -0.6
set_faction_standing denmark egypt -0.4
set_faction_standing denmark russia -0.2
set_faction_standing denmark poland 0.2
set_faction_standing denmark scotland 0.6
set_faction_standing denmark byzantium 0.6
set_faction_standing denmark norway -0.4
set_faction_standing norway denmark -0.4
set_faction_standing norway scotland -0.6
set_faction_standing norway slave -0.6
set_faction_standing norway aztecs -0.2
set_faction_standing norway hre 0.4
set_faction_standing portugal slave -0.6
set_faction_standing portugal moors -0.6
set_faction_standing portugal france -0.2
set_faction_standing portugal sicily 0.2
set_faction_standing portugal milan 0.4
set_faction_standing portugal spain 0.8
set_faction_standing papal_states slave -0.6
set_faction_standing papal_states moors -0.6
set_faction_standing papal_states turks -0.6
set_faction_standing papal_states egypt -0.6
set_faction_standing papal_states hre -0.2
set_faction_standing papal_states france -0.2
set_faction_standing papal_states hungary 0.2
set_faction_standing papal_states england 0.2
set_faction_standing papal_states scotland 0.2
set_faction_standing papal_states denmark 0.2
set_faction_standing papal_states milan 0.4
set_faction_standing papal_states venice 0.4
set_faction_standing papal_states sicily 0.4
set_faction_standing moors spain -0.8
set_faction_standing moors portugal -0.8
set_faction_standing moors slave -0.6
set_faction_standing moors hedjaz -0.6
set_faction_standing moors elo -0.4
set_faction_standing moors sicily -0.2
set_faction_standing moors france -0.2
set_faction_standing moors turks 0.6
set_faction_standing moors egypt 0.6
set_faction_standing byzantium turks -0.8
set_faction_standing byzantium slave -0.6
set_faction_standing byzantium hungary -0.4
set_faction_standing byzantium egypt -0.4
set_faction_standing byzantium venice -0.6
set_faction_standing byzantium hre 0.2
set_faction_standing byzantium milan 0.4
set_faction_standing byzantium sicily 0.2
set_faction_standing byzantium russia 0.8
set_faction_standing byzantium armenia 0.6
set_faction_standing byzantium timurids 0.4
set_faction_standing russia slave -0.6
set_faction_standing russia egypt -0.4
set_faction_standing russia turks -0.2
set_faction_standing russia denmark -0.2
set_faction_standing russia poland -0.2
set_faction_standing russia byzantium 0.6
set_faction_standing russia hungary 0.4
set_faction_standing russia mongols -0.6
set_faction_standing russia kiev -0.2
set_faction_standing russia lit 0.2
set_faction_standing turks byzantium -0.7
set_faction_standing turks slave, -0.6
set_faction_standing turks mongols -0.6
set_faction_standing turks elo -0.4
set_faction_standing turks teutons -0.6
set_faction_standing turks hedjaz -0.8
set_faction_standing turks egypt 0.4
set_faction_standing turks venice -0.4
set_faction_standing turks hungary -0.4
set_faction_standing turks russia -0.4
set_faction_standing turks moors 0.6
set_faction_standing turks armenia 0.2
set_faction_standing turks timurids -0.6
set_faction_standing egypt slave -0.6
set_faction_standing egypt turks 0.4
set_faction_standing egypt elo -0.6
set_faction_standing egypt teutons -0.6
set_faction_standing egypt byzantium -0.4
set_faction_standing egypt flanders -0.4
set_faction_standing egypt russia -0.4
set_faction_standing egypt denmark -0.4
set_faction_standing egypt sicily -0.8
set_faction_standing egypt spain -0.6
set_faction_standing egypt hedjaz -0.6
set_faction_standing egypt moors 0.6
set_faction_standing flanders slave -0.6
set_faction_standing flanders france -0.4
set_faction_standing flanders egypt -0.4
set_faction_standing kiev slave -0.6
set_faction_standing kiev mongols -0.6
set_faction_standing kiev russia -0.2
set_faction_standing ireland scotland 0.4
set_faction_standing ireland england -0.8
set_faction_standing ireland slave -0.6
set_faction_standing ireland egypt -0.4
set_faction_standing lit hre -0.4
set_faction_standing lit slave -0.6
set_faction_standing lit teutons -0.4
set_faction_standing lit russia 0.2
set_faction_standing teutons slave -0.6
set_faction_standing teutons lit -0.4
set_faction_standing teutons hre 0.8
set_faction_standing teutons poland -0.6
set_faction_standing teutons egypt -0.6
set_faction_standing teutons turks -0.6
set_faction_standing teutons elo 0.6
set_faction_standing mongols russia -0.6
set_faction_standing mongols kiev -0.6
set_faction_standing mongols turks -0.6
set_faction_standing elo slave -0.6
set_faction_standing elo france 0.6
set_faction_standing elo armenia 0.6
set_faction_standing elo teutons 0.6
set_faction_standing elo hedjaz -0.6
set_faction_standing elo egypt -0.6
set_faction_standing elo moors -0.4
set_faction_standing elo turks -0.4
set_faction_standing armenia slave -0.6
set_faction_standing armenia byzantium 0.6
set_faction_standing armenia elo 0.6
set_faction_standing armenia turks 0.2
set_faction_standing armenia timurids 0.6
set_faction_standing timurids slave -0.6
set_faction_standing timurids byzantium 0.4
set_faction_standing timurids armenia 0.6
set_faction_standing timurids turks -0.6
set_faction_standing timurids mongols -0.2
set_faction_standing hedjaz egypt -0.6
set_faction_standing hedjaz turks -0.8
set_faction_standing hedjaz moors -0.6
set_faction_standing hedjaz elo -0.6
set_faction_standing hedjaz slave -0.6
set_faction_standing hedjaz moors -0.6
set_faction_standing hedjaz elo -0.6
set_faction_standing hedjaz slave -0.6
set_counter death_hit 0
historic_event turmoil_end
end_if
end_if
end_monitor
This is very cruel ^^ and i would like to tweak it a bit (right now i have deactivated the black_death_hits counter in the descr_events.txt so i guess it will be sufficient to avoid all this mess ^^)
Patronized by y2day/Patron of KDK, Swagger & Navajo Joe, of the Imperial House of Hader
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules