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

animated sprite frame duration

A Forum Thread for Counter-Strike 1.6

Members see zero ads. Membership is 100% free
Hello there,
I'm creating an animated sprite and wondering if i can somehow set each frame's duration. Let's say it has 5 frames and I want frame #3 to be displayed for a longer time. Haven't found anything in SprWiz nor Sprite Explorer.

I only noticed you can make a .qc from an existing sprite, but I have no idea what some values inside mean:
//       ?   ?    width height
$frame  0   0   192   192


Thanks in advance.

edit: Also, can I re-use frames in the .qc somehow? I have a sort of fade-in/fade-out going on, half the frames are identical.

Replies

Sign up to access this!
  • hellmonja avatar
    hellmonja username pic Joined 4y ago
    O
    CS:GO Ports Flag Affiliation: CS:GO Ports
    12,249 points Ranked 464th
    39 medals 4 legendary 7 rare
    • 30 submissions featured Medal icon
    • 2017 Top Contributor Medal icon
    • Reached 100 subscribers Medal icon
    • Received thanks 500 times Medal icon
    • Received thanks 50 times Medal icon
    • Returned 1000 times Medal icon
    hellmonja avatar
    hellmonja
    CS:GO Ports Flag
    Affiliation
    CS:GO Ports
    access_time 1mo edit 1mo
    You'll just have to make duplicates of frame 3 if you want that frame to last longer on screen. Animation doesn't work that way. Its frames per second is always constant so you can't specify how long a frame is shown. Variable frame exposure only happens during lag, which is an outside factor...
    AMXX Gunsmith avatar
    Mantra
    AMXX Gunsmith
    URL to post:

Embed

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

Author

useless__ avatar
useless__ Joined 5y ago
Offline
useless__
Sign up to access this!
Sign up to access this!
Sign up to access this!

Game

Sign up to access this!

Category

Share

  • Share on Reddit
  • Share on Twitter
  • Share on Facebook
  • favorite 0
  • remove_red_eye 168
  • mode_comment 1
  • access_time 1mo
  • access_time 1mo

More from Submitter

menu

WiPs by Submitter

menu

More Help Threads