Results 1 to 9 of 9

Thread: Adding A unit Class

Hybrid View

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

    Default Adding A unit Class

    has anyone had any success in adding a new unit class to the game. the reason i am attempting to do this is i am a little sick of the game building units such as the black watch and giving them the title 1st foot guard. as its the unit class that determines the generated name, i thus wish to make the game give the units customized names. to do this i need to make a new class for every unit. i have tried adding my new class in the unit_class table and to the unit_regiment_names table but when i change the unit class (in this case the black watch) from elite infantry to 42_regiment(new class name) the game will crash to desktop has anyone got any ideas

  2. #2

    Default Re: Adding A unit Class

    You can rename the unit. double left click on the icon, or right click, I forget which one, and click on the name in their description, then type in the name you wish.

  3. #3

    Default Re: Adding A unit Class

    I have gotten to the point where it doesn't CTD, but no, I have not been able to add new unit classes yet.

    And at least some of what you're looking to do involves modifying the startpos.
    Every day takes figuring out all over again how to live.

  4. #4

    Default Re: Adding A unit Class

    Quote Originally Posted by The Vicar View Post
    I have gotten to the point where it doesn't CTD, but no, I have not been able to add new unit classes yet.

    And at least some of what you're looking to do involves modifying the startpos.
    SO I assume you're talking about classes like light infantry, heavy cavalry, etc, and the OP was about changing the black watch from line to 42_something. If you're talking about the naming of units then just ignore me.

    I wanted to try something like that in the future. When you add the class to a unit, what happens exactly? Does it simply not show up?

    @lord Clifford
    maybe you need to make an entry in the ai tables, I think there are entries for the priority the ai places on recruiting each class
    Developer of The Great War | Leader of WW2: Sandstorm | Under the Woolen Patronage of Mitch | King of All

    Quote Originally Posted by Admiral Van Tromp View Post
    History has always been a bit of the State's slut.

  5. #5

    Default Re: Adding A unit Class

    You can make new unit classes, defined in the DB (I forget which table right now. units_to_unit_classes or something, maybe?). BUT, you'll notice that when you recruit a new unit of said new unit class, the name that the game gives it is screwed up. It's something that I'm halfway-sortof-continuing to look into, but so far I haven't gotten anywhere.
    Every day takes figuring out all over again how to live.

  6. #6

    Default Re: Adding A unit Class

    Quote Originally Posted by The Vicar View Post
    You can make new unit classes, defined in the DB (I forget which table right now. units_to_unit_classes or something, maybe?). BUT, you'll notice that when you recruit a new unit of said new unit class, the name that the game gives it is screwed up. It's something that I'm halfway-sortof-continuing to look into, but so far I haven't gotten anywhere.
    Ok, well post here if you get it to work
    Developer of The Great War | Leader of WW2: Sandstorm | Under the Woolen Patronage of Mitch | King of All

    Quote Originally Posted by Admiral Van Tromp View Post
    History has always been a bit of the State's slut.

  7. #7

    Default Re: Adding A unit Class

    Ugh, New Unit Class? Why cant you just put in a New UNIT.

  8. #8

    Default Re: Adding A unit Class

    Quote Originally Posted by Blucher View Post
    Ugh, New Unit Class? Why cant you just put in a New UNIT.
    Because thats not my problem. Like in TGW, I added alpini and alpenkorps, but I can't make a unit class called mountain infantry to differentiate them. As it stands, they're listed as line infantry, or in this case Rifle Battalion.
    Developer of The Great War | Leader of WW2: Sandstorm | Under the Woolen Patronage of Mitch | King of All

    Quote Originally Posted by Admiral Van Tromp View Post
    History has always been a bit of the State's slut.

  9. #9
    Steph's Avatar Maréchal de France
    Patrician Artifex

    Join Date
    Apr 2010
    Location
    Pont de l'Arn, France
    Posts
    9,174

    Default Re: Adding A unit Class

    Did you manage to add a new class or not?

Posting Permissions

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