Luigifan18
Member
So, I'm creating some characters, and one of them, Cassandra Belnades, is supposed to be able to use a special projectile to gain the abilities of whatever enemy it hits. However, I'm at a loss for how to recreate certain enemy abilities...
Right now, I want to allow Cassandra to execute the punching attack of a Crushtacean when she copies one. However, I have no idea how to make the
Here's what I have so far...
I'm not sure what to do with the Jet Jaw or Buggle or how to distinguish them. Right now, all I can think of is something involving
I know that I want Minus's power to involve burrowing in some fashion; diving to the ground if activated in the air, phasing through FOFs under a certain thickness, breaking bustable floors, passing harmlessly beneath hazards at ground level while embedded in the ground, attacking foes while popping back up, and being forced to pop up once energy runs out. However, I'm not sure how I'd make Cassandra enter an "underground" state to begin with…
Right now, I want to allow Cassandra to execute the punching attack of a Crushtacean when she copies one. However, I have no idea how to make the
MT_CRUSHCLAW
followitem
lunge forward a set distance and then retract back to following Cassandra when C1 is pressed... I also want the Crushtacean punch to be able to break bustable walls, including strong ones.Here's what I have so far...
Crushtacean punch:
if player.mo.copy == MT_CRUSHSTACEAN then --Crushstacean punch
player.followitem = MT_CRUSHCLAW --have a Crushstacean claw follow the player
player.followitem.target = player.mo --prevent the claw from harming the player
player.thokitem = MT_CRUSHCHAIN --attach the claw to the player with a chain
if player.custom1down == 1 --when custom1 is pressed
and player.mo.energy >= 6*FRACUNIT then --if the player has energy
player.mo.energy = $ - 6*FRACUNIT
S_StartSound(player.mo, sfx_s3k6b, nil)
--perform Crushstacean rocket punch
end
end
I'm not sure what to do with the Jet Jaw or Buggle or how to distinguish them. Right now, all I can think of is something involving
CA_SWIM
and underwatertics
.I know that I want Minus's power to involve burrowing in some fashion; diving to the ground if activated in the air, phasing through FOFs under a certain thickness, breaking bustable floors, passing harmlessly beneath hazards at ground level while embedded in the ground, attacking foes while popping back up, and being forced to pop up once energy runs out. However, I'm not sure how I'd make Cassandra enter an "underground" state to begin with…
Attachments
Last edited: