Results 1 to 8 of 8

Thread: Trait question concerning Egypt

  1. #1

    Default Trait question concerning Egypt

    I was wondering if it was possible to create traits?

    If so, i was also wonderingif you can set a trigger or event that gives a trait.
    What i Had in mind was the charachter that captures the egyptian capital gains a new trait... a Pharoah (sp?) trait. The trait would boost command, influence, management, resistance to assasination. Is it possible?

    Could i make this hereditary?

    Any help would be appreciated, thanks in advance.
    What pity is it That we can die, but once to serve our country

  2. #2
    Member Member lysarin's Avatar
    Join Date
    Jan 2004
    Location
    Sweden
    Posts
    81

    Default Re: Trait question concerning Egypt

    It is possible to create traits and triggers. I'm not 100% sure of how to activate a trait-trigger in a certain settlement though (I've thought about it, but never tried it).

    There are people who can describe how to create traits and triggers better then me, so I won't even try it as my descriptions would only confuse you.
    I can say this though: It's possible, and quite easy. And remember to backup your files before changing anything.
    "Men and guns are fine but give me more tanks!"

  3. #3
    Member Member fenir's Avatar
    Join Date
    Oct 2002
    Location
    Sydney, NSW, Australia
    Posts
    433

    Default Re: Trait question concerning Egypt

    Hello Thurnor,

    I don't see why you can't have a trait on a specific happening, or event.

    Simply put, design your pharoah trait, and insert it into the "export_descr_character_traits". Then the Description into "export_descr_VnVs_enums".
    Put the effect cause in “export_VnVs”.

    Because ultimately, all you are saying is lets give another trait for this. At worst you may have to design the trait so it happens when a certian building is built?

    A thought on this, you may want to also design the anti-trait, off Pharaoh kicked out, -4 influence. et cetera...

    You can certianly make this trait if it works, hereditary.
    EG:
    ;------------------------------------------
    Trigger dads_Pharaoh
    WhenToTest CharacterComesOfAge

    Condition FatherTrait Pharaoh >= 1
    and romans_julii

    Affects Pharaoh 1 Chance 100

    ;------------------------------------------

    Maybe have it so the father has pharoah, and son has little pharoah prince thingie person.

    ;------------------------------------------
    Trigger dads_Pharaoh
    WhenToTest FatherDies

    Condition FatherTrait Pharaoh >= 2
    and romans_julii

    Affects Pharaoh 2 Chance 100

    ;------------------------------------------

    Play around and see what you can do.

    Let me know how you go.

    fenir
    Time is but a basis for measuring Susscess. Fenir Nov 2002.

    Mr R.T.Smith > So you going to Charge in the Brisbane Office with your knights?.....then what?
    fenir > hmmmm .....Kill them, kill them all.......let sega sort them out.

    Well thats it, 6 years at university, 2 degrees and 1 post grad diploma later OMG! I am so Anal!
    I should have been a proctologist! Not an Accountant......hmmmmm maybe some cross over there?

  4. #4
    EB Traiter Member Malrubius's Avatar
    Join Date
    Jan 2005
    Location
    On a tree-covered mountain in Anniston, Alabama, USA
    Posts
    2,633

    Default Re: Trait question concerning Egypt

    Something like this is what you're looking for (change SettlementName Memphis to whatever the capital is):

    export_descr_character_traits.txt:
    Code:
    ;put this in the Traits section, just before the triggers section
    ;------------------------------------------
    Trait Pharoah
        Characters family    
    
        Level Pharoah
             Description Pharoah_desc
             EffectsDescription Pharoah_effects_desc
             Threshold 1
    
             Effect Influence  1
             Effect Command  1
             Effect Management  1
             Effect PersonalSecurity  1
    
    ;put the following at the very bottom of the file, in the triggers section
    ;------------------------------------------
    Trigger I_am_Pharaoh
        WhenToTest GeneralCaptureSettlement
    
        Condition SettlementName Memphis
    
        Affects Pharaoh 1 Chance 100
    ;-------------------------------------------------------------------

    export_descr_VnV_enums.txt:
    Code:
    Pharoah
    Pharoah_desc
    Pharoah_effects_desc

    text\export_VnVs.txt:
    Code:
    ¬--------------------
    
    {Pharoah}	Pharoah
    
    {Pharoah_desc}
    This man is a pharoah, worshipped as a god.
    
    {Pharoah_effects_desc}
    +1 to Influence, +1 Management, +1 Command, +1 to personal security (decreases the likelihood of falling victim to assassination).

    This thread tells you how to make your own traits and triggers:
    https://forums.totalwar.org/vb/showthread.php?t=38481
    Last edited by Malrubius; 09-29-2005 at 09:58. Reason: clarity

    Ah! the Generals! they are numerous, but not good for much (especially if they're Languorous)!
    -- Aristophanes, if he played EB

  5. #5

    Default Re: Trait question concerning Egypt

    Thanks for the replies, im experimenting right now, ill tell you if im successful or not.

    About losing the trait, would i be able to make it so that the trait was removed when the city was lost, as well as the hereditary status?

    And can i make it so that the son (supposing he does have a son) only gets the trait when his father dies?

    And what about making it so that only if you capture it off the egyptians you get the trait. (The reason being so you couldnt capture the city, turn it rebel, capture it again with another guy and have a family of pharoahs)

    Lastly, i would like to limit this benefit to Greeks, Macedon, and Selucia - possible?

    Sorry i know its a lot of questions, but help would be appreciated, Thanks again!
    Last edited by Thurnor; 09-29-2005 at 19:16.
    What pity is it That we can die, but once to serve our country

  6. #6
    EB Traiter Member Malrubius's Avatar
    Join Date
    Jan 2005
    Location
    On a tree-covered mountain in Anniston, Alabama, USA
    Posts
    2,633

    Default Re: Trait question concerning Egypt

    I'll list the conditions you'd use in the triggers

    Quote Originally Posted by Thurnor
    Thanks for the replies, im experimenting right now, ill tell you if im successful or not.

    About losing the trait, would i be able to make it so that the trait was removed when the city was lost, as well as the hereditary status?
    Code:
    Trigger Greek_no_longer_pharoah
    WhenToTest CharacterTurnEnd
    
    Condition FactionType greek_cities
             and Trait Pharoah = 1
             and not I_SettlementOwner Memphis = greek_cities
    
    Affects notPharoah  1  Chance  100
    (macedon and seleucid would both need their own triggers)

    Quote Originally Posted by Thurnor
    And can i make it so that the son (supposing he does have a son) only gets the trait when his father dies?
    I'm not aware of a FatherDies event. If so, it would be nice for this.

    Quote Originally Posted by Thurnor
    And what about making it so that only if you capture it off the egyptians you get the trait. (The reason being so you couldnt capture the city, turn it rebel, capture it again with another guy and have a family of pharoahs)
    You'd need to keep track of whether the general had just fought a battle versus the Egyptians:

    Code:
    Condition GeneralFoughtFaction egypt
    and store that in a hidden trait, JustFoughtEgypt, and reset that trait at the end of every turn. If the general captured Memphis that turn, and JustFoughtEgypt = 1, then he must have got it from the egyptians.



    Quote Originally Posted by Thurnor
    Lastly, i would like to limit this benefit to Greeks, Macedon, and Selucia - possible?
    each trigger would need a Greek, Macedonian, and Seleucid version, is all.

    Ah! the Generals! they are numerous, but not good for much (especially if they're Languorous)!
    -- Aristophanes, if he played EB

  7. #7

    Default Re: Trait question concerning Egypt

    Thanks for the reply, thats perfect, just what i wanted thanks again!!!!!

    Edit: Ive looked around, but i couldnt find anything on the subject, so ill just ask and see if anyone knows.

    Now and then when im doing well in a campaign one of my super generals will become The Great, or have another name change.

    I was wondering if i could mod the game so that when my general captures egypt his name will change,with a Pharoah in front of it, E.g Pharoah Alexander?

    Again i woud only like to this to happen for the Hellenic cultures.
    Thanks for any help.
    Last edited by Thurnor; 09-30-2005 at 22:45.
    What pity is it That we can die, but once to serve our country

  8. #8
    EB Traiter Member Malrubius's Avatar
    Join Date
    Jan 2005
    Location
    On a tree-covered mountain in Anniston, Alabama, USA
    Posts
    2,633

    Default Re: Trait question concerning Egypt

    Check out the epithets in the files. You just need to add similar lines to your trait description, the enums file, and add the epithet to the export_VnVs.txt file.

    Ah! the Generals! they are numerous, but not good for much (especially if they're Languorous)!
    -- Aristophanes, if he played EB

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO