Results 1 to 8 of 8

Thread: General's Units

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default General's Units

    To go along with my post in this thread, is it possible to make the general's skin vary?
    I tried a campaign as the HRE and I noticed that the faction leader has a different skin than one of his sons, but I don't think it's this way in other factions. Correct me if I'm wrong.
    I just would rather not have the FL and his heir looking identical on the battlefield.
    "Oh my lords, my brothers, my sons, the everlasting honour of Christians is in your hands."
    Κωνσταντῖνος ΙΑ' Παλαιολόγος

    "il nous faut de l'audace, encore de l'audace, toujours de l'audace, et la France est sauvée"

  2. #2

    Default Re: General's Units

    I'm not sure abou the details on this, or what happens within the files, but apart from Byz, who have seperate models for FL, FH and generals, I beleive normal generals and faction heirs are randomly generated.

  3. #3
    Artifex
    Join Date
    Mar 2010
    Location
    Sweden
    Posts
    1,314

    Default Re: General's Units

    Faction heirs and leaders can be set to change their battle model, as far as I know the Roman heirs and emperors get special models as well as the Teutonic grand master. It is done by a short little script in the campaign_script document, found in the Stainless_Steel(or whatever it's called)/data/world/maps/campaign/imperial_campaign folder.

    Here is an example (from my personal SS mod where I added the Rusichi royalty too):

    Spoiler Alert, click show to read: 

    ;-------------- BYZANTINE LEADER BATTLE MODELS----------------;
    monitor_event BecomesFactionLeader FactionType byzantium
    change_battle_model byzantium leader byzantine_emperor
    end_monitor
    monitor_event BecomesFactionHeir FactionType byzantium
    change_battle_model byzantium heir byzantine_heir
    end_monitor
    ;-------------- NOVGOROD LEADER BATTLE MODELS----------------;
    monitor_event BecomesFactionLeader FactionType russia
    change_battle_model russia leader rus_grand_duke
    end_monitor
    monitor_event BecomesFactionHeir FactionType russia
    change_battle_model russia heir rus_heir
    end_monitor
    ;-------------- KIEV LEADER BATTLE MODELS----------------;
    monitor_event BecomesFactionLeader FactionType kievan_rus
    change_battle_model kievan_rus leader rus_grand_duke
    end_monitor
    monitor_event BecomesFactionHeir FactionType kievan_rus
    change_battle_model kievan_rus heir rus_heir
    end_monitor

    It is possible to code changing of battle models based on other events too, but to my knowledge it isn't used in SS.

    As for normal generals, I guess you can choose a model with variations - like using a feudal knight as the generals battle model, for example - which should make the generals look a little different from one another. Just alter the relevant battle model in the descr_character document in the Stainless Steel data folder. Now that I think of it, I don't think I've tried it but there is no reason it should be different from having a varying model as officer in a unit.

    Judging by what nomercysniper said SS already has general models with some variations. I haven't tried the latest releases so I don't know about that.
    Last edited by Maltacus; July 13, 2012 at 09:42 PM.
    The Misadventures of Diabolical Amazons - Completed.
    An Orcs Tale, a Third Age AAR - Completed.
    Reviewed by Alwyn in the Critics Quill
    My Dread Lady, a Warcraft Total War AAR - A few chapters done.
    Home to Midgard, a Third Age AAR about two dwarves, a spy and a diplomat - Completed (pictures remade up to chapter 19).
    Reviewed by Boustrophedon in The Critics Quill

  4. #4

    Default Re: General's Units

    To add to this, can I make the English king always have the skin that Lionheart has in the vanilla campaign?
    "Oh my lords, my brothers, my sons, the everlasting honour of Christians is in your hands."
    Κωνσταντῖνος ΙΑ' Παλαιολόγος

    "il nous faut de l'audace, encore de l'audace, toujours de l'audace, et la France est sauvée"

  5. #5
    Artifex
    Join Date
    Mar 2010
    Location
    Sweden
    Posts
    1,314

    Default Re: General's Units

    Yeah, the code should work for all factions. You just replace the faction and the battle model, keep the rest. Like this:

    monitor_event BecomesFactionLeader FactionType england
    change_battle_model england leader xxxx
    end_monitor

    ...replacing xxxx with whatever Lionhearts model is called.

    EDIT: Corrected a mistake I made about the coding.
    Last edited by Maltacus; July 30, 2012 at 01:52 PM.
    The Misadventures of Diabolical Amazons - Completed.
    An Orcs Tale, a Third Age AAR - Completed.
    Reviewed by Alwyn in the Critics Quill
    My Dread Lady, a Warcraft Total War AAR - A few chapters done.
    Home to Midgard, a Third Age AAR about two dwarves, a spy and a diplomat - Completed (pictures remade up to chapter 19).
    Reviewed by Boustrophedon in The Critics Quill

  6. #6

    Default Re: General's Units

    I tried:
    ;========== ENGLAND LEADER BATTLE MODELS ==============
    monitor_event BecomesFactionLeader FactionType england
    change_battle_model england leader Norman_King
    end_monitor

    and nothing happened.
    "Oh my lords, my brothers, my sons, the everlasting honour of Christians is in your hands."
    Κωνσταντῖνος ΙΑ' Παλαιολόγος

    "il nous faut de l'audace, encore de l'audace, toujours de l'audace, et la France est sauvée"

  7. #7
    Artifex
    Join Date
    Mar 2010
    Location
    Sweden
    Posts
    1,314

    Default Re: General's Units

    But you have changed the starting kings battle model to Norman_King (in the descr_strat)? Did that work, at least?

    So the next king got the standard general battle model, is that correct?

    Explanatory note to anybody else reading this: Starting generals, including the leader and heir, can have a special strat and/or battle model set for them. Pretty cool thing to use if you want to make some kind of custom or unique fellow. Characters spawned by the campaign script can also have special models set for them, but those randomly generated in the game gets the standard one, unless you code them to change model when something specific happens like them becoming faction leader.
    The Misadventures of Diabolical Amazons - Completed.
    An Orcs Tale, a Third Age AAR - Completed.
    Reviewed by Alwyn in the Critics Quill
    My Dread Lady, a Warcraft Total War AAR - A few chapters done.
    Home to Midgard, a Third Age AAR about two dwarves, a spy and a diplomat - Completed (pictures remade up to chapter 19).
    Reviewed by Boustrophedon in The Critics Quill

  8. #8

    Default Re: General's Units

    I didn't try starting king but yeah the next king had the default skin.
    "Oh my lords, my brothers, my sons, the everlasting honour of Christians is in your hands."
    Κωνσταντῖνος ΙΑ' Παλαιολόγος

    "il nous faut de l'audace, encore de l'audace, toujours de l'audace, et la France est sauvée"

Posting Permissions

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