For Example: 1. Take any *.gun file (Example: items\guns\novakid\revolver\novastarter.gun) Code: { "itemName" : "novastarter", "price" : 60, "inventoryIcon" : "novastarter.png", "dropCollision" : [-8.0, -3.0, 8.0, 3.0], "maxStack" : 1, "rarity" : "Common", "description" : "A rusty old revolver, it doesn't have much fire power.", "shortdescription" : "Rusty Revolver", "image" : "novastarter.png", "handPosition" : [-4, -2], "firePosition" : [17, 3], "recoilTime" : 0.1, "level" : 1, "tooltipKind" : "gun", "weaponType" : "Pistol", "fireTime" : 0.62, "inaccuracy" : 0.016, "twoHanded" : false, "walkWhileFiring" : false, "projectileType" : "standardbullet", "projectile" : { "speed" : 150, "life" : 3, "power" : 2.25, "color" : [255, 10, 10] }, "muzzleEffect" : { "fireSound" : [ { "file" : "/sfx/gun/revolver2.wav" } ], "animation" : "/animations/muzzleflash/bulletmuzzle4/bulletmuzzle4.animation" } } 2. Replace "novastarter" in "itemName" (Example: "moneystarter") 3. Replace "standartbullet" to "money" in "projectileType". 4. Replace 150 in "speed" to 20 or 10. If you don't do this - your mone fly away. 5. After string "level" : 1, add this: Code: "projectileCount" : 20, 6. Save this file with new name (Example: moneystarter.gun) in ../mods/[your_mod_name]/items/guns/novakid/revolver/ (i take this path for example) 6. Edit money.projectile and save edited file in ../mods/[your_mod_name]/projectile/unsorted/money/. If you skip this step, your gun will be doing one pixel per shot. 7. Create and save recipe for this gun. 8. Add patch-string in player.config.patch in /mods/[your_mod_name]/ That's it. Execute the game and do shots from your new gun for making the money.
Yes it shoots pixels you can collect and a sword that can do 10000 with a instant swing speed[DOUBLEPOST=1436648765][/DOUBLEPOST] An example:
You need this: projectiles\unsorted\money\money.projectile Code: { "projectileName" : "money", "speed" : 20, "bounces" : 1, "physics" : "grenade", "frames" : "money.png", "animationCycle" : 0.5, "power" : 0, "frameNumber" : 1, "damageKind" : "hidden", "actionOnReap" : [ { "action" : "item", "name" : "money" } ], "emitters" : [ "lighttrailfast" ] } If you want more money for shoot replace Code: "name" : "money" to Code: "name" : "money", "quantity" : 100 Number after "quantity" is how much money you take from one shoot. P.S.: My version is Unstable (nightly). For unpack the asset you can use this: ModPakHelper
So I can make a money gun with this? also how to I make the gun part with it? liek the description, rarity, name, crafting?
For Example: 1. Take any *.gun file (Example: items\guns\novakid\revolver\novastarter.gun) Code: { "itemName" : "novastarter", "price" : 60, "inventoryIcon" : "novastarter.png", "dropCollision" : [-8.0, -3.0, 8.0, 3.0], "maxStack" : 1, "rarity" : "Common", "description" : "A rusty old revolver, it doesn't have much fire power.", "shortdescription" : "Rusty Revolver", "image" : "novastarter.png", "handPosition" : [-4, -2], "firePosition" : [17, 3], "recoilTime" : 0.1, "level" : 1, "tooltipKind" : "gun", "weaponType" : "Pistol", "fireTime" : 0.62, "inaccuracy" : 0.016, "twoHanded" : false, "walkWhileFiring" : false, "projectileType" : "standardbullet", "projectile" : { "speed" : 150, "life" : 3, "power" : 2.25, "color" : [255, 10, 10] }, "muzzleEffect" : { "fireSound" : [ { "file" : "/sfx/gun/revolver2.wav" } ], "animation" : "/animations/muzzleflash/bulletmuzzle4/bulletmuzzle4.animation" } } 2. Replace "novastarter" in "itemName" (Example: "moneystarter") 3. Replace "standartbullet" to "money" in "projectileType". 4. Replace 150 in "speed" to 20 or 10. If you don't do this - your mone fly away. 5. After string "level" : 1, add this: Code: "projectileCount" : 20, 6. Save this file with new name (Example: moneystarter.gun) in ../mods/[your_mod_name]/items/guns/novakid/revolver/ (i take this path for example) 6. Edit money.projectile and save edited file in ../mods/[your_mod_name]/projectile/unsorted/money/. If you skip this step, your gun will be doing one pixel per shot. 7. Create and save recipe for this gun. 8. Add patch-string in player.config.patch in /mods/[your_mod_name]/ That's it. Execute the game and do shots from your new gun for making the money.