Announcement

Collapse
No announcement yet.

crosshair image limit

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Syluxguy28O3
    started a topic crosshair image limit

    crosshair image limit

    what is the maximum dimension and file size of a quake compatible crosshair?
    ive googled it and come up flat.

  • JDSTONE
    replied
    i may have miss spoke calling it transparency i think it may be called alpha channel
    after asking Dr. Google https://www.opengl.org/discussion_bo...rent-tga-files

    Leave a comment:


  • Mindf!3ldzX
    replied
    Originally posted by JDSTONER View Post
    I did crosshairs for DP once i found a 32x32 pic on a 64x64 transparent background works best and named the file crosshair0.tga , crosshair1.tga ect... they went in a gfx folder in id1. maybe that will help you too. try this pk3 file if it works in engine x the that is how you can do it. Mega File Upload - crosshairlittle.pk3
    I thought .gif could only handle transparency

    Leave a comment:


  • JDSTONE
    replied
    I did crosshairs for DP once i found a 32x32 pic on a 64x64 transparent background works best and named the file crosshair0.tga , crosshair1.tga ect... they went in a gfx folder in id1. maybe that will help you too. try this pk3 file if it works in engine x the that is how you can do it. Mega File Upload - crosshairlittle.pk3

    Leave a comment:


  • Syluxguy28O3
    replied
    Originally posted by Mindf!3ldzX View Post
    back in the day, when engines didn't natively support custom crosshairs, we had to replace gfx.wad or some shit like that.


    BULLSEYE CROSSHAIRS - QUAKE 1
    ^I can recollect using that stuff,many times.


    QuakeWorld GFX - Crosshairs / lfx crosshair
    ^Just another result that turned up in googling gfx.wad crosshair
    i saw the bullseye crosshair site when i first started my inquiry. but ill check out the qw site. thanks.

    Leave a comment:


  • Mindf!3ldzX
    replied
    Originally posted by Syluxguy28O3 View Post
    ok, so i replaced the default img with my custom one, renamed it to "default".keep in mind that my img, at 32x32 is smaller than the original default crosshair img. load engine, and it still says it exceeds max size. i really dont understand how an img smaller than the original exceeds the engine maximum!
    back in the day, when engines didn't natively support custom crosshairs, we had to replace gfx.wad or some shit like that.


    http://www.bullseyecrosshairs.com/q1sites.shtm
    ^I can recollect using that stuff,many times.


    http://gfx.quakeworld.nu/details/55/lfx-crosshair/
    ^Just another result that turned up in googling gfx.wad crosshair

    Leave a comment:


  • Syluxguy28O3
    replied
    ok, so i replaced the default img with my custom one, renamed it to "default".keep in mind that my img, at 32x32 is smaller than the original default crosshair img. load engine, and it still says it exceeds max size. i really dont understand how an img smaller than the original exceeds the engine maximum!

    Leave a comment:


  • Baker
    replied
    Originally posted by Syluxguy28O3 View Post
    ok, so i took my image resized it to "32x32",and put it in the fight folder. when i type

    "crosshair image vector"

    it still says it exceeds max dimensions. is there a file size limit?
    Open existing one and see what size it is? See what gfx format it is.

    Then replace existing one in pak in same file format to see if it works? Then take appropriate action or experiment.

    This is simple enough that if you should be able to do almost whatever you need to do with the low quality information in this thread.

    You don't need my help for any of this. You can certainly punch your way out of a paper bag and own this. (*)

    [I look forward to you making it work. ]

    Leave a comment:


  • Syluxguy28O3
    replied
    ok, so i took my image resized it to "32x32",and put it in the fight folder. when i type

    "crosshair image vector"

    it still says it exceeds max dimensions. is there a file size limit?

    Leave a comment:


  • Syluxguy28O3
    replied
    ok, ill try to use that as a template, ill report back with any inquires, if i have any.

    thanks.

    Leave a comment:


  • Baker
    replied
    Originally posted by Syluxguy28O3 View Post
    "how do i plug a custom crosshair into engine x?"
    Find the crosshair in the pak file.

    When you do that, you will know. It might be in a gfx folder or something, I think I made the location similar to DarkPlaces. But I don't remember.

    Leave a comment:


  • Syluxguy28O3
    replied
    well im glad of all people, you replied, because ive been using engine x recently. i dropped a crosshair img in the tga format into the crosshair folder of the engine x.pak. says its too big, ill try to fiddle with it, but my overall question now is:

    "how do i plug a custom crosshair into engine x?"

    Leave a comment:


  • Baker
    replied
    Some of the engines that support replacement crosshairs require a 32x32 crosshair or a "power to two sized" crosshair that is at least 32x32 (32,64,128,...)

    [There is no Quake compatible crosshair image, in WinQuake/GLQuake the crosshair is the "+" character in the charset. So it becomes a question of what you are using and what that specific engine does. There aren't even standardized crosshair image names across engines.

    If an engine supports them at all ..]

    Leave a comment:

Working...
X