Page 1 of 2 12 LastLast
Results 1 to 20 of 26

Thread: =Loyalty for All Factions Project=

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Stalins Ghost's Avatar Citizen
    Join Date
    Dec 2004
    Location
    Burntwood, UK
    Posts
    5,845

    Default =Loyalty for All Factions Project=

    Hey there guys, Over on Imperia Romana, we are working towards including loyalty from BI in all factions, I'm sure much like other mod projects in the community, so for this reason, I think the best way to get past all the instability, is to pool our information here.

    And it was very easy. I made the sassanids shadow the regular rebels and gave the the worst disloyalty trait to all family members. After a few turns I got the message "A traitor among our people" and a family member deserted with his city and became a rebel.

    I only tried it with the sassanids but it should work without problem for all factions. The only problem would be that you can't actually see the loyalty value of a characters for non-roman factions. Anyone know a way to solve this? It might be possible for me to create a trait that is updated every turn and that shows the loyalty value, but perhaps it is unecessarily complicated? We should look for other solutions first.
    That's based on Lesten's orginal testing, however, upon testing it with a number of factions, it has begun to prove very unstable. He'll post in here ASAP with further details.
    morecuriousthanbold.com

  2. #2
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default

    I have found that in 1.5, when having all factions shadowed by the slaves, when a faction is defeated all of the slave cities become owned by the defeated faction.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  3. #3
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default

    I have found that in 1.5, when having all factions shadowed by the slaves, when a faction is defeated all of the slave cities become owned by the defeated faction.
    Erk! Bad news...

  4. #4

    Default

    I just did some more testing and yeah, Lusted is right. I made all faction shadowed by the slave faction (the slaves however didn't shadow any faction, don't know what difference that would make).

    When the alemanni were destroyed they gained control over all rebel provinces and one turn later the game crashed.



    I then removed "shadowed_by slave" for the alemanni and they could then be destroyed without problem, but instead, when the saxons were destroyed they gained control over all rebel cities.



    Two turns later the saxons rebelled and lost many of their provinces, and the turn after that the game crashed (this time without showing an error message).

    Visit the Gathering Storm forums!


    The Gathering Storm Project Co-director

  5. #5
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default

    The only way i can think of having loyalty for all factions is to have each faction shadowing anther, eg. saxons shadowing franks, alemanni shadowing burgundii etc.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

  6. #6
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default

    Well, would be more realistic for faction neighbours essentially. Just like if a General loose loyalty he became member of another faction. Used properly this may allow re-emerging factions.

  7. #7

    Default

    Would it work if there was two rebel factions?? So one would be the normal rebels and the other the one shadowing all other factions?? Or make a script so the faction the player choose would have loyality but they other would not. So if I choose to play Allemani they would have loyality but the franks wouldn't, and if choose the Franks they would have loyality but the allemani would not??

  8. #8
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default

    I have just think a bit more further.
    More than two shadowing factions will result in a CTD. No test yet, but when the first faction is destroyed the game won't know to what faction give the territories and then... crash.

    I got another idea, I will try to explain it.
    It would be (if not needed for Wining Conditions) to have each faction have a city or something like this surrounded by mountains in a corner of the map. This way, no faction would loose and thereful can be shadowed by slaves.

    It includes some issues thought.
    Income and population growth can be reduced. The major issue would be loyalty

    If the city rebel, and if the faction is destroyed... same issue will be encountered another time. How possible to make it 100% loyal? Scripts?

    I hope somebody would have a better suggestion...

  9. #9

    Default

    I've done some more testing and I have avoided the destroyed-faction-gets-all-provinces-issue, but the game still crashes when a faction with loyalty is destroyed (except for the lombards and saxons, for some reason )

    Quote Originally Posted by Agraes
    I have just think a bit more further.
    More than two shadowing factions will result in a CTD. No test yet, but when the first faction is destroyed the game won't know to what faction give the territories and then... crash.
    You might be on to something here. I got two destroyed faction but when a third one was destroyed the game crashed.
    Last edited by Lesten; January 14, 2006 at 10:19 AM.
    Visit the Gathering Storm forums!


    The Gathering Storm Project Co-director

  10. #10

    Default

    Ok I'm quite sure that the game crashes when the third faction is destroyed. I added "shadowing slave" for all factions. This way, when a faction is destroyed they won't get all rebell cities, but instead a revolt supressed message appears.



    I played as the franks, then destroyed the alemanni and the saxons. Then under the AI's turn another factions, lombards I think, was destroyed and the game crashed.
    Visit the Gathering Storm forums!


    The Gathering Storm Project Co-director

  11. #11
    alpaca's Avatar Harbinger of saliva
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    4,811

    Default

    If you make multiple factions shadow the same faction, their family members won't join that faction (at least my tests suggest it).

    No thing is everything. Every thing is nothing.

  12. #12

    Default

    I've had family members desert to the slave faction even when almost all factions had "shadowing slave" (or "shadowed_by slave" too possible, can't remember).
    Visit the Gathering Storm forums!


    The Gathering Storm Project Co-director

  13. #13
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default

    Hey, shadowing_slave might be an idea. This way, some generals will still join them sometime but I think there won't be any issue when they will loose, because it would be to the Rebels to be defeated to see their territories shared. Except perphaps rebels generals joining factions time to time. Kinda annoying if they are at the other corner of the map!

    You should try it Lesten.

  14. #14

    Default

    I did. When a faction is destroyed they won't get all rebell cities, but instead a revolt suppressed message appears, and the game won't crash. But only two factions can be destroyed... when a third one is destroyed the game crashes. Seems to be a limit (?) on the number of revolts that can be suppressed, or something... weird though...
    Visit the Gathering Storm forums!


    The Gathering Storm Project Co-director

  15. #15
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default

    Just wondering... if we give loyalty traits, but nothing like 'shadowing faction', to a certain faction, would it causes their generals to join rebels ?

  16. #16

    Default

    I'm pretty sure they won't desert
    They must shadow or be shadowed by another faction.
    Visit the Gathering Storm forums!


    The Gathering Storm Project Co-director

  17. #17
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default

    So... maybe a script for the player faction to have rebels shadowing it. Don't know if possible thought...

  18. #18
    Agraes's Avatar Pillar of Prydein
    Join Date
    Jun 2005
    Location
    Brittany (France)
    Posts
    889

    Default

    I was wondering that this can help:

    faction ostrogoths, balanced henry
    dead_until_resurrected
    re_emergent

    denari 10000
    I know that it is triggered. Do you think there is a way to have it working in the same way as it was in MTW? Re-emerging factions coming sometimes?

    Obviously, the fact that only 2 factions can be shadowed has something to do with the Roman factions. We should keep the research on this. I would love that a dev come here and tell us if it's possible to have 'loyalty for all', but I don't think this would happen.

  19. #19
    Zarax's Avatar Triple Chaosmaster
    Join Date
    Dec 2005
    Location
    Italy
    Posts
    8,382

    Default Re: =Loyalty for All Factions Project=

    Sorry for thread necromancy, but has any progress been made on this? I'm trying to implement a similar system and it would be nice if someone of you got some progress...
    The Best Is Yet To Come:

  20. #20
    Lusted's Avatar Look to the stars
    Join Date
    Jan 2005
    Location
    Brighton, Sussex, England.
    Posts
    18,184

    Default Re: =Loyalty for All Factions Project=

    Right then, this is what was found:
    -you can have a faction shadow only 2 other factions, anymore and it causes problems
    -you cannot have a faction shadowed by the slaves as when the faction is defeated all slave provinces will turn into that faction
    -it works best as 1 faction shadowing another faction
    -its all a bit buggy.
    Creator of:
    Lands to Conquer Gold for Medieval II: Kingdoms
    Terrae Expugnandae Gold Open Beta for RTW 1.5
    Proud ex-Moderator and ex-Administrator of TWC from Jan 06 to June 07
    Awarded the Rank of Opifex for outstanding contributions to the TW mod community.
    Awarded the Rank of Divus for oustanding work during my times as Administrator.

Page 1 of 2 12 LastLast

Posting Permissions

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