Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 57 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 SP Mapping
Call of Duty 2 single player mapping, scripting and everything single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Restricted Access subscribe
Author Topic: I search script Tiger-Shooting
florian235938
General Member
Since: Aug 24, 2017
Posts: 4
Last: Sep 23, 2017
[view latest posts]
Level 0
Category: CoD2 SP Mapping
Posted: Saturday, Sep. 23, 2017 10:09 am
Call of duty singelplayermap


main()
{
//*** Init Map
maps\_tiger::main("xmodel/vehicle_tiger_woodland_brush");
maps\_load::main();
maps\_vehicle::scripted_spawn(1); // Spawns vehiclegroup 1

level.vehicle = getent("vehicle", "script_noteworthy");
path = getvehiclenode ("vehicle_start_path", "script_noteworthy");

level.vehicle attachPath(path);

wait 2; // Just so you can see whats happening :-)

level.vehicle startPath();

level.vehicle waittill("reached_end_node");
level.vehicle notify ("unload");

// Uncomment these to blow up the jeep -- No guys flying around as they are already playing an animation :S
//wait 0.2;
//level.vehicle doDamage( level.vehicle.health + 200, (0,0,0) );
//level.vehicle notify ("death");
}

tiger_approach()
{
wait(90);

tiger = getent("tiger1", "targetname");
Tpath = getvehiclenode ("vehicle_start_path", "script_noteworthy");

tiger.health = 10000000;

tiger thread maps\_tankgun::mgon();

tiger attachpath(Tpath);
tiger startPath();

}

tiger1()
{
// tiger = tank1 = Test firing at static targets
tiger1 = getent( "tiger1", "targetname" );
wait(8);
iprintln("TankScriptinit!");

target1 = getEnt("target1", "targetname");
tiger1 setturrettargetent(target1, target1.origin);
// tiger1 setTurretTargetEnt( getent ("target1","targetname"), ( 0, 0, 50 ));
// tiger1 setTurretTargetEnt( getent ("target1t","targetname"));
wait(4);
// tiger1 waittill( "turret_on_vistarget" );
// tiger1 waittill( "turret_on_target" );
// or
// tiger1 waittill ("reached_end_node");
tiger1 fireTurret();
wait(2);
iprintln("BOOOM!");
}











Share |
Restricted Access Restricted Access subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 SP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»