Captain J wrote:Quite good! Nice to see that Mega Man Zero is getting some spotlight, even in Doom format.
However i would like to slash my saber just once. But when i press the button, zero slashes 3 times for some reason. Also are you planning for extra weapons and level up system? That would be neat.
I had made some changes to the coding to allow players to now slash up to three times depending on how long you hold down the fire button, thanks to Jarewill's fix.
As far as extra weapons goes, once i finish fleshing out the moveset for Omega Zero, I will try to convert everything into a more general Mega Man Zero mod. Omega's form will eventually be the "berserk" powerup. I do plan on at least adding the Shield Boomerang and maybe the Recoil Rod, but that won't happen until things are fleshed out more right now.
As far as progress and bugs goes, I did program in the charged Z-Saber attack. It kind of works and the animation is not bad, but the attack has the tendency to kill the player. How do I have it so that the full charged attack does not hurt the player and how do I have it so that the object does not spawn in the player but in front of the player? The following coding is just for the animation that spawns the Z-Saber Full Charge attack.
Code: Select all
FullChargeShot:
ZSCH E 1 BRIGHT A_StopSound(CHAN_WEAPON)
ZSCH E 2 Bright A_PlaySound("omegazero/zsaber4")
ZSCH F 2 Bright
TNT1 G 2 Bright A_FireCustomMissile("ZSaberFullChargeShot",0,0,12,10,0)
TNT1 B 9
Here is the coding for the spawned object itself:
Code: Select all
actor ZSaberFullChargeShot
{
scale 1.4
height 16
radius 11
damage 90
renderstyle Add
alpha 1
deathsound "weapons/laserexplode"
ExplosionRadius 95
ExplosionDamage 70
PROJECTILE
+RANDOMIZE
+DONTREFLECT
states
{
Spawn:
ZSCX A 1 BRIGHT
Goto Death
Death:
TNT1 A 0 //A buffer, dunno if this is needed or not
ZSCX AB 2 BRIGHT A_Explode
ZSCX CDEF 2 BRIGHT
stop
}
}
Another bug I have encountered is the Subtank not spawning. I am not sure what I am doing wrong, but the following errors always shows up:
Code: Select all
Invalid data encountered for texture omegazero.wad: SUBTA0
Invalid data encountered for texture omegazero.wad: SUBTB0
Script warning, "omegazero.wad:ITEMS line 54
Icon "SUBTICON" for "Subtank" not found.
I'm not sure what I am doing wrong with these parts.