Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Location
    Tellus
    Posts
    202

    Interaction and crosshairs trouble

    Hey, i followed this tutorial at unrealwiki. It worked fine! But when i use it, i see no crosshair, and the log says something about "accessed class'crosshairs', should be 5 not 0" over and over again. (not exactly quoted from the log, i doesnt have that computer accessable right now).

    I made the code in a own MOD folder, dont know if that is a factor. Tried to combine and change the code, but cant seem to get rid of it...
    ------------------------------------------
    Can somebody lend me a hitch off this planet?

  2. #2
    Join Date
    May 2003
    Posts
    110
    This error occurs when calling the DrawSpriteWidget-function of an HUD with an "incompatible" DrawStyle set in the canvas.
    So set the Drawstyle to STY_Alpha in your Canvas.
    Lead Programmer of The SoulKeeper

  3. #3
    Join Date
    Jan 2004
    Location
    Tellus
    Posts
    202
    Thanks.

    It seem that i had set drawstyle to 1. And that was somewhy not legal. By the way, Canvas.Drawstyle=STY_Alpha doesnt work. It had to be in a number. I sat it to 2 and got the effect i wanted, and kept the crosshairs.
    ------------------------------------------
    Can somebody lend me a hitch off this planet?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •