Home| What is Steam| Community| News| Cyber Cafés| Forums| Support| Stats

Go Back   Steam Users' Forums > Steam Game Discussions > T - Z > Team Fortress 2
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Rating: Thread Rating: 51 votes, 4.53 average. Display Modes
Old 10-01-2009, 05:30 AM   #1
KaYoz
Banned
 
Join Date: Sep 2009
Reputation: 67
Posts: 470
Post KaYoz tutorial: A guide of how to make your own achievement weapons.

If you want to play on a server (except yours), you must delete the script folder, otherwise the game will crash

Chapter 1
WHAT IT MEANS?



Its easy. This tutorial will ensure you the ultimate knowledge of creating your very own WEPON.

Why you should know this? Because you must, otherwise we will proceed to anal probes.


Requirements:


Team Fortress 2

CTXhack

GCFScape

PC

IQ above 5






Chapter 2

THEY REVOCER TEH ISOTROPE
BUT THEY DON'T




Making your own achievement weapons



Step 1 = Install GCFScape, open it, then click File -> Open, then go to Steam/steamapps and click on Team Fortress 2 Content.
Step 2 = With GCFScape in content folder, go to tf/scripts/items.
Step 3 = You find a file, "items_game"right click on it and extract to desktop in a new folder.
Step 4 = Copy both of the Ctxhack and vice.exe in folder where you placed the file.
Step 5 = Open CTX_HACK_TF2, click on decode, then click execute for every file.
Step 6 = In the folder should appear again items_game but in .txt format.
Step 7 = Open items_game with Wordpad or Notepad
Step 8 = You wonder what the f you see there? Well the firsts are the weapons and the achievement weapons. while the last are the attributes.
Step 9 = You want Natascha to make look like this, don't you? .
Step 10 = Go in items_game, hit CTRL+F, then search for Natascha.
Step 11 = When you find it, it will look like this:
Quote:
"name" "Unique Achievement Minigun"
"enabled" "1"
"item_class" "tf_weapon_minigun"
"item_type_name" "#TF_Weapon_Minigun"
"item_name" "#TF_Unique_Achievement_Minigun"
"item_slot" "primary"
"item_logname" "natascha"
"image_inventory" "backpack/weapons/c_models/c_w_ludmila/c_w_ludmila"
"image_inventory_size_w" "128"
"image_inventory_size_h" "82"
"model_player" "models/weapons/w_models/w_minigun.mdl"
"attach_to_hands" "0"
"item_quality" "unique"
"min_ilevel" "5"
"max_ilevel" "5"
"used_by_classes"
{
"heavy" "1"
}
"attributes"
{
"slow enemy on hit"
{
"attribute_class" "mult_onhit_enemyspeed"
"value" "1.0"
}
"damage penalty"
{
"attribute_class" "mult_dmg"
"value" "0.75"
}
Step 12 = Look at all highlighted words, we have to change them!
Step 13 = Changing the name of the minigun, both
Quote:
"item_type_name" "#TF_Weapon_Minigun"
"item_name" "#TF_Unique_Achievement_Minigun"
change them with the name you want. E.G
Quote:
"item_type_name" "Example Name Of Minigun"
"item_name" "Example Name Of Minigun"
Step 14 = Now we have to change minigun's powers. Search in items_game.txt, scroll down. I'll show you an example, how the attribute for critical boost looks like
Quote:
{
"name" "critboost on kill"
"attribute_class" "add_onkill_critboost_time"
"attribute_name" "Add CritBoost effect on kill"
"min_alevel" "1"
"max_alevel" "50"
"min_value" "2"
"max_value" "3"
"affix_position" "-1"
"affix_text" "#damagedone_neg_1"
"group" "only_on_unique"
"description_string" "#Attrib_CritBoost_OnKill"
"description_format" "value_is_additive"
"hidden" "0"
"effect_type" "positive"
"force_incompatible_with" "or_crit_vs_playercond"
"incompatible_attributes"
{
Step 15 = We don't need all this crap, just concentrate on this
Quote:
"name" "critboost on kill"
"attribute_class" "add_onkill_critboost_time"
Step 16 = Change the Natascha's attributes from
Quote:
"attributes"
{
"slow enemy on hit"
{
"attribute_class" "mult_onhit_enemyspeed"
"value" "1.0"
}
"damage penalty"
{
"attribute_class" "mult_dmg"
"value" "0.75"
}
, to
Quote:
"attributes"
{
"critboost on kill"
{
"attribute_class" "add_onkill_critboost_time"
"value" "1.0"
}
"damage penalty"
{
"attribute_class" "mult_dmg"
"value" "0.75"
}
change the value from 1.0 to 7.0 for 7 seconds of criticals.
Step 17 = This should be enough, if you want to edit the second attribute, repeat the previous steps. Also you can add more attributes, but you must be very carefully or you will screw it up
Step 18 = To add more attributes, copy the following
Quote:
"slow enemy on hit"
{
"attribute_class" "mult_onhit_enemyspeed"
"value" "1.0"
}
and put them UNDER this
Quote:
{
"heavy" "1"
}
"attributes"
{
"slow enemy on hit"
{
"attribute_class" "mult_onhit_enemyspeed"
"value" "1.0"
}
"damage penalty"
{
"attribute_class" "mult_dmg"
"value" "0.75"
}
Here
Step 19 = If you are done, close items_game, save it, go to CTX HACK, click on encode all.
Step 20 = Copy the items_game.ctx in steam/steamapps/account-name/teamfortress2/tf/scripts/items. and your weapon should be done!







Build multiple sentries, dispensers,
and teleporters




Step 1 = Go to steam/steamapps/Team fortress 2 content
Step 2 = While in GCFScape go to tf/scripts and extract the objects.txt
Step 3 = Open it, and you will see this
Quote:
// Engineer Objects

OBJ_SENTRYGUN
{
ClassName obj_sentrygun
StatusName "#TF_Object_Sentry"
BuildTime 10
MaxObjects 1
Cost 130
CostMultiplier 1
UpgradeCost 200
UpgradeDuration 1.5
MaxUpgradeLevel 0
BuilderWeaponName "Sentry Gun"
BuilderPlacementString "Place on ground"
SelectionSlot 5
SelectionPosition 0
SapperAttachTime 0.0
IconActive obj_sentrygun
IconInactive obj_sentrygun
Viewmodel "models/weapons/v_models/v_toolbox_engineer.mdl"
Playermodel "models/weapons/w_models/w_toolbox.mdl"
DisplayPriority 4
HudStatusIcon "obj_status_sentrygun_1"
VisibleInWeaponSelection 0
ExplodeSound "Building_Sentry.Explode"
ExplodeEffect "ExplosionCore_buildings"
MetalToDropInGibs 60
UpgradeSound "Building_Sentrygun.Built"
Modify the highlighted attributes like you wish, doing the same thing with teleporters and dispensers.
Step 4 = Save the objects.txt, go to steamapps/youraccountname/teamfortress2/tf, create a new folder, called scripts and paste it there.

Useful binds:
bind "1" "buildsentry"
bind "2" "builddispenser"
bind "3" "buildentry"
bind "4" "buildexit"






Changing the damage of weapons



For example, I'll show you how to make a Revolver which deals 9999 damage, fires like minigun, have the accuracy of a Sniper Rifle, and extended ammo clip

Step 1 = Go to tf/scripts and open tf_weapon_revolver, after decoding it to .txt file.
Step 2 = This appeared to you
Quote:
WeaponData
{
// Attributes Base.
"printname" "#TF_Weapon_Revolver"
"BuiltRightHanded" "0"
"weight" "3"
"WeaponType" "secondary"
"ITEM_FLAG_NOITEMPICKUP" "1"

// Attributes TF.
"Damage" "40"
"Range" "4096"
"BulletsPerShot" "1"
"Spread" "0.025"
"TimeFireDelay" "0.5"
"ProjectileType" "projectile_bullet"
"DoInstantEjectBrass" "0"
"HasTeamSkins_Viewmodel" "1"
"TracerEffect" "bullet_pistol_tracer01"


// Ammo & Clip.
"primary_ammo" "TF_AMMO_SECONDARY"
"secondary_ammo" "None"
clip_size 6
default_clip 6

// Buckets.
"bucket" "0"
"bucket_position" "0"

// Animation.
"viewmodel" "models/weapons/v_models/v_revolver_spy.mdl"
"playermodel" "models/weapons/w_models/w_revolver.mdl"
"anim_prefix" "ac"
Step 3 = Edit the highlighted values how do you want.
Step 4 = Save the tf_weapon_revolver, encode it back to ctx and place it in steam/steamapps/your-account/teamfortress2/tf/scripts.




Changing the projectile. Make a revolver shoot rockets!

Step 1 = Go to tf/scripts and open tf_weapon_revolver, after decoding it to .txt file, you should find something like this :
Quote:
"ProjectileType" "projectile_bullet"
Step 2 = Go to a weapon that you want to shoot it like it, example lets take Rocket Launcher projectile:
Quote:
"ProjectileType" "projectile_rocket"
, so replace the
Quote:
"ProjectileType" "projectile_bullet"
with
Quote:
"ProjectileType" "projectile_rocket"
.
Step 3 = Save the tf_weapon_revolver, encode it back to ctx and place it in steam/steamapps/your-account/teamfortress2/tf/scripts.
Example of minigun shooting rockets -> http://www.youtube.com/watch?v=233YO8US6Jk

Changing the character's health and speed


Step 1 = With GCFScape, go to Steam/Steamapps/Team fortress 2 content
Step 2 = Open Team Fortress 2 Content with GCFScape, then tf/scripts/playerclasses and extract them all
Step 3 = Using ctxhack (which you can find it on my previous threads) decode all ctx files.
Step 4 = Let's make soldier speeds same as scout and his hp 450.
Step 5 = Open soldier.txt, and it should pop this:
Quote:
//
// Team Fortress - Soldier Player Class
//
PlayerClasse
{
// Attributes.
"name" "soldier"
"model" "models/player/soldier.mdl"
"model_hwm" "models/player/hwm/soldier.mdl"
"model_hands" "models/weapons/c_models/c_medic_arms.mdl"
"localize_name" "TF_Class_Name_Soldier"
"speed_max" "240"
// "health_max" "100"
// "armor_max" "250"
"health_max" "200"
"armor_max" "0"

// Grenades.
"grenade1" "TF_WEAPON_GRENADE_NORMAL"
"grenade2" "TF_WEAPON_GRENADE_NAIL"

// Weapons.
"weapon1" "TF_WEAPON_SHOVEL"
"weapon2" "TF_WEAPON_SHOTGUN_SOLDIER"
"weapon3" "TF_WEAPON_ROCKETLAUNCHER"

//"DontDoNewJump" "1"

AmmoMax
{
"tf_ammo_primary" "20"
"tf_ammo_secondary" "32"

"tf_ammo_metal" "100"
"tf_ammo_grenades1" "0"
"tf_ammo_grenades2" "0"
Step 6 = Modify
Quote:
"speed_max"
to 450 (is scout's speed, you should try higher value, I don't often test in TF2 because my crappy laptop)
And for HP
Quote:
"health_max"
to 450, and your done!




Chapter 3
DESTRUACTION IS IMMINANT

WAT IS THIS I DON'T EVEN!


Quote:
Originally Posted by TripleZM View Post
Just for the hell of it I shall share my creation.
http://img40.imageshack.us/img40/2696/quickshooter.png

Quote:
Originally Posted by ollithemagicbum View Post


Quote:
Originally Posted by MrStormer77 View Post
Finally got it to work. Here is a video: http://www.youtube.com/watch?v=M8tpUWjsFSM

Quote:
Originally Posted by walkabout747 View Post
http://www.youtube.com/watch?v=3EiHm9BFv80

Pros

500 HP

A Wrench

A Build Kit

A Destroy Kit

Can Repair Buildings Without Wasting Metal



Cons
Can't Upgrade
Quote:
Originally Posted by gbgg89 View Post
btw, thanks for this thread. It taught me the basics so that I could start this thread .
Quote:
Originally Posted by Rell109 View Post
This is awesome.

http://beta.jacobchubb.us/imges/betahasnewweapon.png

Gonna have fun with this
Quote:
Originally Posted by Cocodaconman View Post
Quote:
Originally Posted by Korushi View Post

Last edited by KaYoz : 12-31-2009 at 01:44 PM.
KaYoz is offline   Reply With Quote
Old 10-01-2009, 05:34 AM   #2
HA4DCORE
 
Join Date: Sep 2008
Reputation: 1
Posts: 379
and you can you use in no server except your own, right?
HA4DCORE is offline   Reply With Quote
Old 10-01-2009, 05:36 AM   #3
TripleZM
 
Join Date: Jan 2009
Reputation: 73
Posts: 645
I have an I.Q of a guerrilla, will that work?

Looks interesting, don't have time to read it right now but I MUUST check it out. Markbook'd.
TripleZM is offline   Reply With Quote
Old 10-01-2009, 05:36 AM   #4
KaYoz
Banned
 
Join Date: Sep 2009
Reputation: 67
Posts: 470
Quote:
Originally Posted by HA4DCORE View Post
and you can you use in no server except your own, right?
Saddly, yes. If I find a method to use them in public servers like Valve did, they would ban my .
KaYoz is offline   Reply With Quote
Old 10-01-2009, 06:57 AM   #5
ekee
Banned
 
Join Date: May 2009
Reputation: 2
Posts: 129
great effort, really good but its good only for educational purposes

still gr8 work
ekee is offline   Reply With Quote
Old 10-01-2009, 06:58 AM   #6
Darkie1337
 
Join Date: Jan 2009
Reputation: 35
Posts: 1,137
Rapidshare link is down
Darkie1337 is online now   Reply With Quote
Old 10-01-2009, 07:00 AM   #7
KaYoz
Banned
 
Join Date: Sep 2009
Reputation: 67
Posts: 470
Is not down, click on Please click here to start the download again. to make it work
KaYoz is offline   Reply With Quote
Old 10-01-2009, 07:10 AM   #8
bandit75021
 
Join Date: Apr 2008
Reputation: 0
Posts: 263
Great work mate, really good. +Rep
I love how they would "Ban your "
bandit75021 is offline   Reply With Quote
Old 10-01-2009, 07:30 AM   #9
Blendarus
 
Join Date: May 2008
Reputation: 97
Posts: 1,478
This does indeed work, I've done it myself. I've used it on the pyro to allow the backburner to airblast.

One big thing about this: You can make the FAN balanced again on your server!

Here's another link to the CTX editor/Vice download, on the Allied Modders forum: http://forums.alliedmods.net/showthr...516#post612516
Blendarus is offline   Reply With Quote
Old 10-01-2009, 07:30 AM   #10
TripleZM
 
Join Date: Jan 2009
Reputation: 73
Posts: 645
Just for the hell of it I shall share my creation.

http://img40.imageshack.us/img40/2696/quickshooter.png


I originally was planning a revolver called Bob's Mercy Killer which would crit on burning enemies (hence the 'put me out of my misery' part) but ended up not going with it. Still very fun to do though. Even on servers you dont own it's still nice to have a weapon with a custom name to make you feel special .
TripleZM is offline   Reply With Quote
Old 10-01-2009, 07:35 AM   #11
flamedrac0
 
Join Date: Aug 2009
Reputation: 0
Posts: 59
Hey Thread Starter,

I can't seem to download from Rapidfire, can you upload the rar file to Mediafire or something?

Thanks.
flamedrac0 is offline   Reply With Quote
Old 10-01-2009, 08:05 AM   #12
KaYoz
Banned
 
Join Date: Sep 2009
Reputation: 67
Posts: 470
Quote:
Originally Posted by flamedrac0 View Post
Hey Thread Starter,

I can't seem to download from Rapidfire, can you upload the rar file to Mediafire or something?

Thanks.
It should work now, http://rs56.rapidshare.com/files/217087378/ctxhack.rar

Quote:
Originally Posted by TripleZM View Post
Just for the hell of it I shall share my creation.

http://img40.imageshack.us/img40/2696/quickshooter.png


I originally was planning a revolver called Bob's Mercy Killer which would crit on burning enemies (hence the 'put me out of my misery' part) but ended up not going with it. Still very fun to do though. Even on servers you dont own it's still nice to have a weapon with a custom name to make you feel special .

I personally like it.

Last edited by KaYoz : 10-01-2009 at 08:07 AM.
KaYoz is offline   Reply With Quote
Old 10-01-2009, 08:16 AM   #13
Kripling
Banned
 
Join Date: Dec 2008
Reputation: 33
Posts: 459
Please show us how to make achievements now!
Kripling is offline   Reply With Quote
Old 10-01-2009, 08:21 AM   #14
KaYoz
Banned
 
Join Date: Sep 2009
Reputation: 67
Posts: 470
Quote:
Originally Posted by Kripling View Post
Please show us how to make achievements now!
http://teamfortress2.fr/achievements_eng.php
I can't do them but you can have fun with this.
KaYoz is offline   Reply With Quote
Old 10-01-2009, 09:22 AM   #15
ollithemagicbum
 
Join Date: Jan 2009
Reputation: 6
Posts: 190
i like my new blutsauger

+rep
ollithemagicbum is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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

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


All times are GMT -8. The time now is 10:21 AM.


Powered by vBulletin® Version 3.6.10
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Site Content Copyright Valve Corporation 1998-2009, All Rights Reserved.