?

#1
Old 27-05-2009, 18:47
Sydney
877 Posts
Steam Profile
logik's Avatar
( . Y . )logik( . Y . ) logik is offline
Member
Hey guys,
Jost wondering if it is possible to make a custom crosshair for tf2, or do i have to stick with the default one's?

Also is it possible to use the same crosshair for all classes? (like scout crosshair for all classes and weapons)

Any help appreciated, Thanks
Reply With Quote
#2
Old 27-05-2009, 18:48
Australia
1,186 Posts
Attended ozfLANSteam Profile
googz's Avatar
googz googz is offline
Member
you can script it
Reply With Quote
#3
Old 27-05-2009, 18:51
Sydney
877 Posts
Steam Profile
logik's Avatar
( . Y . )logik( . Y . ) logik is offline
Member
How do I do that?
Reply With Quote
#4
Old 27-05-2009, 18:57
Melbourne
24 Years Old
4,284 Posts
Steam Profile
Uther Doul's Avatar
Uther Doul Uther Doul is offline aka Laveidem, lavender, lav, meatball, Extreme Boyheat, Tamerlane
Supported Lag Relief '09
sv_pure will block custom crosshairs.
I'd suggest fpsbanana for more, but I'm pretty sure it's been hit with some nasty malware.
Had all these popup messages saying my pc had viruses or some stupid crap like that.
________________________
www.conquerorworm.net
Reply With Quote
#5
Old 27-05-2009, 18:58
Australia
29 Years Old
14,623 Posts
QUACK!Team Blue VeteranTeam Red VeteranAttended ozfLANSteam Profile
OnionS's Avatar
vR*OnionS OnionS is offline
Retired Administrator
http://code.google.com/p/tf2compconfiguration/
Quote:
// ----------------------------------------------------------------------
//
// Crosshairs
//
// -- weapon scripts
//
// Contains:
// -- Crosshairs for individual weapons
//
// ================================================== ====================

// ------------
// Crosshairs
// -- edit each weapon's crosshair to your liking
// ============
// crosshair models
alias "default_xhair" cl_crosshair_file ""
alias "plus_dot" "cl_crosshair_file crosshair1"
alias "tee_dot" "cl_crosshair_file crosshair2"
alias "circle" "cl_crosshair_file crosshair3"
alias "ex" "cl_crosshair_file crosshair4"
alias "dot" "cl_crosshair_file crosshair5"
alias "plus_no_dot" "cl_crosshair_file crosshair6"
alias "solid_plus" "cl_crosshair_file crosshair7"

// crosshair colors
alias "white" "cl_crosshair_red 255; cl_crosshair_blue 255; cl_crosshair_green 255"
alias "grey" "cl_crosshair_red 170; cl_crosshair_blue 170; cl_crosshair_green 170"
alias "black" "cl_crosshair_red 0; cl_crosshair_blue 0; cl_crosshair_green 0"
alias "red" "cl_crosshair_red 255; cl_crosshair_blue 0; cl_crosshair_green 0"
alias "blue" "cl_crosshair_red 0; cl_crosshair_blue 255; cl_crosshair_green 0"
alias "green" "cl_crosshair_red 0; cl_crosshair_blue 0; cl_crosshair_green 255"
alias "yellow" "cl_crosshair_red 255; cl_crosshair_blue 0; cl_crosshair_green 255"
alias "purple" "cl_crosshair_red 255; cl_crosshair_blue 255; cl_crosshair_green 0"
alias "teal" "cl_crosshair_red 0; cl_crosshair_blue 255; cl_crosshair_green 255"
alias "orange" "cl_crosshair_red 255; cl_crosshair_blue 85; cl_crosshair_green 170"

// crosshair size
alias "biggest" "cl_crosshair_scale 48"
alias "big" "cl_crosshair_scale 40"
alias "medium" "cl_crosshair_scale 32"
alias "small" "cl_crosshair_scale 24"
alias "smallest" "cl_crosshair_scale 16"
alias "no_xhair" "cl_crosshair_scale 0"

// primary weapons
alias scout_primary_xhair "solid_plus; green; medium"
alias soldier_primary_xhair "solid_plus; green; medium"
alias pyro_primary_xhair "solid_plus; green; medium"
alias demoman_primary_xhair "solid_plus; green; medium"
alias heavy_primary_xhair "solid_plus; green; medium"
alias engineer_primary_xhair "solid_plus; green; medium"
alias medic_primary_xhair "solid_plus; green; medium"
alias sniper_primary_xhair "solid_plus; green; medium"
alias spy_primary_xhair "solid_plus; green; medium"

// secondary weapons
alias scout_secondary_xhair "circle; green; medium"
alias soldier_secondary_xhair "circle; green; medium"
alias pyro_secondary_xhair "circle; green; medium"
alias demoman_secondary_xhair "circle; green; medium"
alias heavy_secondary_xhair "circle; green; medium"
alias engineer_secondary_xhair "circle; green; medium"
alias medic_secondary_xhair "circle; green; medium"
alias sniper_secondary_xhair "circle; green; medium"
alias spy_secondary_xhair "circle; green; medium"

// melee weapons
alias scout_melee_xhair "dot; green; big"
alias soldier_melee_xhair "dot; green; big"
alias pyro_melee_xhair "dot; green; big"
alias demoman_melee_xhair "dot; green; big"
alias heavy_melee_xhair "dot; green; big"
alias engineer_melee_xhair "dot; green; big"
alias medic_melee_xhair "dot; green; big"
alias sniper_melee_xhair "dot; green; big"
alias spy_melee_xhair "dot; green; big"
Reply With Quote
#6
Old 27-05-2009, 18:58
Sydney
877 Posts
Steam Profile
logik's Avatar
( . Y . )logik( . Y . ) logik is offline
Member
Yeh i got that aswell, but how would i go about creating my own? Do i just open up the vtf file and change it or something else more complicated?

Thanks
Reply With Quote
#7
Old 27-05-2009, 19:31
Australia
807 Posts
Steam Profile
rads's Avatar
radsis dead rads is offline aka RadiaNt
Member
Simple guide in Photoshop:

Before Anything Else: Make sure you download VTFEdit. Lets you view the contents of GCF files, save as vtf and vmt etc etc. Also, having photoshop could be pretty vital too.

1. Make a new image sized 64x64.
2. Make sure you have a layer that is filled with white.
3. Create a new layer and make your crosshair on it.
4. Center it by selecting both layers, then Layer > Align > Vertical Centers and Layer > Align > Horizontal Centers.
5. Select the crosshair you made by ctrl+clicking the small thumbnail next to the layer in the Layers Pallete.
6. Go into the Channels Pallete and click the 2nd button from the left at the bottom. This will create a new channel, with a black and white outline of your crosshair.
7. Now save it. Name it to anything you want, but make sure you select targa from the Filetype drop down. Just leave it at 32 bits.
8. Open VTFEdit and then File > Import > YourCrosshair.tga. Just press OK when the settings box comes up.
9. To see if it worked, go View > Mask. If it has a transparent background after this, it'll work ingame. If not, you're doin' it wrong.
10. Save it as a vtf file. (File > Save As > Name it crosshair8 if you don't have any custom ones).
11. Now in VTFEdit, navigate to your TF2 Materials GCF file. More specifically, tf > Materials > VGUI > Crosshairs and extract a vmt to your desktop.
12. Open this vmt in VTFEdit, and change out all the bits with numbers to 8 (crosshair4 becomes crosshair8 etc.)
13. Save this as crosshair8.vmt.
14. Last step; Grab both crosshair8.vtf and crosshair8.vmt, and chuck them in your tf\materials\VGUI\Crosshairs folder. If those folders aren't there already, create them.
15. Boot up the game and you should be able to select them from the menu.

Enjoy making dick-shaped crosshairs.
Last edited by rads; 27-05-2009 at 19:36.
Reply With Quote
#8
Old 27-05-2009, 19:44
Sydney
27 Years Old
2,014 Posts
Dinner Dawg!'s Avatar
Dinner Dawg! Dinner Dawg! is offline aka rane
Member
you have seen all the crosshairs (and variety of colours) in the options menu right? my mate has 1 green dot for everything for instance, and it's set in game no scripts
Reply With Quote
#9
Old 27-05-2009, 19:50
Australia
807 Posts
Steam Profile
rads's Avatar
radsis dead rads is offline aka RadiaNt
Member
Quote:
Hey guys,
Jost wondering if it is possible to make a custom crosshair for tf2
Reply With Quote
#10
Old 27-05-2009, 19:57
Sydney
877 Posts
Steam Profile
logik's Avatar
( . Y . )logik( . Y . ) logik is offline
Member
Thanks for that radiant however I have a different version of paintshop so it didn't work, however all I realy want is the scouts crosshair for everything. Is there any way I can do this?

Thanks
Reply With Quote
#11
Old 27-05-2009, 20:06
Australia
807 Posts
Steam Profile
rads's Avatar
radsis dead rads is offline aka RadiaNt
Member
The scout crosshair is actually a part of the default crosshair set (which contains all the default crosshairs in one vtf file), so unless you go into that vtf, cut out the scout crosshair and somehow manage to convert my tutorial to whatever you're using, no, you won't be able to.
Reply With Quote
#12
Old 27-05-2009, 21:23
Sydney
877 Posts
Steam Profile
logik's Avatar
( . Y . )logik( . Y . ) logik is offline
Member
Yeh this is what I'm thinking of doing. I have corel photo paint shop x2 so not sure if I will work
Last edited by logik; 27-05-2009 at 21:26.
Reply With Quote
#13
Old 27-05-2009, 21:24
Australia
551 Posts
Steam Profile
Cpt. Planet's Avatar
Cpt. Planet Cpt. Planet is offline
Member
Quote:
Originally Posted by logik View Post
Thanks for that radiant however I have a different version of paintshop so it didn't work, however all I realy want is the scouts crosshair for everything. Is there any way I can do this?

Thanks
he said photoshop l2 read
________________________
"of course it's her first time, she's a cripple" - BATHORSE
Reply With Quote
#14
Old 27-05-2009, 21:33
Sydney
877 Posts
Steam Profile
logik's Avatar
( . Y . )logik( . Y . ) logik is offline
Member
I meant photoshop, calm down.....

Quote:
Originally Posted by logik View Post
corel photo paint shop x2
Reply With Quote
#15
Old 28-05-2009, 19:22
Australia
28 Years Old
9,719 Posts
Steam Profile
kam's Avatar
kam kam is offline
All-rounder
...and he means Adobe Photoshop
Reply With Quote
#16
Old 28-05-2009, 21:01
Australia
42 Posts
Steam Profile
phi jr phi jr is offline
Member
Buh scout's crosshair is ugly.
Reply With Quote
#17
Old 28-05-2009, 22:28
Australia
308 Posts
DiSSenSIoN DiSSenSIoN is offline
Member
Can get a nice disco crosshair script from wikipedia that rapidly cycles between multiple bright colors. If you don't mind the color changes then you'll never have a problem with the target blending into the environment again.
Reply With Quote
#18
Old 28-05-2009, 22:56
Australia
5,695 Posts
Steam Profile
b/cactuar cactuar is offline aka cactuar., cactuaR, seRious, CaCtUaR
Banned
just use the custom ones on the game?
Reply With Quote
#19
Old 28-05-2009, 22:58
Australia
3,708 Posts
QUACK!Scout MedalPast/Current All-AustralianSteam Profile
povohat's Avatar
povohat.au povohat is offline aka povohat, pvh
Past/Current All-Australian
wikipedia does tf2 scripts now?
Reply With Quote
#20
Old 29-05-2009, 00:06
Australia
102 Posts
Steam Profile
benjyman9 benjyman9 is offline
Member
Quote:
Originally Posted by RadiaNt View Post
Simple guide in Photoshop:

Before Anything Else: Make sure you download VTFEdit. Lets you view the contents of GCF files, save as vtf and vmt etc etc. Also, having photoshop could be pretty vital too.

1. Make a new image sized 64x64.
2. Make sure you have a layer that is filled with white.
3. Create a new layer and make your crosshair on it.
4. Center it by selecting both layers, then Layer > Align > Vertical Centers and Layer > Align > Horizontal Centers.
5. Select the crosshair you made by ctrl+clicking the small thumbnail next to the layer in the Layers Pallete.
6. Go into the Channels Pallete and click the 2nd button from the left at the bottom. This will create a new channel, with a black and white outline of your crosshair.
7. Now save it. Name it to anything you want, but make sure you select targa from the Filetype drop down. Just leave it at 32 bits.
8. Open VTFEdit and then File > Import > YourCrosshair.tga. Just press OK when the settings box comes up.
9. To see if it worked, go View > Mask. If it has a transparent background after this, it'll work ingame. If not, you're doin' it wrong.
10. Save it as a vtf file. (File > Save As > Name it crosshair8 if you don't have any custom ones).
11. Now in VTFEdit, navigate to your TF2 Materials GCF file. More specifically, tf > Materials > VGUI > Crosshairs and extract a vmt to your desktop.
12. Open this vmt in VTFEdit, and change out all the bits with numbers to 8 (crosshair4 becomes crosshair8 etc.)
13. Save this as crosshair8.vmt.
14. Last step; Grab both crosshair8.vtf and crosshair8.vmt, and chuck them in your tf\materials\VGUI\Crosshairs folder. If those folders aren't there already, create them.
15. Boot up the game and you should be able to select them from the menu.

Enjoy making dick-shaped crosshairs.
is the reason why u draw dicks to remind yourself of what they look like because you cant see the only pne u have which is located on your head?
Reply With Quote
#21
Old 29-05-2009, 03:03
Australia
807 Posts
Steam Profile
rads's Avatar
radsis dead rads is offline aka RadiaNt
Member
I am currently struggling to understand what that sentence meant. So, in light of this fact...

Cool story bro.
Reply With Quote
#22
Old 29-05-2009, 15:48
Australia
807 Posts
Steam Profile
rads's Avatar
radsis dead rads is offline aka RadiaNt
Member


^^ New crosshair yo
Reply With Quote
#23
Old 29-05-2009, 15:54
Australia
24 Years Old
2,497 Posts
Steam Profile
comradco's Avatar
Featuring Dante from thecomradcoDevil May Cry Series comradco is offline aka Comradco, Combadco, Komastsu, Jiggle_billy, JUDAS
Member
that's shit at least have the "o" in love as the center of the crosshair
Reply With Quote
#24
Old 29-05-2009, 15:56
Australia
807 Posts
Steam Profile
rads's Avatar
radsis dead rads is offline aka RadiaNt
Member
k mang

right away mang
Reply With Quote
#25
Old 29-05-2009, 16:03
Australia
24 Years Old
2,497 Posts
Steam Profile
comradco's Avatar
Featuring Dante from thecomradcoDevil May Cry Series comradco is offline aka Comradco, Combadco, Komastsu, Jiggle_billy, JUDAS
Member
then it'll be parfek!
Reply With Quote
#26
Old 29-05-2009, 16:03
Australia
807 Posts
Steam Profile
rads's Avatar
radsis dead rads is offline aka RadiaNt
Member
sounds hot tbh
Reply With Quote
#27
Old 1-06-2009, 14:11
Sydney
877 Posts
Steam Profile
logik's Avatar
( . Y . )logik( . Y . ) logik is offline
Member
Radiant, could you make me a scout one please?

Thanks
Reply With Quote
#28
Old 1-06-2009, 21:42
Denmark
119 Posts
protonx protonx is offline
Member
that's one fucked up weaponmodel.
Reply With Quote
#29
Old 1-06-2009, 21:46
Australia
22 Years Old
918 Posts
Steam Profile
apz apz is offline aka AppleSource, aps, apz, ozfortress idiot guy
Banned
thats why radiant is so good
Reply With Quote
#30
Old 1-06-2009, 22:08
Perth
4,249 Posts
QUACK!Attended ozfLANMentorSteam Profile
seeker's Avatar
iMseekerintel seeker is offline aka Seeker
Member
this game needs cg_gunX/Y/Z commands so badly
Reply With Quote
Thread Tools