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

FXAnim Doesn't appear In-game

broken avatar :(
Created 11 years ago
by Deleted User
0 Members and 1 Guest are viewing this topic.
2,595 views
broken avatar :(
  • Exofile
  • Deleted Member
×
broken avatar :(
Exofile
This user is deleted :(
So I'm trying to have this piece of cloth hanging on my piping. It's ported from BO2, and is an fxanim, as you can see in the image. My question is, how can I make it appear ingame? Is it possible to just turn it into a xmodel? As it currently is it's there in Radiant, but not visible ingame.

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
maybe could be cleaner but working for me right now.

an animtree file that has the name of your xanim in it
Code Snippet
Plaintext
#using_animtree( "animated_props" );

it is in my mod folder under animtrees/animated_props

its contents

Code Snippet
Plaintext
elevator_open
elevator_opened
elevator_close
elevator_closed
light_sway_1
tree_sway
tree_pot_sway


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

animated_models_init()
{

level.wind_lights = getEntArray("wind_lights","targetname");
trees = getEntArray("windy_tree","targetname");
potted_trees = getEntArray("windy_pot_tree","targetname");


array_thread(level.wind_lights, :: sway);
array_thread(trees, :: tree_sway);
array_thread(potted_trees, :: tree_sway_potted);

}

tree_sway_potted()
{
self UseAnimTree(#animtree);
wait randomFloat(3);
while(1)
{
self animscripted( "animation_end", self.origin, self.angles, %tree_pot_sway);
self waittill( "animation_end", end );
}
}


tree_sway()
{
self UseAnimTree(#animtree);
wait randomFloat(2);
while(1)
{
self animscripted( "animation_end", self.origin, self.angles, %tree_sway);
self waittill( "animation_end", end );
}
}

sway()
{
self UseAnimTree(#animtree);
wait randomFloat(3);
while(1)
{
self animscripted( "animation_end", self.origin, self.angles, %light_sway_1);
self waittill( "animation_end", end );
}
}

Double Post Merge: October 30, 2015, 07:34:25 pm
also it has to be a script model

Double Post Merge: October 30, 2015, 07:36:34 pm
and you wont be able to apply a model scale
Last Edit: October 30, 2015, 07:36:34 pm by jei9363
broken avatar :(
×
broken avatar :(
Location: gb
Date Registered: 22 September 2014
Last active: 6 years ago
Posts
360
Respect
Forum Rank
Perk Hacker
Primary Group
Donator ♥
My Groups
More
My Contact & Social Links
More
Personal Quote
Here to make epic maps
×
pcmodder's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
pcmodder's Contact & Social Linksken5hir0pcmodderugx
Does the image need to be in your mod folder to see it in game
broken avatar :(
×
broken avatar :(
RadihaX
Location: caCanada
Date Registered: 2 September 2012
Last active: 5 years ago
Posts
978
Respect
Forum Rank
The Decider
Primary Group
Mapper Elite
My Groups
More
My Contact & Social Links
More
Signature
Overrun
Lockdown
Overrun (Black Ops Mod)
Snowglobe
Leviathan
Abandoned School
Ski Resort
Leviathan Redux
×
JBird632's Groups
Donator ♥ Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum.
UGX V.I.P.
UGX V.I.P.
Mapper Elite Has shown excellence and experience in the area of custom mapping in the UGX-Mods community.
Scripter Elite Has shown excellence and experience in the area of custom scripting in the UGX-Mods community.
BO3 Modtools Alpha
BO3 Modtools Alpha
This user has access to the Black Ops 3 Modtools Alpha
JBird632's Contact & Social LinksJBird632JBird632JBird632JBird632JBird632Mapper
So I'm trying to have this piece of cloth hanging on my piping. It's ported from BO2, and is an fxanim, as you can see in the image. My question is, how can I make it appear ingame? Is it possible to just turn it into a xmodel? As it currently is it's there in Radiant, but not visible ingame.

(Image removed from quote.)
Well I'm assuming you made that with a patch and not an xmodel then. If they have an anim then you would want to port the model for it as well and do what jei said - though I haven't read through his script. If you strictly just want the patch to show up in game I bet that the light mapping is messed up on it. So press Shift + L to go into light mapping mode, select the patch and press S. Then choose lightmap or natural based on which looks best (you dont want it to stretch or tile too much).
broken avatar :(
  • Exofile
  • Deleted Member
×
broken avatar :(
Exofile
This user is deleted :(
Well I'm assuming you made that with a patch and not an xmodel then. If they have an anim then you would want to port the model for it as well and do what jei said - though I haven't read through his script. If you strictly just want the patch to show up in game I bet that the light mapping is messed up on it. So press Shift + L to go into light mapping mode, select the patch and press S. Then choose lightmap or natural based on which looks best (you dont want it to stretch or tile too much).

This cloth is an xmodel. I ported it using lime, and converted it exactly like every other model I converted. I'll have to try out the animscript for it tomorrow, but yes.

 
Loading ...