Thread: SSHIP - General Discussion

  1. #5501
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,950
    Blog Entries
    4

    Default Re: SSHIP - General Discussion

    I need to find the relevant thread but shield and defense or armour values are 2 different things in the EDU. They actually related to different "sides" of the body if I remember correctly
    I mean that the shield value is related as protection against hit coming from one side while the other is for the other sides (hope I'm understable). They are not cumulative, at least not entirely (again, if my memory serves me well).
    That's something to remember when starting playing with units' stats.
    Last edited by Lifthrasir; May 22, 2020 at 06:57 AM. Reason: typo
    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  2. #5502

    Default Re: SSHIP - General Discussion

    Quote Originally Posted by kostic View Post
    To know the protections of shields, there is a fairly simple principle: in the 12th century, shields were rather large, those in the shape of a drop protected the knight up to the legs, even on his horse. As armor has improved, the shields have gradually decreased in size and therefore have less protective power.
    So, for simplicity, units at the start of the game could overall have more shield protection than for subsequent units.
    Of course, in detail, all the shields are not created equal (the small shields of the javelliniers do not have the same protective power) but the principle seems good to me on the whole.
    This is pretty good rule of thumb. Although yeah, the best results are to load up a game, start custom battle and take notes...

    @ Lifthrasir

    I think you are onto something, I remember defense stat being very suspicious.


    A small digression:

    I decided to go ahead and already collected materials for my period music submod (without even having the mod downloaded xd)

    Could some kind soul copy/paste descr_sounds_music.txt into spoiler here (or upload it) pretty please?

    And also could you tell me if the mod comes with .mp3 files unpacked or just in .dat and .idx files?

    Thanks

  3. #5503

    Default Re: SSHIP - General Discussion

    afaik armor protects from all sides, defense skill protects only from the front and only from melee attacks, shield protects all sides except from behind

  4. #5504
    Nemesis2345's Avatar Semisalis
    Join Date
    May 2013
    Location
    Constanta, Romania
    Posts
    462

    Default Re: SSHIP - General Discussion

    Quote Originally Posted by Dekhatres View Post
    afaik armor protects from all sides, defense skill protects only from the front and only from melee attacks, shield protects all sides except from behind
    Shield has 100% value from the front and 50% value on the sides. Behind is 0% , even for units like Varangian Guard who has shield on backs , they are only cosmetic.

    Effective against armor ignores half of enemy's armor value.

    Correct on defensive skill , it only works in melee.

    Also, gunpowder units ingore both shield and defense skill , and have effective against armor , so you can see why muskets are so OP when used properly xD.
    Last edited by Nemesis2345; May 23, 2020 at 02:16 AM.

  5. #5505
    Nemesis2345's Avatar Semisalis
    Join Date
    May 2013
    Location
    Constanta, Romania
    Posts
    462

    Default Re: SSHIP - General Discussion

    Jurand , how much time does it take until the usurper is accepted as king?

  6. #5506
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: SSHIP - General Discussion

    maximum 13 years (26 turns), average 6,5 years
    (but keep in mind that the script below is the improved version after my recent fixes to avoid those CTDs reported - and in the older version problems may arise. plus I'm not sure if I understand all the intricacies and if somewhere in another part of the script there's any trap set by another modder ;-)
    after my changes it will be on average half as long (3,25 years), but very unlikely maximum still 13 years

    ; It works as follows:
    ; the "resistance" counter goes from 0 to 25 and again
    ; if in any faction the FactionLeader is a Usurper then there's 50% chance (this is my new fix) that a Civil War starts and depending on the size of the faction 1 to 4 armies are spawned
    ; (safety valve: if for any reason the FL doesn't have the Usurper trait anymore (eg he died and a new FL comes), then end the civil war)
    ; when the counter equals a number for a faction (eg. Spain = 1) then remove trait Usurper from the FL and end Civil War

    Code:
    monitor_event PreFactionTurnStart FactionType slave
    
        inc_event_counter resistance 1
                            
        if I_EventCounter resistance  > 25
                set_event_counter resistance 0
            end_if
    
    
        set_event_counter new_house_spain 0
    .....
        
        if I_EventCounter resistance  < 26
        
            if I_FactionLeaderTrait spain Usurper >= 3
                and I_EventCounter civil_war_spain_going_on = 0  
                and RandomPercent > 50
                
                set_event_counter civil_war_spain_going_on 1
                historic_event civil_war_spain
                increment_kings_purse spain -1000
               
               
               if I_NumberOfSettlements spain > 2
                 faction_emerge slave spain 1 100.0 0.0 1.2 town true
                 
                 if I_NumberOfSettlements spain > 5
                   faction_emerge slave spain 1 100.0 0.0 1.2 town true
                   
                   if I_NumberOfSettlements spain > 8
                    faction_emerge slave spain 1 100.0 0.0 1.2 town true unused_labels1 Piero 30
                    
                    if I_NumberOfSettlements spain > 11
                      faction_emerge slave spain 1 100.0 0.0 1.2 town true unused_labels2 Panelo 30
                      
                      if I_NumberOfSettlements spain > 14
                    faction_emerge slave spain 1 100.0 0.0 1.2 town true unused_labels3 Nicolo 30
                   end_if 
                     end_if 
                   end_if 
                 end_if   
               end_if 
               
            end_if
    Code:
        if I_EventCounter civil_war_spain_going_on = 1      if I_FactionLeaderTrait spain Usurper < 3
            
            historic_event end_civil_war_spain
            increment_kings_purse spain 1000
              set_event_counter civil_war_spain_going_on 0
            
          end_if  
        end_if
    Code:
         if I_EventCounter resistance  = 1        if I_EventCounter civil_war_spain_going_on = 1
                
                if I_FactionLeaderTrait spain Usurper >= 3
                         set_event_counter new_house_spain 1
                end_if
               
                historic_event end_civil_war_spain
                increment_kings_purse spain 1000
                  set_event_counter civil_war_spain_going_on 0
            end_if
        end_if
    Code:
    ;========================================================;--------- Establishing a New House ---------------------
    ;--- it also means getting rid of the Usurper trait -----
    
    
    ;------------------------------------------
    Trigger new_house_spain1
     WhenToTest CharacterTurnStart
    
    
     Condition IsFactionLeader
      and Trait Usurper >= 3
        and I_EventCounter new_house_spain = 1
        and CharFactionType spain
        
     Affects Usurper -5 Chance 100 
     Affects Factionleader 3 Chance 100 
     Affects Royal_Founder 1 Chance 100
    Last edited by Jurand of Cracow; May 23, 2020 at 03:11 PM.

  7. #5507
    Elendil 03's Avatar Semisalis
    Join Date
    Aug 2018
    Location
    A landlocked, neutral country somewhere in Western Europe
    Posts
    439

    Default Re: SSHIP - General Discussion

    Quote Originally Posted by Just let me post View Post
    Could some kind soul copy/paste descr_sounds_music.txt into spoiler here (or upload it) pretty please?

    And also could you tell me if the mod comes with .mp3 files unpacked or just in .dat and .idx files?
    Sure, here you go. Good luck!
    descr_sounds_music.txt
    The .mp3 files are included in the mod.

  8. #5508

    Default Re: SSHIP - General Discussion

    @ Elendil 03

    Thank you kind sir

    edit:

    Ok I finished it, you can find it in Mini Mods section. Download is only 38.2 MB, save compatible.
    Last edited by Just let me post; May 24, 2020 at 10:37 AM. Reason: finished submod

  9. #5509
    Nemesis2345's Avatar Semisalis
    Join Date
    May 2013
    Location
    Constanta, Romania
    Posts
    462

    Default Re: SSHIP - General Discussion


  10. #5510
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,950
    Blog Entries
    4

    Default Re: SSHIP - General Discussion

    And it says: "Good with money"
    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  11. #5511

    Default Re: SSHIP - General Discussion

    Mr Fanhope is having an issue. I think it might be time he went into retirement.
    | Community Creative Writing
    | My Library
    | My Mapping Resources
    | My Nabataean AAR for EBII
    | My Ongoing Creative Writing

  12. #5512
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: SSHIP - General Discussion

    Quote Originally Posted by Nemesis2345 View Post
    He had a long and productive life. The got also traits that are not shown in the pic that make him losing his Finance skills, perhaps below 0 (I suspect it's possible, since it's possible to go above 10)

  13. #5513

    Default Re: SSHIP - General Discussion

    Quote Originally Posted by Jurand of Cracow View Post
    But you've got different numbers in vanilla, in vanilla Stainless Steel, and in TATW-DaC. Various people must have mess with it and they did it for a reason. One fancy guy might have happen, but many?

    Frankly speaking, I'm really interested to know why it is so.
    Eg. why Gothic Knights have:
    stat_pri 7, 14, no, 0, 0, melee, melee_blade, piercing, spear, 80, 1
    stat_sec 5, 5, no, 0, 0, melee, melee_blade, blunt, mace, 22, 1

    while in the TATW-DaC the heavy knights have very low number, but archers average (and pikemen the highest).

    Can somebody find it out? Maybe people in EBII or TATW know?
    yea and the reason is that they thought it does something

    ran a new series of tests, DFK vs DCK (foot chivalric vs feudal knights), same exact stats, same formation same mass etc, one with 10 delay the other with 80, no difference

  14. #5514
    Lifthrasir's Avatar "Capre" Dunkerquois
    Patrician took an arrow to the knee

    Join Date
    Jan 2010
    Location
    City of Jan Baert
    Posts
    13,950
    Blog Entries
    4

    Default Re: SSHIP - General Discussion

    Have you taken into consideration your animations changes?
    Animations affect the stats somehow.
    Under the patronage of Flinn, proud patron of Jadli, from the Heresy Vault of the Imperial House of Hader

  15. #5515

    Default Re: SSHIP - General Discussion

    ofc, i use the same sword animation for all sword units, i would have noticed right away if it was different

  16. #5516

    Default Re: SSHIP - General Discussion

    Alright, I have all of Spain, there is a Cathedral in Zaragoza; my faction leader is there and I have 20k florins. Now when does he get the crown?

    Do I need to be at peace? Castille refuses to make peace with "despicable" me despite having been reduced to whatever rump state they managed to conquer in some crusade - a change that I do not like in 0.9.7.

    Last edited by sillygoy; May 30, 2020 at 02:30 AM.

  17. #5517
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: SSHIP - General Discussion

    No need to be at peace but the faction should not be excommunicated. The requirements are described in the FL trait (well, but the excommunication, I've added it only now so it will be in next release) - and he must have this trait:

    {Fit_for_Crown_effects_desc}\n If the faction is in possession of all the required provinces, he needs to go to his faction's traditional capital where a great temple (cathedral or similar) is built. He cannot have more than 7 ancillaries at the moment of crowning, he needs to gather 20.000 florins to cover the costs of the ceremony, and the capital should not be besieged nor the people unhappy.

    Code:
    Trigger Crown_aragon_Fit WhenToTest CharacterTurnEnd
     
     Condition FactionIsLocal
        and IsFactionLeader
        and FactionType aragon
        and EndedInSettlement
        and SettlementName Zaragoza
        and SettlementBuildingExists >= cathedral
        and not IsUnderSiege
        and GovernorLoyaltyLevel > loyalty_disillusioned
        and Treasury > 20000
        and not I_WorldwideAncillaryExists crown_aragon    
        and Trait Crownholder > 1
        and Trait Crownholder < 4
     
     Affects Fit_Crown_aragon 1 Chance 100

    If you can upload the save, I'd be very happy to have a look at the details.

    What difficulty do you play?
    Last edited by Jurand of Cracow; May 30, 2020 at 03:46 AM.

  18. #5518

    Default Re: SSHIP - General Discussion

    Here you go bro. Thanks for having a look. I want to get this crowning business done so I can commit war crimes in North Africa for all the suffering the Moors have caused me.

    Also I play on medium/medium.
    Attached Files Attached Files
    Last edited by sillygoy; May 30, 2020 at 03:56 AM.

  19. #5519
    Jurand of Cracow's Avatar History and gameplay!
    Join Date
    Oct 2012
    Location
    Cracovia
    Posts
    8,488

    Default Re: SSHIP - General Discussion

    Quote Originally Posted by sillygoy View Post
    Here you go bro. Thanks for having a look. I want to get this crowning business done so I can commit war crimes in North Africa for all the suffering the Moors have caused me.

    Also I play on medium/medium.
    Your FL is a regent, and regents cannot be crowned.

    BTW, I am sorry for all your ugly generals - I've made a mistake in coding for Medium difficulty (I always check the upper diffs..) and one initial trigger doesn't fire. I'm fixing it now.

    Simply these are not equivalent for the game:

    Code:
    ;------------------------------------------Trigger CoA_starter_Normal
     WhenToTest CharacterComesOfAge
     
     Condition I_EventCounter DifficultyLevel > 0
           and I_EventCounter DifficultyLevel < 3
            and IsGeneral
           
      Affects LoyaltyStarter 1 Chance 100 
      Affects ReligionStarter 1 Chance 100 
      Affects Wantschool 13 Chance 100 
      Affects Intelligent 20 Chance 100
      Affects FitForOffice 2 Chance 100
      Affects Handsome 5 Chance 100
    Code:
    ;------------------------------------------Trigger CoA_starter_Medium
     WhenToTest CharacterComesOfAge
     
     Condition I_EventCounter DifficultyLevel = 2
            and IsGeneral
           
      Affects LoyaltyStarter 1 Chance 100 
      Affects ReligionStarter 1 Chance 100 
      Affects Wantschool 13 Chance 100 
      Affects Intelligent 20 Chance 100
      Affects FitForOffice 2 Chance 100
      Affects Handsome 5 Chance 100
    
    
    ;------------------------------------------
    Trigger CoA_starter_Easy
     WhenToTest CharacterComesOfAge
     
     Condition I_EventCounter DifficultyLevel = 1
            and IsGeneral
           
      Affects LoyaltyStarter 1 Chance 100 
      Affects ReligionStarter 1 Chance 100 
      Affects Wantschool 13 Chance 100 
      Affects Intelligent 20 Chance 100
      Affects FitForOffice 2 Chance 100
      Affects Handsome 5 Chance 100
    -----

    EDIT: after studying your situation a bit more, I've come to the conclusion that there's something wrong with your game. Why some of your generals have "Comes" and "Sicilian Tutelage" among their traits? It's not possible to get them, the code doesn't allow it...
    It looks like you'd tinkered with the script.txt...
    Last edited by Jurand of Cracow; May 30, 2020 at 09:15 AM.

  20. #5520

    Default Re: SSHIP - General Discussion

    I dunno bro I just installed 0.9.7 over 0.9.4. Also why has my king been regent for 30+ years now? If it helps I had a usurper general early on (Rei Alfonso's brother) and had a small civil war. Something could definitely be wrong here. I did not touch any scripts at all, just the EDU and battle_config.

Posting Permissions

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