You are not logged in.

IC2 Experimental builds (jenkins):
v2.0/2.1/2.2 / 2.3 / 2.5 / 2.6 (For Minecraft 1.6.4/1.7.2/1.7.10 / 1.8.9 / 1.9.4 / 1.10)
IndustrialCraft² recent version: v1.117! (For Minecraft 1.5.2 → topic)

Dear visitor, welcome to IC² Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

mindhack

Nuclear Engineer

  • "mindhack" is male
  • "mindhack" started this thread
  • Germany United States

Posts: 7

Location: Earth, Sol System, Orion Spiral Arm, Milky Way, Virgo Cluster

  • Send private message

1

Saturday, August 20th 2016, 7:44am

[WIP][1.7.10] Basic Weapons Mod

Basic Weapons Mod

This mod is just bare-bones right now, it doesn't add much

Minecraft version 1.7.10
Forge version 1.7.10-10.13.4.1558

First off, I know there are other mods out there that do similar things, but the point of this was to do it as a learning experience for myself :thumbup:

The Basic Weapons Mod adds, well, basic weapons. So far, it adds 2 guns, the M4A1 and Colt 1911, and items the items used to craft them. However, I would like to add some basic weapons, as well, (that is the name of the mod after all) like Spears and Knives with wood, stone, flint, iron, gold, and diamond tiers for each. Graphite (created by smelting coal) is used to craft Graphite Lubricant, which is then used to build guns out of gun parts (Stock, Receiver, and Barrel) in the Weapon Workbench. Multiple different scopes can be added to guns, and are crafted from Lenses, Redstone, and iron. That is the plan. I am still working on the GUI for the Weapon Workbench, getting the guns to use ammunition, play sounds when fired, and lots of other little details.

This is my first mod, and I welcome comments and constructive criticism :D

Check out the code here
I followed Pahimar's Let's Mod Reboot tutorials for adding items, blocks, etc. and I would recommend watching them if you want to get into Minecraft modding


Screenshots
I will add some screenshots soon

Issues, Bugs, things I am still figuring out, and things I plan to add

  • Getting guns to use ammo. I plan on having the item damage reflect how much ammuntion is in the current magazine, then when you reload, a new magazine will be taken from your inventory. I can't figure out how to change its damage value. Alternative, use NBT
  • Getting guns to play sounds when they fire. I think I might need to register sounds like, items, I have no idea.
  • Adding a texture to EntityBullet, like snowballs, and increasing their velocity
  • Adding Lead Ore for crafting bullets.
  • Adding a GUI for the Weapon Workbench
  • Adding Spears and Knives

Check out my Minecraft mods here!

This post has been edited 2 times, last edit by "mindhack" (Aug 20th 2016, 6:13pm)


Counter:

Hits today: 31,051 | Hits yesterday: 29,849 | Hits record: 152,331 | Hits total: 65,294,415