IL-GSC/BO1/PC/ZM/maps/_mig17.gsc
2024-02-18 17:32:07 -05:00

17 lines
546 B
Plaintext
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include maps\_vehicle;
#using_animtree ("vehicles");
main()
{
if( IsDefined( self.script_numbombs ) && self.script_numbombs > 0 )
{
self thread maps\_plane_weapons::bomb_init( self.script_numbombs );
}
}
mig17_setup_bombs()
{
precachemodel( "aircraft_bomb" );
LoadFx( "explosions/fx_mortarExp_dirt" );
maps\_plane_weapons::build_bombs( "plane_mig17", "aircraft_bomb", "explosions/fx_mortarExp_dirt", "artillery_explosion" );
maps\_plane_weapons::build_bomb_explosions( "plane_mig17", 0.5, 2.0, 1024, 768, 400, 25 );
}