1. Dismiss Notice
  2. GOG.com logo

    Thanks to YOUR votes, GOG.com now sells:
    - Sea Dogs - Sea Dogs: Caribbean Tales
    - Sea Dogs: City of Abandoned Ships

    Vote now to add Pirates of the Caribbean to the list!

    Dismiss Notice
  3. Under the Crossbones Podcast

    A Pirate Podcast with Interviews
    Music, Comedy and all things Pirate!

    - Episode Guide - About - Subscribe -
    - Twitter - Facebook - iTunes - Android -
    - Youtube - Fill the Coffers -

    Dismiss Notice
  4. New Horizons logo

    Quick links for PotC: New Horizons
    - Download latest version
    - Wiki - FAQ - Report bugs here
    - ModDB profile

  5. GOF logo

    Quick links for AoP2: Gentlemen of Fortune 2
    - Downloads and info
    - Historical Immersion Supermod
    - ModDB Profile

Dismiss Notice
New to the forum?
Please take a moment to read our Welcome Message and Forum Rules.

Included in Build Changed female animations

Discussion in 'Features Archive' started by Grey Roger, Oct 10, 2016.

  1. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,415
    The attached file contains revised "initModels.c" and "characters.c" which, between them, should allow female characters a lot more freedom of action.

    As reported here:
    Screenshots thread | Page 63 | PiratesAhoy!
    the "BeatriceA" model did not work when the officer using it was sitting down. This is because "BeatriceA" uses the "Beatrice.ani" animation file, which has no entries for sitting animations.

    A bit of experimenting with "Animation Viewer" and "TOOL" shows that almost all female models are quite happy to use the "woman_sit.ani" animation instead. The few that aren't, e.g. "33_Blazie", have their own specific animations. So this version of "initModels.c" has the female model entries changed accordingly.

    Variants of "Danielle" already used "woman_sit.ani". Even so, if you capture a colony for yourself and try installing one as a governor, and that governor normally sits, it doesn't work. It turns out that "characters.c" calls for a set of governor-specific animations, and female animation files don't have them. Two files control an animation; a ".an" file which I'm guessing controls the actual moving of polygons, and a ".ani" file which references various sections of the ".an" file, labelling the sections for use by other game code. Altering the ".an" file is beyond me. The ".ani" file is plain text and easily edited, but can't create an animation if it's not in the ".an" file. I got "Animation Viewer" to play the whole lot from frame 1 to the end, and "woman_sit.an" just doesn't have the animations used by governors. So the best I could do is amend "characters.c" to have female governors use some of the tavern sitting sequences instead. The results, after some major jiggerypokery with "console.c", are as follows:
    Three of Speightstown's permanent female residents conscripted as officers and made to sit in the tavern:
    tavern_women1.jpg

    Beatrice Applegate now using the aptly named "BeatriceA" model, the subject of the original report:
    tavern_women2.jpg

    Contre-Amiral Beauregard and Isabel de Cussy have swapped places:
    townhall.jpg
     

    Attached Files:

    Talisman and Pieter Boelen like this.
  2. Levis

    Levis Find(Rum) = false; Staff Member Programmer Creative Support Storm Modder

    Joined:
    Oct 6, 2013
    Messages:
    6,707
    Gender:
    Male
    Occupation:
    ICT
    Location:
    University Twente (Netherlands)
    The last screenshot isn't very ladylike now is it ;).
     
  3. Grey Roger

    Grey Roger Sea Dog Staff Member Storm Modder

    Joined:
    Feb 12, 2007
    Messages:
    6,415
    Well, no. She's evidently decided that the piece of paper on her desk is more important than you. :p
     
    Levis likes this.
  4. Pieter Boelen

    Pieter Boelen (Not So) Old Seadog Staff Member Administrator Storm Modder Hearts of Oak Donator

    Joined:
    Nov 11, 2004
    Messages:
    66,623
    Gender:
    Male
    Occupation:
    Maritime Research: Project Engineer (Analysis)
    Location:
    Wageningen, The Netherlands

Share This Page