Page 1 of 1
Rocket Manta
Posted: Thu Jun 22, 2023 10:58 am
by Barbie
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?
Re: Rocket Manta
Posted: Thu Jun 22, 2023 7:10 pm
by EvilGrins
Barbie wrote: ↑Thu Jun 22, 2023 10:58 am
I remember at least one MH map with Mantas firing rockets
Can you remember the name?
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.
Re: Rocket Manta
Posted: Thu Jun 22, 2023 7:53 pm
by Barbie
Yes,
Asgard2.manta11x is it, thanks.
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'
}