The Middle Earth Project Forum Index
 
 
 
The Middle Earth Project Forum IndexFAQSearchRegisterLog in

Beta Release
Goto page: <  1, 2, 329, 30, 3140, 41, 42  >
 
Post new topic   Reply to topic    The Middle Earth Project Forum Index -> The Team Forum -> Archive
Previous topic :: Next topic  
Author Message
Blood Royal
Team

Offline

Joined: 18 Jul 2013
Posts: 1,077
Localisation: Denmark

PostPosted: Fri 21 Feb - 19:43 (2014)    Post subject: Beta Release Reply with quote

You would do something like this:

Go to this page, it is pretty much invaluable for event-scripting:
http://www.ckiiwiki.com/Category:Modding

For events, you will need to look at commands, conditions, and scopes. In this case, you are looking for a scope that targets a courtier in your court.

http://www.ckiiwiki.com/Scopes

That would be "any_courtier" in this case. So the trigger will have to include this:

trigger = {
any_courtier = {
AND = {
culture = culture_maiar
trait = balrog
}
}

So it will only fire if you have a maiar balrog in your court (IIRC, we do have the balrog trait, yes?)

Or rather for a decision, you would put this in the "potential" part. The potential part is who can SEE it, the "allow" part is who can actually activate it.

So for the allow part, it would require a prisoner.

There you would put:

any_courtier = {
prisoner = yes
}

to check for any prisoners in your court.

99% sure that will work, but otherwise let me know and I'll try and see why it doesn't Okay

Edit: If you want it to fire even if hte Balrog is landed in your realm, you can use the scope "any_realm_character" instead of any_courtier.
Back to top
Publicité






PostPosted: Fri 21 Feb - 19:43 (2014)    Post subject: Publicité

PublicitéSupprimer les publicités ?
Back to top
Chris93
Team

Offline

Joined: 05 Apr 2013
Posts: 1,965
Localisation: Italia

PostPosted: Fri 21 Feb - 19:47 (2014)    Post subject: Beta Release Reply with quote

I'll try and let you know.  Okay
Back to top
Chris93
Team

Offline

Joined: 05 Apr 2013
Posts: 1,965
Localisation: Italia

PostPosted: Fri 21 Feb - 19:48 (2014)    Post subject: Beta Release Reply with quote

PS: We don't have a Balrog trait, I'll create it! 
Back to top
Chris93
Team

Offline

Joined: 05 Apr 2013
Posts: 1,965
Localisation: Italia

PostPosted: Sat 22 Feb - 18:55 (2014)    Post subject: Beta Release Reply with quote

I've killed Sauron on the battlefield and war of the ribgs event chain was completely destroyed. If we cannot avoid to have him leading armies we must give him the incapable trait for the next build.
Back to top
Blood Royal
Team

Offline

Joined: 18 Jul 2013
Posts: 1,077
Localisation: Denmark

PostPosted: Sat 22 Feb - 19:09 (2014)    Post subject: Beta Release Reply with quote

Well some people like the fact that they can kill Sauron, so not too sure actually... it s very rare that he dies leading armies, but even when he does die, then Mordor is severely weakened because the new ruler will not have that insane long_reign bonus.

I agree we should try to find a solution, but making him incapable is to me causing more harm (in 100% of games) rather than the good it does in the 1-5% of games where he gets himself killed.
Back to top
Redit
Modérateur

Offline

Joined: 06 Mar 2013
Posts: 1,017
Localisation: Angleterre

PostPosted: Sun 23 Feb - 14:34 (2014)    Post subject: Beta Release Reply with quote

I don't think he should be able to lead armies, and his stats and reign bonus will still contribute when he is incapable. As soon as he gets the ring he should lose his 'No Corporeal Form' trait. He just needs to be immortal and incapable.
Back to top
Visit poster’s website Skype
Lonhaldar
Administrateur

Offline

Joined: 06 Mar 2013
Posts: 3,190
Localisation: France

PostPosted: Sun 23 Feb - 17:48 (2014)    Post subject: Beta Release Reply with quote

I agree with Redit!
Back to top
Blood Royal
Team

Offline

Joined: 18 Jul 2013
Posts: 1,077
Localisation: Denmark

PostPosted: Sun 23 Feb - 19:06 (2014)    Post subject: Beta Release Reply with quote

Okay Just remember to make a new entirely separate event for him to lose the incapable trait once he has the ring. It's easier than finding the 2-3 ones across all the current event where he gets it (from nazgul, from ringhunting, and from frodo/gollum when they go to mordor IIRC). 
Back to top
Lonhaldar
Administrateur

Offline

Joined: 06 Mar 2013
Posts: 3,190
Localisation: France

PostPosted: Mon 24 Feb - 16:48 (2014)    Post subject: Beta Release Reply with quote

What do you think about using the events of Legacy of Rome for Gondor/Arnor losts provinces (like Harondor, Druwaith Iaur, Umbar, or Cardolan/Arthedain/Rhudaur) ?
And instead of the "augustus" trait if the character restored the Reunited Kingdom, a "King of the Reunited Kingdom" one?
Back to top
Chris93
Team

Offline

Joined: 05 Apr 2013
Posts: 1,965
Localisation: Italia

PostPosted: Mon 24 Feb - 17:15 (2014)    Post subject: Beta Release Reply with quote

How does the vanilla event work? I do not know much about it
Back to top
Blood Royal
Team

Offline

Joined: 18 Jul 2013
Posts: 1,077
Localisation: Denmark

PostPosted: Mon 24 Feb - 17:34 (2014)    Post subject: Beta Release Reply with quote

Me neither, but if we can adapt it, yes - would be great to see gondor expanding more after they win the war  Okay
Back to top
Lonhaldar
Administrateur

Offline

Joined: 06 Mar 2013
Posts: 3,190
Localisation: France

PostPosted: Mon 24 Feb - 17:40 (2014)    Post subject: Beta Release Reply with quote

It's quite easy in fact, all is in the roman_events.txt file, and we'll just have to keep the lines "has_dlc = "Legacy of Rome"" !
After that, events for the lost provinces reconquered are pretty simple :


### Lost Roman Provinces


# Provincia Syria Palaestina
narrative_event = {
id = LoR.1
title = EVTNAMELoR.1
desc = EVTDESCLoR.1

picture = GFX_evt_victory_arch_byzantine

ai = no

trigger = {
has_dlc = "Legacy of Rome"
OR = {
has_landed_title = e_byzantium
has_landed_title = e_roman_empire
}
religion_group = christian
NOT = { has_global_flag = syria_palaestina }
completely_controls = d_oultrejourdain ### WARNING: completely_controls is a very demanding trigger.
completely_controls = d_edessa
completely_controls = d_antioch
completely_controls = d_aleppo
completely_controls = d_tripoli
completely_controls = d_syria
completely_controls = d_damascus
completely_controls = d_galilee
completely_controls = d_jerusalem
completely_controls = d_ascalon
}

mean_time_to_happen = {
days = 1
}

option = {
name = EVTOPTALoR.1
set_global_flag = syria_palaestina
prestige = 100
}
}



For the borders restored too :
### Roman Borders Restored


# Roman Borders
narrative_event = {
id = LoR.40
title = EVTNAMELoR.40
desc = EVTDESCLoR.40

picture = GFX_evt_rome_restored_byzantine

ai = no

immediate = {
set_character_flag = achievement_spqr
}

trigger = {
has_dlc = "Legacy of Rome"
OR = {
has_landed_title = e_byzantium
has_landed_title = e_roman_empire
}
religion_group = christian
NOT = { has_global_flag = roman_borders }

completely_controls = d_northumberland
completely_controls = d_lancaster
completely_controls = d_york
completely_controls = d_norfolk
completely_controls = d_bedford
completely_controls = d_hereford
completely_controls = d_gloucester
completely_controls = d_canterbury
completely_controls = d_somerset
completely_controls = d_gwynedd
completely_controls = d_deheubarth
completely_controls = d_cornwall

completely_controls = d_latium
completely_controls = d_venice
completely_controls = d_verona
completely_controls = d_susa
completely_controls = d_lombardia
completely_controls = d_genoa
completely_controls = d_modena
completely_controls = d_ferrara
completely_controls = d_toscana
completely_controls = d_pisa
completely_controls = d_ancona
completely_controls = d_spoleto
completely_controls = d_benevento
completely_controls = d_capua
completely_controls = d_apulia
completely_controls = d_salerno
completely_controls = d_calabria
completely_controls = d_sicily

completely_controls = d_oultrejourdain
completely_controls = d_edessa
completely_controls = d_antioch
completely_controls = d_aleppo
completely_controls = d_tripoli
completely_controls = d_syria
completely_controls = d_damascus
completely_controls = d_galilee
completely_controls = d_jerusalem
completely_controls = d_ascalon

completely_controls = d_aswan
completely_controls = d_alexandria
completely_controls = d_damietta
completely_controls = d_cairo
completely_controls = d_sinai

completely_controls = d_cyrenaica

completely_controls = d_tripolitania
completely_controls = d_tunis
completely_controls = d_kabylia

completely_controls = d_carinthia
completely_controls = d_rashka
completely_controls = d_dioclea
completely_controls = d_slavonia
completely_controls = d_bosnia
completely_controls = d_croatia
completely_controls = d_dalmatia

completely_controls = d_normandy
completely_controls = d_berry
completely_controls = d_anjou
completely_controls = d_orleans
completely_controls = d_champagne
completely_controls = d_valois
completely_controls = d_burgundy
completely_controls = d_aquitaine
completely_controls = d_toulouse
completely_controls = d_gascogne
completely_controls = d_poitou
completely_controls = d_auvergne
completely_controls = d_bourbon
completely_controls = d_brittany
completely_controls = d_provence
completely_controls = d_savoie
completely_controls = d_dauphine
completely_controls = d_upper_burgundy

completely_controls = d_galicia
completely_controls = d_castilla
completely_controls = d_aragon
completely_controls = d_barcelona
completely_controls = d_valencia
completely_controls = d_mallorca
completely_controls = d_navarra
completely_controls = d_asturias
completely_controls = d_leon
completely_controls = d_porto
completely_controls = d_beja
completely_controls = d_algarve
completely_controls = d_cordoba
completely_controls = d_murcia
completely_controls = d_granada
completely_controls = d_sevilla
completely_controls = d_badajoz
completely_controls = d_toledo

completely_controls = d_marrakech
completely_controls = d_tangiers
completely_controls = d_fes
completely_controls = d_alger
completely_controls = d_tlemcen

completely_controls = d_nikaea
completely_controls = d_samos
completely_controls = d_aegean_islands
completely_controls = d_thrace
completely_controls = d_adrianopolis
completely_controls = d_thessalonika
completely_controls = d_dyrrachion
completely_controls = d_epirus
completely_controls = d_athens
completely_controls = d_achaia
completely_controls = d_krete
completely_controls = d_cyprus
completely_controls = d_cibyrrhaeot

completely_controls = d_anatolia
completely_controls = d_thracesia
completely_controls = d_charsianon
completely_controls = d_armeniacon
completely_controls = d_paphlagonia
completely_controls = d_trebizond

completely_controls = d_coloneia
completely_controls = d_armenia_minor

completely_controls = d_vidin
completely_controls = d_turnovo
completely_controls = d_karvuna
}

mean_time_to_happen = {
days = 1
}

option = {
name = EVTOPTALoR.40
set_global_flag = roman_borders
prestige = 1000
}
}



And the "Augustus" trait is quite simple to add too:
### The Augustus Trait


# Augustus Trait Gained
character_event = {
id = LoR.45
desc = EVTDESCLoR.45
picture = GFX_evt_rome_restored_byzantine

trigger = {
has_dlc = "Legacy of Rome"
has_global_flag = rome_restored
has_landed_title = e_roman_empire
NOT = { trait = augustus }
}

mean_time_to_happen = {
days = 1
}

option = {
name = EVTOPTALoR.45
add_trait = augustus
}
}


# Augustus Trait Lost
character_event = {
id = LoR.46
desc = EVTDESCLoR.46
picture = GFX_evt_rome_restored_byzantine

trigger = {
has_dlc = "Legacy of Rome"
has_global_flag = rome_restored
trait = augustus
NOT = { has_landed_title = e_roman_empire }
is_alive = yes
}

mean_time_to_happen = {
days = 1
}

option = {
name = EVTOPTALoR.46
remove_trait = augustus
}
}





I think it could be a good way to simulate the power of the King of the Reunited Kingdom, no?
Back to top
Chris93
Team

Offline

Joined: 05 Apr 2013
Posts: 1,965
Localisation: Italia

PostPosted: Mon 24 Feb - 18:09 (2014)    Post subject: Beta Release Reply with quote

Could anybody disable the decision/events of "Invite holy man to court"? it's essentially useless.
Back to top
Lonhaldar
Administrateur

Offline

Joined: 06 Mar 2013
Posts: 3,190
Localisation: France

PostPosted: Mon 24 Feb - 18:10 (2014)    Post subject: Beta Release Reply with quote

Done !  Okay
Back to top
Chris93
Team

Offline

Joined: 05 Apr 2013
Posts: 1,965
Localisation: Italia

PostPosted: Fri 14 Mar - 10:04 (2014)    Post subject: Beta Release Reply with quote

I noticed we have this in the patch changelog:
- You can now start to build in 11362, and in any other starting date, without to wait the year 11363.



But it does not seem to work in the current build. Maybe we forgot to put blood's update in?
Back to top
Contenu Sponsorisé






PostPosted: Today at 04:35 (2017)    Post subject: Beta Release

Back to top
Display posts from previous:   
Post new topic   Reply to topic    The Middle Earth Project Forum Index -> The Team Forum -> Archive All times are GMT + 1 Hour
Goto page: <  1, 2, 329, 30, 3140, 41, 42  >
Page 30 of 42

 
Jump to:  

Index | Administration Panel | Forum hosting | Free support forum | Free forums directory | Report a violation | Conditions générales d'utilisation
Template lost-kingdom_Tolede created by larme d'ange
Powered by phpBB © 2001, 2005 phpBB Group