Modding Help Unable to transform muzzle flash.

Discussion in 'Starbound Modding' started by Vilespring, Jul 16, 2019.

  1. Vilespring

    Vilespring Subatomic Cosmonaut

    I'm making a custom weapon mod, and everything is going quite well, except I can't move the muzzle flash.

    The muzzle flash refuses to move, even though I've tried everything I can think of to move it. I've looked at modded weapons, vanilla weapons, and even other weapons that can be spawned with inline commands.

    The weapon I'm making is also spawned in with an /spawnitem command as well, but I don't think this should effect being able to move the muzzle flash. I can even move everything else except the muzzle flash.

    The DrawablesGenerator was used to make the weapon sprite. I'll eventually get around to getting actually drawn sprites, I just wanted to get a weapon done to interest the person who will be doing the pixel art.

    It's also worth noting the bullets come out of the right place, putting the place the bullets come out into the ground or a wall causes the gun to stop firing, but the muzzle flash isn't even close to the right place....

    Direct spawn command:
    Code:
    /spawnitem commonpistol 1 '{"level":6,"seed":70,"rarity":"rare","twoHanded" : true,"shortdescription":"Maplestrike","description": "Canadian assault rifle chambered in Military ammunition.","category":"Assult Rifle","animationCustom":{"particleEmitters" : {"muzzleFlash" : {"offset":[0,-10]}},"animatedParts":{"parts":{"butt":{"properties":{"image":"/assetmissing.png"}},"middle":{"properties":{"image":"/assetmissing.png"}},"barrel":{"properties":{"image":"/assetmissing.png"}},"D_1":{"properties":{"centered":false,"offset":[-1.625,-0.375],"image":"/objects/outpost/customsign/signplaceholder.png?replace;01000101=FFF0;01000201=FFF0;01000301=FFF0;01000401=353635;01000501=353635;01000601=353635;01000701=3A3F3A;01000801=3A403A;02000101=FFF0;02000201=FFF0;02000301=FFF0;02000401=353635;02000501=353635;02000601=353635;02000701=3A3F3A;02000801=3B403B;03000101=FFF0;03000201=FFF0;03000301=FFF0;03000401=FFF0;03000501=353635;03000601=353635;03000701=3A3F3A;03000801=3B403B;04000101=FFF0;04000201=FFF0;04000301=FFF0;04000401=FFF0;04000501=FFF0;04000601=363736;04000701=3A3F3A;04000801=3B403B;05000101=FFF0;05000201=FFF0;05000301=FFF0;05000401=FFF0;05000501=FFF0;05000601=FFF0;05000701=3A3F3A;05000801=3B403B;06000101=FFF0;06000201=FFF0;06000301=FFF0;06000401=FFF0;06000501=FFF0;06000601=FFF0;06000701=3A3F3A;06000801=3B403B;07000101=FFF0;07000201=FFF0;07000301=FFF0;07000401=FFF0;07000501=FFF0;07000601=FFF0;07000701=3A3F3A;07000801=3B403B;08000101=FFF0;08000201=FFF0;08000301=FFF0;08000401=FFF0;08000501=FFF0;08000601=FFF0;08000701=3A3F3A;08000801=3B413B;09000101=FFF0;09000201=363836;09000301=373837;09000401=373837;09000501=373837;09000601=373837;09000701=343534;09000801=373837;10000101=FFF0;10000201=373837;10000301=373837;10000401=373837;10000501=373837;10000601=373837;10000701=343534;10000801=3E3E3E;11000101=FFF0;11000201=FFF0;11000301=FFF0;11000401=FFF0;11000501=383938;11000601=383938;11000701=343534;11000801=3E3E3E;12000101=FFF0;12000201=FFF0;12000301=FFF0;12000401=FFF0;12000501=FFF0;12000601=383938;12000701=343534;12000801=383938;13000101=FFF0;13000201=FFF0;13000301=FFF0;13000401=FFF0;13000501=FFF0;13000601=383938;13000701=343534;13000801=383938;14000101=696A69;14000201=696A69;14000301=6A6C6A;14000401=828182;14000501=818081;14000601=383A38;14000701=343534;14000801=616161;15000101=7F7E7F;15000201=696A69;15000301=696A69;15000401=696A69;15000501=696B69;15000601=383A38;15000701=343534;15000801=616161;16000101=817F81;16000201=6E716E;16000301=696A69;16000401=696A69;16000501=696A69;16000601=383A38;16000701=343534;16000801=383938;17000101=817F81;17000201=FFF0;17000301=FFF0;17000401=FFF0;17000501=FFF0;17000601=FFF0;17000701=3B413B;17000801=3B413B;18000101=FFF0;18000201=FFF0;18000301=FFF0;18000401=FFF0;18000501=FFF0;18000601=FFF0;18000701=3B403B;18000801=3C413C;19000101=FFF0;19000201=FFF0;19000301=FFF0;19000401=FFF0;19000501=FFF0;19000601=FFF0;19000701=3B403B;19000801=3C413C;20000101=FFF0;20000201=FFF0;20000301=FFF0;20000401=FFF0;20000501=FFF0;20000601=FFF0;20000701=3B403B;20000801=3B413B;21000101=FFF0;21000201=FFF0;21000301=FFF0;21000401=FFF0;21000501=FFF0;21000601=FFF0;21000701=3B403B;21000801=3B413B;22000101=FFF0;22000201=FFF0;22000301=FFF0;22000401=FFF0;22000501=FFF0;22000601=FFF0;22000701=3A403A;22000801=3B413B;23000101=FFF0;23000201=FFF0;23000301=FFF0;23000401=FFF0;23000501=FFF0;23000601=FFF0;23000701=3A403A;23000801=3B403B;24000101=FFF0;24000201=FFF0;24000301=FFF0;24000401=FFF0;24000501=FFF0;24000601=FFF0;24000701=3A3F3A;24000801=3B403B;25000101=FFF0;25000201=FFF0;25000301=FFF0;25000401=FFF0;25000501=FFF0;25000601=FFF0;25000701=3A3F3A;25000801=3B403B;26000101=FFF0;26000201=FFF0;26000301=FFF0;26000401=FFF0;26000501=FFF0;26000601=FFF0;26000701=FFF0;26000801=353635;27000101=FFF0;27000201=FFF0;27000301=FFF0;27000401=FFF0;27000501=FFF0;27000601=FFF0;27000701=FFF0;27000801=353635;28000101=FFF0;28000201=FFF0;28000301=FFF0;28000401=FFF0;28000501=FFF0;28000601=FFF0;28000701=FFF0;28000801=343634;29000101=FFF0;29000201=FFF0;29000301=FFF0;29000401=FFF0;29000501=FFF0;29000601=FFF0;29000701=FFF0;29000801=343534;30000101=FFF0;30000201=FFF0;30000301=FFF0;30000401=FFF0;30000501=FFF0;30000601=FFF0;30000701=FFF0;30000801=343534","transformationGroups":[]}},"D_2":{"properties":{"centered":false,"offset":[-1.625,0.625],"image":"/objects/outpost/customsign/signplaceholder.png?replace;01000101=FFF0;01000201=FFF0;01000301=FFF0;02000101=FFF0;02000201=FFF0;02000301=FFF0;03000101=FFF0;03000201=FFF0;03000301=FFF0;04000101=FFF0;04000201=FFF0;04000301=FFF0;05000101=FFF0;05000201=FFF0;05000301=FFF0;06000101=FFF0;06000201=FFF0;06000301=FFF0;07000101=FFF0;07000201=FFF0;07000301=FFF0;08000101=FFF0;08000201=FFF0;08000301=FFF0;09000101=424242;09000201=FFF0;09000301=FFF0;10000101=373837;10000201=383838;10000301=383838;11000101=373937;11000201=FFF0;11000301=383838;12000101=383938;12000201=FFF0;12000301=383838;13000101=383938;13000201=FFF0;13000301=383838;14000101=383938;14000201=FFF0;14000301=393939;15000101=383938;15000201=FFF0;15000301=383838;16000101=383938;16000201=393939;16000301=FFF0;17000101=3B413B;17000201=FFF0;17000301=FFF0;18000101=3A3F3A;18000201=FFF0;18000301=FFF0;19000101=3A3F3A;19000201=FFF0;19000301=FFF0;20000101=3A3F3A;20000201=FFF0;20000301=FFF0;21000101=3A3F3A;21000201=FFF0;21000301=FFF0;22000101=3A3F3A;22000201=FFF0;22000301=FFF0;23000101=393F39;23000201=FFF0;23000301=FFF0;24000101=3A3F3A;24000201=FFF0;24000301=FFF0;25000101=3A3F3A;25000201=373737;25000301=373737;26000101=FFF0;26000201=FFF0;26000301=FFF0;27000101=FFF0;27000201=FFF0;27000301=FFF0;28000101=FFF0;28000201=FFF0;28000301=FFF0;29000101=FFF0;29000201=FFF0;29000301=FFF0;30000101=FFF0;30000201=FFF0;30000301=FFF0","transformationGroups":[]}}}}},"primaryAbility":{"stances":{"idle":{"armRotation":0,"weaponRotation":0,"twoHanded":true,"allowRotate":true,"allowFlip":true,"weaponOffset":[-1,-2]},"fire":{"duration":0.0,"armRotation":0,"weaponRotation":0,"twoHanded":true,"allowRotate":true,"allowFlip":true,"weaponOffset":[-1.2,-2]},"cooldown":{"duration":0.1,"armRotation":0,"weaponRotation":0,"twoHanded":true,"allowRotate":true,"allowFlip":true,"weaponOffset":[-1.2,-2]}},"baseDps":6.0,"energyUsage":10,"fireTime":0.12,"inaccuracy":0.01,"fireType":"auto"},"inventoryIcon":[  {    "image": "/objects/outpost/customsign/signplaceholder.png?replace;01000101=FFF0;01000201=FFF0;01000301=FFF0;01000401=353635;01000501=353635;01000601=353635;01000701=3A3F3A;01000801=3A403A;02000101=FFF0;02000201=FFF0;02000301=FFF0;02000401=353635;02000501=353635;02000601=353635;02000701=3A3F3A;02000801=3B403B;03000101=FFF0;03000201=FFF0;03000301=FFF0;03000401=FFF0;03000501=353635;03000601=353635;03000701=3A3F3A;03000801=3B403B;04000101=FFF0;04000201=FFF0;04000301=FFF0;04000401=FFF0;04000501=FFF0;04000601=363736;04000701=3A3F3A;04000801=3B403B;05000101=FFF0;05000201=FFF0;05000301=FFF0;05000401=FFF0;05000501=FFF0;05000601=FFF0;05000701=3A3F3A;05000801=3B403B;06000101=FFF0;06000201=FFF0;06000301=FFF0;06000401=FFF0;06000501=FFF0;06000601=FFF0;06000701=3A3F3A;06000801=3B403B;07000101=FFF0;07000201=FFF0;07000301=FFF0;07000401=FFF0;07000501=FFF0;07000601=FFF0;07000701=3A3F3A;07000801=3B403B;08000101=FFF0;08000201=FFF0;08000301=FFF0;08000401=FFF0;08000501=FFF0;08000601=FFF0;08000701=3A3F3A;08000801=3B413B;09000101=FFF0;09000201=363836;09000301=373837;09000401=373837;09000501=373837;09000601=373837;09000701=343534;09000801=373837;10000101=FFF0;10000201=373837;10000301=373837;10000401=373837;10000501=373837;10000601=373837;10000701=343534;10000801=3E3E3E;11000101=FFF0;11000201=FFF0;11000301=FFF0;11000401=FFF0;11000501=383938;11000601=383938;11000701=343534;11000801=3E3E3E;12000101=FFF0;12000201=FFF0;12000301=FFF0;12000401=FFF0;12000501=FFF0;12000601=383938;12000701=343534;12000801=383938;13000101=FFF0;13000201=FFF0;13000301=FFF0;13000401=FFF0;13000501=FFF0;13000601=383938;13000701=343534;13000801=383938;14000101=696A69;14000201=696A69;14000301=6A6C6A;14000401=828182;14000501=818081;14000601=383A38;14000701=343534;14000801=616161;15000101=7F7E7F;15000201=696A69;15000301=696A69;15000401=696A69;15000501=696B69;15000601=383A38;15000701=343534;15000801=616161;16000101=817F81;16000201=6E716E;16000301=696A69;16000401=696A69;16000501=696A69;16000601=383A38;16000701=343534;16000801=383938;17000101=817F81;17000201=FFF0;17000301=FFF0;17000401=FFF0;17000501=FFF0;17000601=FFF0;17000701=3B413B;17000801=3B413B;18000101=FFF0;18000201=FFF0;18000301=FFF0;18000401=FFF0;18000501=FFF0;18000601=FFF0;18000701=3B403B;18000801=3C413C;19000101=FFF0;19000201=FFF0;19000301=FFF0;19000401=FFF0;19000501=FFF0;19000601=FFF0;19000701=3B403B;19000801=3C413C;20000101=FFF0;20000201=FFF0;20000301=FFF0;20000401=FFF0;20000501=FFF0;20000601=FFF0;20000701=3B403B;20000801=3B413B;21000101=FFF0;21000201=FFF0;21000301=FFF0;21000401=FFF0;21000501=FFF0;21000601=FFF0;21000701=3B403B;21000801=3B413B;22000101=FFF0;22000201=FFF0;22000301=FFF0;22000401=FFF0;22000501=FFF0;22000601=FFF0;22000701=3A403A;22000801=3B413B;23000101=FFF0;23000201=FFF0;23000301=FFF0;23000401=FFF0;23000501=FFF0;23000601=FFF0;23000701=3A403A;23000801=3B403B;24000101=FFF0;24000201=FFF0;24000301=FFF0;24000401=FFF0;24000501=FFF0;24000601=FFF0;24000701=3A3F3A;24000801=3B403B;25000101=FFF0;25000201=FFF0;25000301=FFF0;25000401=FFF0;25000501=FFF0;25000601=FFF0;25000701=3A3F3A;25000801=3B403B;26000101=FFF0;26000201=FFF0;26000301=FFF0;26000401=FFF0;26000501=FFF0;26000601=FFF0;26000701=FFF0;26000801=353635;27000101=FFF0;27000201=FFF0;27000301=FFF0;27000401=FFF0;27000501=FFF0;27000601=FFF0;27000701=FFF0;27000801=353635;28000101=FFF0;28000201=FFF0;28000301=FFF0;28000401=FFF0;28000501=FFF0;28000601=FFF0;28000701=FFF0;28000801=343634;29000101=FFF0;29000201=FFF0;29000301=FFF0;29000401=FFF0;29000501=FFF0;29000601=FFF0;29000701=FFF0;29000801=343534;30000101=FFF0;30000201=FFF0;30000301=FFF0;30000401=FFF0;30000501=FFF0;30000601=FFF0;30000701=FFF0;30000801=343534?crop;0;0;30;8",    "position": [      0,      3    ]  },  {    "image": "/objects/outpost/customsign/signplaceholder.png?replace;01000101=FFF0;01000201=FFF0;01000301=FFF0;02000101=FFF0;02000201=FFF0;02000301=FFF0;03000101=FFF0;03000201=FFF0;03000301=FFF0;04000101=FFF0;04000201=FFF0;04000301=FFF0;05000101=FFF0;05000201=FFF0;05000301=FFF0;06000101=FFF0;06000201=FFF0;06000301=FFF0;07000101=FFF0;07000201=FFF0;07000301=FFF0;08000101=FFF0;08000201=FFF0;08000301=FFF0;09000101=424242;09000201=FFF0;09000301=FFF0;10000101=373837;10000201=383838;10000301=383838;11000101=373937;11000201=FFF0;11000301=383838;12000101=383938;12000201=FFF0;12000301=383838;13000101=383938;13000201=FFF0;13000301=383838;14000101=383938;14000201=FFF0;14000301=393939;15000101=383938;15000201=FFF0;15000301=383838;16000101=383938;16000201=393939;16000301=FFF0;17000101=3B413B;17000201=FFF0;17000301=FFF0;18000101=3A3F3A;18000201=FFF0;18000301=FFF0;19000101=3A3F3A;19000201=FFF0;19000301=FFF0;20000101=3A3F3A;20000201=FFF0;20000301=FFF0;21000101=3A3F3A;21000201=FFF0;21000301=FFF0;22000101=3A3F3A;22000201=FFF0;22000301=FFF0;23000101=393F39;23000201=FFF0;23000301=FFF0;24000101=3A3F3A;24000201=FFF0;24000301=FFF0;25000101=3A3F3A;25000201=373737;25000301=373737;26000101=FFF0;26000201=FFF0;26000301=FFF0;27000101=FFF0;27000201=FFF0;27000301=FFF0;28000101=FFF0;28000201=FFF0;28000301=FFF0;29000101=FFF0;29000201=FFF0;29000301=FFF0;30000101=FFF0;30000201=FFF0;30000301=FFF0?crop;0;0;30;3",    "position": [      0,      8    ]  }]}'
    Actually readable version:
    Code:
    /spawnitem commonpistol 1
    '{"level":6,
    "seed":70,
    "rarity":"rare",
    "twoHanded" : true,
    "shortdescription":"Maplestrike",
    "description": "Canadian assault rifle chambered in Military ammunition.",
    "category":"Assult Rifle",
    "animationCustom":{
                "particleEmitters" : {
                "muzzleFlash" : {"offset":[0,-10]}
                },
    
                "animatedParts":{
                "parts":{
                "butt":{"properties":{"image":"/assetmissing.png"}},
                "middle":{"properties":{"image":"/assetmissing.png"}},
                "barrel":{"properties":{"image":"/assetmissing.png"}},
                "D_1":{"properties":{"centered":false,"offset":[-1.625,-0.375],"image":"/objects/outpost/customsign/signplaceholder.png?replace;01000101=FFF0;01000201=FFF0;01000301=FFF0;01000401=353635;01000501=353635;01000601=353635;01000701=3A3F3A;01000801=3A403A;02000101=FFF0;02000201=FFF0;02000301=FFF0;02000401=353635;02000501=353635;02000601=353635;02000701=3A3F3A;02000801=3B403B;03000101=FFF0;03000201=FFF0;03000301=FFF0;03000401=FFF0;03000501=353635;03000601=353635;03000701=3A3F3A;03000801=3B403B;04000101=FFF0;04000201=FFF0;04000301=FFF0;04000401=FFF0;04000501=FFF0;04000601=363736;04000701=3A3F3A;04000801=3B403B;05000101=FFF0;05000201=FFF0;05000301=FFF0;05000401=FFF0;05000501=FFF0;05000601=FFF0;05000701=3A3F3A;05000801=3B403B;06000101=FFF0;06000201=FFF0;06000301=FFF0;06000401=FFF0;06000501=FFF0;06000601=FFF0;06000701=3A3F3A;06000801=3B403B;07000101=FFF0;07000201=FFF0;07000301=FFF0;07000401=FFF0;07000501=FFF0;07000601=FFF0;07000701=3A3F3A;07000801=3B403B;08000101=FFF0;08000201=FFF0;08000301=FFF0;08000401=FFF0;08000501=FFF0;08000601=FFF0;08000701=3A3F3A;08000801=3B413B;09000101=FFF0;09000201=363836;09000301=373837;09000401=373837;09000501=373837;09000601=373837;09000701=343534;09000801=373837;10000101=FFF0;10000201=373837;10000301=373837;10000401=373837;10000501=373837;10000601=373837;10000701=343534;10000801=3E3E3E;11000101=FFF0;11000201=FFF0;11000301=FFF0;11000401=FFF0;11000501=383938;11000601=383938;11000701=343534;11000801=3E3E3E;12000101=FFF0;12000201=FFF0;12000301=FFF0;12000401=FFF0;12000501=FFF0;12000601=383938;12000701=343534;12000801=383938;13000101=FFF0;13000201=FFF0;13000301=FFF0;13000401=FFF0;13000501=FFF0;13000601=383938;13000701=343534;13000801=383938;14000101=696A69;14000201=696A69;14000301=6A6C6A;14000401=828182;14000501=818081;14000601=383A38;14000701=343534;14000801=616161;15000101=7F7E7F;15000201=696A69;15000301=696A69;15000401=696A69;15000501=696B69;15000601=383A38;15000701=343534;15000801=616161;16000101=817F81;16000201=6E716E;16000301=696A69;16000401=696A69;16000501=696A69;16000601=383A38;16000701=343534;16000801=383938;17000101=817F81;17000201=FFF0;17000301=FFF0;17000401=FFF0;17000501=FFF0;17000601=FFF0;17000701=3B413B;17000801=3B413B;18000101=FFF0;18000201=FFF0;18000301=FFF0;18000401=FFF0;18000501=FFF0;18000601=FFF0;18000701=3B403B;18000801=3C413C;19000101=FFF0;19000201=FFF0;19000301=FFF0;19000401=FFF0;19000501=FFF0;19000601=FFF0;19000701=3B403B;19000801=3C413C;20000101=FFF0;20000201=FFF0;20000301=FFF0;20000401=FFF0;20000501=FFF0;20000601=FFF0;20000701=3B403B;20000801=3B413B;21000101=FFF0;21000201=FFF0;21000301=FFF0;21000401=FFF0;21000501=FFF0;21000601=FFF0;21000701=3B403B;21000801=3B413B;22000101=FFF0;22000201=FFF0;22000301=FFF0;22000401=FFF0;22000501=FFF0;22000601=FFF0;22000701=3A403A;22000801=3B413B;23000101=FFF0;23000201=FFF0;23000301=FFF0;23000401=FFF0;23000501=FFF0;23000601=FFF0;23000701=3A403A;23000801=3B403B;24000101=FFF0;24000201=FFF0;24000301=FFF0;24000401=FFF0;24000501=FFF0;24000601=FFF0;24000701=3A3F3A;24000801=3B403B;25000101=FFF0;25000201=FFF0;25000301=FFF0;25000401=FFF0;25000501=FFF0;25000601=FFF0;25000701=3A3F3A;25000801=3B403B;26000101=FFF0;26000201=FFF0;26000301=FFF0;26000401=FFF0;26000501=FFF0;26000601=FFF0;26000701=FFF0;26000801=353635;27000101=FFF0;27000201=FFF0;27000301=FFF0;27000401=FFF0;27000501=FFF0;27000601=FFF0;27000701=FFF0;27000801=353635;28000101=FFF0;28000201=FFF0;28000301=FFF0;28000401=FFF0;28000501=FFF0;28000601=FFF0;28000701=FFF0;28000801=343634;29000101=FFF0;29000201=FFF0;29000301=FFF0;29000401=FFF0;29000501=FFF0;29000601=FFF0;29000701=FFF0;29000801=343534;30000101=FFF0;30000201=FFF0;30000301=FFF0;30000401=FFF0;30000501=FFF0;30000601=FFF0;30000701=FFF0;30000801=343534","transformationGroups":[]}},"D_2":{"properties":{"centered":false,"offset":[-1.625,0.625],"image":"/objects/outpost/customsign/signplaceholder.png?replace;01000101=FFF0;01000201=FFF0;01000301=FFF0;02000101=FFF0;02000201=FFF0;02000301=FFF0;03000101=FFF0;03000201=FFF0;03000301=FFF0;04000101=FFF0;04000201=FFF0;04000301=FFF0;05000101=FFF0;05000201=FFF0;05000301=FFF0;06000101=FFF0;06000201=FFF0;06000301=FFF0;07000101=FFF0;07000201=FFF0;07000301=FFF0;08000101=FFF0;08000201=FFF0;08000301=FFF0;09000101=424242;09000201=FFF0;09000301=FFF0;10000101=373837;10000201=383838;10000301=383838;11000101=373937;11000201=FFF0;11000301=383838;12000101=383938;12000201=FFF0;12000301=383838;13000101=383938;13000201=FFF0;13000301=383838;14000101=383938;14000201=FFF0;14000301=393939;15000101=383938;15000201=FFF0;15000301=383838;16000101=383938;16000201=393939;16000301=FFF0;17000101=3B413B;17000201=FFF0;17000301=FFF0;18000101=3A3F3A;18000201=FFF0;18000301=FFF0;19000101=3A3F3A;19000201=FFF0;19000301=FFF0;20000101=3A3F3A;20000201=FFF0;20000301=FFF0;21000101=3A3F3A;21000201=FFF0;21000301=FFF0;22000101=3A3F3A;22000201=FFF0;22000301=FFF0;23000101=393F39;23000201=FFF0;23000301=FFF0;24000101=3A3F3A;24000201=FFF0;24000301=FFF0;25000101=3A3F3A;25000201=373737;25000301=373737;26000101=FFF0;26000201=FFF0;26000301=FFF0;27000101=FFF0;27000201=FFF0;27000301=FFF0;28000101=FFF0;28000201=FFF0;28000301=FFF0;29000101=FFF0;29000201=FFF0;29000301=FFF0;30000101=FFF0;30000201=FFF0;30000301=FFF0","transformationGroups":[]}}}
                }
                },
    "primaryAbility":
        {
            "stances":
            {
                "idle":
                {
                    "armRotation":0,
                    "weaponRotation":0,
                    "twoHanded":true,
                    "allowRotate":true,
                    "allowFlip":true,
                    "weaponOffset":[-1,-2]
                },
                "fire":
                {
                    "duration":0.0,
                    "armRotation":0,
                    "weaponRotation":0,
                    "twoHanded":true,
                    "allowRotate":true,
                    "allowFlip":true,
                    "weaponOffset":[-1.2,-2]
                },
                "cooldown":
                {
                    "duration":0.1,
                    "armRotation":0,
                    "weaponRotation":0,
                    "twoHanded":true,
                    "allowRotate":true,
                    "allowFlip":true,
                    "weaponOffset":[-1.2,-2]
                }
            },
            "baseDps":6.0,
            "energyUsage":10,
            "fireTime":0.12,
            "inaccuracy":0.01,
            "fireType":"auto"
        },
        "inventoryIcon":
        [
      {
        "image": "/objects/outpost/customsign/signplaceholder.png?replace;01000101=FFF0;01000201=FFF0;01000301=FFF0;01000401=353635;01000501=353635;01000601=353635;01000701=3A3F3A;01000801=3A403A;02000101=FFF0;02000201=FFF0;02000301=FFF0;02000401=353635;02000501=353635;02000601=353635;02000701=3A3F3A;02000801=3B403B;03000101=FFF0;03000201=FFF0;03000301=FFF0;03000401=FFF0;03000501=353635;03000601=353635;03000701=3A3F3A;03000801=3B403B;04000101=FFF0;04000201=FFF0;04000301=FFF0;04000401=FFF0;04000501=FFF0;04000601=363736;04000701=3A3F3A;04000801=3B403B;05000101=FFF0;05000201=FFF0;05000301=FFF0;05000401=FFF0;05000501=FFF0;05000601=FFF0;05000701=3A3F3A;05000801=3B403B;06000101=FFF0;06000201=FFF0;06000301=FFF0;06000401=FFF0;06000501=FFF0;06000601=FFF0;06000701=3A3F3A;06000801=3B403B;07000101=FFF0;07000201=FFF0;07000301=FFF0;07000401=FFF0;07000501=FFF0;07000601=FFF0;07000701=3A3F3A;07000801=3B403B;08000101=FFF0;08000201=FFF0;08000301=FFF0;08000401=FFF0;08000501=FFF0;08000601=FFF0;08000701=3A3F3A;08000801=3B413B;09000101=FFF0;09000201=363836;09000301=373837;09000401=373837;09000501=373837;09000601=373837;09000701=343534;09000801=373837;10000101=FFF0;10000201=373837;10000301=373837;10000401=373837;10000501=373837;10000601=373837;10000701=343534;10000801=3E3E3E;11000101=FFF0;11000201=FFF0;11000301=FFF0;11000401=FFF0;11000501=383938;11000601=383938;11000701=343534;11000801=3E3E3E;12000101=FFF0;12000201=FFF0;12000301=FFF0;12000401=FFF0;12000501=FFF0;12000601=383938;12000701=343534;12000801=383938;13000101=FFF0;13000201=FFF0;13000301=FFF0;13000401=FFF0;13000501=FFF0;13000601=383938;13000701=343534;13000801=383938;14000101=696A69;14000201=696A69;14000301=6A6C6A;14000401=828182;14000501=818081;14000601=383A38;14000701=343534;14000801=616161;15000101=7F7E7F;15000201=696A69;15000301=696A69;15000401=696A69;15000501=696B69;15000601=383A38;15000701=343534;15000801=616161;16000101=817F81;16000201=6E716E;16000301=696A69;16000401=696A69;16000501=696A69;16000601=383A38;16000701=343534;16000801=383938;17000101=817F81;17000201=FFF0;17000301=FFF0;17000401=FFF0;17000501=FFF0;17000601=FFF0;17000701=3B413B;17000801=3B413B;18000101=FFF0;18000201=FFF0;18000301=FFF0;18000401=FFF0;18000501=FFF0;18000601=FFF0;18000701=3B403B;18000801=3C413C;19000101=FFF0;19000201=FFF0;19000301=FFF0;19000401=FFF0;19000501=FFF0;19000601=FFF0;19000701=3B403B;19000801=3C413C;20000101=FFF0;20000201=FFF0;20000301=FFF0;20000401=FFF0;20000501=FFF0;20000601=FFF0;20000701=3B403B;20000801=3B413B;21000101=FFF0;21000201=FFF0;21000301=FFF0;21000401=FFF0;21000501=FFF0;21000601=FFF0;21000701=3B403B;21000801=3B413B;22000101=FFF0;22000201=FFF0;22000301=FFF0;22000401=FFF0;22000501=FFF0;22000601=FFF0;22000701=3A403A;22000801=3B413B;23000101=FFF0;23000201=FFF0;23000301=FFF0;23000401=FFF0;23000501=FFF0;23000601=FFF0;23000701=3A403A;23000801=3B403B;24000101=FFF0;24000201=FFF0;24000301=FFF0;24000401=FFF0;24000501=FFF0;24000601=FFF0;24000701=3A3F3A;24000801=3B403B;25000101=FFF0;25000201=FFF0;25000301=FFF0;25000401=FFF0;25000501=FFF0;25000601=FFF0;25000701=3A3F3A;25000801=3B403B;26000101=FFF0;26000201=FFF0;26000301=FFF0;26000401=FFF0;26000501=FFF0;26000601=FFF0;26000701=FFF0;26000801=353635;27000101=FFF0;27000201=FFF0;27000301=FFF0;27000401=FFF0;27000501=FFF0;27000601=FFF0;27000701=FFF0;27000801=353635;28000101=FFF0;28000201=FFF0;28000301=FFF0;28000401=FFF0;28000501=FFF0;28000601=FFF0;28000701=FFF0;28000801=343634;29000101=FFF0;29000201=FFF0;29000301=FFF0;29000401=FFF0;29000501=FFF0;29000601=FFF0;29000701=FFF0;29000801=343534;30000101=FFF0;30000201=FFF0;30000301=FFF0;30000401=FFF0;30000501=FFF0;30000601=FFF0;30000701=FFF0;30000801=343534?crop;0;0;30;8",
        "position": [
          0,
          3
        ]
      },
      {
        "image": "/objects/outpost/customsign/signplaceholder.png?replace;01000101=FFF0;01000201=FFF0;01000301=FFF0;02000101=FFF0;02000201=FFF0;02000301=FFF0;03000101=FFF0;03000201=FFF0;03000301=FFF0;04000101=FFF0;04000201=FFF0;04000301=FFF0;05000101=FFF0;05000201=FFF0;05000301=FFF0;06000101=FFF0;06000201=FFF0;06000301=FFF0;07000101=FFF0;07000201=FFF0;07000301=FFF0;08000101=FFF0;08000201=FFF0;08000301=FFF0;09000101=424242;09000201=FFF0;09000301=FFF0;10000101=373837;10000201=383838;10000301=383838;11000101=373937;11000201=FFF0;11000301=383838;12000101=383938;12000201=FFF0;12000301=383838;13000101=383938;13000201=FFF0;13000301=383838;14000101=383938;14000201=FFF0;14000301=393939;15000101=383938;15000201=FFF0;15000301=383838;16000101=383938;16000201=393939;16000301=FFF0;17000101=3B413B;17000201=FFF0;17000301=FFF0;18000101=3A3F3A;18000201=FFF0;18000301=FFF0;19000101=3A3F3A;19000201=FFF0;19000301=FFF0;20000101=3A3F3A;20000201=FFF0;20000301=FFF0;21000101=3A3F3A;21000201=FFF0;21000301=FFF0;22000101=3A3F3A;22000201=FFF0;22000301=FFF0;23000101=393F39;23000201=FFF0;23000301=FFF0;24000101=3A3F3A;24000201=FFF0;24000301=FFF0;25000101=3A3F3A;25000201=373737;25000301=373737;26000101=FFF0;26000201=FFF0;26000301=FFF0;27000101=FFF0;27000201=FFF0;27000301=FFF0;28000101=FFF0;28000201=FFF0;28000301=FFF0;29000101=FFF0;29000201=FFF0;29000301=FFF0;30000101=FFF0;30000201=FFF0;30000301=FFF0?crop;0;0;30;3",
        "position": [
          0,
          8
        ]
      }
    ]
    }'
     
    Last edited: Jul 16, 2019
  2. artguk

    artguk Scruffy Nerf-Herder

  3. artguk

    artguk Scruffy Nerf-Herder

    Or do you mean adding animation to the flash? It seems impossible. But you can try to use a workaround. For example, generate particles or use a Lua script that will play the animation of the weapon. I mean draw already footage of weapons with flash and the script when you press the mouse button will play footage of the animation of the weapon. For example, the first frame of the weapon is without a flash, and the subsequent ones with a flash are drawn. Sorry my bad english.
     
  4. Kiyo Haribusa

    Kiyo Haribusa Void-Bound Voyager

    no i think he means the location of the muzzle flash relative to the barrel.
    which i've noticed as a problem too.
    is there no way to move said flash?
     

Share This Page