How do I remove the aimer and modify a scope?
Moderator: Moderators
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: How do I get rid of aimer and also how to modify a scope?
Ok where do I find the aimer.tga so I can skin it transparent? What files do I look under and did any one remap the scope yet?
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Iron sights
Hello there GT, I've been working to add iron sights to my map, but I'm having some issues.
But I have absolutely no idea how to edit/munge HUD files. I have a HUD file from another topic, a remapped scope model, and an iron sights texture. So far the iron sights haven't at all appeared ingame, I am using com_1st_scope_universal (remapped model).
Any help appreciated, thanks.
Topics merged -Staff
But I have absolutely no idea how to edit/munge HUD files. I have a HUD file from another topic, a remapped scope model, and an iron sights texture. So far the iron sights haven't at all appeared ingame, I am using com_1st_scope_universal (remapped model).
Any help appreciated, thanks.
Topics merged -Staff
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: How do I remove the aimer and modify a scope?
If you haven't already, look over the last few pages of this thread, they cover just about everything you'd need to know. As for how to munge hud files, you need to make and read a custom ingame.lvl. Check out this FAQ thread.
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: How do I remove the aimer and modify a scope?
Ok well, I've gotten my iron sights on-screen without the 4 duplicates on each corner of the screen. A few problems though, the sights are semi-transparent, and unchangable (I have the same iron sights for EVERY different gun).
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: How do I remove the aimer and modify a scope?
First of all do you have a screen of the sights?
Also when you mean it comes up on every gun do you mean that every gun has that sight. Because I think I can fix that easily.
Also when you mean it comes up on every gun do you mean that every gun has that sight. Because I think I can fix that easily.
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: How do I remove the aimer and modify a scope?
The line ScopeTexture = "name_of_scope_tga" in a weapon's odf defines its scope texture (in this case the ironsight texture to use). As for the alpha, check the HUD's alpha values.
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: How do I remove the aimer and modify a scope?
This doesn't quite work, as I'm replacing the reticule (actually just creating one above the regular one), which from Trainmaster611's HUD file looks like that was what he was doing also.
And for the alpha channel, raising it above 1.0 makes it disappear, putting it at 0 does the same.
And for the alpha channel, raising it above 1.0 makes it disappear, putting it at 0 does the same.
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: How do I remove the aimer and modify a scope?
Idk know much about what your talking about right now but couldn't u make it like .5
- Fiodis
- Master of the Force

- Posts: 4145
- Joined: Wed Nov 12, 2008 9:27 pm
- Projects :: Rannoch + Tientia + Tools Programming
Re: How do I remove the aimer and modify a scope?
Try replacing the scope msh. It's a lot easier.
- DarthD.U.C.K.
- Master of the Force

- Posts: 6027
- Joined: Wed Sep 27, 2006 11:05 am
- Location: Duckburg, Germany
Re: How do I remove the aimer and modify a scope?
you cant modify the shipped hud - im 99% shure
(the only way it could work would MAYBE reskinning but if you tried and it didnt work....)
(the only way it could work would MAYBE reskinning but if you tried and it didnt work....)
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: How do I remove the aimer and modify a scope?
You can modify it, and I have been.DarthD.U.C.K. wrote:you cant modify the shipped hud - im 99% shure
(the only way it could work would MAYBE reskinning but if you tried and it didnt work....)
I tried that, but it never replaces it. I reskin it and get the default 4 iron sights per side (and yes I did load it in the ingame.lvl).Fiodis wrote:Try replacing the scope msh. It's a lot easier.
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: How do I remove the aimer and modify a scope?
I was just thinking about that this very morning. The problem is that they would all have the same ironsights.bobfinkl wrote:This doesn't quite work, as I'm replacing the reticule (actually just creating one above the regular one), which from Trainmaster611's HUD file looks like that was what he was doing also.
And for the alpha channel, raising it above 1.0 makes it disappear, putting it at 0 does the same.
I was having largely the same results with modifying the sniper scope msh. I have a hunch it may be hardcoded. Just a matter of curiosity, did you add the dc: thing to the side that you were modifying the texture for?
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: How do I remove the aimer and modify a scope?
Could you just start from scratch it seems like it would be easier?
-
myers73
- Lieutenant General

- Posts: 690
- Joined: Fri Apr 03, 2009 11:04 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Atlanta, GA xfire=myers73 IngameName=mYers
Re: How do I remove the aimer and modify a scope?
what do you think they are doing?
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: How do I remove the aimer and modify a scope?
Yes I have, I am also using a custom scope texture already for the sniper rifle weapon.trainmaster611 wrote: did you add the dc: thing to the side that you were modifying the texture for?
Perhaps there is a odf line that we can use for it to call a different model for the scope? If not is there anyway we can add on a changing depending on weapon part of the HUD file for the iron sights?
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: How do I remove the aimer and modify a scope?
Searching through psych0's documents, I didn't see anything relating to any kind of scope mesh. What do you mean "add on a changing"?bobfinkl wrote:Yes I have, I am also using a custom scope texture already for the sniper rifle weapon.trainmaster611 wrote: did you add the dc: thing to the side that you were modifying the texture for?
Perhaps there is a odf line that we can use for it to call a different model for the scope? If not is there anyway we can add on a changing depending on weapon part of the HUD file for the iron sights?
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: How do I remove the aimer and modify a scope?
Sorry about that, didn't quite finish what I meant to say. I meant if we could add on a bit to the HUD that acts similar to the reticule (turns on/off depending on whether you are zoomed in or not, yes it's possible and I already have it working), it also changes depending on what weapon you are using (similar to weapon icons).trainmaster611 wrote:What do you mean "add on a changing"?
- trainmaster611
- Sith Lord

- Posts: 1779
- Joined: Thu Aug 24, 2006 5:22 pm
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Building a railway to Coruscant
- Contact:
Re: How do I remove the aimer and modify a scope?
I don't think you can turn on and off a component of the HUD other than the reticule through zooming (unless that is what you meant when you said you have it working).bobfinkl wrote:Sorry about that, didn't quite finish what I meant to say. I meant if we could add on a bit to the HUD that acts similar to the reticule (turns on/off depending on whether you are zoomed in or not, yes it's possible and I already have it working), it also changes depending on what weapon you are using (similar to weapon icons).trainmaster611 wrote:What do you mean "add on a changing"?
As far as weapon unique HUD groups, this is all that I can find.
Code: Select all
MeshInfo("cis_weap_inf_pistol")
{
Position(-0.260316, 0.356366, -0.002834, "Viewport")
Rotation(0.804269, 90.747269, 359.999695)
Scale(0.800000, 0.800000, 0.800000)
}
Here's a thought. You know how if you add a new weapon msh, it has a floating miniaturized version of the weapon msh? Supposing you were to rotate, position, and scale it so that the miniaturized version actually creates the iron sights? I don't really know anything about weapon icons (haven't even looked at the floating weapon icon tut yet) but its just an idea.
- bobfinkl
- Rebel Colonel

- Posts: 593
- Joined: Sun Jul 13, 2008 9:01 am
- Projects :: Lots of unreleased stuff
- xbox live or psn: No gamertag set
- Location: The quaint little city gametoast.
Re: How do I remove the aimer and modify a scope?
Yes that is what I meant.trainmaster611 wrote:I don't think you can turn on and off a component of the HUD other than the reticule through zooming (unless that is what you meant when you said you have it working).
It is possible to have 2 icons at a time, so why not set one up for the iron sights? Although I'm sure having it disappear when not zoomed would be a bit of an issue, unless we can set it to activate as the reticule does. From what I've seen, it is possible, how to do it though is beyond my limited knowledge of HUDs.trainmaster611 wrote:Here's a thought. You know how if you add a new weapon msh, it has a floating miniaturized version of the weapon msh? Supposing you were to rotate, position, and scale it so that the miniaturized version actually creates the iron sights? I don't really know anything about weapon icons (haven't even looked at the floating weapon icon tut yet) but its just an idea.
- swado95
- Rebel Warrant Officer

- Posts: 304
- Joined: Wed Apr 08, 2009 7:36 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: Where I whant to be.
Re: How do I remove the aimer and modify a scope?
This sounds like your working too hard on something that shouldn't be to hard. So how hard is it to just make a new scope?
Yaaa! 80 post most ever =) small victory.
Yaaa! 80 post most ever =) small victory.
