Weapon Collimator Sights – Arma 3

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "y[ _]*\|[ _]*(arma[0-9]+)[ _]*\|[ _]+" to "y|$1|")
 
(10 intermediate revisions by 4 users not shown)
Line 1: Line 1:
[[Category:Arma 3: Editing]]
{{GameCategory|arma3|Weapon & Magazine Configuration}}
[[Category:ArmA: Modelling]]
{{GameCategory|arma1|Modelling}}
[[Category:Arma 3: Tutorials]]
{{GameCategory|arma3|Tutorials}}
==Intro==
== Intro ==
(Written by Alwarren. Thank you to LiquidPinky and da12thMonkey for their help. See the Forum thread for more info http://forums.bistudio.com/showthread.php?153485-How-to-get-the-Collimator-sights-to-work)
(Written by Alwarren. Thank you to LiquidPinky and da12thMonkey for their help. See the Forum thread for more info http://forums.bistudio.com/showthread.php?153485-How-to-get-the-Collimator-sights-to-work)


Line 8: Line 8:
A real-life collimator sight works by projecting beam of collinear light onto a point at infinity. Essentially, we simulate that by placing our red dot or Holo sight at the end of a long tunnel. The only trick is to hide the red dot when not looking through the sight's projection glass.
A real-life collimator sight works by projecting beam of collinear light onto a point at infinity. Essentially, we simulate that by placing our red dot or Holo sight at the end of a long tunnel. The only trick is to hide the red dot when not looking through the sight's projection glass.


This tutorial assumes you already have a sight you want to modify. It also assumes moderate knowledge of the tools like Ovygen 2 and the modelling package you are using. Some screenshots are from Blender, but they apply to any package, including MAX or Maya.
This tutorial assumes you already have a sight you want to modify. It also assumes moderate knowledge of the tools like Oxygen 2 and the modelling package you are using. Some screenshots are from Blender, but they apply to any package, including MAX or Maya.


==In your Modelling Package of Choise==
== In your Modelling Package of Choice ==
All of the following (except specifically noted) is done with the PILOT view of the model. You do not need to add anything to the non-PILOT views.
All of the following (except specifically noted) is done with the PILOT view of the model. You do not need to add anything to the non-PILOT views.
In order to hide the reticule from view, it is placed at the end of a long transparent tube that will obstruct any vision of the reticule and nothing else. Assume the following Holo sight:
In order to hide the reticule from view, it is placed at the end of a long transparent tube that will obstruct any vision of the reticule and nothing else. Assume the following Holo sight:
Line 24: Line 24:
Export your model as normal, and load into Oxygen 2.
Export your model as normal, and load into Oxygen 2.


==In Oxygen==
== In Oxygen ==


With the first LOD selected, add the named property 'forcenotalpha' and make it a value of 1. If you cannot find the named property window, press Control-1 to open it.
With the first LOD selected, add the named property 'forcenotalpha' and make it a value of 1. If you cannot find the named property window, press Control-1 to open it. If your model has a geometry LOD, repeat this step with that one as well, setting the 'forcenotalpha' property to 1.


[[File:screen_3.jpg|thumb]]
[[File:screen_3.jpg|thumb]]
Line 40: Line 40:
Now select the face(s) of your reticule (and only this/these face(s)) and again select "Move top" in the 'Faces' menu.
Now select the face(s) of your reticule (and only this/these face(s)) and again select "Move top" in the 'Faces' menu.


==Putting it together==
If you sight has a glass face (like the glass of an Eotech), select the glass now and select "Move top" in the 'Faces' menu one more time.
 
== Putting it together ==
Pack your addon normally, for example with BinPBO.  
Pack your addon normally, for example with BinPBO.  
You're done. Really, there isn't anything more to do. Put your sight on a weapon, and observe the behavior in Arma 3. You might need to tweak the size and/or material settings of the reticule to make it appear satisfactory.
You're done. Really, there isn't anything more to do. Put your sight on a weapon, and observe the behavior in Arma 3. You might need to tweak the size and/or material settings of the reticule to make it appear satisfactory.

Latest revision as of 13:11, 22 June 2021

Intro

(Written by Alwarren. Thank you to LiquidPinky and da12thMonkey for their help. See the Forum thread for more info http://forums.bistudio.com/showthread.php?153485-How-to-get-the-Collimator-sights-to-work)

This is a short tutorial on how to get working collimator sights in Arma 3. A real-life collimator sight works by projecting beam of collinear light onto a point at infinity. Essentially, we simulate that by placing our red dot or Holo sight at the end of a long tunnel. The only trick is to hide the red dot when not looking through the sight's projection glass.

This tutorial assumes you already have a sight you want to modify. It also assumes moderate knowledge of the tools like Oxygen 2 and the modelling package you are using. Some screenshots are from Blender, but they apply to any package, including MAX or Maya.

In your Modelling Package of Choice

All of the following (except specifically noted) is done with the PILOT view of the model. You do not need to add anything to the non-PILOT views. In order to hide the reticule from view, it is placed at the end of a long transparent tube that will obstruct any vision of the reticule and nothing else. Assume the following Holo sight:

screen 1.jpg

Grab the indicated edge loop, duplicate it (Control-D in Blender), then extrude a long, slightly tapered tunnel from it (Press 'E' in Blender). The result should look something like this

screen 2.jpg

Make sure that the normals are correctly pointing outside. At the end of the tunnel, place a quad with your reticule mapped onto it. If you had a previous reticule, you can translate that to the end of the tunnel. You will likely have to scale it up a bit since it is now pretty far away from the viewer. A factor of 2 should do, but that is something that needs experimenting. Make sure to assign the right texture to it, and uv-unwrap it. Also, make very sure that the reticule is on the same axis as your 'eye' selection in the Memory LOD, or the weapon will not shoot correctly.

Export your model as normal, and load into Oxygen 2.

In Oxygen

With the first LOD selected, add the named property 'forcenotalpha' and make it a value of 1. If you cannot find the named property window, press Control-1 to open it. If your model has a geometry LOD, repeat this step with that one as well, setting the 'forcenotalpha' property to 1.

screen 3.jpg

Switch to the pilot view LOD. Select the polygons that make up the tube, and press 'E' to get the Face properties. Refer to the following image:

screen 4.jpg

Make sure to enable "Position" in Lighting and Shadow, and make sure that "Enable Shadow" is off. You might need to click the checkbox twice. Next, you need a texture of any size that has a very low alpha channel value. The easiest way to get this is by entering "#(argb,8,8,3)color(0,0,0,0.01,co)" in the texture field, but if you have a file texture, that will also do. Click "OK" to dismiss the window.

With the faces (and only these faces) still selected, go to the 'Faces' menu and select "Move top".

Now select the face(s) of your reticule (and only this/these face(s)) and again select "Move top" in the 'Faces' menu.

If you sight has a glass face (like the glass of an Eotech), select the glass now and select "Move top" in the 'Faces' menu one more time.

Putting it together

Pack your addon normally, for example with BinPBO. You're done. Really, there isn't anything more to do. Put your sight on a weapon, and observe the behavior in Arma 3. You might need to tweak the size and/or material settings of the reticule to make it appear satisfactory.