Results 1 to 3 of 3

Thread: Traits

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Buhawi's Avatar Foederatus
    Join Date
    Jun 2009
    Location
    Hawaii
    Posts
    29

    Default Traits

    Is it possible to edit or add traits that agents and generals could get in-game?

    To clarify, I'm not looking to directly add a trait to a character, but a whole set of traits that is possible for all characters to get.

    I would appreciate any help.

  2. #2
    alpaca's Avatar Harbinger of saliva
    Join Date
    Sep 2005
    Location
    Germany
    Posts
    4,811

    Default Re: Traits

    Yeah, look at APE:TI's mod core file. I added region traits but it's mostly the same for character traits.

    Just do what I did for the traits and you'll be fine. You have to add a new entry to the traits list, add levels for the trait, add effects to the levels, if you need to define an anti-trait and then create triggers like in the vanilla triggers.lua file (get it from patch.pack). Then you will have to add names and descriptions to the localisation files, and you should be fine. It's a bit complicated so don't get disparaged if you have to try it three or four times until you get it to work properly - I had to do it like ten times because I hadn't seen the traits list file for example.

    No thing is everything. Every thing is nothing.

  3. #3
    Buhawi's Avatar Foederatus
    Join Date
    Jun 2009
    Location
    Hawaii
    Posts
    29

    Default Re: Traits

    Thank you for the help!


Posting Permissions

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