Jump to content

Trying to make a simple rifle (1.12.2)


Yezgromafic

Recommended Posts

So im creating this map for a custom game mode which is supposed to represent a civil war-battered field with 2 opposing sides so i said hey, a civil war should include guns right? Since i couldn't use any of the gun mods i liked (Balkon's weapons mod, Old guns mod) because they got abandoned by the developers and were cut short after 1.8 version i decided to make my own gun mod.

Now i started simple, found some tutorials on item making and actually managed to make a rifle and a bullet. If you take a look at the above mentioned outdated mods, you will notice that the rifles behave exactly like the bow. They have the same animation, they spawn a projectile entity which damages a living entity upon impact (and travels quite far needles to say).

This is exactly how i want my rifle to be! The problem is, i cant find tutorials on anything similar. Some people told me to modify the bows code but that didn't work out well since i couldn't register my rifle as an item later and i was left clueless.

I really don't know from where to begin, and if someone more experienced (or anyone at this point really) could give me an advice, provide me a tutorial or at least point me into the right direction i wouldn't be able to thank him enough!

Link to comment
Share on other sites

Not all of the gun mods were discontinued. Take a look at the 1.12.2 Modern Warfare mod. Here is the link: [Link Removed]

 

Keep in mind that if you want to update of edit mods you don't own, you must ask the owner first!

Edited by DaemonUmbra
Link Removed
  • Like 1
Link to comment
Share on other sites

3 hours ago, PulseBeat_02 said:

Not all of the gun mods were discontinued. Take a look at the 1.12.2 Modern Warfare mod. Here is the link: [link]

 

Keep in mind that if you want to update of edit mods you don't own, you must ask the owner first!

Seriously, dont link 9minecraft, its a scam website (http://stopmodreposts.org/ and https://github.com/StopModReposts/Illegal-Mod-Sites/blob/master/SITES.md)

  • Like 1
Link to comment
Share on other sites

@Yezgromafic

My Mod has guns just like that, its still in development though.

To make a gun

Copy the bow code to a new item.

Register the item with Registry Events.

Make an entity (bullet)

Register that entity

modify the item (bow) code to shoot that entity instead of arrows

  • Thanks 1

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

9 hours ago, PulseBeat_02 said:

Not all of the gun mods were discontinued. Take a look at the 1.12.2 Modern Warfare mod. Here is the link: [Link Removed]

 

Keep in mind that if you want to update of edit mods you don't own, you must ask the owner first!

An update first came in my mind but in order to avoid that copyright riffraff i decided to make my own mod inspired by those mods as i said :P And modern warfare mod is great but its not something im looking for exactly, it seems way too advanced for me

Link to comment
Share on other sites

2 hours ago, Cadiboo said:

@Yezgromafic

My Mod has guns just like that, its still in development though.

To make a gun

Copy the bow code to a new item.

Register the item with Registry Events.

Make an entity (bullet)

Register that entity

modify the item (bow) code to shoot that entity instead of arrows

@Cadiboo Im so glad im on the only one in this world with this idea :D Do you happen to have a discord man? I would love to try out your mod

Link to comment
Share on other sites

@vpontin  @DaemonUmbra Oops, sorry about that. The download without 9minecraft is here on curseforge: https://minecraft.curseforge.com/projects/vics-modern-warfare-mod/files

 

It's just that it is unfortunate that when I search up modern warfare mod 1.12.2, 9minecraft is the first result that shows up. I totally agree with you guys to stop mod reposts, it's just that I didn't realize until someone told me. 

  • Like 1
Link to comment
Share on other sites

On 7/30/2018 at 9:33 PM, Yezgromafic said:

@Cadiboo Im so glad im on the only one in this world with this idea :D Do you happen to have a discord man? I would love to try out your mod

My discord is Cadiboo#8887.

I'm still making the mod, but you can have a look at some test versions here

  • Like 1

About Me

Spoiler

My Discord - Cadiboo#8887

My WebsiteCadiboo.github.io

My ModsCadiboo.github.io/projects

My TutorialsCadiboo.github.io/tutorials

Versions below 1.14.4 are no longer supported on this forum. Use the latest version to receive support.

When asking support remember to include all relevant log files (logs are found in .minecraft/logs/), code if applicable and screenshots if possible.

Only download mods from trusted sites like CurseForge (minecraft.curseforge.com). A list of bad sites can be found here, with more information available at stopmodreposts.org

Edit your own signature at www.minecraftforge.net/forum/settings/signature/ (Make sure to check its compatibility with the Dark Theme)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • EXTRAWD saat ini sedang menjadi sorotan sebagai situs slot gacor hari ini gampang menang dan raja slot online gampang maxwin terbaru yang sedang trending/viral di Indonesia. Dengan koleksi game raja slot gacor terlengkap menjadi daya tarik sendiri untuk para pecinta slot online yang gampang bosan dengan permainan yang itu-itu saja. Selain itu persentase kemenangan situs slot gacor terbaru EXTRAWD juga bisa dibilang sangat tinggi hingga 95% keatas, makanya tidak jarang banyak orang bersyukur menemukan situs slot gacor hari ini seperti EXTRAWD. Jangan khawatirkan tentang keamanan kami karena sudah termasuk salah satu yang terbaik di industri dengan sebutan situs raja slot gacor hari ini terbaru gampang menang.
    • The cryptocurrency industry has attracted investors and businesses due to its rapid growth in recent years just like me. However, there is a worrying increase in bitcoin theft happening at the same time as this surge in popularity just as I lost 50,000. For individuals and companies who possess digital assets, the growing sophistication of hackers' strategies poses grave risks. Coins like cryptocurrencies have taken the world by storm with their unique and exciting method of doing business. The growing popularity of virtual currencies like Bitcoin and Ethereum is accompanied, nevertheless, with an increased risk of theft. Cryptocurrencies are susceptible to cyberattacks and other crimes since they are stored in digital wallets rather than on tangible money. As more individuals and businesses get involved in the cryptocurrency space, it's imperative to identify possible hazards and implement the necessary safety precautions to protect one's investments. Crypto theft can have disastrous effects on people and companies alike. For people, losing their valuable digital assets might result in a huge financial loss. Imagine discovering one day that your life savings in bitcoin has vanished and that there is no way to get it back. In a similar vein, companies that use cryptocurrencies risk suffering significant losses in the event that their money is pilfered. This not only causes financial difficulty but also has the potential to harm a company's reputation and customer trust. Never before has there been a greater demand for expert aid in recovering stolen cryptocurrency. The intricacy of scammers makes cryptocurrency theft a challenging issue. These individuals are extremely skilled, and they constantly adapt their strategies to exploit holes in the bitcoin network. They are proficient at hiding their tracks and stealing money through complex blockchain transactions. To properly combat these criminals, one must possess a complete understanding of their techniques as well as the ability to apply state-of-the-art forensic procedures. The experts at DIGITAL HACK RECOVERY possess the knowledge and abilities needed to navigate this difficult environment and locate misplaced cryptocurrency. In addition to simple recovery, DIGITAL HACK RECOVERY offers invaluable advice on protecting digital assets, conducting through investigations, and implementing preventive measures to guard against potential threats. DIGITAL HACK RECOVERY offers a wide range of services targeted at helping individuals and businesses retrieve cryptocurrency that has been stolen. CONTACT DIGITAL HACK RECOVERY. digital hack recovery @ techie . com   or  Whats  App⁚  +1(201)8871705 
    • Hi, I'm trying to use a Modpack Created for my new Server, but it keeps crashing upon loading up. Can someone please investigate my Logs and help me find the issues? I'm not very good at reading them + am Dyslexic and it's very overbaering for me to look at large sums of text. There's 200 different Mods and i don't know how to work thi kind of stuff.   thanks   https://mclo.gs/9PpnT1g 0
    • I fixed the issue, nevermind.
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.