Open sights?

Ask questions, discuss ideas, get answers
Lev_Nougol
Posts: 7
Joined: Sat Jan 16, 2010 12:04 am

Open sights?

Post by Lev_Nougol »

I've seen in some mods that some weapons lacked crosshairs, using open sights to aim instead.
Can this be done ssm, and how would one go about doing it?

If it can't be done ssm, I'd still like to know how so I can do it csm.
Thanks.


~Lev
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Open sights?

Post by fo0k »

Im guessing its this in the objects of the weapon..
simply remove that line..?

Code: Select all

ObjectTemplate.setCrossHairType CHTIcon
someone else can confirm.. but thats gotta be worth a try.. *csm
User avatar
Senshi
Posts: 697
Joined: Sun Oct 18, 2009 1:14 pm
Location: Germany
Contact:

Re: Open sights?

Post by Senshi »

Dunno what you mean with "open sights". Do you mean ironsights? If so, it's "simply" by moving the camera to make it look over the weapon. If you want to do this for static weapons (like stat. MGs) its very easy, as the camera is simply an object with an absolute position which you can move around so it looks over the barrel. For soldiers, things get more difficult, I guess. You'd need to work on animations to make the soldier "lift" the gun to camera height and hold it still.
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Open sights?

Post by fo0k »

this is true.. im assuming a weapon where the iron sights align anyway, but include a crosshair so just remove the ch.. This does require some movement of weapons. Find an existing weapon where the iron sights align properly then replicate this animation/position for other weapons. you will need to open those weapons in 3dmax and align the model with the one you replicated.. get all iron sights for all models in the same position and that could give you a pretty good 'easy' fix.
Lev_Nougol
Posts: 7
Joined: Sat Jan 16, 2010 12:04 am

Re: Open sights?

Post by Lev_Nougol »

Thanks, guys.
I appreciate it. :)


~Lev
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Open sights?

Post by Swaffy »

My mod [Swaffy'sMod] has weapons with iron sights. I find them easy to make, but take a lot of time and patience lining them up without using 3DS Max.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
User avatar
BotHunter
Posts: 480
Joined: Thu Jan 10, 2013 11:22 pm
Contact:

Re: Open sights?

Post by BotHunter »

Just remove this line: ObjectTemplate.UseScope

http://bfmods.com/mdt/scripting/ObjectT ... Scope.html
Walk quietly and carry a sniper rifle
User avatar
Swaffy
Posts: 1715
Joined: Sun Aug 29, 2010 9:25 pm
Location: Cibolo, Texas

Re: Open sights?

Post by Swaffy »

BotHunter wrote:Just remove this line: ObjectTemplate.UseScope
Well, that's one of the steps.
(Forum Thread|Download) Swaffy'sMod v0.34 | Download link to come Soon™
Shrooms
Posts: 70
Joined: Wed Aug 11, 2010 12:35 am

Re: Open sights?

Post by Shrooms »

CHTNone
User avatar
Senshi
Posts: 697
Joined: Sun Oct 18, 2009 1:14 pm
Location: Germany
Contact:

Re: Open sights?

Post by Senshi »

Way to necro a two year old thread, Bothunter... :roll:
Post Reply