Page 1 of 1

Custom Crosshairs for the ChaosUT2 weapons

Posted: Thu Dec 04, 2003 1:40 pm
by Kyllian
To be perfectly honest, I ******* hate the normal 2k3 xhairs(main reason I started my own pack(Updated to v5.1))
And since many mods/mutes out there have weapons that are not subclassed to the default 2k3 weapons, I had to learn how to get custom xhairs onto them.
Well, I hammered out some User.Ini entries that will let you use custom xhairs on the ChoasUT2 weapons.

Enjoy!
Just add these lines to your User.ini

[chaosut.gravvortex]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=Change as necessary
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[ChaosUT.Crossbow]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=Change as necessary
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[ChaosUT.CGL]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=Change as necessary
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[ChaosUT.ERDW]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=Change as necessary
CustomCrossHairColor=(B=255,G=255,R=255,A=255)
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)

[ChaosUT.Cutter]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=Change as necessary
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[ChaosUT.CUTRifle]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=Change as necessary
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[ChaosUT.Claw]
ExchangeFireModes=0
Priority=X
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrosshairTextureName=Change as necessary
CustomCrosshair=XX
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[ChaosUT.TurretLauncher]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=XBeta3.Eyclan
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[ChaosUT.CPP]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=xbeta3.klaw
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[ChaosUT.MUG]
ExchangeFireModes=0
Priority=X
CustomCrosshair=XX
CustomCrosshairTextureName=XBeta3.mage
CustomCrosshairScale=X.XX (2.0=Msx/Normal size)
CustomCrossHairColor=(B=255,G=255,R=255,A=255)


ChaosUT.CUTRocketLauncher is omitted since it pulls its xhair off of the 2k4 xhair(for now anyway)

Posted: Thu Dec 04, 2003 7:33 pm
by Shadowstar
Interesting.....

Posted: Fri Dec 05, 2003 6:57 am
by Kyllian
Shadowstar wrote:Interesting.....
The custom xhair entries, my xhair pack or the freaky smilies in my ava and sig?

Posted: Fri Dec 05, 2003 1:11 pm
by jb
Kyllian,

thanks for the xhair info. We will get the typo corrected as well.

Posted: Fri Dec 05, 2003 1:24 pm
by Kyllian
;)
I really should release the next beta of my xhair pack soon too. Most of them got one hell of an overhaul

Posted: Fri Dec 05, 2003 2:20 pm
by Scorch
At the end of the User.ini file? I tried to put it there, but nothing happened in game.

Posted: Fri Dec 05, 2003 2:47 pm
by Kyllian
Just search for xweapons and put the chaos ones under the last entry of any of the xweapons ones

Something like this:

Code: Select all

[XWeapons.Redeemer]
ExchangeFireModes=0
Priority=7
CustomCrosshair=20
CustomCrosshairTextureName=[i]whatever crosshair name[/i]
CustomCrosshairScale=1.000000
CustomCrossHairColor=(B=255,G=255,R=255,A=255)

[chaosut.gravvortex]
ExchangeFireModes=0
Priority=20
CustomCrosshair=17
CustomCrosshairTextureName=[i]whatever crosshair name[/i]
CustomCrosshairScale=1.000000
CustomCrossHairColor=(B=255,G=255,R=255,A=255)
Don't forget, in the CustomCrosshairTextureName= section, it has to be PackageName(the name of the UTX file).CrosshairName

Posted: Sun Apr 11, 2004 1:54 am
by Kyllian
Updated fellas!

Posted: Sun Apr 11, 2004 1:48 pm
by Shuri
Of course, this doesn't apply to most people on this board yet ;)

Posted: Sun Apr 11, 2004 2:30 pm
by Kyllian
Shuri wrote:Of course, this doesn't apply to most people on this board yet ;)
I know I know. I forgot to check which section it was in. Had to run a search to find this

Posted: Sun Apr 11, 2004 4:15 pm
by jb
so kyl, you got that crash worked around?

Posted: Mon Apr 12, 2004 8:29 am
by Kyllian
jb wrote:so kyl, you got that crash worked around?
Yes and No.
Yes, but it requires fooling 2k4 into loading the textures as a subclass of the Jugg species
No, because it makes 2k4 believe its needed for online play, so you get a "ConnectionFailed" when trying to join a server due to a "Incompatible Game File" error

But, Ron Prestenback(coder responsible for customxhair support) posted the viable workaround and that the bug would be fixed in the first 2k4 patch.
So this pretty much confirms that my code was working, its just that 2k4 was being told to look for a texture file that wasn't being loaded

Anyway, it should be working after the first patch(YAY!)

Posted: Mon Apr 12, 2004 11:47 am
by jb
Cool,
thanks for the update and sorry I did not help more..still learning the changed of UT2k4 :(

Posted: Mon Apr 12, 2004 12:05 pm
by Kyllian
I got the basics of it figured out, just need to wait for the fix
No need to figure out netcode and the DefProperties is extremely simple