Giving the sniper rifle a crosshair in 3rd person:

In this forum you will find and post information regarding the modding of Star Wars Battlefront 2. DO NOT POST MOD IDEAS/REQUESTS.

Moderator: Moderators

Post Reply
User avatar
Unit989
Recruit Womprat Killer
Posts: 13
Joined: Wed Mar 25, 2009 4:09 pm

Giving the sniper rifle a crosshair in 3rd person:

Post 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.
User avatar
Fiodis
Master of the Force
Master of the Force
Posts: 4145
Joined: Wed Nov 12, 2008 9:27 pm
Projects :: Rannoch + Tientia + Tools Programming

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

Post 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.
Bob
Brigadier General
Brigadier General
Posts: 633
Joined: Thu May 27, 2010 4:28 am
Location: at home

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

Post by Bob »

Go to the
Hidden/Spoiler:
//***********************************************
//*********** HUD & CONTROLLER VALUES *********
//***********************************************
and remove the line
Hidden/Spoiler:
ScopeTexture = "weapon_scope3"
(and munge)
User avatar
DarthD.U.C.K.
Master of the Force
Master of the Force
Posts: 6027
Joined: Wed Sep 27, 2006 11:05 am
Location: Duckburg, Germany

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

Post 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.
User avatar
Unit989
Recruit Womprat Killer
Posts: 13
Joined: Wed Mar 25, 2009 4:09 pm

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

Post 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?
MercuryNoodles
Jedi
Jedi
Posts: 1003
Joined: Sun Mar 12, 2006 7:16 pm
Projects :: Space - Boarding Action
xbox live or psn: No gamertag set

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

Post 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.
Post Reply