Unreal Ops Forum Index

Home FAQ Memberlist
 
View next topic
View previous topic
 Unreal Ops Forum Index » Unreal Ops News Comments
Author Message
Tycho
Wanna-Be Webmaster


Joined: 17 May 2003
Posts: 1041
Location: Grand Rapids, Michigan

PostPosted: Sun Jul 11, 2004 9:01 pm

Well it looks as though AngelMapper has some competition around here. Resident UO Forumer Kyllian has put together a pretty extensive tutorial on creating custom crosshairs for UT2004. A easy-to-use article that I think some of you may find useful!
Goblin
Guest





PostPosted: Mon Jul 12, 2004 3:19 pm

It didn't work for me.

Just to be sure it worked, I even named every file EXACTLY as it was in the tutorial, even copy/pasted the code so it would be EXACTLY like it was typed in the tutorial.

UCC didn't have any errors, but when I loaded up UT2k4, there wasn't anything new to choose from.
Tycho
Wanna-Be Webmaster


Joined: 17 May 2003
Posts: 1041
Location: Grand Rapids, Michigan

PostPosted: Mon Jul 12, 2004 3:59 pm

Gob,

I will forward this message to Kyllian to see what you are missing.

_________________

In the Immortal words of Socrates who said, "I drank what?"
FCE2|Dominion
Guest





PostPosted: Mon Jul 12, 2004 6:16 pm

Is it possible to have different crosshairs for the regular shock rifle and a different one when playing insta gametypes? I cant seem to get this to work :/
Goblin
Guest





PostPosted: Mon Jul 12, 2004 6:43 pm

Tycho wrote:
Gob,

I will forward this message to Kyllian to see what you are missing.


Ok, thanks!
Kyllian
Novice Spammer


Joined: 03 Dec 2003
Posts: 75

PostPosted: Mon Jul 12, 2004 7:48 pm

Goblin wrote:
It didn't work for me.

Just to be sure it worked, I even named every file EXACTLY as it was in the tutorial, even copy/pasted the code so it would be EXACTLY like it was typed in the tutorial.

UCC didn't have any errors, but when I loaded up UT2k4, there wasn't anything new to choose from.
You sure you have the files in the right folders?
.U/.Int/.Ucl -> System
.Utx -> Textures

It didn't show DemoDot above Dot in the xhair dropdown list?

Just to test, throw this file: http://www.barbos.net/unrealops/images/tutorials/crosshairs/DemoXHair.zip
Into 2k4 and tell me if it works


Dominion, add this to User.Ini for IG rifle xhair:
[XWeapons.SuperShockRifle]
ExchangeFireModes=0
Priority=1
CustomCrosshair=
CustomCrosshairTextureName=
CustomCrossHairColor=
CustomCrosshairScale=

_________________
God may have created the world in six days,
but you can bet your a** that while he rested on the seventh, a programmer coded it all
Guest






PostPosted: Mon Jul 12, 2004 10:02 pm

Yes, the .u/.int..ucl files are in the system Dir
The .utx is in the textures Dir

I tried the demoxhair .zip file, too. Nothing.

I wonder if it's something with the newer 3236 patch...
Kyllian
Novice Spammer


Joined: 03 Dec 2003
Posts: 75

PostPosted: Mon Jul 12, 2004 10:17 pm

Hmm... ok... this is weird beyond weird.
Just to check, open up your UT2004.Log file and see if there's any references
Best way is to start 2k4, load up the weapons tab, back out to main screen then quit(loading weapons tab loads the xhairs)

The Log is in ut2004/system if you need to know

_________________
God may have created the world in six days,
but you can bet your a** that while he rested on the seventh, a programmer coded it all
Guest






PostPosted: Mon Jul 12, 2004 10:27 pm

Kyllian wrote:
Hmm... ok... this is weird beyond weird.
Just to check, open up your UT2004.Log file and see if there's any references
Best way is to start 2k4, load up the weapons tab, back out to main screen then quit(loading weapons tab loads the xhairs)

The Log is in ut2004/system if you need to know


Well, I re-unzipped the demo file, and suddenly, it worked. Shocked

I'm about to try it (again) with my own design.

If I have any trouble, I'll post again....

Thanks for the help!
Goblin
Guest





PostPosted: Mon Jul 12, 2004 10:38 pm

Just so you'll know, here's the code for my Xhair.

It looks alright, compared to the example, but I want to be sure it's correct to make a new crosshair called "gobx"

------------------------------
class gobx extends Crosshairpack
notplaceable;
#EXEC OBJ LOAD FILE=gobx.utx
{
Crosshair(0)=(FriendlyName="Gobx",CrosshairTexture=gobx.imagename)
}

-------------------------------

Basically, everywhare in the tutorial where the new xhair was called "XHairDemo" I changed to "gobx" so I't'll be dealing with what I'm trying to do, not the example demo crosshair I unzipped...
Guest






PostPosted: Mon Jul 12, 2004 10:48 pm

Okay... heres something odd...

I get this error:

Error, unexpected '{'

So...... what's that mean?
( I'm totally ignorant with any form of codeing... Even Basic confuses me
Embarassed )
Kyllian
Novice Spammer


Joined: 03 Dec 2003
Posts: 75

PostPosted: Mon Jul 12, 2004 10:57 pm

I see it, you forgot "defaultproperties"

Goblin wrote:

class gobx extends Crosshairpack
notplaceable;
#EXEC OBJ LOAD FILE=gobx.utx

defaultproperties

{
Crosshair(0)=(FriendlyName="Gobx",CrosshairTexture=gobx.imagename)
}


Gotta love how it takes one little oversight to mess things up Razz
I've done it myself a few times Smile

Ok, I pm'd Tycho to see if he could make a few changes to the Tutorial so that people won't get as easily tripped up

_________________
God may have created the world in six days,
but you can bet your a** that while he rested on the seventh, a programmer coded it all
Goblin
Guest





PostPosted: Mon Jul 12, 2004 11:55 pm

Thanks for your help, and patience.
Goblin
Guest





PostPosted: Tue Jul 13, 2004 12:04 am

Blah, got errors in the compile, even using the code you gave me.

It's not worth all this frustration, I give up

Why the hell can't they make it as simple as half-life?

Make a pic, convert it to a sprite, place in in the right dir, the end.
Kyllian
Novice Spammer


Joined: 03 Dec 2003
Posts: 75

PostPosted: Tue Jul 13, 2004 12:07 am

Goblin wrote:
Blah, got errors in the compile, even using the code you gave me.
o_O you've got to be kidding me...
That code should compile fine
What errors does it give?

Just to be safe, make sure your .Uc, .Utx and the foldername are not the same

My xhair stuff
Folder: KAusXHair
.Uc: KAusCrosshairs (is also the classname in the Uc)
.Utx: KWS_XC

_________________
God may have created the world in six days,
but you can bet your a** that while he rested on the seventh, a programmer coded it all
Display posts from previous:   

View next topic
View previous topic


 

Powered by phpBB © 2001, 2005 phpBB Group :: Theme zoneCopper designed by yassineb.