Modding Help Species Help (Getting Error)

Discussion in 'Starbound Modding' started by Mimaah, Dec 12, 2017.

  1. Mimaah

    Mimaah Subatomic Cosmonaut

    I started working on a custom species about a year or so back but it never got finished and i'm trying to kickstart the project again, starting from scratch with all the updated files. I'm just running into an error which I'm not sure what is causing it. I've only got my mod and the xbawks character selection mod and I crash when ever I select the species on the create character page.


    [22:06:21.108] [Info] Root: Preparing Root...
    [22:06:21.109] [Info] Root: Done preparing Root.
    [22:06:21.109] [Info] Client Version 1.3.3 (windows x86_64) Source ID: c21069b204d626bfe673a047a2100d2fcd0766d4 Protocol: 743
    [22:06:21.109] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [22:06:21.334] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [22:06:21.338] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [22:06:21.338] [Info] Root: Detected asset source named 'Chitten' at '..\mods\Chitten'
    [22:06:21.338] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [22:06:21.338] [Info] Loading assets from: '..\assets\packed.pak'
    [22:06:21.654] [Info] Loading assets from: '..\mods\Chitten'
    [22:06:21.663] [Info] Loading assets from: '..\assets\user'
    [22:06:22.276] [Info] Assets digest is 14375bba4361e1b3d36d433638a9b06561186e3f2cfc51c77a7ca0cfdcc6ea34
    [22:06:22.276] [Info] Root: Loaded Assets in 1.16782 seconds
    [22:06:22.280] [Info] Application: Initializing SDL Video
    [22:06:22.289] [Info] Application: Initializing SDL Joystick
    [22:06:22.328] [Info] Application: Initializing SDL Sound
    [22:06:22.379] [Info] Initialized Steam services
    [22:06:22.381] [Info] Application: Creating SDL Window
    [22:06:22.566] [Info] Application: Enabling VSync with late swap tearing
    [22:06:22.588] [Info] Application: Opened default audio device with 44.1khz / 16 bit stereo audio, 2048 sample size buffer
    [22:06:22.594] [Info] OpenGL version: '4.6.0 NVIDIA 388.13' vendor: 'NVIDIA Corporation' renderer: 'GeForce GTX 970/PCIe/SSE2' shader: '4.60 NVIDIA'
    [22:06:22.596] [Info] Application: initialization...
    [22:06:22.597] [Info] Root: Loaded Configuration in 0.00069831 seconds
    [22:06:22.599] [Info] Application: renderer initialization...
    [22:06:22.599] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 128
    [22:06:22.599] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 64
    [22:06:22.600] [Info] Root: Loaded ImageMetadataDatabase in 1.13776e-06 seconds
    [22:06:22.613] [Info] Application: main update loop...
    [22:06:22.623] [Info] Loading mods from user generated content with id '729426722' from directory 'E:\SteamGames\steamapps\workshop\content\211820\729426722'
    [22:06:22.624] [Info] Reloading to include all user generated content
    [22:06:22.624] [Info] Root: Reloading from disk
    [22:06:22.624] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [22:06:22.672] [Info] Root: Loaded Configuration in 0.000763163 seconds
    [22:06:22.672] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [22:06:22.900] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [22:06:22.902] [Info] Root: Scanning for asset sources in directory 'E:\SteamGames\steamapps\workshop\content\211820\729426722'
    [22:06:22.903] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [22:06:22.903] [Info] Root: Detected asset source named 'xbawks' at 'E:\SteamGames\steamapps\workshop\content\211820\729426722\contents.pak'
    [22:06:22.903] [Info] Root: Detected asset source named 'Chitten' at '..\mods\Chitten'
    [22:06:22.903] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [22:06:22.903] [Info] Loading assets from: '..\assets\packed.pak'
    [22:06:23.218] [Info] Loading assets from: 'E:\SteamGames\steamapps\workshop\content\211820\729426722\contents.pak'
    [22:06:23.218] [Info] Loading assets from: '..\mods\Chitten'
    [22:06:23.226] [Info] Loading assets from: '..\assets\user'
    [22:06:23.761] [Info] Assets digest is 96a712e9f63deb6c51387e4319eabd8eea65aacaae4e4afcbdb22b1f0bc9248f
    [22:06:23.761] [Info] Root: Loaded Assets in 1.08853 seconds
    [22:06:23.775] [Info] Root: Loaded NameGenerator in 0.0136354 seconds
    [22:06:23.796] [Info] Root: Loaded ImageMetadataDatabase in 2.27554e-06 seconds
    [22:06:23.875] [Info] Root: Loaded PlantDatabase in 0.100162 seconds
    [22:06:24.009] [Info] Root: Loaded ObjectDatabase in 0.248332 seconds
    [22:06:24.131] [Info] Root: Loaded MonsterDatabase in 0.12159 seconds
    [22:06:24.161] [Info] Root: Loaded NpcDatabase in 0.0302088 seconds
    [22:06:24.162] [Info] Root: Loaded StagehandDatabase in 0.000890878 seconds
    [22:06:24.164] [Info] Root: Loaded VehicleDatabase in 0.0019072 seconds
    [22:06:24.166] [Info] Root: Loaded PlayerFactory in 0.00219505 seconds
    [22:06:24.203] [Info] Root: Loaded ProjectileDatabase in 0.328828 seconds
    [22:06:24.205] [Info] Root: Loaded VersioningDatabase in 0.00158066 seconds
    [22:06:24.205] [Info] Root: Loaded EntityFactory in 0.038873 seconds
    [22:06:24.237] [Info] Root: Loaded ParticleDatabase in 0.0317596 seconds
    [22:06:24.444] [Info] Root: Loaded MaterialDatabase in 0.238682 seconds
    [22:06:24.450] [Info] Root: Loaded TerrainDatabase in 0.00635306 seconds
    [22:06:24.473] [Info] Root: Loaded BiomeDatabase in 0.0223087 seconds
    [22:06:24.473] [Info] Root: Loaded LiquidsDatabase in 0.000462221 seconds
    [22:06:24.478] [Info] Root: Loaded StatusEffectDatabase in 0.00433151 seconds
    [22:06:24.693] [Info] Root: Loaded DamageDatabase in 0.215275 seconds
    [22:06:24.700] [Info] Root: Loaded EffectSourceDatabase in 0.0072647 seconds
    [22:06:24.703] [Info] Root: Loaded FunctionDatabase in 0.00271616 seconds
    [22:06:24.722] [Info] Root: Loaded TreasureDatabase in 0.0191163 seconds
    [22:06:24.936] [Info] Root: Loaded DungeonDefinitions in 0.213747 seconds
    [22:06:24.936] [Info] Root: Loaded TilesetDatabase in 2.27555e-05 seconds
    [22:06:24.937] [Info] Root: Loaded StatisticsDatabase in 0.00131726 seconds
    [22:06:24.938] [Info] Root: Loaded EmoteProcessor in 6.0871e-05 seconds
    [22:06:24.942] [Info] Root: Loaded SpeciesDatabase in 0.00473258 seconds
    [22:06:24.954] [Info] Root: Loaded QuestTemplateDatabase in 0.0114813 seconds
    [22:06:24.955] [Info] Root: Loaded AiDatabase in 0.00157298 seconds
    [22:06:24.956] [Info] Root: Loaded TechDatabase in 0.00075975 seconds
    [22:06:24.961] [Info] Root: Loaded CodexDatabase in 0.0042897 seconds
    [22:06:25.176] [Info] Root: Loaded BehaviorDatabase in 0.215276 seconds
    [22:06:25.178] [Info] Root: Loaded DanceDatabase in 0.00200533 seconds
    [22:06:25.183] [Info] Root: Loaded SpawnTypeDatabase in 0.00540159 seconds
    [22:06:25.185] [Info] Root: Loaded RadioMessageDatabase in 0.00234979 seconds
    [22:06:26.319] [Info] Root: Loaded ItemDatabase in 2.11474 seconds
    [22:06:26.413] [Info] Root: Loaded CollectionDatabase in 1.22763 seconds
    [22:06:26.707] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [22:06:31.442] [Error] Application: exception thrown, shutting down: (OutOfRangeException)
    [0] 7ff7426a7153 Star::captureStack
    [1] 7ff7426a5ede Star::StarException::StarException
    [2] 7ff742e8ae11 Star::CharCreationPane::changed
    [3] 7ff742e8bc19 Star::CharCreationPane::randomize
    [4] 7ff742e8911a std::_Func_impl<<lambda_b924f0a2f67a49cbbb2fea4300b1904b>,std::allocator<int>,void,Star::Widget * __ptr64>::_Do_call
    [5] 7ff742e32114 Star::ButtonGroup::wasChecked
    [6] 7ff742e33ab4 Star::ButtonWidget::setPressed
    [7] 7ff742e333fe Star::ButtonWidget::sendEvent
    [8] 7ff742e648f7 Star::Widget::sendEvent
    [9] 7ff742e51c48 Star::pane::sendEvent
    [10] 7ff742e56f5d Star::paneManager::sendInputEvent
    [11] 7ff742f17f8f Star::TitleScreen::handleInputEvent
    [12] 7ff7425ea41a Star::ClientApplication::processInput
    [13] 7ff742dea8d5 Star::SdlPlatform::run
    [14] 7ff742deac2d Star::runMainApplication
    [15] 7ff7425eff76 WinMain
    [16] 7ff742fd8daf __scrt_common_main_seh
    [17] 7ffb69ae1fe4 BaseThreadInitThunk
    [18] 7ffb69dbef91 RtlUserThreadStart
    [22:06:31.442] [Info] Application: shutdown...
    [22:06:31.636] [Info] Root: Shutting down Root
    [22:06:31.637] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [22:06:31.891] [Info] Application: Destroying SDL Window
    [22:06:31.925] [Info] Application: stopped gracefully


    Any help would be appreciated
    thanks :)
     

    Attached Files:

  2. NexusTheBrony

    NexusTheBrony Parsec Taste Tester

    seeing its an out of range error, that means something in one of the 2 mods was invalid. If xbawks is not the latest, try getting the latest. if it still crashes, you may want to check the .species file, and the relative file if you are using the penguinoid.config method of special animation
     
  3. Mimaah

    Mimaah Subatomic Cosmonaut

    It was crashing when I tried a different expanded species slots mod and I'm not sure what penguinoid.config is so I'll have a look at the .species file again.
     
  4. NexusTheBrony

    NexusTheBrony Parsec Taste Tester

    penguinoid.config is the file used to define everything about the penguin race. it is found in the species folder and referenced in penguin.species
     
  5. Mimaah

    Mimaah Subatomic Cosmonaut

    Well I have nothing referencing the penguin race or any penguin.species in my folders so it can't be that. Do you know what to look out for in the .species folder?
     
  6. NexusTheBrony

    NexusTheBrony Parsec Taste Tester

    i hav no idea, but it has to b related to whats loaded in the character creation


    with the penguinoid.config, you could create a copy, rename it, and modify its contents to make a completely custom species rather than basically a resprite
     
  7. DrPvtSkittles

    DrPvtSkittles Parsec Taste Tester

    This is a facial mask/hair problem, haven't quite figured it out...
     
    Last edited: Dec 13, 2017
  8. DrPvtSkittles

    DrPvtSkittles Parsec Taste Tester

    Sooo the change I've made looks like

    "facialHairGroup" : "fluff",
    "facialHair" : [ "1" ],
    "facialMaskGroup" : "beaks",
    "facialMask" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10" ]

    I renamed your folder to beaks and for some reason if I try to go to 11 it bugs out. I made a blank fluff file for the fluff folder. I guess it needs both? You need to swap around the pattern and hair labels in char select.

    That fixes 1 problem, now the problem is your ship pet showing up.

    screenie.png
     
  9. Mimaah

    Mimaah Subatomic Cosmonaut

    I did make a fluff folder and put an image in and it bugged out and crashed, on the character creation the screen was white. Just been back and forth with mixing it. It'll work and randomize works but I get a lot of crashes because of missing assets. I'll give yours a try and then I'll try and figure out the pet. The other issue is the labels being in the wrong place on the screen and the personality one being completely missing.
     
  10. DrPvtSkittles

    DrPvtSkittles Parsec Taste Tester

    Starbound\Starbound\mods\Chitten\monsters\pets\chittenpet\parts
    Missing the frames file, copy the weasel one and you are hunky dory.

    I am still periodically getting weird errors where I can't load your species "bad allocation" not sure what that is all about.

    *edit* uploaded my version
     

    Attached Files:

  11. Mimaah

    Mimaah Subatomic Cosmonaut

    Yeah I'm not sure what's going on there. I've just been trying to get it to a stable, working condition before I start adding in the older assets I had. I'll try this out but it might still be the species file.
     
  12. DrPvtSkittles

    DrPvtSkittles Parsec Taste Tester

    Oh its def something in the species file, I just added the pet because it needed to be fixed also. Ive tried subbing your facial mask things with the avian + just those beaks n fluff sprites and it works fine. It's really weird.
     
  13. Mimaah

    Mimaah Subatomic Cosmonaut

    I've got it working with the pattern and hair use without the beaks but the only issue is the shirt colour tab does nothing, Pants colour tab does shirt colour and personality does pants colour. Left side is fine and the blank one still changes the personality. I'm just thinking would it be easier to add in the option to change the facial pattern colour as the secondary colour?

    [​IMG]
     

    Attached Files:

  14. DrPvtSkittles

    DrPvtSkittles Parsec Taste Tester

    " I'm just thinking would it be easier to add in the option to change the facial pattern colour as the secondary colour?"

    I would say yes.
     
  15. Mimaah

    Mimaah Subatomic Cosmonaut

    I actually just remembered why the facial pattern colours are only white and grey. I have secondary colours that aren't working. I've compressed and added the file again and all the correct options/tabs are in the right place and working but the hair/secondary colour isn't working even with colours added to the .species file at the bottom.
     

    Attached Files:

  16. DrPvtSkittles

    DrPvtSkittles Parsec Taste Tester

    Off the top of my head, I think it has to do with copying how the avian handles things.

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

    Like all this business. http://helmet.kafuka.org/sbmods/howto.html bit old but still a handy read.

    Try looking at other vanilla races, and seeing how they handle different colouring... or even a few modded ones.
     
  17. Mimaah

    Mimaah Subatomic Cosmonaut

    I've managed to withhold crashes but I just can't seem to get the colour option to work at all.

    I was hoping for a facialmask still working to choose from the facial patterns and then have the secondary colour be the sub/secondary body colour and hair colour but no matter which alt or head option the arrows won't work and it won't cycle through colours.
     
  18. DrPvtSkittles

    DrPvtSkittles Parsec Taste Tester

    One thing I experimented when I was deciding how to do the Clownkin, was to put the make up into the "hair" folder.
    It looked something like this
    "hair" : [ "makeup1", "makeup2", "makeup3" ],
    "facialHairGroup" : "noses",
    "facialHair" : [ "nose1", "nose2", "nose3", "nose4", "nose5" ],
    "facialMaskGroup" : "wigs",
    "facialMask" : [ "rain1", "rain2" ]

    Didn't like that idea tho :p
     
  19. Mimaah

    Mimaah Subatomic Cosmonaut

    So instead of using the Avian.species base, I've tried using the Hylotl and I've got it working. I decided that taking the face pattern out would be easier and just having it as the secondary colour on the head so there's three colours to choose from. Thanks for the help and suggestions. :)
     
  20. Nemasys

    Nemasys Cosmic Narwhal

    I think you might benefit from how I did the Orcana since it looks like you're wanting the same basic setup. You hair would be what the Orcana fins are (facial mask) and the pattern would be the same as the Orcana patterns (hair). This allows for a base color and a pattern color to both be chosen in character creation. Unfortunately, your hair color would have to be tied to one or both of the body colors (depending on how you color the sprites) and not have its own color selection, but as far as I know that's what you wanted anyway... Here's how I have that part of the species file:


    Code:
      "altOptionAsFacialMask" : true,
      "headOptionAsHairColor" : true,
      "bodyColorAsFacialMaskSubColor" : true,
      "hairColorAsBodySubColor" : true,
    
      "genders" : [
        {
          "name" : "male",
          "image" : "/interface/title/male.png",
          "characterImage" : "/interface/title/orcanamale.png",
          "hairGroup" : "pattern",
          "hair" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
          "shirt" : [ "orcanaactivechest", "orcanacasualchest", "orcanaformalchest", "orcanatogachest", "protectorateshirtchest", "protectoratevestchest" ],
          "pants" : [ "orcanaactivelegs", "orcanacasuallegs", "orcanaformallegs", "orcanatogalegs" ],
          "facialMaskGroup" : "fin",
          "facialMask" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ],
          "facialHairGroup" : "",
          "facialHair" : [ "" ]
        },
        {
          "name" : "female",
          "image" : "/interface/title/female.png",
          "characterImage" : "/interface/title/orcanafemale.png",
          "hairGroup" : "pattern",
          "hair" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12" ],
          "shirt" : [ "orcanaactivechest", "orcanacasualchest", "orcanaformalchest", "orcanatogachest", "protectorateshirtchest", "protectoratevestchest" ],
          "pants" : [ "orcanaactivelegs", "orcanacasuallegs", "orcanaformallegs", "orcanatogalegs" ],
          "facialMaskGroup" : "fin",
          "facialMask" : [ "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17" ],
          "facialHairGroup" : "",
          "facialHair" : [ "" ]
        }
      ],
      "bodyColor" : [
        { "ffe2c5" : "54788b", "ffc181" : "3d5664", "d39c6c" : "2f404a", "c7815b" : "1d292f" }, // midnight blue
        { "ffe2c5" : "7e4c4c", "ffc181" : "5b3737", "d39c6c" : "422828", "c7815b" : "2c1b1b" }, // dark rose
        { "ffe2c5" : "4b674e", "ffc181" : "394d3b", "d39c6c" : "2c3b2e", "c7815b" : "222b23" }, // forest green
        { "ffe2c5" : "7e654c", "ffc181" : "5b4937", "d39c6c" : "423528", "c7815b" : "2c231b" }, // burnt umbra
        { "ffe2c5" : "795179", "ffc181" : "583b58", "d39c6c" : "402b40", "c7815b" : "2a1c2a" }, // royal purple
        { "ffe2c5" : "6f6f6f", "ffc181" : "505050", "d39c6c" : "343434", "c7815b" : "262626" }, // black
        { "ffe2c5" : "a7a7a7", "ffc181" : "7d7d7d", "d39c6c" : "5b5b5b", "c7815b" : "3c3c3c" }, // grey
        { "ffe2c5" : "fafafa", "ffc181" : "d7d7d7", "d39c6c" : "aeaeae", "c7815b" : "6f6f6f" }, // white
        { "ffe2c5" : "c7dce2", "ffc181" : "a3c6d3", "d39c6c" : "7797a8", "c7815b" : "516873" }, // baby blue
        { "ffe2c5" : "f8e4e4", "ffc181" : "e9c1c1", "d39c6c" : "cb9797", "c7815b" : "926565" }, // light pink
        { "ffe2c5" : "d2e9d5", "ffc181" : "abcbaf", "d39c6c" : "86a58a", "c7815b" : "667b68" }, // mint green
        { "ffe2c5" : "f3e9d4", "ffc181" : "dcc8a9", "d39c6c" : "b39a7e", "c7815b" : "796654" }, // mellow yellow
        { "ffe2c5" : "f2dcf2", "ffc181" : "dab2da", "d39c6c" : "af85af", "c7815b" : "755675" }  // lavender
      ],
      "hairColor" : [
        //{ "ff4224" : "54788b", "dc1f00" : "3d5664", "be1b00" : "2f404a", "951500" : "1d292f" }, // midnight blue
        //{ "ff4224" : "7e4c4c", "dc1f00" : "5b3737", "be1b00" : "422828", "951500" : "2c1b1b" }, // dark rose
        //{ "ff4224" : "4b674e", "dc1f00" : "394d3b", "be1b00" : "2c3b2e", "951500" : "222b23" }, // forest green
        //{ "ff4224" : "7e654c", "dc1f00" : "5b4937", "be1b00" : "423528", "951500" : "2c231b" }, // burnt umbra
        //{ "ff4224" : "795179", "dc1f00" : "583b58", "be1b00" : "402b40", "951500" : "2a1c2a" }, // royal purple
        //{ "ff4224" : "6f6f6f", "dc1f00" : "505050", "be1b00" : "333333", "951500" : "262626" }, // black
        //{ "ff4224" : "a7a7a7", "dc1f00" : "7d7d7d", "be1b00" : "5b5b5b", "951500" : "3c3c3c" }, // grey
        { "ff4224" : "fafafa", "dc1f00" : "d7d7d7", "be1b00" : "aeaeae", "951500" : "6f6f6f" }, // white
        { "ff4224" : "c7dce2", "dc1f00" : "a3c6d3", "be1b00" : "7797a8", "951500" : "516873" }, // baby blue
        { "ff4224" : "f8e4e4", "dc1f00" : "e9c1c1", "be1b00" : "cb9797", "951500" : "926565" }, // light pink
        { "ff4224" : "d2e9d5", "dc1f00" : "abcbaf", "be1b00" : "86a58a", "951500" : "667b68" }, // mint green
        { "ff4224" : "f3e9d4", "dc1f00" : "dcc8a9", "be1b00" : "b39a7e", "951500" : "796654" }, // mellow yellow
        { "ff4224" : "f2dcf2", "dc1f00" : "dab2da", "be1b00" : "af85af", "951500" : "755675" }  // lavender
      ],
        "undyColor" : [ "" ]
     
    Last edited: Dec 14, 2017

Share This Page