Page 1 of 1

Giving the sniper rifle a crosshair in 3rd person:

Posted: Wed Jan 12, 2011 10:45 am
by Unit989
My apologies for posting this because it's probably been posted a million times before, but I've spent several hours trawling through search results and manually looking through the forums and simply do not have time nor the patience to do any more searching.

I've copied the Common folder from BF2_ModTools\assets\sides to BF2_ModTools\data_SRM\Sides and then played with various parameters etc within the com_weap_inf_sniper_rifle.odf, including the ReticuleInAimingOnly = 1 line. I have tried changing the 1 to a 0 and removing this line to no avail, so what am I doing wrong?

Any and all help is appreciated, thanks in advance.

Re: Giving the sniper rifle a crosshair in 3rd person:

Posted: Wed Jan 12, 2011 10:46 am
by Fiodis
I'm sorry, what exactly do you want to do?

I don't think any weapon can have a scope texture in 3rd person.

Re: Giving the sniper rifle a crosshair in 3rd person:

Posted: Wed Jan 12, 2011 10:50 am
by Bob
Go to the
Hidden/Spoiler:
//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************
and remove the line
Hidden/Spoiler:
ScopeTexture = "weapon_scope3"
(and munge)

Re: Giving the sniper rifle a crosshair in 3rd person:

Posted: Wed Jan 12, 2011 11:04 am
by DarthD.U.C.K.
here's a thread discussing the issue you have
the retculeaiming-line is the right one, it seems to be working in most cases but not always.

Re: Giving the sniper rifle a crosshair in 3rd person:

Posted: Wed Jan 12, 2011 12:04 pm
by Unit989
Fiodis wrote:I'm sorry, what exactly do you want to do?

I don't think any weapon can have a scope texture in 3rd person.
Yeah, I meant give it a reticule like the blaster rifle has, not a crosshair. My bad.
DarthD.U.C.K. wrote:here's a thread discussing the issue you have
the retculeaiming-line is the right one, it seems to be working in most cases but not always.
Thanks.

EDIT:

Ok, I've tried changing that line in just about every conceivable way - what am I doing wrong?

Re: Giving the sniper rifle a crosshair in 3rd person:

Posted: Wed Jan 12, 2011 8:02 pm
by MercuryNoodles
Theoretically speaking, it should always work, provided the side is made correctly. In point of fact, I've never seen it not work whenever I've used it.

There could be a number of problems keeping you from the results you want. Personally, I wouldn't make any changes to the common side, unless I intended to change something for all of the sides. This could create a conflict if a stock side is loaded with the custom side (two odfs of the same name loaded into memory), which can give odd results, like taking parameters from each odf and combining them, or only one of the odfs being loaded. My advice would be to either add the line to the child odf, which is the specific weapon odf, or make a new odf that has no parent using this line, which should circumvent that particular problem. You could also go as far as making a new parent, and linking the child odf to that, but it's not really worth making new parents unless you're doing this on the scale Pandemic did, or have a time limit like they did, where it was more efficient to use the parenting system.