Massassi Forums Logo

This is the static archive of the Massassi Forums. The forums are closed indefinitely. Thanks for all the memories!

You can also download Super Old Archived Message Boards from when Massassi first started.

"View" counts are as of the day the forums were archived, and will no longer increase.

ForumsJedi Knight and Mysteries of the Sith Editing Forum → Help please! Saber Attack COG Problems!
Help please! Saber Attack COG Problems!
2001-05-01, 5:34 AM #1
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!
2001-05-01, 6:33 AM #2
Well, first of all, you should post this in the cog forum, not the main editing forum. Second, you should use {CODE} (use [] instead of {})tags when posting code, so it doens't run into the other part of your message, (like this...
Code:
[insert code here]
)and third, I don't know much about cogging, so I can't help you... Sorry.

[This message has been edited by Sarn_Cadrill (edited May 01, 2001).]
If you choose not to decide, you still have made a choice.

Lassev: I guess there was something captivating in savagery, because I liked it.
2001-05-01, 1:05 PM #3
Your right, I'm sorry, I'll move the message. Bye bye. Spank you much!

↑ Up to the top!