unknowncheats uc-forum.com ucdownloads ucdownloads.com

Go Back   UC-Tutorials - Multiplayer Game Hacking and Cheat Tutorials

- Sponsored Advertisement -
http://www.myfpscheats.com/

Reply
 
Thread Tools Display Modes
  #1  
Old 12-22-2006, 06:38 AM
zero_tolerance zero_tolerance is offline
Senior Member
 
Join Date: Dec 2006
Posts: 289
Default HAMMERS tutorial hacking weapons

By HAMMER

HAMMERS TUTORIAL HACKING WEAPONS.

Weapon hacking

The game file you’ll need to open is:

C:\Program Files\EA GAMES\MOHAA\main\Pak0.pk3



The first step is to create these folders:

C:\Program Files\EA GAMES\MOHAA\main\models

C:\Program Files\EA GAMES\MOHAA\main\models\fx

C:\Program Files\EA GAMES\MOHAA\main\models\projectiles

C:\Program Files\EA GAMES\MOHAA\main\models\weapons



Step 1:
Use pakscape to open pak0.pk3, click the + next to the word MODELS, then click on the WEAPONS folder, now copy the following files to the folder C:\Program Files\EA GAMES\MOHAA\main\models\weapons you have created:



C:\Program Files\EA GAMES\MOHAA\main\models\weapons\bar.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\bazooka.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\colt45.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\kar98.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\KAR98sniper.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m1_garand.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m2frag_grenade_bas e.txt

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m2frag_grenade.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m2frag_grenade_sp. tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\m2frag_grenade_sp_ start.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\mp40.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\mp44.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\p38.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\panzerschreck.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\shotgun.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\silencedpistol.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\springfield.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\static_KAR98.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\steilhandgranate.t ik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\steilhandgranate_b ase.txt

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\steilhandgranate_s tart.tik

C:\Program Files\EA GAMES\MOHAA\main\models\weapons\thompsonsmg.tik





Your computer should look like this now



Close pakscape

Step 2:

Now open notepad and choose to open a file. Go to the folder C:\Program Files\EA GAMES\MOHAA\models\weapons\m1_garand.tik

Then open m1_garand.tik, if you don’t see it type *.* into the File Name box and hit enter.

Once open the file looks like this. Everything in Blue BOLD I typed for your information Everything in red is the stock file information.

TIKI

setup

{

scale 0.52 // Set default scale to 16/30.5 since world is in 16 units per foot and model is in cm's

path models/weapons/m1_Garand

skelmodel garand.skd

surface gun1 shader Garand

surface gun2 shader Garand

surface gun3 shader Garand

surface material8 shader m1clip

}



init

{

server

{

surface material8 +nodraw





classname Weapon

weapontype rifle

name "M1 Garand"

rank 210 210



pickupsound m1_snd_pickup

ammopickupsound m1_snd_pickup_ammo

noammosound m1_snd_noammo



// Holstering info

// holstertag "Bip01 Spine2"

// holsteroffset "8.0 -7.75 6.5"

// holsterangles "0 185 -25"

// holsterScale 1.0



// Primary fire type info

firetype bullet //don’t ever change this

ammotype "rifle" //don’t ever change this

meansofdeath bullet //don’t ever change this

semiauto //don’t ever change this on semi auto guns or it wont work

cantpartialreload //Take this out if you want to be able to reload mid clip in Single player only

bulletcount 1 //This is the count of bullets that come out of the gun every shot Single player only.

clipsize 8 //This is how many bullets are in each clip Single player only

startammo 8 //This is the amount of ammo that you start the game with Single player only

ammorequired 1 //If you change this to 0 instead of 1 you can use the gun with out losing any ammo

firedelay 0.15 //This is how long between the bullets firing Single player only



//========================================//

// WEAPON ACCURACY MODELLING //

//========================================//



// M1 Garand: Max Eff. Range is 300 yds with a muzzle velocity of 2800 ft/s. (30-06 Springfield)



bulletrange 4000 //If you change this to 9999 accuracy will be 100%

bulletspread 10 10 60 60 //If you change these smaller the bullets will spread less

bulletdamage 45 //This is how much health each bullet takes from someone when you shoot them

firespreadmult 0.7 0.685 200 0.8 //The longer you hold fire the worse the aim gets…. Delete the line and you wont have this problem

tracerfrequency 2 //adds tracers to bullets… I cant get it to work



crosshair 1 //Simply turns crosshair on or off 1 = on 2 = off

// viewkick -2 -3 -1 1 //This is the amount your gun jumps after evey bullet is fired



// AI animation group info

weapongroup rifle //don’t ever change this



// DM Attributes

dmcantpartialreload //Take this out if you want to be able to reload mid clip in Server side only

dmbulletcount 1 //This is the count of bullets that come out of the gun every shot Server side only.

dmstartammo 200 //This is the amount of ammo that you start the game with

dmammorequired 1 //If you change this to 0 instead of 1 you can use the gun with out losing any ammo

dmfiredelay 0.15 //This is how long between the bullets firing

dmbulletrange 4000 //If you change this to 9999 accuracy will be 100%

dmbulletspread 10 10 80 80 //If you change these smaller the bullets will spread less

// dmbulletdamage 50 //This is how much health each bullet takes from someone when you shoot them

dmbulletdamage 48 //This is how much health each bullet takes from someone when you shoot them

// dmfirespreadmult 0.7 0.685 200 0.8 //The longer you hold fire the worse the aim gets…. Delete the line and you wont have this problem

dmfirespreadmult 0.75 0.6 200 0.8 //The longer you hold fire the worse the aim gets…. Delete the line and you wont have this problem

dmmovementspeed 0.94 //This is percent of normal runspeed that you move with this gun



dmcrosshair 1 //Simply turns crosshair on or off 1 = on 2 = off

zoom 20 //Add this to any weapon to make it have a scope



// this is attached to the player during reload

cache models/ammo/garand_clip_reload.tik

}

client

{

cache tracer.spr //don’t ever change this

cache muzsprite.spr //don’t ever change this

cache vsssource.spr //don’t ever change this

cache models/fx/muzflash.tik //don’t ever change this

cache models/ammo/rifleshell.tik //don’t ever change this

cache models/fx/snipesmoke.tik //don’t ever change this

cache models/ammo/garand_clip_empty.tik //don’t ever change this

}

}




--------------------------------------------------------------------------------
HAMMER-NOPE
Reply With Quote
Reply

Tags
hacking, hammers, tutorial, weapons

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 01:07 AM.