Results 1 to 19 of 19

Thread: Ancilliary uses new skin?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Gnostiko's Avatar Campidoctor
    Join Date
    Feb 2008
    Location
    Leeds, England
    Posts
    1,889

    Default Ancilliary uses new skin?

    Is it possible to have an ancilliary change the stratmap skin of a model? If so, what is the specific trigger I'm looking for?

  2. #2
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Ancilliary uses new skin?

    There are several levels of strat models (see priest, bishop, cardinal), the use of which is scripted through traits. You might be able to do the same with the ancillary.
    The britannia campaign uses something similar for the use of the king model for the leader.










  3. #3
    Gnostiko's Avatar Campidoctor
    Join Date
    Feb 2008
    Location
    Leeds, England
    Posts
    1,889

    Default Re: Ancilliary uses new skin?

    Quote Originally Posted by gigantus View Post
    There are several levels of strat models (see priest, bishop, cardinal), the use of which is scripted through traits. You might be able to do the same with the ancillary.
    The britannia campaign uses something similar for the use of the king model for the leader.
    Funny you should have said that as it's the angle I was looking at - essentially I'd like to be able to give priests an ancilliary that changes their stratmap skin. Failing that, I could always try with a trait. Where could I look for more info on this?

  4. #4
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Ancilliary uses new skin?

    Beats me. But a beginning would be to trace how it is triggered now.
    Check the descr_strat file and the priests that you know start as bishops, crosscheck their traits (I think priest 2) against e_d_character_traits, same with the king model that is used in the brittania campaign as I mentioned, there I think it is leader 2.










  5. #5
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Ancilliary uses new skin?

    Yes, the attribute in EDCT is called "Level". Each level equals the entry in ehhmmm, forgot the name of the file that assigns strat_models, but it should not be difficult to find. You can assing each level a displayed name in expanded.txt. I haven't seen it working with ancillaries, but it is worth a try. Otherwise grant a hidden trait that has the "level" together with the ancillary

    For example, when you want to make a character Despotes with a special start model you would give him the trait (in case it does not work directly with ancillaries) the usual way. This trait might give him the "Level 3", what would be the Despotes start model. In expanded.txt you would assign the name "Despotes" to this level, that way he would be labled "Byzantine Despotes" on mouseover.

    Removing the trait when losing the ancillary should reset the strat model (never tried it, but it should work).


    The problem is that these levels seem to work cumulative. So when he has Level 3 = Despotes and becomes faction heir, what could be Level 4, he would that way have Level 7, what might be a patriarcha or the faction leader, and would be displayed that way.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  6. #6
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: Ancilliary uses new skin?

    The problem is that these levels seem to work cumulative. So when he has Level 3 = Despotes and becomes faction heir, what could be Level 4, he would that way have Level 7, what might be a patriarcha or the faction leader, and would be displayed that way.
    hadn't realised that was the case,

    if so the trick would be to combine all the things that can possibly give different strat map 'Level' effects into one trait with various trait levels for the affected faction, then set the threshold numbers so that the only way the person can arrive at the right level is to have the correct 'x' number of that trait's points.

    So say he's faction leader, make sure that level of the trait requires 100 points to meet the threshold to get the trait level that has "Effect Level 2" or whichever it is.... and trigger for becoming faction leader is only thing with the +80 or whatever from the other possible candidates to get him into that range... might take a bit of maths to work out if you're doing something complex....

  7. #7
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Ancilliary uses new skin?

    Identifier: change_battle_model
    Parameters: guild
    Description: Changes the faction's leader/heir's battle model.
    Sample use: change_battle_model england leader [model]
    Class: CHANGE_BATTLE_MODEL
    Implemented: Yes
    Author: Mark
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  8. #8
    makanyane's Avatar Praeses
    Content Emeritus

    Join Date
    Feb 2006
    Posts
    9,093
    Blog Entries
    1

    Default Re: Ancilliary uses new skin?

    Quote Originally Posted by Swagger View Post
    Identifier: change_battle_model
    Parameters: guild
    Description: Changes the faction's leader/heir's battle model.
    Sample use: change_battle_model england leader [model]
    Class: CHANGE_BATTLE_MODEL
    Implemented: Yes
    Author: Mark
    yup, but battle-model is completely different question from stratmap model

    though it might well come next....

  9. #9
    Augustus Lucifer's Avatar Life = Like a beanstalk
    Patrician Citizen

    Join Date
    Aug 2006
    Location
    Mote of Dust
    Posts
    10,725

    Default Re: Ancilliary uses new skin?

    Problem with battle model is it only works for leader/heir. It seems to be another one of those last-minute application things, where they needed it for William Wallace and Richard the Lionheart or whatever, so they implemented it and tied it to the leader/heir distinction. It could well have been tied to a method similar to that of the Level command, but noooooooooo....

  10. #10
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Ancilliary uses new skin?

    These are the traits for the leader strat models from the brittania campaign. It does not appear they are accumulative as the heir has model two (model one being the default for named characters) and the leader model three. Theoretical it should be possible to extend the model level and assign the models as per level.

    Trait Factionleader
    Characters family
    AntiTraits Factionheir

    Level Faction_Leader
    Description Faction_Leader_desc
    EffectsDescription Faction_Leader_effects_desc
    Threshold 1

    Effect Command 1
    Effect Authority 2
    Effect PersonalSecurity 3
    Effect Level 2



    ;------------------------------------------
    Trait Factionheir
    Characters family
    AntiTraits Exheir

    Level Heir_Apparent
    Description Heir_Apparent_desc
    EffectsDescription Heir_Apparent_effects_desc
    Threshold 1

    Effect Command 1
    Effect Authority 1
    Effect PersonalSecurity 2
    Effect Level 1










  11. #11
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Ancilliary uses new skin?

    Dont' forget he is no longer FH when becoming FL.

    Here is an example from dHRR:

    descr_character.txt
    Code:
    faction            burgundy
    dictionary        2
    strat_model        teutonic_general                ; default level 0
    strat_model        teutonic_general                ; level 1, heir
    strat_model        teutonic_general                ; level 2, faction leader
    strat_model        northern_generic_emperor    ; level 3, emperor
    strat_model        northern_generic_king         ; level 4, crowned king
    strat_model        catholic_bishop                  ; level 5 Archbishop
    battle_model    german_general    ;Northern_General
    battle_equip    gladius, chainmail shirt helmet and rectangular shield
    EDCT
    Code:
    ;------------------------------------------
    Trait Emperor
        Characters family
    
        Level Emperor
            Description Emperor_desc
            EffectsDescription Emperor_effects_desc
            Epithet Emperor_epithet_desc
        Threshold  1 
    
        Effect Authority 1 
        Effect Level  1
    Because the emperor always is FL (level 2) he is only assigned one additional level to reach 3. If this trait would have "Effect Level 3" the emperor would in fact have Level 5 cumulative and be displayed as an archbishop.
    Last edited by konny; September 04, 2009 at 04:24 AM.

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  12. #12
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Ancilliary uses new skin?

    Following that reasoning the trait 'crowned king' would then again have 'level 2' as effect?










  13. #13
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Ancilliary uses new skin?

    Yep:

    Code:
    Trait King
        Characters family
        Hidden
    
        Level King
            Description NoEffect_desc
            EffectsDescription NoEffect_desc
    ;        Epithet Emperor_epithet_desc
        Threshold  1 
    
        Effect Level  2

    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  14. #14
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Ancilliary uses new skin?

    Thanks konny, helpful as usual.










  15. #15
    konny's Avatar Artifex
    Join Date
    Jul 2007
    Location
    Germania Inferior
    Posts
    3,631

    Default Re: Ancilliary uses new skin?


    Team member of: Das Heilige Römische Reich, Europa Barbarorum, Europa Barbarorum II, East of Rome
    Modding help by Konny: Excel Traitgenerator, Setting Heirs to your preference
    dHRR 0.8 beta released! get it here
    New: Native America! A mini-mod for Kingdoms America

  16. #16
    Gigantus's Avatar I am not special - I am a limited edition.
    Moderator Emeritus Administrator Emeritus

    Join Date
    Aug 2006
    Location
    Goa - India
    Posts
    52,682
    Blog Entries
    35

    Default Re: Ancilliary uses new skin?

    Looks familiar










  17. #17
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Ancilliary uses new skin?

    *gigantus reclaims trademark*
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


  18. #18
    Opifex
    Join Date
    Feb 2005
    Location
    New York, USA
    Posts
    15,154

    Default Re: Ancilliary uses new skin?

    Folks unless I'm mistaken you can specify the stratmap model via spawn_character or spawn_army.


    "If ye love wealth greater than liberty,
    the tranquility of servitude greater than
    the animating contest for freedom, go
    home from us in peace. We seek not
    your counsel, nor your arms. Crouch
    down and lick the hand that feeds you,
    and may posterity forget that ye were
    our countrymen."
    -Samuel Adams

  19. #19
    Swagger's Avatar Imperial Coffee-Runner
    Join Date
    Apr 2007
    Location
    Portugal
    Posts
    12,453

    Default Re: Ancilliary uses new skin?

    you're correct
    Under the Patronage of the Dreadful cedric37!
    Ancs Guide, Emergent Factions , Yes/No Events |L'Outremer for Modders| Swagger's Skymod


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •