ItsMods

Full Version: SetReverb, ViewKick and SetViewKickScale
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello guys

This is a new tutorial, half mw2, half mw3. I have been looking at some mw3 gsc files, and I thought of explaining some commands, the first one of all is setreverb, is a sound command, I recomend you to search on google what does reverb means.

Code:
self SetReverb("priority","roomtype",drylevel,wetlevel,fadetime);

An example(I dont know very well the priority thing, but this one is in the gsc file, so it should work, the rest of parametres is just change parametres):

Code:
self SetReverb("snd_enveffectsprio_level","quarry",1,0.5,0);

Roomtype list(taken from mw3 gsc files)

Code:
alley
arena
auditorium
bathroom
carpetedhallway
cave
city
concerthall
default
dizzy
drugged
forest
generic
hallway
hangar
livingroom
mountains
paddedcell
plain
parkinglot
psychotic
quarry
room
sewerpipe
stonecorridor
stoneroom
underwater

Now second command, viewkick, it changes your angles as if they have shot you, Smile

Code:
self ViewKick(power,origin);

Examples:

Code:
self ViewKick(3,self.origin); //small
self ViewKick(100,self.origin); //big

I found a command at mw3 gsc files which has something in relation with this and I am fully sure that works like this:

Code:
self SetViewKickScale(scale);

Examples:

Code:
self setViewKickScale(0); //no effect of bullet hits on your aiming
self setViewKickScale(0.5); //sharpfocus effect

Thats it, I hope you have enjoyed the first mw2/mw3 tutorial, Big Grin

OMA 4ever
omg omg omg epic,
viewkick, is it like fallout :3 ?
(11-22-2011, 15:13)Se7en Wrote: [ -> ]omg omg omg epic,
viewkick, is it like fallout :3 ?

fallout? Huh
Didn't knew about the reverb effect, it seems nice if it works in multiplayer.

(11-22-2011, 15:13)Se7en Wrote: [ -> ]omg omg omg epic,
viewkick, is it like fallout :3 ?

The viewkick has been used in some cod4 mods...
I even think that it was in ROTU.

How come you haven't heard about it lol
N1 Yamato ;D
viewkick -> mw3 reduce flinch? i guess it's doing that?
(01-19-2012, 08:43)GscGunner Wrote: [ -> ]viewkick -> mw3 reduce flinch? i guess it's doing that?

Yes, reducing it will do that effect
ok thnx for the info