[HELP] EoTech sight with 3x zoom - crosshair

Making or wanting help making your own asset? Check in here
Post Reply
PaulPL1
Posts: 68
Joined: 2008-06-16 12:43

[HELP] EoTech sight with 3x zoom - crosshair

Post by PaulPL1 »

Hello,

I'm exporting weapons for Polish Forces and I'm stuck...
My question may sound lame, but how can I add the red crosshair to zoomed (x3 Magnifier plus EoTech) weapon in PR. I know there is possibility to put it as a plane on mesh, but this method seems to be depreciated (I've imported the M4 with EOTech, and there's no crosshair on the mesh). I've looked into .tweak file of the M4, but I haven't found anything relevant.
What's the best way to add crosshair to weapon with zoom? I may be wrong, but it looks like it's overlay on screen and it seems to have nothing to do with the mesh.
Image
xfire->paulpl1
User avatar
Mineral
Retired PR Developer
Posts: 8534
Joined: 2012-01-02 12:37
Location: Belgium

Re: [HELP] EoTech sight with 3x zoom - crosshair

Post by Mineral »

I think it's done with a HUD.
Image
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7643
Joined: 2010-08-06 18:06

Re: [HELP] EoTech sight with 3x zoom - crosshair

Post by Mats391 »

[R-CON]Mineral wrote:I think it's done with a HUD.
Yes the eotech and other aimpoints are done with HUD. Just look through the hudSetup files and find the one you need, then set the gui index accordingly.
However im not sure if this is the preferred method for zoomed weapons. I would compare it to the TAR from the idf, those have aimpoints + magnifier. Im currently in uni so i cant tell you how its done there, but it might be different :)
Rhino
Retired PR Developer
Posts: 47909
Joined: 2005-12-13 20:00

Re: [HELP] EoTech sight with 3x zoom - crosshair

Post by Rhino »

I think the general rule of thumb is that if the thing glows, put it on the HUD. But ye, might be different for scope weapons as iirc, the HUD pointer comes up as soon as you right click and not by the time your scoped in and sighting in is much longer for scoped weapons.
Image
PaulPL1
Posts: 68
Joined: 2008-06-16 12:43

Re: [HELP] EoTech sight with 3x zoom - crosshair

Post by PaulPL1 »

Thanks for your help guys!

GuiIndexes of IDF's Tar work fine:

Code: Select all

ObjectTemplate.weaponHud.altGuiIndex 33502
ObjectTemplate.weaponHud.enablePostProcessingOnGuiIndex 33502
All I have to do now is to create my own Gui.
Image
xfire->paulpl1
Post Reply

Return to “PR:BF2 Community Modding”