Modding Help Issues regarding adding custom pet to custom race

Discussion in 'Starbound Modding' started by Zefnoly, Feb 24, 2017.

Tags:
  1. Zefnoly

    Zefnoly Void-Bound Voyager

    Hello!
    Sorry to ask of this but I got a problem while trying to add my custom pet to starbound.
    I've looked on how other mods add them to see how. Added all the respectful files as they do.
    And renamed stuff properly to fit the pet I'm making for my race.

    My pet is some kind of alien lizard version of a cat like creature. I've done the animations file for it. Renamed it to what it should. And respectfully looked over the monsterpart file and renamed things properly in it for that part. I've looked at the other petfiles in the game to get an idea of how things should be located and named.

    Also fixed the monstertype name and all that. Ok great! Then I added the pet type name to the techstation for the race. also the name of that techstation on my pet monstertype file in the correct location.

    Now adding it to the game. Poof! Pet is not even there. Invisible or not spawning at all. I'm not sure how to fix this or what to do at this point. Can someone give me some advice on what to do please? Would be highly appreciated. I've worked hard on this mod for some time now and don't want it ruined of small things.

    Since it is very similar to the cat in the game I used the existant cat pet file and renamed things. Maybe work further on it later when I make it work. But I'm not sure what is wrong at this point.
     
  2. The | Suit

    The | Suit Agent S. Forum Moderator

    Always check the starbound.log if something is not working.
    That should be the first step in everything.
     
  3. Zefnoly

    Zefnoly Void-Bound Voyager

    This is the latest log
    Code:
    [13:45:22.627] [Info] Root: Preparing Root...
    [13:45:22.628] [Info] Root: Done preparing Root.
    [13:45:22.628] [Info] Client Version 1.2.3 (windows x86_64) Source ID: f121dec7a994e0befd764495593a4f4a049dab3d Protocol: 729
    [13:45:22.628] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [13:45:22.824] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [13:45:22.827] [Warn] Root: Unrecognized file in asset directory 'mods_go_here', skipping
    [13:45:22.828] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [13:45:22.828] [Info] Root: Detected asset source named 'xbawks' at '..\mods\xbawks'
    [13:45:22.828] [Info] Root: Detected asset source named 'Skittles Basic Race Template' at '..\mods\fizarian'
    [13:45:22.828] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [13:45:22.828] [Info] Loading assets from: '..\assets\packed.pak'
    [13:45:23.083] [Info] Loading assets from: '..\mods\xbawks'
    [13:45:23.083] [Info] Loading assets from: '..\mods\fizarian'
    [13:45:23.091] [Info] Loading assets from: '..\assets\user'
    [13:45:23.646] [Info] Assets digest is d9dfc0a0e5d3851ab9ffab3279cf20cddbea8e1924a04e01f57b1bbe982cb59d
    [13:45:23.646] [Info] Root: Loaded Assets in 1.01785 seconds
    [13:45:23.649] [Info] Application: Initializing SDL Video
    [13:45:23.655] [Info] Application: Initializing SDL Joystick
    [13:45:23.885] [Info] Application: Initializing SDL Sound
    [13:45:23.962] [Info] Initialized Steam services
    [13:45:23.963] [Info] Application: Creating SDL Window
    [13:45:24.301] [Info] Application: Enabling VSync with late swap tearing
    [13:45:24.315] [Info] Application: Opened default audio device with 44.1khz / 16 bit stereo audio, 2048 sample size buffer
    [13:45:24.320] [Info] OpenGL version: '4.5.0 NVIDIA 376.53' vendor: 'NVIDIA Corporation' renderer: 'GeForce GTX 960/PCIe/SSE2' shader: '4.50 NVIDIA'
    [13:45:24.324] [Info] Application: initialization...
    [13:45:24.325] [Info] Root: Loaded Configuration in 0.000611641 seconds
    [13:45:24.327] [Info] Application: renderer initialization...
    [13:45:24.328] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 128
    [13:45:24.328] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 64
    [13:45:24.329] [Info] Root: Loaded ImageMetadataDatabase in 6.1316e-06 seconds
    [13:45:24.340] [Info] Application: main update loop...
    [13:45:24.348] [Info] No subscribed user generated content
    [13:45:24.357] [Info] Root: Loaded NameGenerator in 0.00866772 seconds
    [13:45:24.369] [Error] OpenGL errors this frame:  GL_INVALID_VALUE
    [13:45:24.436] [Info] Root: Loaded PlantDatabase in 0.0790713 seconds
    [13:45:24.440] [Info] APPLICATION TIMERS
    [13:45:24.440] [Info] Update: 1.2008e-05
    [13:45:24.440] [Info] ProcessInput: 4.34346e-06
    [13:45:24.440] [Info] PlatformServices: 1.89063e-05
    [13:45:24.441] [Info] Render: 0.0655927
    [13:45:24.441] [Info] FullUpdate: 0.0656305
    [13:45:24.550] [Info] Root: Loaded ObjectDatabase in 0.201877 seconds
    [13:45:24.639] [Info] Root: Loaded MonsterDatabase in 0.0886069 seconds
    [13:45:24.664] [Info] Root: Loaded NpcDatabase in 0.0253826 seconds
    [13:45:24.665] [Info] Root: Loaded StagehandDatabase in 0.000661206 seconds
    [13:45:24.666] [Info] Root: Loaded VehicleDatabase in 0.00125675 seconds
    [13:45:24.668] [Info] Root: Loaded PlayerFactory in 0.00194248 seconds
    [13:45:24.719] [Info] Root: Loaded ProjectileDatabase in 0.282576 seconds
    [13:45:24.720] [Info] Root: Loaded VersioningDatabase in 0.000885269 seconds
    [13:45:24.720] [Info] Root: Loaded EntityFactory in 0.0514294 seconds
    [13:45:24.740] [Info] Root: Loaded ParticleDatabase in 0.0199269 seconds
    [13:45:24.900] [Info] Root: Loaded MaterialDatabase in 0.180079 seconds
    [13:45:24.903] [Info] Root: Loaded TerrainDatabase in 0.00326106 seconds
    [13:45:24.924] [Info] Root: Loaded BiomeDatabase in 0.0209608 seconds
    [13:45:24.925] [Info] Root: Loaded LiquidsDatabase in 0.000601421 seconds
    [13:45:24.929] [Info] Root: Loaded StatusEffectDatabase in 0.00410596 seconds
    [13:45:25.097] [Info] Root: Loaded DamageDatabase in 0.168454 seconds
    [13:45:25.101] [Info] Root: Loaded EffectSourceDatabase in 0.00373116 seconds
    [13:45:25.103] [Info] Root: Loaded FunctionDatabase in 0.00182368 seconds
    [13:45:25.122] [Info] Root: Loaded TreasureDatabase in 0.0190457 seconds
    [13:45:25.277] [Info] Root: Loaded DungeonDefinitions in 0.155418 seconds
    [13:45:25.278] [Info] Root: Loaded TilesetDatabase in 2.52933e-05 seconds
    [13:45:25.279] [Info] Root: Loaded StatisticsDatabase in 0.00130376 seconds
    [13:45:25.279] [Info] Root: Loaded EmoteProcessor in 4.31775e-05 seconds
    [13:45:25.283] [Info] Root: Loaded SpeciesDatabase in 0.00381036 seconds
    [13:45:25.291] [Info] Root: Loaded QuestTemplateDatabase in 0.00870681 seconds
    [13:45:25.293] [Info] Root: Loaded AiDatabase in 0.00141975 seconds
    [13:45:25.293] [Info] Root: Loaded TechDatabase in 0.000474698 seconds
    [13:45:25.296] [Info] Root: Loaded CodexDatabase in 0.00280859 seconds
    [13:45:25.498] [Info] Root: Loaded BehaviorDatabase in 0.201562 seconds
    [13:45:25.500] [Info] Root: Loaded DanceDatabase in 0.00209935 seconds
    [13:45:25.504] [Info] Root: Loaded SpawnTypeDatabase in 0.00372784 seconds
    [13:45:25.507] [Info] Root: Loaded RadioMessageDatabase in 0.00256562 seconds
    [13:45:26.050] [Error] Could not instantiate item '[flagsktest, 1, {}]'. (ItemException) No such item 'flagsktest'
    [13:45:26.055] [Error] Could not instantiate item '[sktestoutfit2chest, 1, {}]'. (ItemException) No such item 'sktestoutfit2chest'
    [13:45:26.098] [Error] Could not instantiate item '[sktestoutfit4chest, 1, {}]'. (ItemException) No such item 'sktestoutfit4chest'
    [13:45:26.101] [Error] Could not instantiate item '[sktestoutfit1chest, 1, {}]'. (ItemException) No such item 'sktestoutfit1chest'
    [13:45:26.150] [Error] Could not instantiate item '[sktestshipdoor, 1, {}]'. (ItemException) No such item 'sktestshipdoor'
    [13:45:26.180] [Error] Could not instantiate item '[sktestsword, 1, {}]'. (ItemException) No such item 'sktestsword'
    [13:45:26.181] [Error] Could not instantiate item '[sktestshiphatch, 1, {}]'. (ItemException) No such item 'sktestshiphatch'
    [13:45:26.183] [Error] Could not instantiate item '[sktestoutfit1legs, 1, {}]'. (ItemException) No such item 'sktestoutfit1legs'
    [13:45:26.185] [Error] Could not instantiate item '[sktestoutfit2legs, 1, {}]'. (ItemException) No such item 'sktestoutfit2legs'
    [13:45:26.187] [Error] Could not instantiate item '[sktestoutfit3chest, 1, {}]'. (ItemException) No such item 'sktestoutfit3chest'
    [13:45:26.188] [Error] Could not instantiate item '[sktestoutfit3legs, 1, {}]'. (ItemException) No such item 'sktestoutfit3legs'
    [13:45:26.190] [Error] Could not instantiate item '[sktestoutfit4legs, 1, {}]'. (ItemException) No such item 'sktestoutfit4legs'
    [13:45:26.207] [Error] Could not instantiate item '[sktestoutfit3legs, 1, {}]'. (ItemException) No such item 'sktestoutfit3legs'
    [13:45:26.209] [Error] Could not create blueprint item from recipe: (ItemException) No such item 'sktestoutfit3legs'
    [13:45:26.220] [Error] Could not instantiate item '[sktestsword, 1, {}]'. (ItemException) No such item 'sktestsword'
    [13:45:26.222] [Error] Could not create blueprint item from recipe: (ItemException) No such item 'sktestsword'
    [13:45:26.282] [Error] Could not instantiate item '[sktestshipdoor, 1, {}]'. (ItemException) No such item 'sktestshipdoor'
    [13:45:26.304] [Error] Could not instantiate item '[sktestoutfit3chest, 1, {}]'. (ItemException) No such item 'sktestoutfit3chest'
    [13:45:26.310] [Error] Could not instantiate item '[sktestoutfit4chest, 1, {}]'. (ItemException) No such item 'sktestoutfit4chest'
    [13:45:26.331] [Error] Could not instantiate item '[sktestoutfit2legs, 1, {}]'. (ItemException) No such item 'sktestoutfit2legs'
    [13:45:26.336] [Error] Could not instantiate item '[flagsktest, 1, {}]'. (ItemException) No such item 'flagsktest'
    [13:45:26.340] [Error] Could not instantiate item '[sktestoutfit2chest, 1, {}]'. (ItemException) No such item 'sktestoutfit2chest'
    [13:45:26.361] [Error] Could not instantiate item '[sktestoutfit1chest, 1, {}]'. (ItemException) No such item 'sktestoutfit1chest'
    [13:45:26.390] [Error] Could not instantiate item '[sktestshiphatch, 1, {}]'. (ItemException) No such item 'sktestshiphatch'
    [13:45:26.392] [Error] Could not instantiate item '[sktestoutfit1legs, 1, {}]'. (ItemException) No such item 'sktestoutfit1legs'
    [13:45:26.393] [Error] Could not instantiate item '[sktestoutfit4legs, 1, {}]'. (ItemException) No such item 'sktestoutfit4legs'
    [13:45:26.393] [Info] Root: Loaded ItemDatabase in 1.67473 seconds
    [13:45:26.492] [Info] Root: Loaded CollectionDatabase in 0.985586 seconds
    [13:45:26.563] [Info] APPLICATION TIMERS
    [13:45:26.563] [Info] Update: 0.0679969
    [13:45:26.563] [Info] ProcessInput: 3.57674e-06
    [13:45:26.563] [Info] PlatformServices: 1.91617e-05
    [13:45:26.563] [Info] Render: 0.00039422
    [13:45:26.563] [Info] FullUpdate: 0.0684164
    [13:45:27.078] [Info] detected supported OpenGL texture size 16384, using atlasNumCells 256
    [13:45:27.288] [Info] APPLICATION TIMERS
    [13:45:27.288] [Info] Update: 0.515387
    [13:45:27.288] [Info] ProcessInput: 3.06591e-06
    [13:45:27.288] [Info] PlatformServices: 1.43074e-05
    [13:45:27.288] [Info] Render: 0.209644
    [13:45:27.288] [Info] FullUpdate: 0.725052
    [13:45:28.648] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [13:45:29.378] [Error] Could not load image asset '/humanoid/fizarian/hair/male53.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/male53.png'
    [13:45:29.380] [Error] Could not load image asset '/humanoid/fizarian/hair/male53.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/male53.png' while resolving image frame '/humanoid/fizarian/hair/male53.png:normal'
    [13:45:29.399] [Error] Could not load image asset '/humanoid/fizarian/hair/male3.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/male3.png'
    [13:45:29.401] [Error] Could not load image asset '/humanoid/fizarian/hair/male3.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/male3.png' while resolving image frame '/humanoid/fizarian/hair/male3.png:normal'
    [13:45:29.412] [Error] Could not load image asset '/humanoid/fizarian/hair/male16.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/male16.png'
    [13:45:29.414] [Error] Could not load image asset '/humanoid/fizarian/hair/male16.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/male16.png' while resolving image frame '/humanoid/fizarian/hair/male16.png:normal'
    [13:45:29.426] [Error] Could not load image asset '/humanoid/fizarian/hair/fem34.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/fem34.png'
    [13:45:29.428] [Error] Could not load image asset '/humanoid/fizarian/hair/fem34.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/fem34.png' while resolving image frame '/humanoid/fizarian/hair/fem34.png:normal'
    [13:45:29.436] [Info] APPLICATION TIMERS
    [13:45:29.436] [Info] Update: 6.02952e-05
    [13:45:29.437] [Info] ProcessInput: 0.0628521
    [13:45:29.437] [Info] PlatformServices: 1.55848e-05
    [13:45:29.437] [Info] Render: 0.00638544
    [13:45:29.437] [Info] FullUpdate: 0.0693165
    [13:45:32.597] [Error] Could not load image asset '/humanoid/fizarian/hair/fem16.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/fem16.png'
    [13:45:32.599] [Error] Could not load image asset '/humanoid/fizarian/hair/fem16.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/fem16.png' while resolving image frame '/humanoid/fizarian/hair/fem16.png:normal'
    [13:45:33.865] [Error] Could not load image asset '/humanoid/fizarian/hair/male17.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/male17.png'
    [13:45:33.867] [Error] Could not load image asset '/humanoid/fizarian/hair/male17.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/male17.png' while resolving image frame '/humanoid/fizarian/hair/male17.png:normal'
    [13:45:34.164] [Info] APPLICATION TIMERS
    [13:45:34.164] [Info] Update: 7.89461e-05
    [13:45:34.164] [Info] ProcessInput: 0.0518078
    [13:45:34.164] [Info] PlatformServices: 1.71179e-05
    [13:45:34.165] [Info] Render: 0.0022271
    [13:45:34.165] [Info] FullUpdate: 0.0541335
    [13:45:36.669] [Error] Could not load image asset '/humanoid/fizarian/hair/male14.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/male14.png'
    [13:45:36.672] [Error] Could not load image asset '/humanoid/fizarian/hair/male14.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/male14.png' while resolving image frame '/humanoid/fizarian/hair/male14.png:normal'
    [13:47:23.714] [Error] Could not load image asset '/humanoid/fizarian/hair/male14.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/male14.png'
    [13:47:23.715] [Error] Could not load image asset '/humanoid/fizarian/hair/male14.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/male14.png' while resolving image frame '/humanoid/fizarian/hair/male14.png:normal'
    [13:47:52.388] [Error] Could not load image asset '/humanoid/fizarian/hair/fem15.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/fem15.png'
    [13:47:52.389] [Error] Could not load image asset '/humanoid/fizarian/hair/fem15.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/fem15.png' while resolving image frame '/humanoid/fizarian/hair/fem15.png:normal'
    [13:47:57.825] [Error] Could not load image asset '/humanoid/fizarian/hair/fem16.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/fem16.png'
    [13:47:57.826] [Error] Could not load image asset '/humanoid/fizarian/hair/fem16.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/fem16.png' while resolving image frame '/humanoid/fizarian/hair/fem16.png:normal'
    [13:47:57.834] [Error] Could not load image asset '/humanoid/fizarian/hair/fem34.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/fem34.png'
    [13:47:57.836] [Error] Could not load image asset '/humanoid/fizarian/hair/fem34.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/fem34.png' while resolving image frame '/humanoid/fizarian/hair/fem34.png:normal'
    [13:47:57.843] [Error] Could not load image asset '/humanoid/fizarian/hair/male16.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/male16.png'
    [13:47:57.844] [Error] Could not load image asset '/humanoid/fizarian/hair/male16.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/male16.png' while resolving image frame '/humanoid/fizarian/hair/male16.png:normal'
    [13:47:57.850] [Error] Could not load image asset '/humanoid/fizarian/hair/male3.png', using placeholder default.
    (AssetException) No such asset '/humanoid/fizarian/hair/male3.png'
    [13:47:57.852] [Error] Could not load image asset '/humanoid/fizarian/hair/male3.png:normal', using placeholder default.
    (AssetException) No associated frames file found for image '/humanoid/fizarian/hair/male3.png' while resolving image frame '/humanoid/fizarian/hair/male3.png:normal'
    [13:47:57.854] [Info] APPLICATION TIMERS
    [13:47:57.854] [Info] Update: 4.06227e-05
    [13:47:57.854] [Info] ProcessInput: 0.0520178
    [13:47:57.854] [Info] PlatformServices: 1.94171e-05
    [13:47:57.854] [Info] Render: 0.0397469
    [13:47:57.854] [Info] FullUpdate: 0.0918273
    [13:47:59.520] [Info] Application: quit requested
    [13:47:59.520] [Info] Application: quitting...
    [13:47:59.520] [Info] Application: shutdown...
    [13:47:59.646] [Info] Root: Shutting down Root
    [13:47:59.802] [Info] Application: Destroying SDL Window
    [13:47:59.815] [Info] Application: stopped gracefully
    
     
  4. The | Suit

    The | Suit Agent S. Forum Moderator

    If no pet is showing up and no error in log.
    You have to check the script it self to make sure it is even attached to your tech station.
     
  5. Zefnoly

    Zefnoly Void-Bound Voyager

    Yes it is attached to the techstation

    Here is a copypaste from that part of the code
    Code:
    ],
      "scriptDelta" : 20,
      "shipPetType" : "petlizcat",
      "spawnOffset" : [2, -1],
     
  6. The | Suit

    The | Suit Agent S. Forum Moderator

    Is the lua script attached though?

    If Lua Script is attached.
    Change pet -> vanilla pet name see if it works.
    If pet spawns -> issue is with your pet.

    If pet still doesn't spawn when replacing name with vanilla
    Issue is with your script.
     
  7. Zefnoly

    Zefnoly Void-Bound Voyager

    The techstation can spawn the vanilla pets but not mine
     
  8. Zefnoly

    Zefnoly Void-Bound Voyager

    Ok this is how I have setup the modlocation for the pet in my mod

    mods\fizarian\monsters\pets\lizcat:
    >
    petlizcat.animation
    petlizcat.monstertype
    parts:
    >
    whiteorange.monsterpart
    whiteorange.png

    Only one color so far to make sure it works before I do something more.
     
  9. Zefnoly

    Zefnoly Void-Bound Voyager

  10. The | Suit

    The | Suit Agent S. Forum Moderator

    Give me the files for just your pet and I will see
     
  11. Zefnoly

    Zefnoly Void-Bound Voyager

  12. The | Suit

    The | Suit Agent S. Forum Moderator

    So 3 issues.

    1. You gave the wrong log file
    The actual issue was,
    Code:
    [10:25:09.243] [Error] Exception caught loading asset: /monsters/pets/actions/starvingAction.lua, (AssetException) No such asset '/monsters/pets/actions/starvingAction.lua'
    
    2. You were either using an old reference mod ( my own - which hasn't been updated in a while. ) or you need to unpack your assets again, so you have the latest versions of vanillia files. The new pets do not have a starving.lua

    3. You had no frames file.

    I attached a working version of your pet - you can see it in Avian race.

    Capture.JPG
     

    Attached Files:

    • pet.zip
      File size:
      20.3 KB
      Views:
      10
  13. Zefnoly

    Zefnoly Void-Bound Voyager

    Thanks for helping me out. Yes it is possible I'm using an old unpack since I used files from unpacking the game as reference to make the pet. I will re-unpack the game to be sure.
     

Share This Page