ZB245 Posted January 8, 2013 Share Posted January 8, 2013 Okay i'v been trying to create a weapon from scratch and i have gotten it all the way from nothing to a usable in the game weapon. Except one thing is that when i aim down the sight it doesn't use the iron sights. So i was wondering if someone could explain to me or give me link to a tutorial or video that would explain to me how to create make it so my gun can use iron sights. Here are some pictures of what i have and whats the problem Link to comment Share on other sites More sharing options...
Werne Posted January 8, 2013 Share Posted January 8, 2013 (edited) You need to align the ##SightingNode with the weapon's sights. Edited January 8, 2013 by Werne Link to comment Share on other sites More sharing options...
ZB245 Posted January 8, 2013 Author Share Posted January 8, 2013 On 1/8/2013 at 8:58 PM, Werne said: You need to align the ##SightingNode with the weapon's sights.How do i do that? like i said this is the first time im making a weapon mod Link to comment Share on other sites More sharing options...
jazzisparis Posted January 9, 2013 Share Posted January 9, 2013 ZB245, Open your weapon's NIF file, right-click on the BSFadeNode, then 'Node'>'Attach Node'>'NiNode'.This will add a NiNode as a child of BSFadeNode. You now need to rename the new node so that the game engine could recognize it.Select it. Now move your attention to the 'Block Details' window. The first property should be 'Name'. Right-click it and select 'Edit String Index'. Type '##SightingNode' then click 'Ok'. Here begins the real work. Returning to the block list, right-click the node, then 'Transform'>'Edit'. You will now need to adjust the node's position to be aligned with your weapon's front and rear iron-sights. You do this by setting the XYZ translations. Be aware that it's probably going to require no little trial and error until you set it right. Also, unless you're very lucky, you're probably going to need to make a few changes to the mesh itself.Here are a few tips which should make things a little easier for you:In the GECK, set the weapon's minimum spread to 0.Make sure the weapon's mesh (at least the sights) is perfectly aligned with the Z axis. Otherwise, it would make things much more difficult.XYZ translations:Z - Keep it at 0.X - Is of no real significance. Set it to be around the middle of the weapon's buttstock.Y - The only setting that actually matters.Start by setting it to 10. Then test in-game, see where the weapon hits. If it hits lower from where it's supposed to, increase (or decrease, if it hits higher) the value of Y by 0.1-0.2 then test again, repeating the process as necessary.I found that the easiest way is to first try getting it to hit where the front sight is pointing to, then edit the mesh, adjust the height of the rear sight a little, test in-game, until everything is perfectly aligned. Hope that helps, and good luck. Link to comment Share on other sites More sharing options...
Recommended Posts