How do you remove scopes on weapon .msh files? [Solved]

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
666rulerofclones
Command Sergeant Major
Command Sergeant Major
Posts: 281
Joined: Fri Aug 08, 2008 1:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The Badger State!

How do you remove scopes on weapon .msh files? [Solved]

Post by 666rulerofclones »

I tried to make a real DLT-19 rifle model for a mod im working on, but when i tried the model in-game, it still had the dang scope! so how do i remove it? do i remove the lines about the scope in the .msh file or what?
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: How do you remove scopes on existing weapon .msh files?

Post by MercuryNoodles »

What? It seems you don't really understand what you're trying to do here. You can't just hex edit the scope out. You'll have to import the model, fix it as you'd like, and export it back to mesh. It's either that, or create a new model. I'd recommend a new model, if you can manage it. The DLT-19 is really just a World War 2 era German machine gun (The MG-34 if I'm not mistaken.)that they happened to use while filming ANH, with a few small modifications.
Last edited by MercuryNoodles on Thu Oct 09, 2008 6:34 pm, edited 1 time in total.
computergeek
General
General
Posts: 770
Joined: Thu Jun 07, 2007 6:26 pm
Projects :: Halo Warthog vehicle for SWBF2
Games I'm Playing :: Bioware RPGs - Halo
xbox live or psn: No gamertag set
Location: Far Far away....

Re: How do you remove scopes on existing weapon .msh files?

Post by computergeek »

I believe you mean the zoom in thing, right?
That's odf work I believe

ZoomMin = "2.5"
ZoomMax = "2.5"
ZoomRate = "0.0"
Removing this might help
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: How do you remove scopes on existing weapon .msh files?

Post by MercuryNoodles »

Actually, if his problem is in the odf, meaning he doesn't want a scoped view when zooming, he'd want to remove this line:

Code: Select all

ScopeTexture        = "weapon_scope3"
Taking that out will remove the texture seen in first person.

Those Zoom lines deal with the magnification, if you will. At best, that'd remove the ability to zoom in, but the scope texture would still be there.

Edit: Oh, and this would be handy for the third person view:

Code: Select all

SniperScope         = 0
User avatar
Culvar
1st Lieutenant
1st Lieutenant
Posts: 429
Joined: Thu Jul 10, 2008 10:36 am

Re: How do you remove scopes on existing weapon .msh files?

Post by Culvar »

Or he could add transparency to the scope.
MandeRek
Sith Master
Sith Master
Posts: 2766
Joined: Tue Oct 02, 2007 10:51 am
Projects :: Battlefront Zer0
Games I'm Playing :: SWTOR
xbox live or psn: No gamertag set
Location: Ghosting around GT
Contact:

Re: How do you remove scopes on existing weapon .msh files?

Post by MandeRek »

Culvar wrote:Or he could add transparency to the scope.
True, but it will leave a hole in the model. Check in 3DOC if the scope is one seperate object/MODL; THEN you can hex it out, and there might be a hole..
User avatar
666rulerofclones
Command Sergeant Major
Command Sergeant Major
Posts: 281
Joined: Fri Aug 08, 2008 1:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The Badger State!

Re: alpha channel on skins? Need Help. Check My Edit

Post by 666rulerofclones »

what im trying to do is remove the scope from the model!

EDIT
cool, will this work for removing scopes from existing weapon models?

EDIT2: I wanna know if it can because im trying to make a DLT-19 Rifle model (using the shipped Imperial Sniper Rifle model, only without the scope).
User avatar
Frisbeetarian
Jedi
Jedi
Posts: 1233
Joined: Wed Sep 12, 2007 3:13 pm

Re: alpha channel on skins? Need Help. Check My Edit

Post by Frisbeetarian »

Posting in two topics won't change the facts.
MandeRek wrote:True, but it will leave a hole in the model.
AQT
Gametoast Staff
Gametoast Staff
Posts: 4910
Joined: Sat Nov 03, 2007 4:55 pm
Location: SoCal, USA

Re: How do you remove scopes on existing weapon .msh files?

Post by AQT »

I think everyone who replied knew that. The answer to your problem was in the first post by MercuryNoodles all this time. Alternatively, you can download Syth's BFP Model Pack which contains a DLT-19 rifle model. It should save you the trouble in XSI.
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: alpha channel on skins? Need Help. Check My Edit

Post by MercuryNoodles »

Yep, that's why I said you can't just hex it off. The scope's part of the same texture as the rest of the weapon, so more than likely the scope doesn't have it's own MODL chunk. Check it out, if you wish, but don't expect to find anything we haven't told you. I know my answers are often half-baked, but I'm usually right about things like this, and the others have told you the same. So, I'd say you've got more than a confirmation on that.

Can anyone merge these last posts with ruler's other topic? I don't want to clutter this one further if at all possible.
User avatar
666rulerofclones
Command Sergeant Major
Command Sergeant Major
Posts: 281
Joined: Fri Aug 08, 2008 1:30 pm
Projects :: No Mod project currently.
Games I'm Playing :: I have not listed any games yet
xbox live or psn: No gamertag set
Location: The Badger State!

Re: How do you remove scopes on existing weapon .msh files?

Post by 666rulerofclones »

ok thanks guys, this topic can be locked now
Post Reply