Modding Help New Race Mod Help .Species file

Discussion in 'Starbound Modding' started by Mimaah, Sep 5, 2015.

  1. Mimaah

    Mimaah Phantasmal Quasar

    Same out of range error at the end.

    I've opened Starbound three times now and it loads up to the character creation screen and as soon as I choose my race mod, it does the Fatal Exception caught: (OutOfRangeException)[DOUBLEPOST=1441483521][/DOUBLEPOST]I just downloaded and installed and it's doing the same error when I select my race again.. Have no idea what's causing this.[DOUBLEPOST=1441483637][/DOUBLEPOST]A funny thing to mention is, I already had a character of my race loaded (to test the sprites) so instead of going to make a new character and chose my race, I selected the already made character and managed to load to my ship. The error must be in between there.. If that helps a bit.
     
    Last edited: Sep 5, 2015
  2. C0bra5

    C0bra5 Oxygen Tank

    welp in that case i have no idea, normally it means that one of the options you are using is either too long, or that you are making an array too long.[DOUBLEPOST=1441483960][/DOUBLEPOST]also try checking your universe_server.config.patch to check if you race has exactly 9 tiers of ships available.
     
  3. Mimaah

    Mimaah Phantasmal Quasar

    Think anyone else would know what's wrong? If you want I can upload the files here if you want to take a look at them.

    Yep the patch has from T0 to T8.
     
  4. C0bra5

    C0bra5 Oxygen Tank

    you could but the error is sooo generic, diagnosing it is literally a nightmare, are you sure the log isn't longer?
     
  5. Mimaah

    Mimaah Phantasmal Quasar

    Nope, this is the log I'm getting every time I select the race and crash.



    Start logging at: 2015-09-06 04:17:16.514
    [04:17:16.515] Info: Star::Root using bootstrap file 'C:\Program Files (x86)\Steam\steamapps\common\Starbound\win32\sbboot.config'
    [04:17:16.515] Info: Star::Root using storage directory 'C:\Program Files (x86)\Steam\steamapps\common\Starbound\giraffe_storage\'
    [04:17:16.515] Info: Preparing Star::Root...
    [04:17:16.515] Info: Detected mod 'The Pony Modpack' at '../giraffe_storage/mods\The Pony Modpack V2.1.3\.'
    [04:17:16.515] Info: Detected mod 'Chitten Race Mod' at '../giraffe_storage/mods\ChittenRace\.'
    [04:17:16.516] Info: Loading Configuration with config file: 'starbound.config'
    [04:17:16.516] Info: Loading Star::Configuration from 'Just (.\..\giraffe_storage\starbound.config)'
    [04:17:16.517] Info: Writing Star::Configuration to '.\..\giraffe_storage\starbound.config'
    [04:17:16.519] Info: Initializing Star::Root with 4 assets sources
    [04:17:16.519] Info: Done preparing Star::Root.
    [04:17:16.519] Info: Client Version 'Beta v. Pleased Giraffe - Update 4' Revision: 5184a3ff872476a2d102c534b1b27e7e7b99c2b4 Protocol: 691
    [04:17:16.519] Info: Initialized SDL
    [04:17:16.528] Info: Initialized SDL Video
    [04:17:16.538] Info: Initialized SDL Joystick
    [04:17:16.539] Info: Initialized SDL Sound
    [04:17:16.547] Info: Opened default audio device with 44khz / 16 bit stereo audio, 2048 sample size buffer
    [04:17:16.548] Info: Loading Assets
    [04:17:16.548] Info: Loading assets from: '../assets/packed.pak'
    [04:17:16.548] Info: Loading assets from: '../assets/user'
    [04:17:16.548] Info: Loading assets from: '../giraffe_storage/mods\The Pony Modpack V2.1.3\.'
    [04:17:16.548] Info: Loading assets from: '../giraffe_storage/mods\ChittenRace\.'
    [04:17:16.795] Info: Done loading Assets in 0.247 seconds
    [04:17:16.797] Info: Loading NameGenerator
    [04:17:16.798] Info: Initializing SDL Window
    [04:17:16.801] Info: Done loading NameGenerator in 0.00400019 seconds
    [04:17:16.801] Info: Loading ObjectDatabase
    [04:17:16.835] Info: Created initial window 704x861
    [04:17:16.842] Info: Renderer initialized
    [04:17:16.843] Info: Renderer destroyed
    [04:17:16.843] Info: Initializing SDL Window
    [04:17:16.885] Info: Re-created window 1858x1057
    [04:17:16.900] Info: Renderer initialized
    [04:17:16.900] Info: Loading ImageMetadataDatabase
    [04:17:16.900] Info: Done loading ImageMetadataDatabase in 0 seconds
    [04:17:17.441] Info: Done loading ObjectDatabase in 0.64 seconds
    [04:17:17.441] Info: Loading PlantDatabase
    [04:17:17.564] Info: Done loading PlantDatabase in 0.123 seconds
    [04:17:17.564] Info: Loading ProjectileDatabase
    [04:17:17.755] Info: Done loading ProjectileDatabase in 0.191 seconds
    [04:17:17.755] Info: Loading MonsterDatabase
    [04:17:18.059] Info: Done loading MonsterDatabase in 0.304 seconds
    [04:17:18.059] Info: Loading NpcDatabase
    [04:17:18.118] Info: Done loading NpcDatabase in 0.059 seconds
    [04:17:18.119] Info: Loading StagehandDatabase
    [04:17:18.121] Info: Done loading StagehandDatabase in 0.00300002 seconds
    [04:17:18.121] Info: Loading PlayerFactory
    [04:17:18.131] Info: Done loading PlayerFactory in 0.00999999 seconds
    [04:17:18.131] Info: Loading EntityFactory
    [04:17:18.132] Info: Loading VersioningDatabase
    [04:17:18.132] Info: Done loading VersioningDatabase in 0 seconds
    [04:17:18.132] Info: Done loading EntityFactory in 0.000999928 seconds
    [04:17:18.132] Info: Loading ItemDatabase
    [04:17:18.411] Info: Renderer destroyed
    [04:17:18.412] Info: Initializing SDL Window
    [04:17:18.431] Info: Re-created window 1440x877
    [04:17:18.447] Info: Renderer initialized
    [04:17:21.519] Info: Writing Star::Configuration to '.\..\giraffe_storage\starbound.config'
    [04:17:23.584] Info: Loading FunctionDatabase
    [04:17:23.597] Info: Done loading FunctionDatabase in 0.013 seconds
    [04:17:23.598] Info: Loading ParticleDatabase
    [04:17:23.686] Info: Done loading ParticleDatabase in 0.0880001 seconds
    [04:17:25.586] Info: Done loading ItemDatabase in 7.454 seconds
    [04:17:25.586] Info: Loading MaterialDatabase
    [04:17:25.648] Info: Done loading MaterialDatabase in 0.062 seconds
    [04:17:25.648] Info: Loading TerrainDatabase
    [04:17:25.659] Info: Done loading TerrainDatabase in 0.0109999 seconds
    [04:17:25.659] Info: Loading BiomeDatabase
    [04:17:25.712] Info: Done loading BiomeDatabase in 0.0530002 seconds
    [04:17:25.712] Info: Loading LiquidsDatabase
    [04:17:25.713] Info: Done loading LiquidsDatabase in 0.000999928 seconds
    [04:17:25.713] Info: Loading StatusEffectDatabase
    [04:17:25.744] Info: Done loading StatusEffectDatabase in 0.0309999 seconds
    [04:17:25.744] Info: Loading DamageDatabase
    [04:17:25.845] Info: Done loading DamageDatabase in 0.101 seconds
    [04:17:25.845] Info: Loading EffectSourceDatabase
    [04:17:25.872] Info: Done loading EffectSourceDatabase in 0.027 seconds
    [04:17:25.872] Info: Loading TreasureDatabase
    [04:17:25.898] Info: Done loading TreasureDatabase in 0.026 seconds
    [04:17:25.898] Info: Loading DungeonDefinitions
    [04:17:26.200] Info: Done loading DungeonDefinitions in 0.302 seconds
    [04:17:26.200] Info: Loading EmoteProcessor
    [04:17:26.200] Info: Done loading EmoteProcessor in 0 seconds
    [04:17:26.200] Info: Loading SpeciesDatabase
    [04:17:26.215] Info: Done loading SpeciesDatabase in 0.0149999 seconds
    [04:17:26.215] Info: Loading QuestTemplateDatabase
    [04:17:26.231] Info: Done loading QuestTemplateDatabase in 0.016 seconds
    [04:17:26.231] Info: Loading AiDatabase
    [04:17:26.267] Info: Done loading AiDatabase in 0.036 seconds
    [04:17:26.268] Info: Loading TechDatabase
    [04:17:26.275] Info: Done loading TechDatabase in 0.00699997 seconds
    [04:17:26.275] Info: Loading CodexDatabase
    [04:17:26.335] Info: Done loading CodexDatabase in 0.0599999 seconds
    [04:17:26.335] Info: Loading BehaviorDatabase
    [04:17:26.378] Info: Done loading BehaviorDatabase in 0.043 seconds
    [04:17:26.378] Info: Done fully loading Star::Root
    [04:17:26.379] Info: Renderer destroyed
    [04:17:26.964] Info: Renderer initialized
    [04:17:33.508] Info: Shutting down Star::Root
    [04:17:33.626] Error: Fatal Exception caught: (OutOfRangeException)


     
  6. C0bra5

    C0bra5 Oxygen Tank

    i checked you .species file again and what is that facial group, i don't regognise the word pattern, notmally it is used for the eye and it called eyes(as far as i know)
    my code looks like that
    Code:
    "facialMaskGroup" : "eyes",
    "facialMask" : [ "4", "4a", "4b", "4c", "4D", "4e", "4f", "5", "5a", "5b", "5c", "5D", "5e", "5f" ]
    
     
  7. Mimaah

    Mimaah Phantasmal Quasar

    This is my current .species file:



    {
    "kind" : "chitten",
    "nameGen" : [ "/species/chittennamegen.config:names", "/species/chittennamegen.config:names" ],
    "ouchNoises" : [ "/sfx/humanoid/avianhurt_male1.wav", "/sfx/humanoid/avianhurt_female1.wav" ],
    "gruntNoises" : [ [ "/sfx/humanoid/aviangrunt1.wav", "/sfx/humanoid/aviangrunt2.wav" ], [ "/sfx/humanoid/aviangrunt1.wav", "/sfx/humanoid/aviangrunt2.wav" ] ],
    "charGenTextLabels" : [ "FUR COLOR", "HAIR STYLE", "SHIRT", "PANTS", "BELLY COLOR", "FACE PATTERN", "SHIRT COLOR", "PANTS COLOR", "CHITTEN", "PERSONALITY" ],
    "skull" : "/humanoid/chitten/dead.png",
    "defaultBlueprints" : {
    "tier1" : [
    { "item" : "aviantier1hammer" },
    { "item" : "aviantier1shortsword" },
    { "item" : "aviantier1broadsword" },
    { "item" : "aviantier1spear" },
    { "item" : "aviantier1axe" },
    { "item" : "aviantier1dagger" },
    { "item" : "aviantier1head" },
    { "item" : "aviantier1chest" },
    { "item" : "aviantier1pants" },
    { "item" : "avianadventurershirt" },
    { "item" : "avianadventurerpants" },
    { "item" : "aviancommonershirt" },
    { "item" : "aviancommonerlegs" },
    { "item" : "avianfancyshirt" },
    { "item" : "avianfancyskirt" },
    { "item" : "avianworkershirt" },
    { "item" : "avianworkerpants" },
    { "item" : "aviannudeshirt" },
    { "item" : "aviannudepants" },

    { "item" : "avianstoragelocker" },

    { "item" : "flagavian" },

    // { "item" : "aviantier2head" },
    // { "item" : "aviantier2chest" },
    // { "item" : "aviantier2pants" },
    { "item" : "aviantier2hammer" },
    { "item" : "aviantier2shortsword" },
    { "item" : "aviantier2broadsword" },
    { "item" : "aviantier2spear" },
    { "item" : "aviantier2axe" },
    { "item" : "aviantier2dagger" },

    { "item" : "aviantier3head" },
    { "item" : "aviantier3chest" },
    { "item" : "aviantier3pants" },
    { "item" : "aviantier3hammer" },
    { "item" : "aviantier3shortsword" },
    { "item" : "aviantier3broadsword" },
    { "item" : "aviantier3spear" },
    { "item" : "aviantier3axe" },
    { "item" : "aviantier3dagger" },

    // { "item" : "aviantier4head" },
    // { "item" : "aviantier4chest" },
    // { "item" : "aviantier4pants" },
    { "item" : "aviantier4hammer" },
    { "item" : "aviantier4shortsword" },
    { "item" : "aviantier4broadsword" },
    { "item" : "aviantier4spear" },
    { "item" : "aviantier4axe" },
    { "item" : "aviantier4dagger" },

    { "item" : "aviantier5ahead" },
    { "item" : "aviantier5achest" },
    { "item" : "aviantier5apants" },
    { "item" : "aviantier5dagger" },

    { "item" : "aviantier5mhead" },
    { "item" : "aviantier5mchest" },
    { "item" : "aviantier5mpants" },

    { "item" : "aviantier5shead" },
    { "item" : "aviantier5schest" },
    { "item" : "aviantier5spants" },
    { "item" : "aviantier8hammer" },
    { "item" : "aviantier8shortsword" },
    { "item" : "aviantier8broadsword" },
    { "item" : "aviantier8spear" },
    { "item" : "aviantier8axe" },
    { "item" : "aviantier8dagger" },

    // { "item" : "aviantier6ahead" },
    // { "item" : "aviantier6achest" },
    // { "item" : "aviantier6apants" },
    { "item" : "aviantier6dagger" },

    // { "item" : "aviantier6mhead" },
    // { "item" : "aviantier6mchest" },
    // { "item" : "aviantier6mpants" },

    // { "item" : "aviantier6shead" },
    // { "item" : "aviantier6schest" },
    // { "item" : "aviantier6spants" },
    { "item" : "aviantier10hammer" },
    { "item" : "aviantier10shortsword" },
    { "item" : "aviantier10broadsword" },
    { "item" : "aviantier10spear" },
    { "item" : "aviantier10axe" },
    { "item" : "aviantier10dagger" }
    ]
    },

    "headOptionAsFacialhair" : true,
    "altOptionAsFacialMask" : true,
    "bodyColorAsFacialMaskSubColor" : true,
    "altColorAsFacialMaskSubColor" : true,
    "genders" : [
    {
    "name" : "male",
    "image" : "/interface/title/male.png",
    "characterImage" : "/interface/title/chittenmale.png",
    "hairGroup" : "hair",
    "hair" : [ "1", "2", "3", "4", "5", "6" ],
    "shirt" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt", "aviannudeshirt" ],
    "pants" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt", "avianworkerpants", "aviannudepants" ],
    "facialHairGroup" : "",
    "facialHair" : [ ],
    "facialMaskGroup" : "pattern",
    "facialMask" : [ "1", "2", "3", "4", "5", "6" ]
    },
    {
    "name" : "female",
    "image" : "/interface/title/female.png",
    "characterImage" : "/interface/title/chittenfemale.png",
    "hairGroup" : "hair",
    "hair" : [ "1", "2", "3", "4", "5", "6" ],
    "shirt" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt", "aviannudeshirt" ],
    "pants" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt", "avianworkerpants", "aviannudepants" ],
    "facialHairGroup" : "",
    "facialHair" : [ ],
    "facialMaskGroup" : "pattern",
    "facialMask" : [ "1", "2", "3", "4", "5", "6" ]
    }
    ],
    "bodyColor" : [
    // { "6f2919" : "DARKER", "a85636" : "DARK ", "e0975c" : "NORMAL", "ffca8a" : "LIGHT "}, // Base

    { "6f2919" : "412F1D", "a85636" : "775E42", "e0975c" : "A0805E", "ffca8a" : "CAA881" }, // Brown
    { "6f2919" : "3F2306", "a85636" : "5E4529", "e0975c" : "876745", "ffca8a" : "B18F68" }, // Saturated Brown
    { "6f2919" : "513B2B", "a85636" : "766250", "e0975c" : "978574", "ffca8a" : "BAADA0" }, // Greyish Brown
    { "6f2919" : "4F3D2B", "a85636" : "8A7155", "e0975c" : "B69674", "ffca8a" : "E5C39C" }, // Light Brown
    { "6f2919" : "3D3022", "a85636" : "725F4A", "e0975c" : "998168", "ffca8a" : "C3A98C" }, // Desaturated Brown
    { "6f2919" : "482D13", "a85636" : "805C33", "e0975c" : "AC7E4D", "ffca8a" : "D7A66D" }, // Light Saturated Brown
    { "6f2919" : "453317", "a85636" : "7D6438", "e0975c" : "A88852", "ffca8a" : "D3B174" }, // Yellowish
    { "6f2919" : "452317", "a85636" : "7D4C38", "e0975c" : "A86A52", "ffca8a" : "D38F74" }, // Red
    { "6f2919" : "1C1A18", "a85636" : "46403E", "e0975c" : "665D56", "ffca8a" : "837667" }, // Black
    { "6f2919" : "4A413F", "a85636" : "907D71", "e0975c" : "B6A095", "ffca8a" : "DEC7BF" } // White
    ],
    "undyColor" : [ "" ],
    "hairColor" : [
    // { "951500" : "DARK ", "be1b00" : "NORMAL", "dc1f00" : "LIGHT " },

    // Body Colour as Hair Colour
    { "951500" : "412F1D", "be1b00" : "775E42", "dc1f00" : "A0805E" }, // Brown
    { "951500" : "3F2306", "be1b00" : "5E4529", "dc1f00" : "876745" }, // Saturated Brown
    { "951500" : "513B2B", "be1b00" : "766250", "dc1f00" : "978574" }, // Greyish Brown
    { "951500" : "4F3D2B", "be1b00" : "8A7155", "dc1f00" : "B69674" }, // Light Brown
    { "951500" : "3D3022", "be1b00" : "725F4A", "dc1f00" : "998168" }, // Desaturated Brown
    { "951500" : "482D13", "be1b00" : "805C33", "dc1f00" : "AC7E4D" }, // Light Saturated Brown
    { "951500" : "453317", "be1b00" : "7D6438", "dc1f00" : "A88852" }, // Yellowish
    { "951500" : "452317", "be1b00" : "7D4C38", "dc1f00" : "A86A52" }, // Red
    { "951500" : "1C1A18", "be1b00" : "46403E", "dc1f00" : "665D56" }, // Black
    { "951500" : "4A413F", "be1b00" : "907D71", "dc1f00" : "B6A095" }, // White
    // Unique Hair Colour
    { "951500" : "553428", "be1b00" : "A35638", "dc1f00" : "C97354" }, // Reddish Orange
    { "951500" : "553C28", "be1b00" : "A36838", "dc1f00" : "C98754" }, // Orange
    { "951500" : "503A2C", "be1b00" : "986442", "dc1f00" : "BC825E" }, // Light Orangey Brown
    { "951500" : "50362C", "be1b00" : "985A42", "dc1f00" : "BC775E" }, // Light Reddish Orange
    { "951500" : "564937", "be1b00" : "998261", "dc1f00" : "D7B889" }, // Sand Coloured
    { "951500" : "453826", "be1b00" : "7F6847", "dc1f00" : "B59667" } // Darker Sand Coloured

    ]
    }




    In humanoid/chitten, the two folders are called hair and pattern and both only have 6 files as well as the default.frames.

    One folder is.. well.. hair, the other is facial patterns (similar to the avian beaks but adds white patches to the face). Another problem I have is that the face pattern appears ABOVE the hair on the character in game when the hair should be on top and I'm not sure how to fix that.[DOUBLEPOST=1441484681][/DOUBLEPOST]Edit: I'll try adding that

    Edit edit: the other thing I did/can do is switch it so the facial patterns is in facialMasks and leave facialHairGroup empty. I'll try that again.[DOUBLEPOST=1441484878][/DOUBLEPOST]Switched and still the same error.
     
    Last edited: Sep 5, 2015
  8. C0bra5

    C0bra5 Oxygen Tank

    are the files called 1.png, 2.png. etc, and i checked never mind my last post
     
  9. Mimaah

    Mimaah Phantasmal Quasar

    Yeah, in hair it's 1.png, 2.png, 3.png, 4.png, 5.png and 6.png and same with in the pattern folder too.
     
  10. C0bra5

    C0bra5 Oxygen Tank

    can you post the files? it would be useful i could navigate through it as i try to diagnose.
     
  11. Mimaah

    Mimaah Phantasmal Quasar

    OKAY I got it working with no errors. I copied pattern in both facialHair and facialMask

    "name" : "male",
    "image" : "/interface/title/male.png",
    "characterImage" : "/interface/title/chittenmale.png",
    "hairGroup" : "hair",
    "hair" : [ "1", "2", "3", "4", "5", "6" ],
    "shirt" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt", "aviannudeshirt" ],
    "pants" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt", "avianworkerpants", "aviannudepants" ],
    "facialHairGroup" : "pattern",
    "facialHair" : [ "1", "2", "3", "4", "5", "6" ],
    "facialMaskGroup" : "pattern",
    "facialMask" : [ "1", "2", "3", "4", "5", "6" ]

    "name" : "female",
    "image" : "/interface/title/female.png",
    "characterImage" : "/interface/title/chittenfemale.png",
    "hairGroup" : "hair",
    "hair" : [ "1", "2", "3", "4", "5", "6" ],
    "shirt" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt", "aviannudeshirt" ],
    "pants" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt", "avianworkerpants", "aviannudepants" ],
    "facialHairGroup" : "pattern",
    "facialHair" : [ "1", "2", "3", "4", "5", "6" ],
    "facialMaskGroup" : "pattern",
    "facialMask" : [ "1", "2", "3", "4", "5", "6" ]

    but now I'm back to the start..

    [​IMG]
    (Oops the names are mixed up) But Fur Color is the main body colour, Hair style is well.. Hair, and then both Belly colour and Face pattern do patterns.. (In the screenshot you can see 2 different white patches, both are different patterns. I want the belly colour to change the colour of all the red on the character (like the ear tips, tail and wings etc).
     
  12. C0bra5

    C0bra5 Oxygen Tank

    you should only need the facial mask, because that's the only thing i used and it works fine...
     
  13. Mimaah

    Mimaah Phantasmal Quasar

    When I leave it in the facial mask and get rid of the facial hair, I get the OutOfRange error again when I select the species :\

    Seems the only way for this to work is if I kept it in both but I don't know why the belly colour is seeing the pattern images and not being a color picker and seeing hex codes..
     
  14. C0bra5

    C0bra5 Oxygen Tank

    as for the changing the red color, unless you want the rest of you character th stay the same color and only have the red color cange using the body color or want to use the make a body color with the variabt of your rred color replacement, i don't know of any way to do that.[DOUBLEPOST=1441485698][/DOUBLEPOST]
    it'S brobably because you turned that to true
    "bodyColorAsFacialMaskSubColor" : true,
    "altColorAsFacialMaskSubColor" : true,
    that changes the body color and alternate color to change you hair secondary color.
     
  15. Mimaah

    Mimaah Phantasmal Quasar

    Oh, so if I made "altColorAsFacialMaskSubColor" : false,

    would it take over the Belly Colour slider and not add more face pattern options? I'm going to try that.[DOUBLEPOST=1441485955][/DOUBLEPOST]As soon as I take the options out of the facialHair group I crash when picking my race.

    and the belly colour (I need to rename these; Belly Colour is Secondary colour and Fur colour is Primary Colour so anything cream is Primary and anything Red is Secondary) is anything red
     
  16. C0bra5

    C0bra5 Oxygen Tank

    so that means you face will always be white?
     
  17. Mimaah

    Mimaah Phantasmal Quasar

    Yeah, gotta have a third colour to balance it out :)

    Anyway, I got it working a little.. First I renamed them and switched Belly Colour and Face Pattern around so they're right on the char screen and

    "headOptionAsFacialhair" : false,
    "altOptionAsFacialMask" : true,
    "bodyColorAsFacialMaskSubColor" : true,
    "altColorAsFacialMaskSubColor" : false,
    "genders" : [
    {
    "name" : "male",
    "image" : "/interface/title/male.png",
    "characterImage" : "/interface/title/chittenmale.png",
    "hairGroup" : "hair",
    "hair" : [ "1", "2", "3", "4", "5", "6" ],
    "shirt" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt", "aviannudeshirt" ],
    "pants" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt", "avianworkerpants", "aviannudepants" ],
    "facialHairGroup" : "",
    "facialHair" : [],
    "facialMaskGroup" : "pattern",
    "facialMask" : [ "1", "2", "3", "4", "5", "6" ]
    },
    {
    "name" : "female",
    "image" : "/interface/title/female.png",
    "characterImage" : "/interface/title/chittenfemale.png",
    "hairGroup" : "hair",
    "hair" : [ "1", "2", "3", "4", "5", "6" ],
    "shirt" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt", "aviannudeshirt" ],
    "pants" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt", "avianworkerpants", "aviannudepants" ],
    "facialHairGroup" : "",
    "facialHair" : [],
    "facialMaskGroup" : "pattern",
    "facialMask" : [ "1", "2", "3", "4", "5", "6" ]
    }

    This is the code. Face pattern isn't repeating but my only problem now is the secondary colour slide does absolutely nothing.

    [​IMG][DOUBLEPOST=1441486469][/DOUBLEPOST]This is the full .species code:



    {
    "kind" : "chitten",
    "nameGen" : [ "/species/chittennamegen.config:names", "/species/chittennamegen.config:names" ],
    "ouchNoises" : [ "/sfx/humanoid/avianhurt_male1.wav", "/sfx/humanoid/avianhurt_female1.wav" ],
    "gruntNoises" : [ [ "/sfx/humanoid/aviangrunt1.wav", "/sfx/humanoid/aviangrunt2.wav" ], [ "/sfx/humanoid/aviangrunt1.wav", "/sfx/humanoid/aviangrunt2.wav" ] ],
    "charGenTextLabels" : [ "PRIMARY COLOR", "HAIR STYLE", "SHIRT", "PANTS", "FACE PATTERN", "SECONDARY COLOR", "SHIRT COLOR", "PANTS COLOR", "CHITTEN", "PERSONALITY" ],
    "skull" : "/humanoid/chitten/dead.png",
    "defaultBlueprints" : {
    "tier1" : [
    { "item" : "aviantier1hammer" },
    { "item" : "aviantier1shortsword" },
    { "item" : "aviantier1broadsword" },
    { "item" : "aviantier1spear" },
    { "item" : "aviantier1axe" },
    { "item" : "aviantier1dagger" },
    { "item" : "aviantier1head" },
    { "item" : "aviantier1chest" },
    { "item" : "aviantier1pants" },
    { "item" : "avianadventurershirt" },
    { "item" : "avianadventurerpants" },
    { "item" : "aviancommonershirt" },
    { "item" : "aviancommonerlegs" },
    { "item" : "avianfancyshirt" },
    { "item" : "avianfancyskirt" },
    { "item" : "avianworkershirt" },
    { "item" : "avianworkerpants" },
    { "item" : "aviannudeshirt" },
    { "item" : "aviannudepants" },

    { "item" : "avianstoragelocker" },

    { "item" : "flagavian" },

    // { "item" : "aviantier2head" },
    // { "item" : "aviantier2chest" },
    // { "item" : "aviantier2pants" },
    { "item" : "aviantier2hammer" },
    { "item" : "aviantier2shortsword" },
    { "item" : "aviantier2broadsword" },
    { "item" : "aviantier2spear" },
    { "item" : "aviantier2axe" },
    { "item" : "aviantier2dagger" },

    { "item" : "aviantier3head" },
    { "item" : "aviantier3chest" },
    { "item" : "aviantier3pants" },
    { "item" : "aviantier3hammer" },
    { "item" : "aviantier3shortsword" },
    { "item" : "aviantier3broadsword" },
    { "item" : "aviantier3spear" },
    { "item" : "aviantier3axe" },
    { "item" : "aviantier3dagger" },

    // { "item" : "aviantier4head" },
    // { "item" : "aviantier4chest" },
    // { "item" : "aviantier4pants" },
    { "item" : "aviantier4hammer" },
    { "item" : "aviantier4shortsword" },
    { "item" : "aviantier4broadsword" },
    { "item" : "aviantier4spear" },
    { "item" : "aviantier4axe" },
    { "item" : "aviantier4dagger" },

    { "item" : "aviantier5ahead" },
    { "item" : "aviantier5achest" },
    { "item" : "aviantier5apants" },
    { "item" : "aviantier5dagger" },

    { "item" : "aviantier5mhead" },
    { "item" : "aviantier5mchest" },
    { "item" : "aviantier5mpants" },

    { "item" : "aviantier5shead" },
    { "item" : "aviantier5schest" },
    { "item" : "aviantier5spants" },
    { "item" : "aviantier8hammer" },
    { "item" : "aviantier8shortsword" },
    { "item" : "aviantier8broadsword" },
    { "item" : "aviantier8spear" },
    { "item" : "aviantier8axe" },
    { "item" : "aviantier8dagger" },

    // { "item" : "aviantier6ahead" },
    // { "item" : "aviantier6achest" },
    // { "item" : "aviantier6apants" },
    { "item" : "aviantier6dagger" },

    // { "item" : "aviantier6mhead" },
    // { "item" : "aviantier6mchest" },
    // { "item" : "aviantier6mpants" },

    // { "item" : "aviantier6shead" },
    // { "item" : "aviantier6schest" },
    // { "item" : "aviantier6spants" },
    { "item" : "aviantier10hammer" },
    { "item" : "aviantier10shortsword" },
    { "item" : "aviantier10broadsword" },
    { "item" : "aviantier10spear" },
    { "item" : "aviantier10axe" },
    { "item" : "aviantier10dagger" }
    ]
    },

    "headOptionAsFacialhair" : false,
    "altOptionAsFacialMask" : true,
    "bodyColorAsFacialMaskSubColor" : true,
    "altColorAsFacialMaskSubColor" : false,
    "genders" : [
    {
    "name" : "male",
    "image" : "/interface/title/male.png",
    "characterImage" : "/interface/title/chittenmale.png",
    "hairGroup" : "hair",
    "hair" : [ "1", "2", "3", "4", "5", "6" ],
    "shirt" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt", "aviannudeshirt" ],
    "pants" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt", "avianworkerpants", "aviannudepants" ],
    "facialHairGroup" : "",
    "facialHair" : [],
    "facialMaskGroup" : "pattern",
    "facialMask" : [ "1", "2", "3", "4", "5", "6" ]
    },
    {
    "name" : "female",
    "image" : "/interface/title/female.png",
    "characterImage" : "/interface/title/chittenfemale.png",
    "hairGroup" : "hair",
    "hair" : [ "1", "2", "3", "4", "5", "6" ],
    "shirt" : [ "avianadventurershirt", "aviancommonershirt", "avianfancyshirt", "avianworkershirt", "aviannudeshirt" ],
    "pants" : [ "avianadventurerpants", "aviancommonerlegs", "avianfancyskirt", "avianworkerpants", "aviannudepants" ],
    "facialHairGroup" : "",
    "facialHair" : [],
    "facialMaskGroup" : "pattern",
    "facialMask" : [ "1", "2", "3", "4", "5", "6" ]
    }
    ],
    "bodyColor" : [
    // { "6f2919" : "DARKER", "a85636" : "DARK ", "e0975c" : "NORMAL", "ffca8a" : "LIGHT "}, // Base

    { "6f2919" : "412F1D", "a85636" : "775E42", "e0975c" : "A0805E", "ffca8a" : "CAA881" }, // Brown
    { "6f2919" : "3F2306", "a85636" : "5E4529", "e0975c" : "876745", "ffca8a" : "B18F68" }, // Saturated Brown
    { "6f2919" : "513B2B", "a85636" : "766250", "e0975c" : "978574", "ffca8a" : "BAADA0" }, // Greyish Brown
    { "6f2919" : "4F3D2B", "a85636" : "8A7155", "e0975c" : "B69674", "ffca8a" : "E5C39C" }, // Light Brown
    { "6f2919" : "3D3022", "a85636" : "725F4A", "e0975c" : "998168", "ffca8a" : "C3A98C" }, // Desaturated Brown
    { "6f2919" : "482D13", "a85636" : "805C33", "e0975c" : "AC7E4D", "ffca8a" : "D7A66D" }, // Light Saturated Brown
    { "6f2919" : "453317", "a85636" : "7D6438", "e0975c" : "A88852", "ffca8a" : "D3B174" }, // Yellowish
    { "6f2919" : "452317", "a85636" : "7D4C38", "e0975c" : "A86A52", "ffca8a" : "D38F74" }, // Red
    { "6f2919" : "1C1A18", "a85636" : "46403E", "e0975c" : "665D56", "ffca8a" : "837667" }, // Black
    { "6f2919" : "4A413F", "a85636" : "907D71", "e0975c" : "B6A095", "ffca8a" : "DEC7BF" } // White
    ],
    "undyColor" : [ "" ],
    "hairColor" : [
    // { "951500" : "DARK ", "be1b00" : "NORMAL", "dc1f00" : "LIGHT " },

    // Body Colour as Hair Colour
    { "951500" : "412F1D", "be1b00" : "775E42", "dc1f00" : "A0805E" }, // Brown
    { "951500" : "3F2306", "be1b00" : "5E4529", "dc1f00" : "876745" }, // Saturated Brown
    { "951500" : "513B2B", "be1b00" : "766250", "dc1f00" : "978574" }, // Greyish Brown
    { "951500" : "4F3D2B", "be1b00" : "8A7155", "dc1f00" : "B69674" }, // Light Brown
    { "951500" : "3D3022", "be1b00" : "725F4A", "dc1f00" : "998168" }, // Desaturated Brown
    { "951500" : "482D13", "be1b00" : "805C33", "dc1f00" : "AC7E4D" }, // Light Saturated Brown
    { "951500" : "453317", "be1b00" : "7D6438", "dc1f00" : "A88852" }, // Yellowish
    { "951500" : "452317", "be1b00" : "7D4C38", "dc1f00" : "A86A52" }, // Red
    { "951500" : "1C1A18", "be1b00" : "46403E", "dc1f00" : "665D56" }, // Black
    { "951500" : "4A413F", "be1b00" : "907D71", "dc1f00" : "B6A095" }, // White
    // Unique Hair Colour
    { "951500" : "553428", "be1b00" : "A35638", "dc1f00" : "C97354" }, // Reddish Orange
    { "951500" : "553C28", "be1b00" : "A36838", "dc1f00" : "C98754" }, // Orange
    { "951500" : "503A2C", "be1b00" : "986442", "dc1f00" : "BC825E" }, // Light Orangey Brown
    { "951500" : "50362C", "be1b00" : "985A42", "dc1f00" : "BC775E" }, // Light Reddish Orange
    { "951500" : "564937", "be1b00" : "998261", "dc1f00" : "D7B889" }, // Sand Coloured
    { "951500" : "453826", "be1b00" : "7F6847", "dc1f00" : "B59667" } // Darker Sand Coloured

    ]
    }




    Would I have to add in something along with the

    "headOptionAsFacialhair" : false,
    "altOptionAsFacialMask" : true,
    "bodyColorAsFacialMaskSubColor" : true,
    "altColorAsFacialMaskSubColor" : false,

    to define that the secondary colours are listed in hairColor?
     
  18. C0bra5

    C0bra5 Oxygen Tank

    so is the red part reacting to your secondary color(hair color)?
     
  19. Mimaah

    Mimaah Phantasmal Quasar

    It's not. The red is just staying the same, only the primary/body colour changes.
     
  20. C0bra5

    C0bra5 Oxygen Tank

    try setting this to false "bodyColorAsFacialMaskSubColor" and check if your recoloring works[DOUBLEPOST=1441487119][/DOUBLEPOST]edit scratch that replace your undy color to with hair color!
     

Share This Page