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

Members Online

»
0 Active | 65 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

Tutorials

»
CoDUO Mapping
ratings:
Awful Rating
Poor Rating
Average Rating
Good Rating
Excellent Rating
Wounded Guys on Stretchers
Versions: You must be logged in to view history.
A tutorial by Bodger about having wounded guys on strechers like in the the stalingrad level for the original COD.
Its all done by spawned script_models ,doing animations.
All you need in your map is some script_origins,with the targetname of "stretcher".
And give them a script_noteworthy for the type of anim you want them to be doing.

stretcher0jt.jpg
stretcher28ph.jpg

Heres the scripting for it.

this goes in your main

CODE

maps\stalingrad_anim::main();
maps\_utility::array_thread(getentarray( "stretcher", "targetname" ), ::stretcher_think);


Then this function

CODE

stretcher_think()
{
org = self.origin;
angles = self.angles;

spawn = spawn ("script_model",(0,0,0));
spawn.origin = (org);
spawn.angles = (angles);
spawn.animname = self.script_noteworthy;
spawn [[level.scr_character[spawn.animname]]]();
spawn UseAnimTree(level.scr_animtree[spawn.animname]);

if (isdefined (level.scr_anim[spawn.animname]["death"]))
{
spawn animscripted("scriptedanimdone", org, angles, level.scr_anim[spawn.animname]["death"]);
return;
}

guy[0] = spawn;
thread maps\_anim::anim_loop(guy, "idle", undefined, undefined, self);
while (1)
{
spawn playsound ("stalingrad_wounded_guys");
wait (4 + randomfloat(10));
}
}

maps\stalingrad_anim::main(); precaches all the anims needed.
The script_noteworthy's are deadguyA, deadguyB, chestguy, sideguy, neckguy,and groinguy

stretcher30lq.jpg

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

»