From 0196f7ddd2fa5917e5afb2c243c0aa93a69c3e1f Mon Sep 17 00:00:00 2001 From: Edo Date: Mon, 13 Feb 2023 19:44:41 +0000 Subject: [PATCH] fix animation of trees on favela --- .../foliage_tree_palm_bushy_3.gsc | 23 ------------------- 1 file changed, 23 deletions(-) delete mode 100644 iw4x/iw4x_00/maps/animated_models/foliage_tree_palm_bushy_3.gsc diff --git a/iw4x/iw4x_00/maps/animated_models/foliage_tree_palm_bushy_3.gsc b/iw4x/iw4x_00/maps/animated_models/foliage_tree_palm_bushy_3.gsc deleted file mode 100644 index 2e1559f..0000000 --- a/iw4x/iw4x_00/maps/animated_models/foliage_tree_palm_bushy_3.gsc +++ /dev/null @@ -1,23 +0,0 @@ -#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_3"; - if ( SP ) - { - level.anim_prop_models[ model ][ "still" ] = %palmtree_bushy3_still; - level.anim_prop_models[ model ][ "strong" ] = %palmtree_bushy3_sway; - } - else - level.anim_prop_models[ model ][ "strong" ] = "palmtree_mp_bushy3_sway"; -}