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" }
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.