Modding Help actionOnReap projectile processing

Discussion in 'Starbound Modding' started by LemonLeman, Nov 20, 2015.

  1. LemonLeman

    LemonLeman Scruffy Nerf-Herder

    I'm trying to add a projectile to an item based off of a generatedsword. I'm using actionOnReap to prevent the projectile from following the player.
    When I use this, though, I can't seem to add processing (color) to the projectile. I'm wondering if I can add separate "projectile":[] area to the actionOnReap parameter so that it colors the projectile as well as keeping it independent of the player's position.

    "projectile": {
    "actionOnReap": [
    {
    "action": "projectile",
    "inheritDamageFactor": 1,
    "angle": 55,
    "power": 1500,
    "processing": "?replace;4A4A4A=851310;2B2B2B=4D0B09;636363=B11814",
    These three parameters fail to respond in-game, making the spikeball show up normally in-game. It should be red.
    "speed": 0.05,

    "type": "spikeball"
    }
    ],
    "damageType": "NoDamage",
    "level": 1.0,
    "power": 0,
    "speed": 0,
    "timeToLive": 0.001,
    "universalDamage": false
    },
    "projectileType": "invisibleprojectile",
    "projectileTypes": [
    "invisibleprojectile"
     
  2. DracusNarcrym

    DracusNarcrym Void-Bound Voyager

    Best Answer
    Try this structure for actionOnReap:

    Code:
    "actionOnReap": [
       {
            "action": "projectile",
            "inheritDamageFactor": 1,
            "angle": 55,
            "type": "spikeball",
            "config": {
                       "level": 1000.0,
                       "piercing": true,
                       "power": 1000.0
                      }
       }
    
    ]
    
    The config parameter might be the solution to this issue.

    Hope this helps.

    ~Leonidas
     
    LemonLeman likes this.

Share This Page