Rocket Manta
Rocket Manta
I remember at least one MH map with Mantas firing rockets, but the map name doesn't come to my mind (it has a nuclear tentacle behind a door and a lava pool in the middle). Can you remember the name?
"If Origin not in center it be not in center." --Buggie
- EvilGrins
- Godlike
- Posts: 9795
- Joined: Thu Jun 30, 2011 8:12 pm
- Personal rank: God of Fudge
- Location: Palo Alto, CA
- Contact:
Re: Rocket Manta
The mantas aren't altered simply for the map, they're in a monster package.
I have that package, but I can't access them like I used to... think it might be one of the Asgard packs. It's a manta with a number attached to the class.
http://unreal-games.livejournal.com/
Smilies · viewtopic.php?f=8&t=13758medor wrote:Replace Skaarj with EvilGrins
Re: Rocket Manta
Yes, Asgard2.manta11x is it, thanks.
custom class'RocketManta'
Copying complete code from class'Manta' like in Asgard2.u is not necessary - the following should be enough:
Code: Select all
//=============================================================================
// RocketManta.
//=============================================================================
class RocketManta expands Manta;
function PlayRangedAttack() {
local vector adjust;
adjust = vect(0,0,0.8);
adjust.Z = Target.CollisionHeight + 100;
Acceleration = AccelRate * Normal(Target.Location - Location + adjust);
PlayAnim('Threatsting');
spawn(RangedProjectile ,self,'',Location,AdjustAim(ProjectileSpeed, Location, 400, bLeadTarget, bWarnTarget));
}
defaultproperties
{
StingDamage=44
WhipDamage=44
bHasRangedAttack=True
RangedProjectile=Class'Botpack.RocketMk2'
}
"If Origin not in center it be not in center." --Buggie