View Full Version : Adjusting Crosshair
shooterman
29th December 2002, 07:35
In Allied Assault there was a file named crosshair.urc in the ui folder that I could change the size of my crosshair. In Spearhead a lot of it is different.....how would I go about changing the size of my crosshair?
guest007
29th December 2002, 09:13
I'm sure others have done this already,so look for one that you can d/l.But if you are determined to make your own ,try doing this
Go to Pak0.pk3 and look in the UI (user interface)folder,like you said.
In there you will find crosshair.urc, it looks like this
menu "crosshair" 16 16 NONE 1 <----- change here 16 16
bgcolor 0 0 0 0
align centerx centery
resource
Label
{
name "Default"
rect 0 0 16 16 <------- 16 16 this is the size of the crosshair
fgcolor 1.00 1.00 1.00 1.00
bgcolor 0.00 0.00 1.00 0.00
borderstyle "NONE"
shader textures/hud/crosshair <---can be found in pak1.pk3
//direction from_right .1
}
end.
And extract it to a place you can find later
Now go to where you extracted it to and edit it
You change the size to 20 20,or 24 24(make it sqare)
In multiplies of 4,i believe
This will make your crosshair bigger,but we are not done yet.
You also need to change the crosshair.tga, found in Pak1.pk3
So open Pak1.pk3 textures/hud/crosshair.tga and extract this
Now go to where you extracted it to and open it with your favorite graphics program(ie:Photoshop)
You will see the image size is 16x16
Change this to whatever you changed the urc file to
While we are here make any color changes you like
Save your new tga file.File name must remain crosshair.tga
Well all of our changes have been made,now we need to make a new pk3 file for our mod.
Use a program like Pakscape to do this.
Make sure the folder paths are correct and add the new files.
IE:ui/crosshair.urc and textures/hud/crosshair.tga
Now save this new mod as user-crosshair.pk3
Place this mod in your main or mainta folder
And we are done,run the game to see your changes.
PS:the crosshair automaticly centers itself,as long as its square
This is the method for creating mods,so knock your socks off
Sk1n W4lk3r
29th December 2002, 23:15
nice expl. guest... couldnt have said it better myself. hey man u want a better avatar? tell me what u want and ill make u one
guest007
31st December 2002, 09:38
Well thank you Sk1n W4lk3r but I think i got it covered, see
< < < < < < < < < < < < < < < < < < < < < < < < < < < < <<
Explained well but wrong ,that will work for MOHAA,but Spearhead has two crosshairs.I went back to check my facts.And found I was wrong,I forgot about the addition of the friendly crosshair.So i found it in pak1.pk3,textures/hud/crosshair_friend.tga.And this is not the only change.There is a new hud.scr.It can be found in pak1.pk3,it is called tahud.scr.This refers to crosshair_friend.tga.I looked hi and low for a new crosshair.urc but could only find the orginal MOHAA one,found in Pak0.pk3/ui.So repacked the mod pk3,with the new tga files and old urc file.This worked.
Just a couple off things to note
The tga files must be 24 or 32 bit
The image size should reflect whats in the urc file
PS:Next time I will check my facts a little closer before posting
Sorry
andrew78
31st December 2002, 22:09
cool
shooterman
13th January 2003, 13:22
you da man
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.