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

Minor Title Text File

 
Post new topic   Reply to topic    The Middle Earth Project Forum Index -> The Team Forum -> Archive
Previous topic :: Next topic  
Author Message
Protector87
Team

Offline

Joined: 20 Jun 2014
Posts: 20
Localisation: Lanham, MD

PostPosted: Tue 24 Jun - 22:00 (2014)    Post subject: Minor Title Text File Reply with quote

I'm looking for help when it comes to the minor titles txt file, mostly trying to change the Captain-General and Lieutenant-General so that they can only be given to the Heir of the Throne and the Heir' Heir of the Throne.


 
Quote:
 title_captaingeneral = {
    dignity = 1.0
    show_as_title = yes
    realm_in_name = yes
    grant_limit = 1
    opinion_effect = 15
    
    monthly_salary = 0.5
    monthly_prestige = 0.5
    
    allow = {
        is_female = no
        is_close_relative = FROM
        FROM = {
            is_feudal = yes
            OR = {
                has_landed_title = e_steward_gondor
                has_landed_title = e_gondor
                has_landed_title = e_arnor
                has_landed_title = k_arthedain
                has_landed_title = k_cardolan
            }
            OR = {
                religion_group = religion_group_edain
            }
        }
        NOT = { has_minor_title = title_admiralofpelargir }
        NOT = { has_minor_title = title_captaincitadel }
        NOT = { has_minor_title = title_lieutenantgeneral }
        NOT = { has_minor_title = title_wardenofbeacons }
        }
    }
    
    gain_effect = {
    }
    lose_effect = {
    }
    
    message = no
}
Back to top
Yahoo Messenger MSN Skype
Publicité






PostPosted: Tue 24 Jun - 22:00 (2014)    Post subject: Publicité

PublicitéSupprimer les publicités ?
Back to top
Lonhaldar
Administrateur

Offline

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

PostPosted: Wed 25 Jun - 18:10 (2014)    Post subject: Minor Title Text File Reply with quote

I moved this in the good section of the forum Wink
Are we sure that ONLY the relatives of the King/Steward are able to hold this title? I mean, e know that this title was holded by Boromir, and by Eärnur too, it's the most important military grade of Gondor, but i think that we should allow this title to be holded by other characters, no?
At least, the Lieutenant-General should be allowed to non-relatives i think!

By the way, think you should try this :
ROOT = { is_close_relative = FROM }

The "is_close_relative" condition should be triggered by a character, and in your code, you didn't Wink
Back to top
Protector87
Team

Offline

Joined: 20 Jun 2014
Posts: 20
Localisation: Lanham, MD

PostPosted: Thu 26 Jun - 01:45 (2014)    Post subject: Minor Title Text File Reply with quote

The three hobbit minor titles code:


 
Quote:
## Hobbit Minor Titles ##

title_shirrifs = {
    dignity = 1.0
    show_as_title = yes
    realm_in_name = yes
    grant_limit = 12
    opinion_effect = 15
   
    monthly_salary = 0.5
    monthly_prestige = 0.3
   
    allow = {
        is_adult = yes
        is_female = no
        FROM = {
            is_feudal = yes
            primary_title = {
                OR = {
                    tier = king
                    tier = emperor
                }
            }
            OR = {
                religion_group = religion_group_periannath
            }
        }
        OR = {
            religion_group = religion_group_periannath
        }

    }
   
    gain_effect = {
    }
    lose_effect = {
    }

    message = no
}

title_postmaster = {
    dignity = 1.0
    show_as_title = yes
    realm_in_name = yes
    grant_limit = 1
    opinion_effect = 15
   
    monthly_salary = 1.5
    monthly_prestige = 0.3
   
    allow = {
        is_adult = yes
        is_female = no
        FROM = {
            is_feudal = yes
            primary_title = {
                OR = {
                    tier = king
                    tier = emperor
                }
            }
            OR = {
                religion_group = religion_group_periannath
            }
        }
        OR = {
            religion_group = religion_group_periannath
        }

    }
   
    gain_effect = {
    }
    lose_effect = {
    }

    message = no
}

title_matriarch = {
    dignity = 1.0
    show_as_title = yes
    realm_in_name = yes
    revoke_allowed = no
    opinion_effect = 25
   
    monthly_salary = 1.0
    monthly_prestige = 0.9
   
    allow = {
        is_adult = yes
        is_female = yes
        ROOT = { is_close_relative = FROM }
        FROM = {
            is_feudal = yes
            primary_title = {
                OR = {
                    tier = king
                    tier = emperor
                }
            }
            OR = {
                religion_group = religion_group_periannath
            }
        }
        OR = {
            religion_group = religion_group_periannath
        }
    }
   
    gain_effect = {
    }
    lose_effect = {
    }
   
    message = no
}
Back to top
Yahoo Messenger MSN Skype
Lonhaldar
Administrateur

Offline

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

PostPosted: Thu 26 Jun - 10:18 (2014)    Post subject: Minor Title Text File Reply with quote

Good!

Does the ROOT = { is_close_relative = FROM } works?
Back to top
Protector87
Team

Offline

Joined: 20 Jun 2014
Posts: 20
Localisation: Lanham, MD

PostPosted: Thu 26 Jun - 13:19 (2014)    Post subject: Minor Title Text File Reply with quote

Yep
Back to top
Yahoo Messenger MSN Skype
Lonhaldar
Administrateur

Offline

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

PostPosted: Thu 26 Jun - 13:43 (2014)    Post subject: Minor Title Text File Reply with quote

Perfect Okay
Back to top
Protector87
Team

Offline

Joined: 20 Jun 2014
Posts: 20
Localisation: Lanham, MD

PostPosted: Mon 28 Jul - 15:57 (2014)    Post subject: Minor Title Text File Reply with quote

Okay, so I thought I had everything working correctly and while Shirrifs and Postmaster appear for the Shire. The Matriarch title is giving me problems, trying to look and see what wrong with it.
Back to top
Yahoo Messenger MSN Skype
Lonhaldar
Administrateur

Offline

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

PostPosted: Mon 28 Jul - 16:26 (2014)    Post subject: Minor Title Text File Reply with quote

Ok, perfect !  Okay
Back to top
Protector87
Team

Offline

Joined: 20 Jun 2014
Posts: 20
Localisation: Lanham, MD

PostPosted: Mon 28 Jul - 20:50 (2014)    Post subject: Minor Title Text File Reply with quote

Okay, after looking over the title, I was wondering if it possible for someone to create an event for it to be auto-granted. I'm still learning how to mod and while I'm going to take a shot at this I don't want to break anything.
Back to top
Yahoo Messenger MSN Skype
Lonhaldar
Administrateur

Offline

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

PostPosted: Mon 28 Jul - 22:27 (2014)    Post subject: Minor Title Text File Reply with quote

Yeah, it´s possible to Grant automatically some minor titles by events, what do you want to do?
Back to top
Protector87
Team

Offline

Joined: 20 Jun 2014
Posts: 20
Localisation: Lanham, MD

PostPosted: Mon 28 Jul - 22:54 (2014)    Post subject: Minor Title Text File Reply with quote

I would like for it to be granted to the senior-most oldest female member of the family. She has to have the family name. I would also like for the min age to be 40.
Back to top
Yahoo Messenger MSN Skype
Lonhaldar
Administrateur

Offline

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

PostPosted: Tue 29 Jul - 15:56 (2014)    Post subject: Minor Title Text File Reply with quote

Hmmm... looks difficult to trigger, but i'll try to have a look at it.
Back to top
Protector87
Team

Offline

Joined: 20 Jun 2014
Posts: 20
Localisation: Lanham, MD

PostPosted: Wed 6 Aug - 22:02 (2014)    Post subject: Minor Title Text File Reply with quote

I GOT IT FIXED!!! YES! YES! YES

I changed Matriarch from religion to culture because a child can have a different guardian who is not a Hobbit. I'm going to look at thi sso more later, but I'm taking a break. If possible it would be fine if someone did a sepreate file like the Gondor minor titles.


Code:
## Hobbit Minor Titles ##

title_shirrifs = {
    dignity = 1.0
    show_as_title = yes
    realm_in_name = yes
    grant_limit = 12
    opinion_effect = 15
   
    monthly_salary = 0.5
    monthly_prestige = 0.3
   
    allow = {
        is_adult = yes
        is_female = no
        FROM = {
            is_feudal = yes
            primary_title = {
                OR = {
                    tier = king
                    tier = emperor
                }
            }
            OR = {
                religion_group = religion_group_periannath
            }
        }
        OR = {
            religion_group = religion_group_periannath
        }

    }
   
    gain_effect = {
    }
    lose_effect = {
    }

    message = no
}

title_postmaster = {
    dignity = 1.0
    show_as_title = yes
    realm_in_name = yes
    grant_limit = 1
    opinion_effect = 15
   
    monthly_salary = 1.5
    monthly_prestige = 0.3
   
    allow = {
        is_adult = yes
        is_female = no
        FROM = {
            is_feudal = yes
            primary_title = {
                OR = {
                    tier = king
                    tier = emperor
                }
            }
            OR = {
                religion_group = religion_group_periannath
            }
        }
        OR = {
            religion_group = religion_group_periannath
        }

    }
   
    gain_effect = {
    }
    lose_effect = {
    }

    message = no
}

title_matriarch = {
    dignity = 0.15
    realm_in_name = yes
    grant_limit = 1
    opinion_effect = 15
   
    monthly_salary = 0.075
    monthly_prestige = 0.075
   
    allow = {
        is_female = yes
        is_adult = yes
        ROOT = { is_close_relative = FROM }
        FROM = {
            is_feudal = yes
            OR = {
                culture = culture_group_halfling
            }
        }
        OR = {
            culture = culture_group_halfling
        }
    }
        
    gain_effect = {
    }
    lose_effect = {
    }
   
    message = no
}




Attached is the file that needs to be uploaded to the dropbox. Going to look at Elf Minor Titles and for them I may have to look at LOTR Online.
Back to top
Yahoo Messenger MSN Skype
Lonhaldar
Administrateur

Offline

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

PostPosted: Fri 8 Aug - 09:58 (2014)    Post subject: Minor Title Text File Reply with quote

ok good!
Back to top
Contenu Sponsorisé






PostPosted: Today at 21:52 (2017)    Post subject: Minor Title Text File

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
Page 1 of 1

 
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