mirror of
https://github.com/reaaLx/nx1-gsc-dump.git
synced 2025-12-15 07:27:48 +00:00
Init
This commit is contained in:
23
maps/animated_models/foliage_tree_palm_bushy_2.gsc
Normal file
23
maps/animated_models/foliage_tree_palm_bushy_2.gsc
Normal 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";
|
||||
}
|
||||
Reference in New Issue
Block a user