Results 1 to 16 of 16

Thread: Repeating Praetorian Cloak Effect?

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Dude with the Food's Avatar Campidoctor
    Join Date
    Oct 2012
    Location
    Round the Corner.
    Posts
    1,800

    Default Repeating Praetorian Cloak Effect?

    Hi.

    I'm work on a recolouring mod and I've found some units have particular colour schemes instead of following the faction scheme. For example, in vanilla the Carthaginian Sacred Band have white shields and blue/purple tunics. The Praetorians have purple cloaks and the usual Roman reds for tunics/shields.

    However, if they weren't on the list then some of the cloaks would be red while some shields/tunics purple and so on. I'm looking for the file that gives all the Praetorians purple cloaks. Or all the Sacred Band shields white. Without it, I can create special colours for elite units but not give them a proper uniform.

    I know the Germanic Night Raiders have the colours affecting the trousers like normal so there is no template that applies to all the units with specific colours, but can't find where that is. Any help is appreciated, thanks.
    Spoiler Alert, click show to read: 
    I am me. You are not me. You are you. If I was you, I wouldn't be me.
    If you were me, I'd be sad.But I wouldn't then be me because you'd be me so you wouldn't be me because I wasn't me because you were me but you couldn't be because I'd be a different me. I'd rather be any kind of bird (apart from a goose) than be you because to be you I'd have to not be me which I couldn't do unless someone else was me but then they would be you aswell so there would still be no me. They would be you because I was you so to restore balance you would have to be me and them meaning all three of us would become one continously the same. That would be very bad.


  2. #2

    Default Re: Repeating Praetorian Cloak Effect?

    unit_variants_colours_tables in data_rome2

  3. #3
    Dude with the Food's Avatar Campidoctor
    Join Date
    Oct 2012
    Location
    Round the Corner.
    Posts
    1,800

    Default Re: Repeating Praetorian Cloak Effect?

    Thanks but that's what I've got to. In their I've added the Bronze Shield Pikemen with a purple/black/yellow theme. Those three colours are spread out over shield details and tunics rather than one colour being only used for all shield details. It doesn't matter though because I've found a way around it.
    Spoiler Alert, click show to read: 
    I am me. You are not me. You are you. If I was you, I wouldn't be me.
    If you were me, I'd be sad.But I wouldn't then be me because you'd be me so you wouldn't be me because I wasn't me because you were me but you couldn't be because I'd be a different me. I'd rather be any kind of bird (apart from a goose) than be you because to be you I'd have to not be me which I couldn't do unless someone else was me but then they would be you aswell so there would still be no me. They would be you because I was you so to restore balance you would have to be me and them meaning all three of us would become one continously the same. That would be very bad.


  4. #4

    Default Re: Repeating Praetorian Cloak Effect?

    could you explain it to us, please?

  5. #5
    Dude with the Food's Avatar Campidoctor
    Join Date
    Oct 2012
    Location
    Round the Corner.
    Posts
    1,800

    Default Re: Repeating Praetorian Cloak Effect?

    Well, a normal unit has three colours, for example blue, red and yellow. If blue is the primary colour then it will appear on more things in general while AFAIK, the other 2 appear roughly equally in a ratio of 4:1:1. (I think. If not it's close to that.) That means that on a normal unit of 120 men with the only areas affected by these colours being tunic, shield and cloak:
    80 men have blue shields.
    80 men have blue tunics.
    80 men have blue cloaks.
    20 have red shields.
    20 have red tunics.
    20 have red cloaks.
    20 have yellow shields.
    20 have yellow tunics.
    20 have yellow cloaks.

    As you can see, the colours will appear like that generally over all a factions units. In the file I've been using that Aodh Mor mentioned there I'll bring up 2 examples.

    Night Hunters:
    80 have black shields.
    80 have black trousers.
    20 have brown shields.
    20 have brown trousers.
    20 have red shields.
    20 have red trousers.

    Praetorian Guard:
    80 have red shields.
    80 have red tunics.
    120 have purple cloaks.
    40 have dark red shields.
    40 have dark red tunics.

    All of these are based on the assumption that the unit has 120 and the ratio above stands. The values may be closer 60/30/30 or be affected by some degree of variation but all of the Praetorian cloaks are purple and no Praetorian shields or tunics are purple. In the same file, the Night Raiders are affected normally.

    I think this might be down to the model of the cloaks having some factor only allowing them to be affected by secondary colours because I don't think any of the post-marian Roman units seem to be affected by the yellow. If this is true does anyone know whether the colours affecting themodel are in the actual model file or located somewhere else?
    Last edited by Dude with the Food; October 22, 2013 at 11:33 AM.
    Spoiler Alert, click show to read: 
    I am me. You are not me. You are you. If I was you, I wouldn't be me.
    If you were me, I'd be sad.But I wouldn't then be me because you'd be me so you wouldn't be me because I wasn't me because you were me but you couldn't be because I'd be a different me. I'd rather be any kind of bird (apart from a goose) than be you because to be you I'd have to not be me which I couldn't do unless someone else was me but then they would be you aswell so there would still be no me. They would be you because I was you so to restore balance you would have to be me and them meaning all three of us would become one continously the same. That would be very bad.


  6. #6
    Dude with the Food's Avatar Campidoctor
    Join Date
    Oct 2012
    Location
    Round the Corner.
    Posts
    1,800

    Default Re: Repeating Praetorian Cloak Effect?

    I ran a test with Praetorian Guard in normal cloaks but Praetorians in Oathsworn cloaks. The Guard acted as usual, mainly red shields/tunics with some dark red and all purple cloaks. The normal Praetorians had red/dark red shields/tunics but a mix of red/dark red/purple cloaks.

    The specific colouring is obviously to do with the individual models which narrows it down but is it in the actual model or somewhere else?
    Spoiler Alert, click show to read: 
    I am me. You are not me. You are you. If I was you, I wouldn't be me.
    If you were me, I'd be sad.But I wouldn't then be me because you'd be me so you wouldn't be me because I wasn't me because you were me but you couldn't be because I'd be a different me. I'd rather be any kind of bird (apart from a goose) than be you because to be you I'd have to not be me which I couldn't do unless someone else was me but then they would be you aswell so there would still be no me. They would be you because I was you so to restore balance you would have to be me and them meaning all three of us would become one continously the same. That would be very bad.


  7. #7

    Default Re: Repeating Praetorian Cloak Effect?

    Check this table: unit_variants_colours_tables

  8. #8

    Default Re: Repeating Praetorian Cloak Effect?

    Any way to get this to work for Officers

  9. #9
    Demokritos's Avatar Domesticus
    Join Date
    Aug 2006
    Location
    Up North
    Posts
    2,288

    Default Re: Repeating Praetorian Cloak Effect?

    Quote Originally Posted by Regoso View Post
    Any way to get this to work for Officers
    It's doable. Here's an example of the Spartan king in a uniform different from all other officers of Sparta and his Royal Spartans...

    Spoiler Alert, click show to read: 
    You'll see more of this in my upcoming ACR2 mod.

    All you have to do is to add a special entry for the unit in question in the unit_variants_colours table but set it to "officer" instead of "soldier" in the "soldier_type" column. That's the way it worked for Shogun 2, too. I wouldn't be surprised if you put "standard_bearer" in that column instead you could get individual colours for the standard bearer as well, just like in Shogun 2.


    Quote Originally Posted by Dude with the Food View Post
    [...]Those three colours are spread out over shield details and tunics rather than one colour being only used for all shield details. It doesn't matter though because I've found a way around it.
    What way around it?
    Last edited by Demokritos; October 26, 2013 at 06:45 PM.
    GNOTHI SEAUTON (Know Thyself) - precept inscribed in the forecourt of the Temple of Apollo at Delphi, Greece
    MEDEN AGAN (Nothing To Excess) - another precept inscribed in the aforementioned place

  10. #10
    Dude with the Food's Avatar Campidoctor
    Join Date
    Oct 2012
    Location
    Round the Corner.
    Posts
    1,800

    Default Re: Repeating Praetorian Cloak Effect?

    Quote Originally Posted by Demokritos View Post
    What way around it?
    No way of getting it to work in general, just so I'm happy with the Bronze Shields.
    Spoiler Alert, click show to read: 
    I am me. You are not me. You are you. If I was you, I wouldn't be me.
    If you were me, I'd be sad.But I wouldn't then be me because you'd be me so you wouldn't be me because I wasn't me because you were me but you couldn't be because I'd be a different me. I'd rather be any kind of bird (apart from a goose) than be you because to be you I'd have to not be me which I couldn't do unless someone else was me but then they would be you aswell so there would still be no me. They would be you because I was you so to restore balance you would have to be me and them meaning all three of us would become one continously the same. That would be very bad.


  11. #11

    Default Re: Repeating Praetorian Cloak Effect?

    Thanks this should help me and playker alot on ower Spartan mods

  12. #12

    Default Re: Repeating Praetorian Cloak Effect?

    you have to add mask at the end of the line, for example:
    <VARIANT_MESH model="VariantMeshes/_VariantModels/man/cloak/celtic_chieftain_cloak/celtic_chieftain_cloak_armour.rigid_model_v2" imposter_model="VariantMeshes/_VariantModels/man/cloak/celtic_cloak/celtic_cloak_1.rigid_model_v2" mask1="1" mask0="0" />
    mask 1 is for the 1st faction colour, mask 0 for the 2nd and mask 2 for the 3rd, I think. At least mask 1 is for the first colour, I'm not sure about the other 2

  13. #13
    S.V.K.'s Avatar Civis
    Join Date
    Sep 2013
    Location
    Germany
    Posts
    179

    Default Re: Repeating Praetorian Cloak Effect?

    A little question in the same way; how can I remove the cloak completely? A.e. from a unit like the preatorians?

  14. #14

    Default Re: Repeating Praetorian Cloak Effect?

    Quote Originally Posted by S.V.K. View Post
    A little question in the same way; how can I remove the cloak completely? A.e. from a unit like the preatorians?
    variantmeshes > variantmeshdefinitions > insert unit name > right click on unit > open > Open as text > delete the stuff under <SLOT name="cloaks"

    example:

    <SLOT name="cloaks" >
    <VARIANT_MESH_REFERENCE definition="VariantMeshes/_VariantModels/man/cloak/hellenic_companion_cloaks_2.VariantMeshDefinition" />
    </SLOT>
    <SLOT name="greaves" >

    that is what it might look like sep for with more entries the greaves line is just to note the beginning of the next armour slot

    this is what it will look like after
    <SLOT name="cloaks" />
    <SLOT name="greaves" >

    not the adding of the "/" at the end of cloaks line and the removal of the </SLOT>
    hope that helps

  15. #15
    S.V.K.'s Avatar Civis
    Join Date
    Sep 2013
    Location
    Germany
    Posts
    179

    Default Re: Repeating Praetorian Cloak Effect?

    Ahhh... jap, that helps a lot^^ Thx.

  16. #16

    Default Re: Repeating Praetorian Cloak Effect?

    Hi guys,

    I saw you talked about the three colours of a faction and adding mask to assign them.
    Playker, could you explain it in more details?

    For example I would like to assign my third faction colour to the outline of the shields and I can't figure it out

Posting Permissions

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