Modding Help i need guidance...

Discussion in 'Starbound Modding' started by Zanderfel, Mar 12, 2017.

  1. Zanderfel

    Zanderfel Big Damn Hero

    Could not instantiate item '[floransaber, 1, {}]'. (MapException) Key '' not found in OrderedMap::get()

    where should i look in the files to resolve this...ive been trying for almost 2 weeks to figure out why im getting this error when i try to spawn the item in
     
  2. IHart

    IHart Scruffy Nerf-Herder

    full log, always full log.
     
    xaliber likes this.
  3. Zanderfel

    Zanderfel Big Damn Hero

    Code:
    [07:42:29.850] [Info] Root: Preparing Root...
    [07:42:29.851] [Info] Root: Done preparing Root.
    [07:42:29.851] [Info] Client Version 1.2.3b (windows x86_64) Source ID: 69bc1c906122a1c61453c6cff15aa088b613db78 Protocol: 729
    [07:42:29.851] [Info] Root: Scanning for asset sources in directory '..\assets\'
    [07:42:30.067] [Info] Root: Scanning for asset sources in directory '..\mods\'
    [07:42:30.074] [Info] Root: Detected asset source named 'base' at '..\assets\packed.pak'
    [07:42:30.074] [Info] Root: Detected asset source named 'Avian Sabers' at '..\mods\Avian Sabers'
    [07:42:30.074] [Info] Root: Detected asset source named 'Custom Weapon LUA' at '..\mods\CustomWeaponLUA'
    [07:42:30.074] [Info] Root: Detected asset source named 'Floran Sabers' at '..\mods\Floran Saber'
    [07:42:30.074] [Info] Root: Detected asset source named 'STFU fish' at '..\mods\STFU fish'
    [07:42:30.074] [Info] Root: Detected unnamed asset source at '..\assets\user'
    [07:42:30.074] [Info] Loading assets from: '..\assets\packed.pak'
    [07:42:30.351] [Info] Loading assets from: '..\mods\Avian Sabers'
    [07:42:30.362] [Info] Loading assets from: '..\mods\CustomWeaponLUA'
    [07:42:30.362] [Info] Loading assets from: '..\mods\Floran Saber'
    [07:42:30.365] [Info] Loading assets from: '..\mods\STFU fish'
    [07:42:30.366] [Info] Loading assets from: '..\assets\user'
    [07:42:31.041] [Info] Assets digest is b0fecef2a9acb96387e0fcb512722511f4d710431fe752495e83e04a91f49295
    [07:42:31.041] [Info] Root: Loaded Assets in 1.18952 seconds
    [07:42:31.044] [Info] Application: Initializing SDL Video
    [07:42:31.109] [Info] Application: Initializing SDL Joystick
    [07:42:31.186] [Info] Application: Initializing SDL Sound
    [07:42:31.288] [Info] Failed to initialize Steam platform services
    [07:42:31.288] [Info] Application: No platform services available
    [07:42:31.288] [Info] Application: Creating SDL Window
    [07:42:32.339] [Info] Application: Enabling VSync with late swap tearing
    [07:42:32.370] [Info] Application: Opened default audio device with 44.1khz / 16 bit stereo audio, 2048 sample size buffer
    [07:42:32.378] [Info] OpenGL version: '4.5.0 NVIDIA 378.78' vendor: 'NVIDIA Corporation' renderer: 'GeForce GTX 1070/PCIe/SSE2' shader: '4.50 NVIDIA'
    [07:42:32.387] [Info] Application: initialization...
    [07:42:32.388] [Info] Root: Loaded Configuration in 0.000716707 seconds
    [07:42:32.390] [Info] Application: renderer initialization...
    [07:42:32.395] [Info] detected supported OpenGL texture size 32768, using atlasNumCells 128
    [07:42:32.396] [Info] detected supported OpenGL texture size 32768, using atlasNumCells 64
    [07:42:32.397] [Info] Root: Loaded ImageMetadataDatabase in 3.61516e-06 seconds
    [07:42:32.409] [Info] Application: main update loop...
    [07:42:32.426] [Info] Root: Loaded NameGenerator in 0.014777 seconds
    [07:42:32.438] [Error] OpenGL errors this frame:  GL_INVALID_VALUE
    [07:42:32.532] [Info] Root: Loaded PlantDatabase in 0.105797 seconds
    [07:42:32.655] [Info] Root: Loaded ObjectDatabase in 0.243549 seconds
    [07:42:32.777] [Info] Root: Loaded MonsterDatabase in 0.122369 seconds
    [07:42:32.808] [Info] Root: Loaded NpcDatabase in 0.0306006 seconds
    [07:42:32.808] [Info] Root: Loaded StagehandDatabase in 0.000656454 seconds
    [07:42:32.810] [Info] Root: Loaded VehicleDatabase in 0.00172443 seconds
    [07:42:32.813] [Info] Root: Loaded PlayerFactory in 0.00267613 seconds
    [07:42:32.846] [Info] Root: Loaded ProjectileDatabase in 0.31477 seconds
    [07:42:32.847] [Info] Root: Loaded VersioningDatabase in 0.000475394 seconds
    [07:42:32.847] [Info] Root: Loaded EntityFactory in 0.0341308 seconds
    [07:42:32.881] [Info] Root: Loaded ParticleDatabase in 0.0336021 seconds
    [07:42:33.088] [Info] Root: Loaded MaterialDatabase in 0.240525 seconds
    [07:42:33.093] [Info] Root: Loaded TerrainDatabase in 0.00532996 seconds
    [07:42:33.117] [Info] Root: Loaded BiomeDatabase in 0.0242222 seconds
    [07:42:33.118] [Info] Root: Loaded LiquidsDatabase in 0.000693811 seconds
    [07:42:33.124] [Info] Root: Loaded StatusEffectDatabase in 0.00580204 seconds
    [07:42:33.334] [Info] Root: Loaded DamageDatabase in 0.21025 seconds
    [07:42:33.338] [Info] Root: Loaded EffectSourceDatabase in 0.00349105 seconds
    [07:42:33.340] [Info] Root: Loaded FunctionDatabase in 0.002073 seconds
    [07:42:33.359] [Info] Root: Loaded TreasureDatabase in 0.0192294 seconds
    [07:42:33.526] [Info] Root: Loaded DungeonDefinitions in 0.167184 seconds
    [07:42:33.526] [Info] Root: Loaded TilesetDatabase in 3.1934e-05 seconds
    [07:42:33.528] [Info] Root: Loaded StatisticsDatabase in 0.00201847 seconds
    [07:42:33.528] [Info] Root: Loaded EmoteProcessor in 7.01945e-05 seconds
    [07:42:33.536] [Info] Root: Loaded SpeciesDatabase in 0.00740386 seconds
    [07:42:33.549] [Info] Root: Loaded QuestTemplateDatabase in 0.0130577 seconds
    [07:42:33.550] [Info] Root: Loaded AiDatabase in 0.00146655 seconds
    [07:42:33.551] [Info] Root: Loaded TechDatabase in 0.000966455 seconds
    [07:42:33.557] [Info] Root: Loaded CodexDatabase in 0.00526188 seconds
    [07:42:33.791] [Info] Root: Loaded BehaviorDatabase in 0.233777 seconds
    [07:42:33.794] [Info] Root: Loaded DanceDatabase in 0.00301505 seconds
    [07:42:33.798] [Info] Root: Loaded SpawnTypeDatabase in 0.00427072 seconds
    [07:42:33.800] [Info] Root: Loaded RadioMessageDatabase in 0.00200883 seconds
    [07:42:34.603] [Error] Could not instantiate item '[floransaber, 1, {}]'. (MapException) Key '' not found in OrderedMap::get()
    [07:42:34.822] [Error] Could not instantiate item '[floransaber, 1, {}]'. (MapException) Key '' not found in OrderedMap::get()
    [07:42:34.822] [Info] Root: Loaded ItemDatabase in 1.97597 seconds
    [07:42:34.857] [Info] Root: Writing runtime configuration to '..\storage\starbound.config'
    [07:42:34.947] [Info] Root: Loaded CollectionDatabase in 1.14723 seconds
    [07:42:35.314] [Info] detected supported OpenGL texture size 32768, using atlasNumCells 256
    [07:42:44.648] [Info] UniverseServer: Acquiring universe lock file
    [07:42:44.650] [Info] UniverseServer: Loading settings
    [07:42:44.653] [Info] UniverseServer: Starting UniverseServer with UUID: bf17708752a1e468c5a8ddb2d2070d47
    [07:42:44.661] [Info] UniverseServer: Logged in player 'Sephyros' locally
    [07:42:44.661] [Info] UniverseServer: Logged in account '<anonymous>' as player 'Sephyros' from address local
    [07:42:44.666] [Info] UniverseServer: Reviving player at ClientShipWorld:d5afa1055266012b8aca03249137b19b
    [07:42:44.666] [Info] UniverseServer: Client 'Sephyros' <1> (local) connected
    [07:42:44.671] [Info] UniverseClient: Joined server as client 1
    [07:42:44.759] [Info] UniverseServer: Loading client ship world ClientShipWorld:d5afa1055266012b8aca03249137b19b
    [07:42:44.862] [Info] detected supported OpenGL texture size 32768, using atlasNumCells 64
    [07:42:44.862] [Info] detected supported OpenGL texture size 32768, using atlasNumCells 128
    [07:42:44.867] [Info] detected supported OpenGL texture size 32768, using atlasNumCells 256
    [07:42:44.867] [Info] detected supported OpenGL texture size 32768, using atlasNumCells 256
    [07:42:44.960] [Info] UniverseServer: listening for incoming TCP connections on 0.0.0.0:21025
    [07:42:45.383] [Info] UniverseServer: Warping player 1 to ClientShipWorld:d5afa1055266012b8aca03249137b19b=964.313.1019
    [07:43:47.903] [Error] Could not instantiate item '[floransaber, 1, {}]'. (MapException) Key '' not found in OrderedMap::get()
    [07:43:52.311] [Info] Application: quit requested
    [07:43:52.311] [Info] Application: quitting...
    [07:43:52.312] [Info] Application: shutdown...
    [07:43:52.313] [Info] UniverseClient: Client disconnecting...
    [07:43:52.415] [Info] Client received world stop packet, leaving: Removed
    [07:43:52.516] [Info] UniverseServer: Client 'Sephyros' <1> (local) disconnected for reason:
    [07:43:52.516] [Info] UniverseServer: Stopping idle world ClientShipWorld:d5afa1055266012b8aca03249137b19b
    [07:43:52.788] [Info] UniverseServer: Stopping UniverseServer
    [07:43:52.788] [Info] UniverseServer: Stopping TCP Server
    [07:43:52.936] [Info] Root: Shutting down Root
    [07:43:53.128] [Info] Application: Destroying SDL Window
    [07:43:53.260] [Info] Application: stopped gracefully
    
    here it is but I don't think it'll be useful...
     
  4. mastercookie

    mastercookie Existential Complex

    what does floransaber.activeitem look like?
     
  5. Zanderfel

    Zanderfel Big Damn Hero

    hilt open.gif hilt gif_idle.gif
     
    xaliber likes this.
  6. Zanderfel

    Zanderfel Big Damn Hero

    floransaber.activeitem
    Code:
    {
      "itemName" : "floransaber",
      "price" : 960,
      "level" : 6,
      "maxStack" : 1,
      "rarity" : "Legendary",
      "description" : "A weapon using the living essence of plants....and a dragon skull they found!?",
      "shortdescription" : "Draganea",
      "tooltipKind" : "base",
      "category" : "uniqueWeapon",
      "twoHanded" : true,
      "itemTags" : ["weapon", "melee", "broadsword"],
    
      "inventoryIcon" : "floransabericon.png",
    
      "animation" : "/items/active/weapons/melee/floransaber/floransaber.animation",
      "animationParts" : {
        "handle" : "floranhilt.png",
        "dragonskull" : "dragonskull.png",   
        "handleFullbright" : "floranhiltfullbright.png",
        "blade" : "floranblade.png"
      },
      "animationCustom" : {
        "sounds" : {
          "fire" : [ "/sfx/melee/laser_weapon_swing1.ogg", "/sfx/melee/laser_weapon_swing2.ogg", "/sfx/melee/laser_weapon_swing3.ogg" ],
          "fire2" : [ "/sfx/melee/laser_weapon_swing1.ogg", "/sfx/melee/laser_weapon_swing2.ogg", "/sfx/melee/laser_weapon_swing3.ogg" ],
          "fire3" : [ "/sfx/melee/laser_weapon_swing1.ogg", "/sfx/melee/laser_weapon_swing2.ogg", "/sfx/melee/laser_weapon_swing3.ogg" ]
        }   
      },   
    
      "animationScripts" : ["/items/active/weapons/melee/floransaber/florandragonskullscript/dragonskull.lua"],
     
      "scripts" : ["/items/active/weapons/melee/floransaber/floransaberweapon/floransaberweapon.lua"],
    
      "activeTime" : 5.0, 
    
      "elementalType" : "physical",
    
      "primaryAbilityType" : "floransabercombo",
      "primaryAbility" : {
        "fireTime" : 0.5,
        "baseDps" : 11.5,
        "stances" : {
          "windup1" : {
            "duration" : 0.15
          }
        }
      },
    
      "altAbilityType" : "",
    
      "builder" : "/items/buildscripts/buildunrandweapon.lua"
    }
    
    floransaber.animation
    Code:
    {
      "globalTagDefaults": {
        "paletteSwaps": ""
      },
      "animatedParts": {
        "stateTypes": {
          "swoosh": {
            "default": "idle",
            "states": {
              "idle": {},
              "fire": {
                "frames": 2,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "idle"
              },
              "fire2": {
                "frames": 2,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "idle"
              },
              "fire3": {
                "frames": 2,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "idle"
              },
              "crush": {
                "frames": 3,
                "cycle": 0.2,
                "mode": "transition",
                "transition": "idle"
              }
            }
          },
          "blade": {
            "default": "inactive",
            "states": {
              "inactive": {
                "properties": {
                  "lightsOff": ["glow"],
                  "particleEmittersOff": ["blade"]
                }
              },
              "extend": {
                "frames": 5,
                "cycle": 0.15,
                "mode": "transition",
                "transition": "active",
                "properties": {
                  "lightsOn": ["glow"],
                  "particleEmittersOn": ["blade"],
                  "immediateSound": "/sfx/melee/solgrenON.wav"
                }
              },
              "active": {
                "frames": 9,
                "cycle": 0.45,
                "mode": "loop",
                "properties": {
                  "lightsOn": ["glow"],
                  "particleEmittersOff": ["blade"],
                  "persistentSound": "/sfx/melee/solgrenHUM.ogg"
                }
              },
              "retract": {
                "frames": 5,
                "cycle": 0.15,
                "mode": "transition",
                "transition": "inactive",
                "properties": {
                  "lightsOn": ["glow"],
                  "particleEmittersOn": ["blade"],
                  "immediateSound": "/sfx/melee/solgrenOFF.wav"
                }
              }
            }
          },
          "dragonskull": {
            "default": "skull",
            "states": {
              "skull": {
                "properties": {}
              },
              "opening": {
                "frames": 5,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "idle",
                "properties": {
                  "immediateSound": ""
                }
              },
              "idle": {
                "frames": 18,
                "cycle": 0.5,
                "mode": "loop",
                "properties": {
                  "immediateSound": ""
                }
              },
              "shutting": {
                "frames": 5,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "skull",
                "properties": {
                  "immediateSound": ""
                }
              }
            }
          },
          "parts": {
            "blade": {
              "properties": {
                "zLevel": 0,
                "centered": true,
                "fullbright": true,
                "offset": [0.1,  1.85],
                "transformationGroups": ["weapon"],
                "rotationCenter": [0, 0],
                "damageArea": [[-0.7, -1.0], [-0.7,  2.5],  [0.5,  2.5],  [0.5, -1.0]]
              },
              "partStates": {
                "blade": {
                  "inactive": {
                    "properties": {
                      "image": ""
                    }
                  },
                  "extend": {
                    "properties": {
                      "image": "<partImage>:extend.<frame>?<directives>?<bladeDirectives>"
                    }
                  },
                  "active": {
                    "properties": {
                      "image": "<partImage>:active.<frame>?<directives>?<bladeDirectives>"
                    }
                  },
                  "retract": {
                    "properties": {
                      "image": "<partImage>:retract.<frame>?<directives>?<bladeDirectives>"
                    }
                  }
                }
              }
            },
            "dragonskull": {
              "properties": {
                "zLevel": 3,
                "centered": true,
                "fullbright": false,
                "offset": [0.1, 1.85]
              },
              "partStates": {
                "dragonskull": {
                  "skull": {
                    "properties": {
                      "image": "<partImage>:skull"
                    }
                  },
                  "opening": {
                    "properties": {
                      "image": "<partImage>:opening.<frame>?<directives>"
                    }
                  },
                  "idle": {
                    "properties": {
                      "image": "<partImage>idle.<frame>?<directives>"
                    }
                  },
                  "shutting": {
                    "properties": {
                      "image": "<partImage>shutting.<frame>?<directives>"
                    }
                  }
                }
              }
            },
            "handle": {
              "properties": {
                "zLevel": 1,
                "centered": true,
                "image": "<partImage><paletteSwaps>?<directives>",
                "offset": [0.1, 1.85],
                "transformationGroups": ["weapon"],
                "rotationCenter": [0, 0]
              }
            },
            "handleFullbright": {
              "properties": {
                "zLevel": 2,
                "centered": true,
                "fullbright": true,
                "image": "<partImage><paletteSwaps>?<directives>",
                "offset": [0.1,1.85],
                "transformationGroups": ["weapon"],
                "rotationCenter": [0,  0]
              }
            },
            "swoosh": {
              "properties": {
                "zLevel": -1,
                "centered": true,
                "fullbright": true,
                "transformationGroups": ["swoosh"],
                "rotationCenter": [0,  0]
              }
            },
            "partStates": {
              "swoosh": {
                "idle": {
                  "properties": {
                    "image": ""
                  }
                },
                "fire": {
                  "properties": {
                    "image": "/items/active/weapons/melee/2Hsabers/twohandedgreenlightsaber/Slash/Saberslash.png:<frame>",
                    "offset": [0.4,  2.75],
                    "damageArea": [[-5, 2], [-2.5,  3], [1,  3],  [4, 1.75],  [5, -0.25], [5,-2.25], [4,
                        -3.25],
                      [0,
                        -2.5]]
                  }
                },
                "fire2": {
                  "properties": {
                    "image": "/items/active/weapons/melee/2Hsabers/twohandedgreenlightsaber/Slash4/saberslash4.png:<frame>",
                    "offset": [0.4,
                      -2.75],
                    "damageArea": [[-5,
                        -2],
                      [-2.5,
                        -3],
                      [1,
                        -3],
                      [4,
                        -1.75],
                      [5,
                        0.25],
                      [5,
                        2.25],
                      [4,
                        3.25],
                      [0,
                        2.5]]
                  }
                },
                "fire3": {
                  "properties": {
                    "image": "/items/active/weapons/melee/2Hsabers/twohandedgreenlightsaber/Slash/Saberslash.png:<frame>",
                    "offset": [0.4,
                      2.75],
                    "damageArea": [[-5,
                        2],
                      [-2.5,
                        3],
                      [1,
                        3],
                      [4,
                        1.75],
                      [5,
                        -0.25],
                      [5,
                        -2.25],
                      [4,
                        -3.25],
                      [0,
                        -2.5]]
                  }
                },
                "crush": {
                  "properties": {
                    "image": "/items/active/weapons/melee/2Hsabers/twohandedgreenlightsaber/crush/crush.png:<frame>",
                    "offset": [4.5,
                      0],
                    "damageArea": [[-4.75,
                        1.5],
                      [4,
                        1],
                      [4,
                        -1],
                      [-4.75,
                        -1.5]]
                  }
                }
              }
            }
          }
        },
        "transformationGroups": {
          "weapon": {},
          "swoosh": {}
        },
        "particleEmitters": {
          "physicalswoosh": {
            "active": false,
            "transformationGroups": ["swoosh"],
            "burstCount": 4,
            "particles": [{
                "particle": "redsaberblade"
              }, {
                "particle": "redsaberblade2"
              }
            ]
          },
          "blade": {
            "active": false,
            "transformationGroups": ["weapon"],
            "offsetRegion": [-0.5,
              1.5,
              0.5,
              4.0],
            "emissionRate": 5,
            "particles": [{
                "particle": "redsaberblade"
              }, {
                "particle": "redsaberblade2"
              }
            ]
          }
        },
        "lights": {
          "glow": {
            "position": [0,
              2.0],
            "color": [225,
              50,
              50],
            "transformationGroups": ["weapon"]
          }
        },
        "sounds": {
          "fire": [],
          "fire2": [],
          "fire3": []
        }
      }
    }
     
  7. mastercookie

    mastercookie Existential Complex

    ugh, now thats a puzzler...
    it seems like theres error in structure in .animation file

    "parts" should be a part of animatedParts, NOT a part of stateTypes

    like this:
    Code:
    {
      "globalTagDefaults": {
        "paletteSwaps": ""
      },
      "animatedParts": {
        "stateTypes": {
          "swoosh": {
            "default": "idle",
            "states": {
              "idle": {},
              "fire": {
                "frames": 2,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "idle"
              },
              "fire2": {
                "frames": 2,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "idle"
              },
              "fire3": {
                "frames": 2,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "idle"
              },
              "crush": {
                "frames": 3,
                "cycle": 0.2,
                "mode": "transition",
                "transition": "idle"
              }
            }
          },
          "blade": {
            "default": "inactive",
            "states": {
              "inactive": {
                "properties": {
                  "lightsOff": ["glow"],
                  "particleEmittersOff": ["blade"]
                }
              },
              "extend": {
                "frames": 5,
                "cycle": 0.15,
                "mode": "transition",
                "transition": "active",
                "properties": {
                  "lightsOn": ["glow"],
                  "particleEmittersOn": ["blade"],
                  "immediateSound": "/sfx/melee/solgrenON.wav"
                }
              },
              "active": {
                "frames": 9,
                "cycle": 0.45,
                "mode": "loop",
                "properties": {
                  "lightsOn": ["glow"],
                  "particleEmittersOff": ["blade"],
                  "persistentSound": "/sfx/melee/solgrenHUM.ogg"
                }
              },
              "retract": {
                "frames": 5,
                "cycle": 0.15,
                "mode": "transition",
                "transition": "inactive",
                "properties": {
                  "lightsOn": ["glow"],
                  "particleEmittersOn": ["blade"],
                  "immediateSound": "/sfx/melee/solgrenOFF.wav"
                }
              }
            }
          },
          "dragonskull": {
            "default": "skull",
            "states": {
              "skull": {
                "properties": {}
              },
              "opening": {
                "frames": 5,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "idle",
                "properties": {
                  "immediateSound": ""
                }
              },
              "idle": {
                "frames": 18,
                "cycle": 0.5,
                "mode": "loop",
                "properties": {
                  "immediateSound": ""
                }
              },
              "shutting": {
                "frames": 5,
                "cycle": 0.1,
                "mode": "transition",
                "transition": "skull",
                "properties": {
                  "immediateSound": ""
                }
              }
            }
          }
         },
         
          "parts": {
            "blade": {
              "properties": {
                "zLevel": 0,
                "centered": true,
                "fullbright": true,
                "offset": [0.1,  1.85],
                "transformationGroups": ["weapon"],
                "rotationCenter": [0, 0],
                "damageArea": [[-0.7, -1.0], [-0.7,  2.5],  [0.5,  2.5],  [0.5, -1.0]]
              },
              "partStates": {
                "blade": {
                  "inactive": {
                    "properties": {
                      "image": ""
                    }
                  },
                  "extend": {
                    "properties": {
                      "image": "<partImage>:extend.<frame>?<directives>?<bladeDirectives>"
                    }
                  },
                  "active": {
                    "properties": {
                      "image": "<partImage>:active.<frame>?<directives>?<bladeDirectives>"
                    }
                  },
                  "retract": {
                    "properties": {
                      "image": "<partImage>:retract.<frame>?<directives>?<bladeDirectives>"
                    }
                  }
                }
              }
            },
            "dragonskull": {
              "properties": {
                "zLevel": 3,
                "centered": true,
                "fullbright": false,
                "offset": [0.1, 1.85]
              },
              "partStates": {
                "dragonskull": {
                  "skull": {
                    "properties": {
                      "image": "<partImage>:skull"
                    }
                  },
                  "opening": {
                    "properties": {
                      "image": "<partImage>:opening.<frame>?<directives>"
                    }
                  },
                  "idle": {
                    "properties": {
                      "image": "<partImage>idle.<frame>?<directives>"
                    }
                  },
                  "shutting": {
                    "properties": {
                      "image": "<partImage>shutting.<frame>?<directives>"
                    }
                  }
                }
              }
            },
            "handle": {
              "properties": {
                "zLevel": 1,
                "centered": true,
                "image": "<partImage><paletteSwaps>?<directives>",
                "offset": [0.1, 1.85],
                "transformationGroups": ["weapon"],
                "rotationCenter": [0, 0]
              }
            },
            "handleFullbright": {
              "properties": {
                "zLevel": 2,
                "centered": true,
                "fullbright": true,
                "image": "<partImage><paletteSwaps>?<directives>",
                "offset": [0.1,1.85],
                "transformationGroups": ["weapon"],
                "rotationCenter": [0,  0]
              }
            },
            "swoosh": {
              "properties": {
                "zLevel": -1,
                "centered": true,
                "fullbright": true,
                "transformationGroups": ["swoosh"],
                "rotationCenter": [0,  0]
              }
            },
            "partStates": {
              "swoosh": {
                "idle": {
                  "properties": {
                    "image": ""
                  }
                },
                "fire": {
                  "properties": {
                    "image": "/items/active/weapons/melee/2Hsabers/twohandedgreenlightsaber/Slash/Saberslash.png:<frame>",
                    "offset": [0.4,  2.75],
                    "damageArea": [[-5, 2], [-2.5,  3], [1,  3],  [4, 1.75],  [5, -0.25], [5,-2.25], [4,
                        -3.25],
                      [0,
                        -2.5]]
                  }
                },
                "fire2": {
                  "properties": {
                    "image": "/items/active/weapons/melee/2Hsabers/twohandedgreenlightsaber/Slash4/saberslash4.png:<frame>",
                    "offset": [0.4,
                      -2.75],
                    "damageArea": [[-5,
                        -2],
                      [-2.5,
                        -3],
                      [1,
                        -3],
                      [4,
                        -1.75],
                      [5,
                        0.25],
                      [5,
                        2.25],
                      [4,
                        3.25],
                      [0,
                        2.5]]
                  }
                },
                "fire3": {
                  "properties": {
                    "image": "/items/active/weapons/melee/2Hsabers/twohandedgreenlightsaber/Slash/Saberslash.png:<frame>",
                    "offset": [0.4,
                      2.75],
                    "damageArea": [[-5,
                        2],
                      [-2.5,
                        3],
                      [1,
                        3],
                      [4,
                        1.75],
                      [5,
                        -0.25],
                      [5,
                        -2.25],
                      [4,
                        -3.25],
                      [0,
                        -2.5]]
                  }
                },
                "crush": {
                  "properties": {
                    "image": "/items/active/weapons/melee/2Hsabers/twohandedgreenlightsaber/crush/crush.png:<frame>",
                    "offset": [4.5,
                      0],
                    "damageArea": [[-4.75,
                        1.5],
                      [4,
                        1],
                      [4,
                        -1],
                      [-4.75,
                        -1.5]]
                  }
                }
              }
            }
          }
        },
       
        "transformationGroups": {
          "weapon": {},
          "swoosh": {}
        },
        "particleEmitters": {
          "physicalswoosh": {
            "active": false,
            "transformationGroups": ["swoosh"],
            "burstCount": 4,
            "particles": [{
                "particle": "redsaberblade"
              }, {
                "particle": "redsaberblade2"
              }
            ]
          },
          "blade": {
            "active": false,
            "transformationGroups": ["weapon"],
            "offsetRegion": [-0.5,
              1.5,
              0.5,
              4.0],
            "emissionRate": 5,
            "particles": [{
                "particle": "redsaberblade"
              }, {
                "particle": "redsaberblade2"
              }
            ]
          }
        },
        "lights": {
          "glow": {
            "position": [0,
              2.0],
            "color": [225,
              50,
              50],
            "transformationGroups": ["weapon"]
          }
        },
        "sounds": {
          "fire": [],
          "fire2": [],
          "fire3": []
        }
      }
    
    
    
    with this i get different error, smth about particles which is understandable, since i dont have em.
     
  8. Zanderfel

    Zanderfel Big Damn Hero

    thanks to this I was able to complete the animations, thank you kindly mastercookie
    its funny how its always something so simple
     
  9. mastercookie

    mastercookie Existential Complex

    sure thing, got to say theres some advanced weaponry right here, i mean several parts plus several states for each part, thats pretty neat :nuruhappy:
     
  10. Zanderfel

    Zanderfel Big Damn Hero

    yeah i know its crazy... but its what fluffyfloran wanted for his saber so i have to oblige
     

Share This Page