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 → Saber Emits Light
Saber Emits Light
2001-05-13, 6:13 AM #1
Stop Stop argh your blinding me!!! Darn sabers. Well I've been working on some cogging for RoX and I've stripped down the saber cog incredibly... One problem the dang thing still emits light and I've looked over the saber and kyle cog and found nothing that tells the dang thing to glow. I've traced the glow to the center of the blade...cause when I change the size of the blade to be really long the light is emitted way away from the player. Now if I have to I'll make the saber blade incredibly long so that the emitted light is always way up in the sky where it doesn't matter however I'de like to know if there is an easier solution... Is there???
2001-05-13, 8:06 AM #2
wow i can help u with the cogs i am supposed to be doing! Somewhere in your cog u should have something like Jksetflags(player, 0x4); that controls the glow if i remember right. So i think it might work if u replaced 0x4(turn saber on) with 0x8(turn saber off). I too have been working with the saber cog to try and get it working good, i think that is how it works, but am not sure. Oh BTW i might not be able to finish the cogs sorry [http://forums.massassi.net/html/frown.gif]
roses are red, violets are blue, I am schizophrenic, and I am too!
2001-05-13, 11:31 AM #3
I had the exact same problem. You need to replace the jksetflags(player, 0x5); with jksetflags(player, 0x1); 0x5 turns the saber and glow on, and 0x1 just tells the exe the saber's on. Sniper Arena does this for it's knife.

------------------
The enemy is in front of us, behind us, to the left, and to the right. This time they won't get away.
Author of the JK DataMaster, Parsec, Scribe, and the EditPlus Cog Files.
2001-05-13, 11:39 AM #4
Hey i was close instead of it being JkSetFlags(player, 0x4); it was JkSetFlags(player, 0x5);
and instead of needing to change it to
JkSetFlags(player, 0x8);
you change it to
JkSetFlags(player, 0x1);

i was so close

------------------
Join the army,
Visit new places,
Meet new people,
Then drop bombs on them
roses are red, violets are blue, I am schizophrenic, and I am too!
2001-05-14, 3:50 AM #5
Thats's great thanx a lot!

↑ Up to the top!