1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Extended Vertical Aiming

Discussion in 'Mod Releases' started by [V] IdolNinja, Sep 15, 2013.

  1. [V] IdolNinja

    [V] IdolNinja Volition Staff

    Extended Vertical Aiming for Saints Row IV by IdolNinja

    This mod simply extends the vertical range limits of camera so you can aim and shoot directly below or above.


    INSTALL INSTRUCTIONS:

    Extract camera_free.xtbl to your SRIV install folder with the game exe:
    ..\steam\SteamApps\common\Saints Row IV\



    FOR OTHER MODDERS:

    Feel free to to integrate this into any of your mod releases like the FOV ones as long as you link back to this release thread with proper credit. The changes to make are simple. Edit camera_free.xtbl and make two changes to each of the listed submodes:
    <min_elevation> changed to -90
    <max_elevation> changed to 90

    Submode list (they are all at the start of the table)
    exterior close
    crouch
    platforming crouch
    sprint
    interior close
    crouch interior
    interior sprint
    fine aim
    fine aim
    fine aim underslung
    fine aim underslung
    fine aim crouch
    fine aim crouch

    EXAMPLE:

    Before

    Code (Text):

           <submode>
             <name>exterior close</name>
             <lookat_offset>
               <X>0.0</X>
               <Y>1.65</Y>
               <Z>0.0</Z>
               </lookat_offset>
             <min_elevation>-75</min_elevation>
             <max_elevation>55</max_elevation>
             <base_fov>50</base_fov>
             <z_dist>4.25</z_dist>
             <y_dist>0.05</y_dist>
             <blend_time>0.5</blend_time>
             <x_shift>0.6</x_shift>
             <override_exit_blend_time>False</override_exit_blend_time>
             <Aspect>all</Aspect>
             <vel_scale>
               <X>0.0</X>
               <Y>0.0</Y>
               <Z>0.2</Z>
               </vel_scale>
             <vel_max>
               <X>5</X>
               <Y>0.0</Y>
               <Z>5</Z>
               </vel_max>
             <vel_approach_speed>0.6</vel_approach_speed>
             <vel_min>
               <X>-5</X>
               <Y>0.0</Y>
               <Z>-5</Z>
               </vel_min>
             <vel_burst_time>0.0</vel_burst_time>
             <vel_burst_power>0.0</vel_burst_power>
             <swing_heading>0.0</swing_heading>
             <swing_sticky_time>1000</swing_sticky_time>
             <swing_vel_low>0.0</swing_vel_low>
             <swing_vel_high>0.0</swing_vel_high>
             </submode>
    After
    Code (Text):

           <submode>
             <name>exterior close</name>
             <lookat_offset>
               <X>0.0</X>
               <Y>1.65</Y>
               <Z>0.0</Z>
               </lookat_offset>
             <min_elevation>-90</min_elevation>
             <max_elevation>90</max_elevation>
             <base_fov>50</base_fov>
             <z_dist>4.25</z_dist>
             <y_dist>0.05</y_dist>
             <blend_time>0.5</blend_time>
             <x_shift>0.6</x_shift>
             <override_exit_blend_time>False</override_exit_blend_time>
             <Aspect>all</Aspect>
             <vel_scale>
               <X>0.0</X>
               <Y>0.0</Y>
               <Z>0.2</Z>
               </vel_scale>
             <vel_max>
               <X>5</X>
               <Y>0.0</Y>
               <Z>5</Z>
               </vel_max>
             <vel_approach_speed>0.6</vel_approach_speed>
             <vel_min>
               <X>-5</X>
               <Y>0.0</Y>
               <Z>-5</Z>
               </vel_min>
             <vel_burst_time>0.0</vel_burst_time>
             <vel_burst_power>0.0</vel_burst_power>
             <swing_heading>0.0</swing_heading>
             <swing_sticky_time>1000</swing_sticky_time>
             <swing_vel_low>0.0</swing_vel_low>
             <swing_vel_high>0.0</swing_vel_high>
             </submode>
     

    Attached Files:

  2. Does this apply to the Death From Above, too? It really bugs me that you can't attack on enemies directly above you :L
     
  3. [V] IdolNinja

    [V] IdolNinja Volition Staff

    I don't think so, but you may be able to look through the submodes and apply those particular settings to them.
     
  4. I have absolutely no idea how to do that, so I'll try it out, and if it doesn't, I'll just hope someone else with legitimate skills has the same question, and does it their self :p
     
  5. You, Sir, are a gentleman and a scholar! Thank you!
     
  6. That would be great for the DFA to have these settings and be able to fly across the map like Neo in Matrix ( It's the same animation .. another reference to the movie I guess)
    But the character can't target the ground when it's too far, is there a way to do it ?
     
  7. Death from Above.. but from Below?:D
     
  8. <submode>
    <name>death from above</name>
    <Aspect>all</Aspect>
    <lookat_offset>
    <X>0.0</X>
    <Y>1.65</Y>
    <Z>0.0</Z>
    </lookat_offset>
    <min_elevation>35</min_elevation>
    <max_elevation>80</max_elevation>
    <base_fov>50</base_fov>


    Wouldnt that be where you would do it? I am no expert, and I am currently trying it out, but I would suspect that setting min_elevation to 0 would do it.
     
  9. Well, I have messed around with it a little bit.. still far from perfect, and you cannot aim upwards, or even flat, due to the distance from the player to the ground/whatever, but I do believe the range of where you can aim is greatly increased with this bit of code:

    Code (Text):
                <submode>
                    <name>death from above</name>
                    <Aspect>all</Aspect>
                    <lookat_offset>
                        <X>0.0</X>
                        <Y>0.0</Y>
                        <Z>0.0</Z>
                        </lookat_offset>
                    <min_elevation>0</min_elevation>
                    <max_elevation>85</max_elevation>
                    <base_fov>50</base_fov>
                    <z_dist>4.25</z_dist>
                    <y_dist>0.05</y_dist>
                    <blend_time>0.5</blend_time>
                    <override_exit_blend_time>False</override_exit_blend_time>
                    <x_shift>0.6</x_shift>
                    <vel_scale>
                        <X>0.0</X>
                        <Y>0.0</Y>
                        <Z>0.0</Z>
                        </vel_scale>
                    <vel_max>
                        <X>0.0</X>
                        <Y>0.0</Y>
                        <Z>0.0</Z>
                        </vel_max>
                    <vel_approach_speed>0.0</vel_approach_speed>
                    <vel_min>
                        <X>0.0</X>
                        <Y>0.0</Y>
                        <Z>0.0</Z>
                        </vel_min>
                    <vel_burst_time>0.0</vel_burst_time>
                    <vel_burst_power>0.0</vel_burst_power>
                    <swing_heading>0.0</swing_heading>
                    <swing_sticky_time>1000</swing_sticky_time>
                    <swing_vel_low>0.0</swing_vel_low>
                    <swing_vel_high>0.0</swing_vel_high>
                    </submode>
                <submode>
                    <name>death from above attack</name>
                    <Aspect>all</Aspect>
                    <lookat_offset>
                        <X>0.0</X>
                        <Y>0.0</Y>
                        <Z>0.0</Z>
                        </lookat_offset>
                    <min_elevation>-0</min_elevation>
                    <max_elevation>85</max_elevation>
                    <base_fov>90</base_fov>
                    <z_dist>6.5</z_dist>
                    <y_dist>0.05</y_dist>
                    <blend_time>0.5</blend_time>
                    <override_exit_blend_time>False</override_exit_blend_time>
                    <x_shift>0.6</x_shift>
                    <vel_scale>
                        <X>0.0</X>
                        <Y>0.0</Y>
                        <Z>0.0</Z>
                        </vel_scale>
                    <vel_max>
                        <X>0.0</X>
                        <Y>0.0</Y>
                        <Z>0.0</Z>
                        </vel_max>
                    <vel_approach_speed>0.0</vel_approach_speed>
                    <vel_min>
                        <X>0.0</X>
                        <Y>0.0</Y>
                        <Z>0.0</Z>
                        </vel_min>
                    <vel_burst_time>0.0</vel_burst_time>
                    <vel_burst_power>0.0</vel_burst_power>
                    <swing_heading>0.0</swing_heading>
                    <swing_sticky_time>1000</swing_sticky_time>
                    <swing_vel_low>0.0</swing_vel_low>
                    <swing_vel_high>0.0</swing_vel_high>
                    </submode>
                <submode>
    And in a little bit of testing, if you DFA into a building, it seems to mess you up.
     
  10. [V] IdolNinja

    [V] IdolNinja Volition Staff

    Feel free to attach updated versions here in the thread if you like.