Results 1 to 5 of 5

Thread: Wierd unit view

Hybrid View

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

    Default Wierd unit view

    Currently I'm adding in some non-mercenary Samnite units (Planning on making the Julii into a Samnite faction because I'm not using any of the Roman Houses currently) and I've been having some weird views when I go into battle with the Samnite Warriors. They show up the proper color when I zoom in (Red) but when I'm zoomed out, they're green.

    I was wonder if any of you've had this problem with units, and how you've managed to fix it. (As you can see, the unit cards are messed up but it doesn't really matter right now)

  2. #2
    MasterOfNone's Avatar RTW Modder 2004-2015
    Join Date
    May 2005
    Location
    England
    Posts
    16,707

    Default Re: Wierd unit view

    Well, you have to generate new sprites if you change the texture - or at least use ones with a similar colour...

    Tutorials for creating a new unit should cover this....
    "One of the most sophisticated Total War mods ever developed..."
    The Fourth Age: Total War - The Dominion of Men

  3. #3

    Default Re: Wierd unit view

    The only things I changed for the unit were adding it as a new unit in export_descr_unit
    Spoiler Alert, click show to read: 

    type samnite
    dictionary samnite ; Samnite Warriors
    category infantry
    class light
    voice_type Heavy_1
    soldier roman_samnite_warrior, 40, 0, 1
    attributes sea_faring, hide_forest, can_sap
    formation 1, 1, 2, 2, 4, square
    stat_health 1, 0
    stat_pri 5, 2, no, 0, 0, melee, simple, piercing, spear, 25 ,0.73
    stat_pri_attr spear, spear_bonus_8
    stat_sec 0, 0, no, 0, 0, no, no, no, none, 25 ,1
    stat_sec_attr no
    stat_pri_armour 5, 4, 5, metal
    stat_sec_armour 0, 0, flesh
    stat_heat 3
    stat_ground 2, 0, 3, 0
    stat_mental 4, normal, trained
    stat_charge_dist 30
    stat_fire_delay 0
    stat_food 60, 300
    stat_cost 1, 450, 170, 50, 70, 450
    ownership romans_julii


    And adding a new description for the new unit in export_units
    Spoiler Alert, click show to read: 
    {samnite} Samnite Warriors

    {samnite_descr}
    Sapping Ability\n\nSamnite Warriors are relatively dependable light infantry but should not be expected to hold crucial sections of a battle line. They are not capable of standing up to professional heavy infantry, but their spears, bronze breastplates and large shields make them suited to fighting against light and medium cavalry.\n\nThe Samnites come from the Apennine highlands of central and southern Italy.

    {samnite_descr_short}
    Samnite Warriors are dependable light infantry, but should not be expected to hold crucial sections of a battle line.

  4. #4

    Default Re: Wierd unit view

    Is there a romans_julli sprite line in the model's entry in descr_model_battle?

  5. #5

    Default Re: Wierd unit view

    I believe so, lemme check real quick

    Edit: Woops, it was technically there, except I forgot the s on romans. Thanks for your help guys,

    Edit: Edit: darn, still not working.

    Edit: Edit: Edit: I figured out what was wrong, I didn't have a sprites folder. I add that in and everything works now. Thanks for the help and putting up with a modder who can't mod!
    Last edited by SomeMan; August 31, 2009 at 08:04 PM.

Posting Permissions

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