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.

ForumsCog Forum → Here we go, help please. It's a Special Saber Attack COG
Here we go, help please. It's a Special Saber Attack COG
2001-05-01, 1:09 PM #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, 7:52 PM #2
Post the template.
2001-05-02, 11:25 AM #3
Are you actually going to help him, Seifer?!

This is clearly against the forum rules.

------------------
Warning! User is not Windows compatible.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-05-02, 11:49 AM #4
How do you figure that?

------------------
Together we stand.
Divided we fall.
2001-05-02, 12:03 PM #5
What did I do? How did I break forum rules? Honest, if i did I really didn't mean to!

Thanks for the attempted help, but you know, the template works, the problem is that the template was only a temporary fix. I want to know why the saber won't damage them only if it hits them, it didn't do ANY damage even though the saber practically goes through them! Well, thanks!
2001-05-02, 12:10 PM #6
Hmm, I know that saber keyframes have to have something called "markers" that tell the game to make it do damage, but I have know idea how to implement them.

------------------
Together we stand.
Divided we fall.
2001-05-02, 1:18 PM #7
Quote:
<font face="Verdana, Arial" size="2">No obscene material. This means pictures, sounds, animations, etc.</font>


And cogs.(yes, I know it's slightly off) I mean, what wulf is trying to do is against the rules. Why don't you think what he's trying to do is wrong anyway? And if the moderators thought his question was ok, then he couldn't release his patch because it violates the LEC license agreement.

Quote:
<font face="Verdana, Arial" size="2">3. My Level does not contain any illegal, scandalous,
illicit, defamatory, libelous, or objectionable material
(as may be determined by LEC in its sole discretion)...</font>


It falls under the "objectionable" category.

------------------
Warning! User is not Windows compatible.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-05-02, 1:22 PM #8
*takes the crack away from SaberMaster*
"Smoking this stuff wil-..has fried your brain."
How on EARTH can a cog be considered "illegal, scandalous,
illicit, defamatory, libelous, or objectionable material"? And how is it obscene? Leave the guy alone, Christ.

------------------
Together we stand.
Divided we fall.
2001-05-02, 1:29 PM #9
Hi, I'm an admin. Theres nothing wrong with shoving a lightsaber up someones crapper.
2001-05-02, 1:37 PM #10
Thank you.

------------------
Together we stand.
Divided we fall.
2001-05-02, 2:04 PM #11
you should probably go with using the JKenableSaber(); instead of fireing projectiles all at once.
I'm just an old man with a skooma problem.
2001-05-03, 11:35 AM #12
Hey stupid guy!!!! YOu only have to include a document with the disclaimer in ur mod somewhere!!!!!!!!! Not in every file!!!!! Man! Anyway. I apreciate the help people! I like the ideas. But GunBoy! How do you use jkEnableSaber();??? Just use it like you would in the weap_saber.cog? Umm, also. Thank you admin! I appreciate telling me that. I thought I really was doin' somethin' wrong. Well, I'll try Enable Saber, and see what happens. But I just looked in Puppet Jedi and I see some markers I will try. Then, I will report the outcome. If any other ideas are available... PLEASE GIVE THEM!!!!! Thank you!
2001-05-03, 1:46 PM #13
Quote:
<font face="Verdana, Arial" size="2">Originally posted by Hebedee:
Hi, I'm an admin. Theres nothing wrong with shoving a lightsaber up someones crapper.</font>


I think you might change your tune if the crapper belonged to you! lol

------------------
Theory
2001-05-04, 6:15 AM #14
YOU GUYS ROCK!! YOu ppl were right! I marked the key file, then used jkEnableSaber();. It worked like a charm. I spanked darth maul with that move. Its sweet. I hope you are all going to try my mod. Well, I look forward to showing it to you all to tell me how to improve my skillz! Thanks a lot!!!!!

↑ Up to the top!