Results 1 to 7 of 7

Thread: 2 quick questions

Hybrid View

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

    Default 2 quick questions

    1) which files should i edit to have shared ownership of the unit? So far i moved unit cards into the other factions subfolder and edited the edu file ownership line. The units appear on custom battles unit selection of the new faction but when it loads the battle it crashes.
    2) how can i edit the resource that generals are named of (for greek faction) i.e. instead of xxxxx of Dyrrachium to have xxxxx of thebes. This of course is not about original family members its about captains that promote to generals and adoptions thru marriages

    Thanks

  2. #2

    Default Re: 2 quick questions

    Moved both unit and unit_info cards?

    data/descr_names.txt and data/text/names.txt

  3. #3

    Default Re: 2 quick questions

    thanks again Aradan. Here is an update.
    the unit plays now in custom battle but it goes like this. for greek units i put in macedon faction it has painted them black (not looking good). for macedon units i put in greeks it painted them white. may i should add another sprite line below the original sprite line in descr_model_battle for the other faction telling the computer to keep the same sprite?

  4. #4
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: 2 quick questions

    You need to edit the DMB file and add an entry for the sprites/skins for the new faction (make it look like the old one but with the new factions name).
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  5. #5

    Default Re: 2 quick questions

    if i get that right apart from editing the DMB i will have to save as (new owning faction) the original sprite in the data/sprites subfolder.
    Right? Or thats not needed because i want the original unit appeance (unlike the roman factions which use different colourd for same units)

  6. #6
    Squid's Avatar Opifex
    Patrician Artifex Technical Staff

    Join Date
    Feb 2007
    Location
    Frozen waste lands of the north
    Posts
    17,751
    Blog Entries
    3

    Default Re: 2 quick questions

    Code:
    .
    .
    .
    texture			parthia, data/models_unit/textures/MOUNT/camel_cataphract_parthia_wb.tga
    .
    .
    .
    model_sprite		parthia, 100.0, data/sprites/parthia_camel_cataphract_sprite.spr
    .
    .
    .
    You don't need to do anything to the picture files if you want the unit to look the same for the new faction. For example if you had the above lines for sprites/textures to give the same texture to armenia you would add two lines to the above entry so it looks like this:

    Code:
    .
    .
    .
    texture			parthia, data/models_unit/textures/MOUNT/camel_cataphract_parthia_wb.tga
    texture			armenia, data/models_unit/textures/MOUNT/camel_cataphract_parthia_wb.tga.
    .
    .
    model_sprite		parthia, 100.0, data/sprites/parthia_camel_cataphract_sprite.spr
    model_sprite		armenia, 100.0, data/sprites/parthia_camel_cataphract_sprite.spr.
    .
    .
    Under the patronage of Roman_Man#3, Patron of Ishan
    Click for my tools and tutorials
    "Two things are infinite: the universe and human stupidity; and I'm not sure about the universe." -----Albert Einstein

  7. #7

    Default Re: 2 quick questions

    thanks a lot . thats all i need. Cheers

Posting Permissions

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