Ravenfield

Ravenfield

1,646 betyg
Universal Recoil [EA 27]
16
5
11
4
3
5
3
2
2
   
Utmärkelse
Favorit
Favoritmarkerad
Avfavoritmarkerad
Content Type: Mutators
Filstorlek
Lades upp
Uppdaterades
1.097 MB
25 apr, 2022 @ 15:09
30 aug, 2023 @ 12:21
14 ändringsnotiser ( visa )

Abonnera för att ladda ner
Universal Recoil [EA 27]

Beskrivning
This mod reworks recoil, making it similar to other FPS games.

Recoil is procedurally generated based on weapon stats and weapon roles, so weapons should feel somewhat unique. Each weapon is given a predictable left / right recoil trend on top of random deviation. All settings can be modified to your tastes in the mutator config menu.


============================================================


This is compatible with the Universal Camera Shake mod found here (By AquaFire):
https://steamcommunity.com/sharedfiles/filedetails/?id=2407513273
Use it for more visceral camera recoil when firing!


============================================================


CONFIG OPTIONS


Recoil / Handling Multipliers:


- Zoom-Based ADS Recoil Reduction Strength
The strength of the zoom - based recoil reduction system. 1 is full effect, 0 is none.

- Recovery
The speed that recoil re-centers itself after firing.

- L/R Trend
Scales the left / right pull of individual weapons.

- Sway
The amount of horizontal recoil. Note that this scales the angle (in degrees) that recoil can be redirected, so setting it too high could cause the weapon to recoil downwards occasionally.

- Base Recoil
Scale of the entire recoil spray.


Stance Multipliers:


- Crouching Recoil
Scale of crouching recoil

- Prone Recoil
Scale of Prone Recoil *

- Use Weapon Prone Stats?
Weather to consider the weapon's built-in prone stats. If enabled, prone recoil is calculated by WeaponProneRecoil X Prone Recoil. When disabled, only the mutator's Prone Recoil is considered.

*(The config's Prone Recoil is higher than Crouching Recoil by default. Most weapons have a prone value of around 0.6, so in-game prone recoil is reduced by 52% when Use Weapon Prone Stats is enabled)


Visual Recoil Settings (These have a negligible effect on actual shot direction):


- Pushback Multiplier
How far back the weapon is pushed when fired.

- Rocking Intensity
How much a weapon will "roll" when fired continuously.

- Vanilla Recoil Strength
How much the vanilla "kickback" and "Snap" values are reduced.


Exclusions:


- Exclude Entire Tags
Remove weapon categories from the mutator.

- Excluded Weapons
Remove individual weapons from the mutator.

List weapon names or weapon categories, separating them by semicolons only. It is not case sensitive. Examples:

This is correct:
AK47;m4a1;ballistic Knife

This is not:
AK47; m4a1; ballistic Knife


============================================================


If you are a modder and you don't like the recoil that's been decided by the mutator, you can manually declare the values with a data container (see images).

You can also influence them through ravenscript with the following code:


self.URM = GameObject.find("RecoilPrefab(Clone)")
self.isUsingURM = (self.URM ~= nil)

if (self.isUsingURM) then
self.URM = self.URM.gameObject.GetComponent(ScriptedBehaviour).self
print("Using URM")
else
print("Not using URM")
end

----------------------------------------------

self.URM:SetRecoil(WeaponEntry, newRecoil)

self.URM:SetStability(WeaponEntry, newStability)

self.URM:SetDirection(WeaponEntry, newDirection)

self.URM:SetIgnore(WeaponEntry, newIgnore)
232 kommentarer
PhantomBravo 16 timmar sedan 
This mod needs an important fix for compatibility with mods that alter the player's loadout in any way. If a player's weapon is removed via another script, then the URM script will throw constant nil value errors as it attempts to reference the now nonexistent weapon, and any new weapon that gets added to the emptied weapon slot does not receive the appropriate recoil. Though the source code of this mod is not available, I imagine an easy fix would be to add a value monitor to keep track of the player actor's weapon slots, and then call a function to reevaluate and recalculate recoil patterns for the player's weapons and gear if there are any changes to the weapon slots array.
blengo 26 jun @ 15:07 
its very immersive
Bosshard 30 maj @ 6:20 
this mod doesnt work with Chai's loadout changer. recoil disappears if you change the loadout mid game
【 ZIONOMANIA 】 23 maj @ 14:26 
Putting recovery to 99 is a big no no.
Daddy Kaneki 20 maj @ 6:05 
This mod *might* be causing a bug with some modded weapons where, when an AI is firing the modded weapon, if you also have it equipped, your weapon will start animating with recoil as if you were firing it.

Not 100% certain if it's this mod or the weapon mod itself.
Sergeant McKitty =✪= 11 apr @ 6:50 
Goated
shrekshirts 22 feb @ 21:23 
DO NOT SET RECOVERY TO 99
Feniter 9 feb @ 8:55 
Does L/R trend mean the left and right sway when you move your camera in the yaw axis or just left and right sway by recoil?
Freedom 9 feb @ 8:14 
i would love to see the bots being affected with this too
Zhteses 9 feb @ 7:48 
为什么有些武器第一发和第二发的间隔那么大?