Raised This Month: $ Target: $400
 0% 

setting frame on v_ models


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 10-06-2006 , 02:39   setting frame on v_ models
Reply With Quote #1

Is it possible to set what frame you want on a sequence?
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Xanimos
Veteran Member
Join Date: Apr 2005
Location: Florida
Old 10-06-2006 , 08:06   Re: setting frame on v_ models
Reply With Quote #2

in FM, there are a few pev's that look like they might be what you need. I can't test them so, if one of you FM guru's want to tell the right one...

Pev's
Code:
pev_frame
pev_animtime
pev_framerate

pev_modelindex  //?
pev_sequence   // I think this is player model sequence
Better yet you have the cd functions with the following constant
Code:
CD_WeaponAnim
Xanimos is offline
Send a message via AIM to Xanimos Send a message via MSN to Xanimos
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 10-06-2006 , 12:26   Re: setting frame on v_ models
Reply With Quote #3

modelindex is the index of the player's model.
sequence is the animation sequence of the player's model.
framerate is the framerate of the player's model.
animtime appears to be set to gpGlobals->time every time a frame is advanced.
weaponanim is the animation sequence of the player's model.

Because everything else refers to a player's model, rather than a player's weapon model (excluding weaponanim), I would assume that frame does the same. But, in one of my mods that I toyed around with a for a while, I remember that when I would deploy a weapon, it would render the last frame of the animation for a split second and then start from the beginning. So, on weapon deploy, I set the player's frame to 0.0, and it fixed the problem. So maybe frame does control weapon animations?? Good luck...
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:56.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode