This commit is contained in:
reaaLx
2024-09-04 23:46:54 +10:00
parent 5f950a3356
commit 1ea2370337
471 changed files with 108331 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
#include common_scripts\utility;
#using_animtree( "animated_props" );
main()
{
if( !isdefined ( level._anim_prop_models ) )
level._anim_prop_models = [];
// Would use isSP() but this runs before we can
mapname = tolower( getdvar( "mapname" ) );
SP = true;
if ( string_starts_with( mapname, "mp_" ) )
SP = false;
model = "foliage_tree_palm_bushy_2";
if ( SP )
{
level._anim_prop_models[ model ][ "still" ] = %palmtree_bushy2_still;
level._anim_prop_models[ model ][ "strong" ] = %palmtree_bushy2_sway;
}
else
level._anim_prop_models[ model ][ "strong" ] = "palmtree_mp_bushy2_sway";
}