Modding Help Weapons Modding G&A

Discussion in 'Starbound Modding' started by John From BarSoom, Dec 10, 2013.

?

Which type of weapon you wish to modify?

Poll closed Jan 10, 2014.
  1. Range

    50.0%
  2. Melee

    0 vote(s)
    0.0%
  3. or Both

    50.0%
  1. John From BarSoom

    John From BarSoom Space Hobo

    I just started to dive into the working of the gun's projectiles.
    For example, Handgun shoots out large rounds (Sniper's rounds).

    Now I'm currently trying to modify the Splitter rounds, which seems to be fruitless.
    Any advices on this?

    Code:
    {
      "projectileName" : "nailbomb",
      "physics" : "grenade",
      "bounces" : -1,
      "armorPenetration" : 3,
      "timeToLive" : 3,
      "damageKindImage" : "icon.png",
      "frames" : "nailbomb.png",
      "animationCycle" : 0.5,
      "energyCostPerDamagePoint" : 80,
      "frameNumber" : 4,
      "actionOnReap" : [
        {
          "action" : "config",
          "file" : "/projectiles/explosions/smallregularexplosion/smallregularexplosion.config"
        },
        {
          "action" : "projectile",
          "type" : "splitter",
          "inheritDamageFactor" : 0.125,
          "angle" : 5
        },
        {
          "action" : "projectile",
          "type" : "splitter",
          "inheritDamageFactor" : 0.125,
          "angle" : 45
        },
        {
          "action" : "projectile",
          "type" : "splitter",
          "inheritDamageFactor" : 0.125,
          "angle" : 90
        },
        {
          "action" : "projectile",
          "type" : "splitter",
          "inheritDamageFactor" : 0.125,
          "angle" : 135
        },
        {
          "action" : "projectile",
          "type" : "splitter",
          "inheritDamageFactor" : 0.125,
          "angle" : 180
        },
        {
          "action" : "projectile",
          "type" : "splitter",
          "inheritDamageFactor" : 0.125,
          "angle" : 225
        },
        {
          "action" : "projectile",
          "type" : "splitter",
          "inheritDamageFactor" : 0.125,
          "angle" : 270
        },
        {
          "action" : "projectile",
          "type" : "splitter",
          "inheritDamageFactor" : 0.125,
          "angle" : 315
        }
      ],
      "power" : 50,
      "damageType" : "hitTest",
      "damageKind" : "default"
    }
    
     
  2. Matterialize

    Matterialize Scruffy Nerf-Herder

    What exactly are you trying to do?
     
  3. John From BarSoom

    John From BarSoom Space Hobo

    Well I'm was planning to modify the "NailBomb" to shoot out other than just "Nails", but grenades or flames.
    Example of the "BouncingBetty" from Borderlands 2.

    But due to the my poor understanding to the coding, the bomb didnt shoot out grenades, as it is show on the first post.

    Edited:
    Nvm, it would seem the game have to be totally shut down (restart), to let the coding to implement, and is doing as it should.

    Basically is an idea from movies and games, a clusterbomb that shoots out nailbombs, then shoot out splitters and lastly fires trishots.

    That will cover the entire screen of the game, with hot lead.

    Caution, spam the clusterbomb will cause lag, as too much entities will spawn from a single bomb.
     
    Last edited: Dec 10, 2013

Share This Page