1
How to make a gun mod?
Could someone just post a template for the bullet, gun, and mod_**** file. I have looked everywhere and still cannot find a tutorial.
Create an account or sign in to comment.
13
1
Guns are pretty hard to make, I recommend starting simple by adding some basic blocks and items. Use the tool MCP to decompile Minecraft, and use Eclipse to make mods. Wuppy29 has some great tutorials, but they are currently outdated. I woud look at his tutorials, and then google how to do textures in 1.5 and then edit the files.
If you get good enough to code a gun, heres some sample code I just wrote for something else;
If you get good enough to code a gun, heres some sample code I just wrote for something else;
public ItemStack onItemRightClick(ItemStack par1ItemStack, World world, EntityPlayer par3EntityPlayer, EntityFireball fireball, ItemStack var1)
{
par1ItemStack.damageItem(100, par3EntityPlayer);
if (!world.isRemote)
{
EntityLargeFireball ef = new EntityLargeFireball(this.worldObj, this, d5, d6, d7);
ef.field_92057_e = this.explosionStrength;
double d8 = 4.0D;
Vec3 vec3 = this.getLook(2.0F);
ef.posX = this.posX + vec3.xCoord * d6 / 5F;
ef.posY = this.posY + (double)(this.height / 2.0F) + 0.5D;
ef.posZ = this.posZ + vec3.zCoord * d8;
this.worldObj.spawnEntityInWorld(ef);
this.attackCounter = -numbers.ATTACK_COUNTER_FIRE;
}
return par1ItemStack;
}
1
Thanks
1
jacklittle01Aziejacklittle01
Could you send me the link of a tut
I did... I will post it again...
http://docs.oracle.com/javase/tutorial/
I mean of a gun mod
Well, if you aren't planning on making something original, then I cannot help. Using a "gun mod" tutorial is going to end up with you generating something that has already been created...
1
Aziejacklittle01
Could you send me the link of a tut
I did... I will post it again...
http://docs.oracle.com/javase/tutorial/
I mean of a gun mod
1
jacklittle01
Could you send me the link of a tut
I did... I will post it again...
http://docs.oracle.com/javase/tutorial/
1
AzieThere are tons of tutorials either on Youtube or on various websites. If you are completely clueless of what you need to learn, you need to learn Java. I am no programmer, but I am told that Java is rather annoying to learn.
http://docs.oracle.com/javase/tutorial/
If you plan on using any pre-existing code, please be aware that you may not post your resulting mod on this site. All code must be your original ideas
On a side note, please only bump your thread once every 24 hours.
Could you send me the link of a tut
1
There are tons of tutorials either on Youtube or on various websites. If you are completely clueless of what you need to learn, you need to learn Java. I am no programmer, but I am told that Java is rather annoying to learn.
http://docs.oracle.com/javase/tutorial/
If you plan on using any pre-existing code, please be aware that you may not post your resulting mod on this site. All code must be your original ideas.
On a side note, please only bump your thread once every 24 hours.
http://docs.oracle.com/javase/tutorial/
If you plan on using any pre-existing code, please be aware that you may not post your resulting mod on this site. All code must be your original ideas.
On a side note, please only bump your thread once every 24 hours.
1
then make it, or decompile someone elses, this isn't as simple as you'd like it to be..
1
I don't know how. A tutorial would be nice.
1
There are plenty of these around. Just search one
1
You mean templates. No.
Mods. Yes.
But I want to make my own
Mods. Yes.
But I want to make my own
1
halp?
1
I really need this soon