UGX-Mods Login

or login with an authentication provider below
Sign In with Google
Sign In with Twitter
Sign In with Discord
Sign In with Steam
Sign In with Facebook
Sign In with Twitch

model doesnt play anim

broken avatar :(
Created 12 years ago
by jei9363
0 Members and 1 Guest are viewing this topic.
4,030 views
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
Signature
Hey if you had tons of fun on playing my maps please DONATE :)

play ESTATE now, and claim your mansion back from the undead!
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
I tried starting making an animated flag.. but



in my _patch...

Code Snippet
Plaintext
rawfile,animtrees/generic_human.atr

in my generic_human.atr in root

Code Snippet
Plaintext
body
{
test_flag_anim
rope_test

bh_rope_idle_le
bh_rope_drop_le



Double Post Merge: November 13, 2014, 09:34:31 pm
my code

Code Snippet
Plaintext
#include maps\_utility; 
#include common_scripts\utility;
#include maps\_zombiemode_utility;
#using_animtree( "generic_human" );

animated_models_init()
{

flag = getEnt("animated_flag","targetname");

flag thread model_animate();

}


model_animate()
{
 self useanimtree("generic_human");
 self animscripted("animation_end",self.origin,self.angles, %test_flag_anim);
}
Last Edit: November 13, 2014, 09:34:31 pm by jei9363
This topic contains a post which is marked as the Best Answer. Click here to view it.
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 October 2014
Last active: 11 years ago
Posts
48
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
n122q45's Groups
n122q45's Contact & Social Links
remove it from body and place it at the top and also make sure its found in mods/MAPNAME/animtrees/

If you cant get that to work, i added u on skype so i could help you. but you can always make a new animtree and change this line:
Code Snippet
Plaintext
self UseAnimTree(#animtree);
to
Code Snippet
Plaintext
self UseAnimTree("NEW_TREE_NAME");
make sure ur animtree is a csv and the only line in it is the anim. those headers like "body" are only needed for character anims
Last Edit: November 13, 2014, 09:54:11 pm by n122q45
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363




recompiled and didnt work. same thing
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 October 2014
Last active: 11 years ago
Posts
48
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
n122q45's Groups
n122q45's Contact & Social Links
your images are broken. By chance is the model your trying to affect a misc model? because if so it wont work. Also make sure the asset manager has it as animated not rigid. Another thing that could be the issue is if your using the script i gave in the other forum. That script works on only one model. Ill feel happy to edit it so it affects multiple
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
I made my own animtree and it runs now. I exported zombie models and anims from maya before, so I followed the same process for this flag. it flutters in maya. so I exported the model with joints and mesh selected, then the xanim with just joints selected.

I matched my xanim settings to that other post and my model IS animated.

I only have one in my map and I know its responding to the script because I cant rotate it through the script
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 October 2014
Last active: 11 years ago
Posts
48
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
n122q45's Groups
n122q45's Contact & Social Links
ai anims dont use the same setup as (what i like to call static anims). Ill see if i can find the settings for ai anims.

edit: From what i can remeber they use the delta animtype
Last Edit: November 13, 2014, 10:20:50 pm by n122q45
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
well Im not doing ai, im doing a piece of cloth
Marked as best answer by jei9363 12 years ago
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 October 2014
Last active: 11 years ago
Posts
48
Respect
Forum Rank
Legless Crawler
Primary Group
Member
×
n122q45's Groups
n122q45's Contact & Social Links
I exported zombie models and anims from maya before, so I followed the same process for this flag.
sorry didnt read the whole text... so hmm are u sure that when you exported the anim, you went "edit > select > hiarchy"? and then export. Also make sure the model in the ass man is the same model u want it to play on. Like i said earlier, if you still cant get it, it may be best to go on skype
broken avatar :(
×
broken avatar :(
Location: us
Date Registered: 16 June 2013
Last active: 4 years ago
Posts
1,005
Respect
Forum Rank
Zombie Colossus
Primary Group
Mapper
My Groups
More
My Contact & Social Links
More
×
jei9363's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
Mapper Has released one or more maps to the UGX-Mods community.
jei9363's Contact & Social Linksjayingardiajei9363jei9363
PMed you

 
Loading ...