bat21 Posted March 1, 2007 Share Posted March 1, 2007 Could someone point to where the Zoom control and run speed are in the xml files? I am working on a weapons MOD to help with 1 death game play. Quote Link to comment Share on other sites More sharing options...
SnowFella Posted March 1, 2007 Share Posted March 1, 2007 Zoom control as in level of magnification? If so then I'm pretty sure both are linked to character animations and can't be altered. Quote Link to comment Share on other sites More sharing options...
bat21 Posted March 1, 2007 Author Share Posted March 1, 2007 In the OGN packs, they have theirs zoomed in. I want to actually zoom my out instead of zoom in. Plus They have there run speed set as well. I found the Run speed, but no the Zoom area. Quote Link to comment Share on other sites More sharing options...
Nutlink Posted March 2, 2007 Share Posted March 2, 2007 (edited) data/units/weapons/u_addons.xml, look for the lines pertaining to each type of scope/iron sight and adjust to your wants. Example, to change the M8 Combat Sight, look for the following: <unit type="weapon" name="m8_combatsight$name_ext" slot="12"> <script_class name="hud" class="HudScope"/> <model file="/weapons/addons/m8_combat_sight/m8_combat_sight$name_ext.xml"/> <stats block="addon_data"> <var name="anim_name" value="combatsight"/> <var name="hud_movie_name" value="crosshair_combatsight_m8"/> <var name="fov_halfway" value="35"/> <var name="fov_zoomed" value="35"/> <var name="has_hud" value="true"/> <var name="zoom_mouse_sensitivity" value="0.2"/> <var name="sway_amp" value="0.1"/> <var name="sway_lerp" value="0.4"/> <var name="speed_to_halfway" value="10.0"/> <var name="speed_to_unzoomed" value="9.0"/> </stats> </unit> The bold line is the one you want to edit. Replace 35 with something like 60 if you want to lower the zoom, or down to 5 to match the sniper rifle. EDIT: To adjust the pistols, or any other weapon not found in the u_addons.xml, pull up the following file: data/sb_templates/sb_addon_data.xml Open this file and adjust the following line: <var name="fov_zoomed" type="number" default="40"/> Change that 40 to whatever you would like. Hope this helps (hope I'm right too, been a while since I've modded this game). Edited March 2, 2007 by Nutlink Quote Link to comment Share on other sites More sharing options...
bat21 Posted March 2, 2007 Author Share Posted March 2, 2007 Thanks, I appreiciate it Quote Link to comment Share on other sites More sharing options...
Hispeed Posted March 15, 2007 Share Posted March 15, 2007 EDIT: To adjust the pistols, or any other weapon not found in the u_addons.xml, pull up the following file: data/sb_templates/sb_addon_data.xml Open this file and adjust the following line: <var name="fov_zoomed" type="number" default="40"/> Change that 40 to whatever you would like. Hope this helps (hope I'm right too, been a while since I've modded this game). I'm just learning how to mod files so work with me here. If you make adjustments to any file in in the "data/sb_templates/ directory where would you save this file? In your "local" file in your GRAW install directory or somewhere else. I have tried this already and when I take my adjusted file "sb_addon_data.xml" and create a directory called sb_templates within my "local" directory in my installed GRAW directory my game crashes when I try to play Multiplayer GRAW. Any Ideas? Quote Link to comment Share on other sites More sharing options...
Nutlink Posted March 16, 2007 Share Posted March 16, 2007 The anti-cheat will prevent you from being able to use any sort of mod, from weapon mods to skins, unless the server has the exact same mod as you. Also, when installing a mod, make sure you have it in the Local/English directory. So your modified sb_addon_data.xml would go to Local/English/sb_template/sb_addon_data.xml. Hope that helps! Quote Link to comment Share on other sites More sharing options...
bat21 Posted March 18, 2007 Author Share Posted March 18, 2007 What controls the sound of the silencer and the gun un-silenced? I did something and now I have no sounds coming from the guns. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.