<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.obsidianconflict.net/?action=history&amp;feed=atom&amp;title=Creating_Weapon_Ironsights</id>
		<title>Creating Weapon Ironsights - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.obsidianconflict.net/?action=history&amp;feed=atom&amp;title=Creating_Weapon_Ironsights"/>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;action=history"/>
		<updated>2026-05-01T12:03:05Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;diff=1614&amp;oldid=prev</id>
		<title>Maestro Fenix: /* Description */</title>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;diff=1614&amp;oldid=prev"/>
				<updated>2013-03-01T10:59:56Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Description&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 10:59, 1 March 2013&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l3&quot; &gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Description==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Description==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Obsidian Conflict allows create custom ironsights for custom weapons. After configurate your button bindings, you can use them later in game. Also, in the next version of Obsidian Conflict it will be &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;more usefull&lt;/del&gt;, because it will give you more precision to your attacks.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Obsidian Conflict allows create custom ironsights for custom weapons. After configurate your button bindings, you can use them later in game. Also, in the next version of Obsidian Conflict it will be &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;useful&lt;/ins&gt;, because it will give you more precision to your attacks.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==How to configure it==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==How to configure it==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maestro Fenix</name></author>	</entry>

	<entry>
		<id>https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;diff=1449&amp;oldid=prev</id>
		<title>Maestro Fenix at 12:05, 21 April 2012</title>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;diff=1449&amp;oldid=prev"/>
				<updated>2012-04-21T12:05:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:05, 21 April 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;__TOC__&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Description==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==Description==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maestro Fenix</name></author>	</entry>

	<entry>
		<id>https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;diff=1448&amp;oldid=prev</id>
		<title>Maestro Fenix: /* List of console commands about ironsights */</title>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;diff=1448&amp;oldid=prev"/>
				<updated>2012-04-21T12:05:03Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;List of console commands about ironsights&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 12:05, 21 April 2012&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l31&quot; &gt;Line 31:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 31:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==List of console commands about ironsights==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;==List of console commands about ironsights==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*''cl_ironsight_test_wpn_offset'' = &amp;quot;0&amp;quot;- &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Tests &lt;/del&gt;weapon ironsight &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;offsets&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*''cl_ironsight_test_wpn_offset'' = &amp;quot;0&amp;quot;- &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Enable &lt;/ins&gt;weapon ironsight &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;edit mode&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*''cl_ironsight_test_wpn_offset_x'' = &amp;quot;0&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*''cl_ironsight_test_wpn_offset_x'' = &amp;quot;0&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*''cl_ironsight_test_wpn_offset_y'' = &amp;quot;0&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;*''cl_ironsight_test_wpn_offset_y'' = &amp;quot;0&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Maestro Fenix</name></author>	</entry>

	<entry>
		<id>https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;diff=1447&amp;oldid=prev</id>
		<title>Maestro Fenix: Created page with &quot;  ==Description==  Obsidian Conflict allows create custom ironsights for custom weapons. After configurate your button bindings, you can use them later in game. Also, in the next...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.obsidianconflict.net/?title=Creating_Weapon_Ironsights&amp;diff=1447&amp;oldid=prev"/>
				<updated>2012-04-21T12:04:20Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;  ==Description==  Obsidian Conflict allows create custom ironsights for custom weapons. After configurate your button bindings, you can use them later in game. Also, in the next...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
&lt;br /&gt;
==Description==&lt;br /&gt;
&lt;br /&gt;
Obsidian Conflict allows create custom ironsights for custom weapons. After configurate your button bindings, you can use them later in game. Also, in the next version of Obsidian Conflict it will be more usefull, because it will give you more precision to your attacks.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==How to configure it==&lt;br /&gt;
&lt;br /&gt;
For add ironsights for your custom weapon, go to Obsidian Conflict and load a map with your weapon. Then, deploy the console and type '''cl_ironsight_test_wpn_offset 1''' (you will need ''sv_cheats 1'' to use it) to enable the ironsight configuration mode. Select your weapon and use the ironsight. From this moment, start using the following commands that are listed at bottom until you get the position you want. Copy the X,Y and Z values, set ''cl_ironsight_test_wpn_offset'' to 0 and exit the game.&lt;br /&gt;
&lt;br /&gt;
Now go to the obsidian/scripts/customweapons folder and open the script of your custom weapon.&lt;br /&gt;
&lt;br /&gt;
After the first values (normally after 	''&amp;quot;csviewmodel&amp;quot;	&amp;quot;1&amp;quot;'') maybe you will see the following (if not, paste it):&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;quot;ironsightoffset&amp;quot;  //Coordinates for the ironsights&lt;br /&gt;
	{&lt;br /&gt;
		&amp;quot;x&amp;quot;   &amp;quot;-7.00&amp;quot;&lt;br /&gt;
		&amp;quot;y&amp;quot;   &amp;quot;6.10&amp;quot;&lt;br /&gt;
		&amp;quot;z&amp;quot;   &amp;quot;2.90&amp;quot;&lt;br /&gt;
   	}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Remplace the default values for the yours and save the file.&lt;br /&gt;
 &lt;br /&gt;
Now when you are in the mod, when you activate the ironsights of your weapon, it should be in the position you wanted.&lt;br /&gt;
&lt;br /&gt;
'''Note:''' While you are using '''cl_ironsight_test_wpn_offset 1''', if you change to another weapon to edit it and use the ironsight, it probably look weird since you are using the same values of the previous weapon. Setting '''cl_ironsight_test_wpn_offset''' to 0 will make the rest of ironsights work properly.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==List of console commands about ironsights==&lt;br /&gt;
&lt;br /&gt;
*''cl_ironsight_test_wpn_offset'' = &amp;quot;0&amp;quot;- Tests weapon ironsight offsets&lt;br /&gt;
*''cl_ironsight_test_wpn_offset_x'' = &amp;quot;0&amp;quot;&lt;br /&gt;
*''cl_ironsight_test_wpn_offset_y'' = &amp;quot;0&amp;quot;&lt;br /&gt;
*''cl_ironsight_test_wpn_offset_z'' = &amp;quot;0&amp;quot;&lt;br /&gt;
*''cl_ironsight_test_wpn_ori_offset_x'' = &amp;quot;0&amp;quot;&lt;br /&gt;
*''cl_ironsight_test_wpn_ori_offset_y'' = &amp;quot;0&amp;quot;&lt;br /&gt;
*''cl_ironsight_test_wpn_ori_offset_z'' = &amp;quot;0&amp;quot;&lt;br /&gt;
*''ironsight_toggle'' - Toggles ironsight mode for the current weapon&lt;br /&gt;
&lt;br /&gt;
[[Category:MapTuts]]&lt;/div&gt;</summary>
		<author><name>Maestro Fenix</name></author>	</entry>

	</feed>