IW4-Dump-Files/maps/animated_models/foliage_palmtree_bushy1.gsc

24 lines
606 B
Plaintext
Raw Normal View History

2017-07-08 11:47:21 -07:00
#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_1";
if ( SP )
{
level.anim_prop_models[ model ][ "still" ] = %palmtree_bushy1_still;
level.anim_prop_models[ model ][ "strong" ] = %palmtree_bushy1_sway;
}
else
level.anim_prop_models[ model ][ "strong" ] = "palmtree_mp_bushy1_sway";
}