Quantcast
Channel: Project Reality Forums - PR:BF2 Community Modding
Viewing all articles
Browse latest Browse all 924

Re-enable hitmarkers for my custom mod

$
0
0
I am trying to re-enable hitmarker (that cross that confirm hit) on my "custom mod" but did not worked :'( (this custom mod is for a hitreg test)

I uncommented these lines from "hudelementsgenericweapon.con" (M16A4 tweak file calls "ObjectTemplate.weaponHud.guiIndex 210" and index 210 is hudelementsgenericweapon.con):

Code:

hudBuilder.createPictureNode                GenericWeaponHud GenericHitIndication 384 284 32 32
hudBuilder.setPictureNodeTexture        Ingame/CrossHair/vsp_HitIndicator.dds
hudBuilder.setNodeRGBVariables                CrossHairColorRed CrossHairColorGreen CrossHairColorBlue
hudBuilder.setNodeAlphaVariable            HitIndicatorIconAlpha
hudBuilder.setNodeShowVariable                HitIndicatorIconShow

(BF2 uses same values)

+

I have replaced vsp_HitIndicator.dds with the one from BF2 (the one from PR is just blank and the one from BF2 has the crosshair)

+

set "sv.hitIndicator 1" on server files however still without hitmarkers :/

I am missing something or it got "disabled/removed" on any python file?

Viewing all articles
Browse latest Browse all 924

Trending Articles