

Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!
#using_animtree( "animated_props" );elevator_open
elevator_opened
elevator_close
elevator_closed
light_sway_1
tree_sway
tree_pot_sway#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 );
}
}
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
![]() UGX V.I.P. | |
![]() | Has shown excellence and experience in the area of custom mapping in the UGX-Mods community. |
![]() | Has shown excellence and experience in the area of custom scripting in the UGX-Mods community. |
![]() BO3 Modtools Alpha | This user has access to the Black Ops 3 Modtools Alpha |
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).