Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Tutorial SetReverb, ViewKick and SetViewKickScale
#1
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
Reply

#2
omg omg omg epic,
viewkick, is it like fallout :3 ?
C++/Obj-Cdeveloper. Neko engine wip
Steam: Click
Reply

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

fallout? Huh
Reply

#4
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
Reply

#5
N1 Yamato ;D
Reply

#6
viewkick -> mw3 reduce flinch? i guess it's doing that?
Reply

#7
(01-19-2012, 08:43)GscGunner Wrote: viewkick -> mw3 reduce flinch? i guess it's doing that?

Yes, reducing it will do that effect
Reply

#8
ok thnx for the info
Reply



Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.