FalloutNV:Quick Grenade Hotkey: Difference between revisions

From Step Mods | Change The Game
No edit summary
No edit summary
Line 20: Line 20:
:# Open the file with ''Notepad'' or ''Notepad++''.
:# Open the file with ''Notepad'' or ''Notepad++''.
:# Find the following set of lines:
:# Find the following set of lines:
::<code>   <visible></code>
<syntaxhighlight lang="text" line start="8">
::<code>        <copy src="ActionPoints" trait="visible" /></code>
<rect name="GrenadeRECT">
::<code>     </visible></code>
 
 
 
    <systemcolor>&hudmain;</systemcolor>
 
    <visible>
         <copy src="ActionPoints" trait="visible" />
     </visible></syntaxhighlight>
:# Change it to
:# Change it to
::<code>   <visible></code>
<syntaxhighlight lang="text" line start="8">
::<code>        <copy src="ActionPoints" trait="visible" /></code>
<rect name="GrenadeRECT">
::<code>        <and></code>
 
::<code>                <copy src="io()" trait="_iHUD_CND" /></code>
 
::<code>                <gt>0</gt></code>
 
::<code>     </visible></code>
    <systemcolor>&hudmain;</systemcolor>
:: Save when done.
 
    <visible>
         <copy src="ActionPoints" trait="visible" />  
<and>
<copy src="io()" trait="_iHUD_CND" />
<gt>0</gt>
     </visible>
 
</syntaxhighlight>
}}
}}

Revision as of 07:46, July 5, 2021

Quick Grenade Hotkey

by Tgspy

Game:

FalloutNV

Download:

Mod Group:

[[:Category:ModGroup 11-Gameplay-AI & Combat"11-Gameplay-AI & Combat" is not in the list (01-Tools, 02-Extenders, 03-Resources, 04-Foundation, 05-Animation and Physics, 06-Models and Textures, 07-Sounds and Music, 08-Character Appearance, 09-Fixes, 10-Gameplay-General, ...) of allowed values for the "ModGroup" property.|11-Gameplay-AI & Combat]]

Baseline:

n/a

Links:

CR Patch:

No

LW Patch:

No

PP Patch:

{{{pp}}}"{{{pp}}}" is not recognized as a Boolean (true/false) value.

ENB Option:

No

Guide/Version-Specific Mod Recommendations

Existing Guides
1.0.0
1.1.0
1.2.0
Type a version string using the format indicated by the placeholder text below. Copy/paste the intended guide version from the "Existing Guides" table above (if it exists) into the field below. For unofficial user-created guides, use the format indicated by the placeholder text. Editors: Please DO NOT use wiki headings inside of custom Recommendations and also avoid using templates if at all possible! Template calls add to the max threshold, and headings mess up the guide ToC.

Recommendations

INSTALLATION

Download and install the mod normally.

oHUD COMPATIBILITY

In order to get oHUD support for this mod do the following:
  1. Right-click on the mod and select Open in Explorer
  2. Go to \menus\prefabs\grenadehotkey\ and right-click on GrenadeKeyHUD.xml, then select Open with... from the dropdown menu.
  3. Open the file with Notepad or Notepad++.
  4. Find the following set of lines:
<rect name="GrenadeRECT">



    <systemcolor>&hudmain;</systemcolor>

    <visible>  
        <copy src="ActionPoints" trait="visible" />
    </visible>
  1. Change it to
<rect name="GrenadeRECT">



    <systemcolor>&hudmain;</systemcolor>

    <visible>  
        <copy src="ActionPoints" trait="visible" /> 
		<and>
				<copy src="io()" trait="_iHUD_CND" />
				<gt>0</gt>
    </visible>