Results 1 to 6 of 6

Thread: Creating Your Legion - Database Editing

  1. #1
    Commissar Caligula_'s Avatar The Ecstasy of Potatoes
    Join Date
    Dec 2013
    Location
    The alcoves in the Koningin Astridpark
    Posts
    5,861

    Default Creating Your Legion - Database Editing


    Wallpaper created by Lifthrasir

    Welcome to this modding series,
    Creating Your Legion. This will be a Youtube series consisting of 21 parts in which I will teach you how to do database editing, in particular we'll focus on creating a custom battle faction from scratch.
    It is designed for people with 0 experience, and will not require or involve 3D modelling, texturing or artistic stuff of that nature. In case you don't know what database editing is, it pretty much just requires editing values
    such as this. Subjects we'll cover range from actually creating the unit using pre-existing models, how to get the unit in-game, how to balance it, how to change animations, and much more.

    By the end of the series, I'll have taught you how to edit all of these tables, and how to make the following two units
    Spoiler Alert, click show to read: 






    Table of Contents Credits & Resources
    Episode 1 - Introduction
    Episode 2 - Variantmeshdefinitions
    Episode 3 - Factions
    Episode 4 - Unit Cards
    Episode 5 - Creating the Unit
    Episode 6 - Officers & Standardbearers
    Episode 7 - Horse Variants
    Episode 8 - Armour, Shields & Weapons
    Episode 9 - Unit Animations
    Episode 10 - Battle Entities
    Episode 11 - Custom Projectiles
    Episode 12 - Unit Spacing & Faction Colours
    Episode 13 - Attribute Groups
    Episode 14 - Special Abilities
    Episode 15 - kv_rules, kv_morale & kv_fatigue
    Episode 16 - UI Bulletpoints & Stats
    Episode 17 - Quotes & Advice
    Episode 18 - UI
    Episode 19 - UI Unit Groups
    Episode 20 - Custom Fonts
    Episode 21 - Foreign Language Compatibility


    Credits & Resources
    Petellius
    kam2150
    Magnar
    Sebidee
    Lifthrasir
    WHIT3 BROTH3R
    The Medieval Kingdoms team
    The Total War Karling team
    The Terminus Total War team

    These are the tools that you'll require:
    A legal copy of
    Total War: Attila with the latest patch. You can't mod illegal copies, plus they're illegal of course.
    The Assembly Kit. Follow the instructions in the link, or just navigate to Steam - Library - Tools - Total War: ATTILA - Assembly Kit BETA.
    The Pack File Manager. To install this, make sure the gamedirs.txt file that is installed with the Pack File Manager has a line pointing to wherever you've installed Attila, such as ATW;C:\Program Files (x86)\Steam\steamapps\common\Total War Attila and that you select Attila from this drop down menu.
    Winrar, 7Zip or similar software to compress and extract files (not compulsory, but very useful for modding in general).
    Notepad++ or similar software to edit text files.
    Photoshop, GIMP, paint.net or similar software to edit images.
    The CUF font and text rendering tool (not compulsory).
    The Obscure Mechanics of Total War Attila


    Episode 1 - Introduction


    Episode 2 - Variantmeshdefinitions


    Episode 3 - Factions


    Episode 4 - Unit Cards


    Episode 5 - Creating the Unit


    Episode 6 - Officers & Standardbearers


    Episode 7 - Horse Variants


    Episode 8 - Armour, Shields & Weapons



    Episode 9 - Unit Animations


    Episode 10 - Battle Entities


    Episode 11 - Custom Projectiles


    Episode 12 - Unit Spacing & Faction Colours


    Episode 13 - Attribute Groups


    Episode 14 - Special Abilities


    Episode 15 - kv_rules, kv_morale & kv_fatigue


    Episode 16 - UI Bulletpoints & Stats


    Episode 17 - Quotes & Advice


    Episode 18 - UI


    Episode 19 - UI Unit Groups


    Episode 20 - Custom Fonts


    Episode 21 - Foreign Language Compatibility
    Last edited by Commissar Caligula_; July 04, 2017 at 03:07 AM.




  2. #2
    Commissar Caligula_'s Avatar The Ecstasy of Potatoes
    Join Date
    Dec 2013
    Location
    The alcoves in the Koningin Astridpark
    Posts
    5,861

    Default Re: Creating Your Legion - Database Editing

    Here are some frequently asked questions that may help you.

    Is the animation input in land_units_table important?
    Yes, it is important. It covers what type of animations your unit does. For example, if you have a spear unit you want to decide whether it should be a Two Handed Spear Unit, or a Spear and Shield unit. You would then apply the correct animation to that unit, to ensure it functions properly.

    Why do animations have "precursor" in their name, and what does that mean?
    Precursor refers to the way that a unit throws their missile unit. For example, in Rome 2 the Roman Legionarys throw their javelin during their charge animation, when they're about 10 to 20 metres away from their enemy. This is due to precursor animations.
    If you want the unit to be a javelin skirmisher, you would give them normal javelin animations, and they can throw the javelin at any time they are in range of the enemy rather than only during the charge animation.

    What if I don't want a unit to throw javelins, or be mounted on a horse but the animation says they must be?
    In Attila, Creative Assembly decided to merge animations. For example, rome_man_sword_shield_javelin_horse animations have all of the javelin and horse animations built in, but they are not actually used if you DON'T give them a mount, ammo or a missile weapon.

    What does the cdir_military_generator_unit_qualities table do?
    I'm honestly not sure haha. It is either related to campaign auto-resolve strenght, or it affects the likelihood of the computer giving you that unit when it automatically fills your roster, or the AI's roster in custom battles.
    I would more lean towards the second option. I generally just give all units the same number, or just put their unit cost in there.
    If you have more than 50 units in a faction, I believe you have to you have to give all of your units a quality value of 0 to prevent your game crashing.
    Last edited by Commissar Caligula_; July 05, 2017 at 09:29 PM.




  3. #3
    FrozenmenSS's Avatar Senator
    Join Date
    Apr 2013
    Location
    Silistra,Bulgaria
    Posts
    1,015

    Default Re: Creating Your Legion - Database Editing

    What about creating a custom Campaign faction from scratch(or editing exicting ones) and making it playable? This problem is also in high demand for new tutorial for the people ,who are starting to learn to do it. As of right now everything on the subject is spread out in at least 10+ threads in TWC for both Attila and Rome 2 with no consistency and people are getting lost for the most part creating/unlocking a Campaign faction(or editing exicting ones) and making it playable with no crashes for example in turn 50 in their modded campaigns.

    Fast Examples:
    - Political system
    - Family Tree
    - Victory conditions
    - Starting positions
    - Custom
    Character names
    - even things like Custom
    Cultures
    and so on.
    Last edited by FrozenmenSS; June 30, 2017 at 10:47 AM.

  4. #4
    Commissar Caligula_'s Avatar The Ecstasy of Potatoes
    Join Date
    Dec 2013
    Location
    The alcoves in the Koningin Astridpark
    Posts
    5,861

    Default Re: Creating Your Legion - Database Editing

    I've got 0 experience with campaign stuff for Attila so I couldn't really do any tutorial stuff on it.
    I did make a guide on doing it for Rome 2 a few years ago, although I've got no idea how applicable it is to Attila. Here's Dresden's original guide, and my guide which expands on a few things.

    I think someone on the Ancient Empires team, either ABH or Petellius, knows how to create a campaign faction from scratch. I'd definitely like to know how as well.
    Last edited by Commissar Caligula_; June 30, 2017 at 10:36 AM.




  5. #5
    Gyan-Avspar's Avatar Foederatus
    Join Date
    Aug 2017
    Location
    Islamic Republic of Iran,Mazandaran,Chalus
    Posts
    44

    Default Re: Creating Your Legion - Database Editing

    Useful,thanks.

  6. #6

    Default Re: Creating Your Legion - Database Editing

    There is a lot of interesting information. Thanks for your job!

Tags for this Thread

Posting Permissions

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