Minecraft create your own weapon

Minecraft create your own weapon

This tutorial will involve coding a couple of scripts but its very easy and understandable.


By the way this is for version 1.1


Now you need to start of with your mod****file.

Next you need to define your item in that same mod****file.

For example:

Public static final ItemDagger = (new ItemDagger(100)).
any other features would go here.

So if the item was a dagger it would look like so:


package net.minecraft.src; 


public class ItemDagger extends Item 


    public ItemDagger(int i) 
    { 
         super(i);



Nothing confusing yet:


the reason (int i) is there is because later on we will make a simple function that will allow for the super(i) to work.


Next add your flashy epic features.



maxStackSize = 1; This is of course the maximum stack size 
maxDamage = 3124; Durability set to 3124.
field_22047_d = 20; Damage,health or 20 hearts.
}               Finishing braces.

see simple nothing confusing, anyway lets move on.

Now we need the item to take damage:


  public void hitEntity(ItemStack itemstack, EntityLiving entityliving) 
    { 
        itemstack.damageItem(1); 
    } 


    public void hitBlock(ItemStack itemstack, int i, int j, int k, int l) 
    { 
        itemstack.damageItem(2); 
    } 


These are just a couple of function that will allow the weapon to take damage.


By the way this script can be modified so feel free just to play around with the numbers until you understand their values.


Now the field "field_22047_d;" function we created earlier needs to be verified in order for it to work.



 public int getDamageVsEntity(Entity entity) 
    { 
        return field_22047_d; 
    } 


    public boolean isFull3D() 
    { 
        return true; 
    } 



Finally:


to finish off:




    private int field_22047_d; 




if it did not compile properly just follow this full code:



public class ItemDagger extends Item 



    public ItemDagger(int i) 
    { 
        super(i); 
        maxStackSize = 1; 
        maxDamage = 500; 
        field_22047_d = 5; 
    } 


    public void hitEntity(ItemStack itemstack, EntityLiving entityliving) 
    { 
        itemstack.damageItem(1); 
    } 


    public void hitBlock(ItemStack itemstack, int i, int j, int k, int l) 
    { 
        itemstack.damageItem(2); 
    } 


    public int getDamageVsEntity(Entity entity) 
    { 
        return field_22047_d; 
    } 


    public boolean isFull3D() 
    { 
        return true; 
    } 
        
    private int field_22047_d; 
}





This is exactly the same what we were trying to build its just fully completed.
 

How To Mod MW3 Multiplayer Private Game

Part 1


 part 2



Extra/




Null = 0 
USP45 = 1 
MP412 = 2 
.44Magnum = 3 
Desert Eagle = 4 
P99 = 5 
FiveSeven = 6 
ACR = 7 
Type95 = 8 
M4A1 = 9 
AK47 = 0xa 
M16A4 = 0xb 
MK14 = 0xc 
G36C = 0xd 
SCARL = 0xe 
FAD = 0xf 
CM901 = 0x10 
MP5 = 0x11 
PM9 = 0x12 
P90 = 0x13 
PP90M1 = 0x14 
UMP45 = 0x15 
MP7 = 0x16 
FMG9 = 0x17 
G18 = 0x18 
MP9 = 0x19 
Skorpion = 0x1a 
SPAS12 = 0x1c 
AA12 = 0x1d 
Striker = 0x1e 
Model1887 = 0x1f 
USAS12 = 0x20 
KSG12 = 0x21 
M60E4 = 0x22 
MK46 = 0x23 
PKP = 0x24 
L86LSW = 0x25 
MG36 = 0x26 
Barrett50Cal = 0x27 
MSR = 0x28 
RSASS = 0x29 
Dragunov = 0x2a 
AS50 = 0x2b 
L118A = 0x2c 
Grenade_Launcher = 0x2d 
RPG7 = 0x2e 
C4 = 0x2f 
C42 = 0x30, 
Claymore = 0x31 
Weapon Scarmbler = 0x32 

WEAPON_TROPHY = 0x34 
Javelin = 0x35 
Stinger = 0x36 
SMAW = 0x37 
M320GLM = 0x38 
Frag = 0x39 

Riot_Shield = 0x3f 
Nothing = 0x40 
XM25 = 0x42 

Attachments 

None = 0 
RedDotSight = 1 
AcogScope = 2 
Grip = 3 
Akimbo = 4 
Thermal = 5 
Shotgun = 6 
HeartbeatSensor = 7 
Secret_FMJ = 8 
ExtendedMags = 9 
RapidFire = 10 
HolographicSight = 11 
TacKnife = 12 
VariableZoom = 13 
GrenadeLauncher = 14 
GrenadeLauncher2 = 15 
GrenadeLauncher3 = 16 
Silencer = 17 
SilencerHandgun = 18 
SilencerSniper = 19 
HAMRScope = 20 
HybridSight = 21 
VariableZoomScope2 = 22 


Camo 

None = 0 
Classic = 1 
Snow = 2 
Multicam = 3 
DigitalUrban = 4 
Hex = 5 
Choco = 6 
Marine = 7 
Snake = 8 
Winter = 9 
Blue = 10 
Red = 11 
Autumn = 12 
Gold = 13 

Perks 

Null = 0 
MarksmanPro = 7 
DeadSilence = 8 
ExtremeConditioning = 9 
SitRep = 10 
SteadyAim = 12 
SleightOfHand = 15 
ScavengerPro = 16 
Overkill = 17 
JUGGERNAUT = 18 
DeadSilencePro = 26 
StalkerPro = 27 
ExtremeConditioningPro = 32 
Quickdraw = 38 
Scavenger = 43 
Assassin = 48 
BlindEye = 49 
Assassin2 = 58 
SitRepPro = 59 
Secondary Bling = 63 
AssassinPro = 64 
SteadyAimPro = 67 
Hardline = 68 
Stalker = 74 
SteadyAimHalfPro = 77 
BlastShield = 78 
BlastShieldPro = 79 
SleightOfHandPro = 83 
AssassinPro2 = 85 
OverkillPro = 86 
HardlinePro = 89 
BlindEyePro = 90 
QuickdrawPro = 91 
Recon = 92 
ReconPro = 93 
None = 95 
Last Stand = 121 
Light Armor = 123 
BlindEyePro2 = 135 
HardlinePro2 = 143 
Marksman = 148 


Proficiency 

None = 0 
Speed = 35 
Attachments = 57 
Impact = 132 
Kick = 133 
Focus = 134 
Breath = 136 
Range = 137 
Melee = 138 
Stability = 139 
Damage = 140 

StrikePackage 

Assault = 94, 
Support = 95, 
Specialist = 97, 


Equipment 

Scrambler = 75 
PortableRadar = 76 
C4 = 101 
Claymore = 102 
ThrowingKnife = 106 
Semtex = 107 
Frag = 108 
BouncingBetty = 109 
FlashGrenade = 110 
SmokeGrenade = 111 
ConcussionGrenade = 112 
TrophySystem = 114 
EMPGrenade = 117 
TacticalInsertion = 131 


DeathStreak 

Juiced = 118 
Martyrdom = 119 
FinalStand = 120 
Revenge = 124 
DeadMansHand = 125 
HollowPoints = 126 


Reticle 

None = 0 
TargetDot = 1 
Delta = 2 
UDot = 3 
MilDot = 4 
Omega = 5 
Lambda = 6 


KillStreak 

ASsualt Killstreaks 
None = 0 
UAV = 1 
CarePackage = 2 
Predator_ = 3 
IMS = 4 
Sentry = 5 
Sentry2 = 6 
PresicionAirstrike = 7 
AttackHelicopter = 8 
StrafingRun = 9 
AH6Overwatch = 10 
Reaper = 11 
AssaultDrone = 12 
AssaultDrone2 = 13 
Pavelow = 14 
AC130 = 15 
AssaultJugg = 16 
OspreyGunner = 18 

Support Killstreaks 
UAV = 19 
CounterUAV = 20 
BallisticVest = 21 
ScarePackage = 22 
SAMTurret = 23 
ReconDrone = 24 
AdvancedUAV = 25 
RemoteTurret = 26 
StealthBomber = 27 
EMP = 28 
SupportJugg = 29 
OspreyPackage = 31 
MOAB = 32 

Specialist Killstreaks 
ExtremeConditioning = 33 
SleightOfHand = 34 
Scavenger = 35 
BlindEye = 36 
Recon = 37 
Hardline = 38 
Assassin = 39 
Quickdraw = 40 
BlastShield = 42 
SitRep = 43 
Marksman = 44 
SteadyAim = 45 
DeadSilence = 46 
Stalker = 47 
ConditionPro = 48 
SleightPro = 49 
ScavengePro = 50 
BlindPro = 51 
ReconPro = 52 
HardlinePro = 53 
AssassinPro = 54 
QuickdrawPro = 55 
BlastshieldPro = 57 
SitrepPro = 58 
MarksmanPro = 59 
SteadyAimPro = 60 
DeadSilencePro = 61 
StalkerPro = 62


Tools

Tools


1.Modio
Great for modifying game saves as well as downloading already modified ones.
Supports Windows|Linux
Modio 3: Download



2.Horizon
This program is sort of like Modio except it does not have many saves but when it comes to modifying it uses the most advanced tool package.


3.Xport360
Xport360 is not for modifying but its main purpose is to allow you to transfer files between your computer and your Xbox 360 hard drive although it does not modify anything it is recommended if you are transferring large capacity files with Xport 360 this would take minutes as other hours.



These are really the main tools everything else is already included with them like cod tool a program that modify s Call of duty game such as Cod4, Cod5, MW3 and so on, as well as that gears of war tool is also included with Modio and Horizon I think the only tool not included is the Fight night champion and that is already on this site just search for it.

If any links get broken leave a comment.



How to patch XGD3 games with the latest topology

How to patch XGD3 games with the latest topology


1.First Find the topology you want in the topology section.
2.Download Xbox backup creator.
3.once you have the program and the topology open up xbox back up creator.
4.Go to image tools.
5.Where it says action change the extract to inject.
6.Click on Ap25 sector
7.Find your ISO game
8.Select ISO game and click open.
9.Next it will ask for a bin so find your topology you downloaded
10.Select it and Open it.
11.Add the bottom it will says successful so now your done.
12.Burn the game using Imgburn Tutorial Check here