Ads keep us online. Without them, we wouldn't exist. We don't have paywalls or sell mods - we never will. But every month we have large bills and running ads is our only way to cover them. Please consider unblocking us. Thank you from GameBanana <3

Inspection Sequence Loop Tutorial

A Tutorial for Counter-Strike: Global Offensive

Hello there! If you're reading this, you probably came across the problem where your custom "lookat" animation did not loop as expected, because you have no idea what "{ event AE\_BEGIN\_TAUNT\_LOOP 90 "0.2066" }" means. Keep reading and you'll learn how! In this tutorial, I'll be using my AWP animation as an example.

PREREQUISITES

- Know how to do everything except when I'm about to teach you - Knowledge on how to work around a QC script - Know how to mess with animations

STEP 1

Firstly, make sure the weapon compile is actually functioning. Now, figure out which frame you want the loop to end and the frame you want the loop to start. For example, mine plays until frame 90 and then I want it to return to frame 25 and repeat. Remember those 2 frames of your own sequence.

STEP 2

Now, what you want to do is add this to your QC script, under the "lookat" sequence:
	{ event 5004 25 "Weapon_AWP.BoltForward" }
What this does is add a sound of "awp_boltforward" to frame 25, which you should replace with whatever frame your loop begins with. It does not matter what sound it is. Also, change the whole number to whatever frame your loop ends on, in my case it is frame 90. It should now look a little something like this:
$sequence "lookat01" "inspect.smd" {
	fps 30
	fadein 0.3
	fadeout 0.3
	{ event AE\_BEGIN\_TAUNT\_LOOP 90 "0.2066" }
	{ event 5004 25 "Weapon\_AWP.BoltForward" }
}
Compile your skin.

STEP 3

Open up your CS:GO model viewer, which you can find in the CS:GO SDK under the tools category from the Steam Library. Make sure you rename the skin as you would when installing it, in my example we would open pak01_dir.vpk with Notepad++ and rename all instances of "v\_snip\_awp" with "v\_snip\_awa" or "awb" or whatever. Load your skin in the model viewer and look at the 2nd screenshot.

STEP 4

If you figured out that you should replace the decimals in
	{ event AE\_BEGIN\_TAUNT\_LOOP 90 "0.2066" }
with whatever the events log gave you, well done c: So now, remove the unnecessary sound event and replace the random numbers with whatever you have and \*GASP* your inspection is now looping as intended.

Comments

Sign up to access this!
  • Rafael De Jongh avatar
    Rafael De Jongh username pic Joined 12y ago
    Ripe Supporter WB Manager Super Moderator
    Offline
    Apocalyptic Flag Affiliation: Apocalyptic
    29,624 points Ranked 161st
    79 medals 12 legendary 20 rare
    • 1st Place - Winter Textures Contest Medal icon
    • 1st Place - GameBanana Around the Globe Contest Medal icon
    • 1st Place - Sci-Fi Skinning Contest Medal icon
    • 1st Place - Winter Warfare Medal icon
    • 1st Place - Movie Replicas Modeling Contest Medal icon
    • Submitted 100 WiPs Medal icon
    Rafael De Jongh avatar
    Rafael De Jongh
    Apocalyptic Flag
    Affiliation
    Apocalyptic
    Skinning/Modelling Expert
    access_time 6y
    Great tutorial mate! I'm sure this will come in handy for a lot of people that mod for CS:GO!
    Web Developer & 3D Artist avatar
    Mantra
    Web Developer & 3D Artist
    URL to post:

Embed

menu
Share banner
Image URL
HTML embed code
BB embed code
Markdown embed code

Studio

Sign up to access this!

Credits

Important people
Remus! avatar Apocalyptic Flag
Affiliation
Apocalyptic
Remus! username pic Joined 9y ago
Offline
Apocalyptic Flag Affiliation: Apocalyptic
2,982 points Ranked 19744th
16 medals 1 rare
  • 6 years a member Medal icon
  • Submitted 10 Skins Medal icon
  • Became a Studio Leader Medal icon
  • Reached 1,000 Points Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
  • Unlocked Treehouse VIP clearance Medal icon
Figured this stupid thing out
Rafael De Jongh avatar Apocalyptic Flag
Affiliation
Apocalyptic
Rafael De Jongh username pic Joined 12y ago
Ripe Supporter WB Manager Super Moderator
Offline
Apocalyptic Flag Affiliation: Apocalyptic
29,624 points Ranked 161st
79 medals 12 legendary 20 rare
  • 1st Place - Winter Textures Contest Medal icon
  • 1st Place - GameBanana Around the Globe Contest Medal icon
  • 1st Place - Sci-Fi Skinning Contest Medal icon
  • 1st Place - Winter Warfare Medal icon
  • 1st Place - Movie Replicas Modeling Contest Medal icon
  • Submitted 100 WiPs Medal icon
Spent some time helping out as well

Submitter

Remus! avatar
Remus! username pic Joined 9y ago
Offline
Apocalyptic Flag Affiliation: Apocalyptic
2,982 points Ranked 19744th
16 medals 1 rare
  • 6 years a member Medal icon
  • Submitted 10 Skins Medal icon
  • Became a Studio Leader Medal icon
  • Reached 1,000 Points Medal icon
  • 1 post awarded Exemplary Feedback Medal icon
  • Unlocked Treehouse VIP clearance Medal icon
Remus! avatar
Remus!
Apocalyptic Flag
Affiliation
Apocalyptic

Creator
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Details

Difficulty Level
Intermediate

Attributes

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 0
  • remove_red_eye 9.9k
  • mode_comment 1
  • access_time 6y
  • access_time 6y

More from Submitter

menu

WiPs by Submitter

menu

More from Studio

WiPs by Studio

More Animating Tutorials