I'm making the JKG MP Pack1.0 that is about to be published to Massassi. Well, It has a feature a clan member suggested that is an additional, assignable saber attack. YOu slide under the opponents knees and cram your saber right up their crapper! Well, one problem... It doesn't do damage!!!!!!!! WHY?? DO I NEED TO USE jkEnableSaber();? What is the problem? Here is the cog: (Note: I made a template for a temorary fix. It sux though.)
# This cog brought to you by JKG_SabreWlf_HG.
# original COG produced for the JKG MP Pack 1.0.
# Feel free to use this cog in your OWN mods,
# please just make sure you mention me in your
# credits or whatever.
#
# Thanks:
# Yomin Carr, Plokoon, Emperor....
#
#...........................................................#
# #
# Assignable Saber Attacks #
# #
#...........................................................#
#
#
#
# NOTES: Thanks Yomin, this was a GREAT idea, I had LOTS
# of problems making it, but it was worth it! Later!
#
# LucasArts is in no way associated w/the making
# of this cog. JK is a copyright of LEC AND NOT ME!
#
#
symbols
thing player local
message activated
sound noise=ltsaberswing08.wav local
# External animations
keyframe dive=kysabrcr.key local
template damage=+xattack local
end
# ========================================================================================
code
activated:
player = GetLocalPlayerThing();
if(GetCurWeapon(player) == 10){
PlayKey(player, dive, 2, 0x38);
PlaySoundThing(noise, player, 2, -1, -1, 0x10080);
Sleep(0.5);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
}
SetBinWait(player, 118, 2.0);
end
Please Help!
# This cog brought to you by JKG_SabreWlf_HG.
# original COG produced for the JKG MP Pack 1.0.
# Feel free to use this cog in your OWN mods,
# please just make sure you mention me in your
# credits or whatever.
#
# Thanks:
# Yomin Carr, Plokoon, Emperor....
#
#...........................................................#
# #
# Assignable Saber Attacks #
# #
#...........................................................#
#
#
#
# NOTES: Thanks Yomin, this was a GREAT idea, I had LOTS
# of problems making it, but it was worth it! Later!
#
# LucasArts is in no way associated w/the making
# of this cog. JK is a copyright of LEC AND NOT ME!
#
#
symbols
thing player local
message activated
sound noise=ltsaberswing08.wav local
# External animations
keyframe dive=kysabrcr.key local
template damage=+xattack local
end
# ========================================================================================
code
activated:
player = GetLocalPlayerThing();
if(GetCurWeapon(player) == 10){
PlayKey(player, dive, 2, 0x38);
PlaySoundThing(noise, player, 2, -1, -1, 0x10080);
Sleep(0.5);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
FireProjectile(player, damage, -1, 0, '-0.01 0.13 0.02', '0 0 0', 1.0, 0, 0.0, 0.0);
}
SetBinWait(player, 118, 2.0);
end
Please Help!